/* =========================================================
   SOLARA SOLAR — main.css
   Design system, base styles, components, Elementor helpers
   ========================================================= */

/* ─── 1. DESIGN TOKENS ─── */
:root {
  --gold:       #F5A623;
  --gold-light: #FFD080;
  --gold-dim:   #8B6820;
  --bg:         #0C0A07;
  --bg2:        #151209;
  --bg3:        #1E1810;
  --surface:    #231F16;
  --text:       #FFF5E0;
  --muted:      #8A7A5E;
  --border:     rgba(245, 166, 35, 0.15);
  --orange:     #F07030;

  --ff-display: 'Bebas Neue', sans-serif;
  --ff-body:    'DM Sans', sans-serif;
  --ff-serif:   'DM Serif Display', serif;

  --radius-sm:  2px;
  --radius-md:  6px;
  --radius-lg:  12px;

  --max-w:      1200px;
  --section-py: 6rem;
  --section-px: 3rem;

  --transition: 0.25s ease;
}

/* ─── 2. RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ─── 3. TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  font-weight: 400;
}

h1 { font-size: clamp(3.5rem, 6vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 3.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1rem; font-family: var(--ff-body); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
}

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }

/* ─── 4. LAYOUT UTILITIES ─── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.section {
  padding-block: var(--section-py);
  padding-inline: var(--section-px);
}

.section--dark    { background: var(--bg); }
.section--darker  { background: var(--bg2); }
.section--surface { background: var(--surface); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-1   { gap: 0.5rem; }
.gap-2   { gap: 1rem; }
.gap-3   { gap: 1.5rem; }
.gap-4   { gap: 2rem; }

/* ─── 5. BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition), color var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(245,166,35,0.4);
}
.btn-outline:hover {
  background: rgba(245,166,35,0.08);
  border-color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding-inline: 0;
}
.btn-ghost:hover { color: var(--text); }

.btn-dark {
  background: var(--bg);
  color: var(--gold);
}
.btn-dark:hover { background: #1a1408; }

.btn-lg { padding: 1rem 2.5rem; font-size: 0.95rem; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.8rem; }

/* ─── 6. HEADER / NAV ─── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: rgba(12,10,7,0.97);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(8px);
}

.site-logo {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}

.site-logo .logo-sub {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}

.site-logo img {
  max-height: 48px;
  width: auto;
}

/* Primary nav */
.primary-nav ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.primary-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--text);
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--bg) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 500 !important;
  transition: background var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--bg) !important; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--ff-display);
  font-size: 3rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--gold); }

/* ─── 7. HERO (fallback — Elementor will override) ─── */
.site-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 3rem 5rem;
  background: var(--bg);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 68% 50%, rgba(245,166,35,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 70% 48%, rgba(240,112,48,0.05) 0%, transparent 55%);
  pointer-events: none;
}

/* Animated sun graphic */
.hero-sun {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
}

.sun-core {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFD080 0%, #F5A623 50%, #B06010 100%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 60px rgba(245,166,35,0.35), 0 0 120px rgba(245,166,35,0.12);
  animation: solara-pulse 4s ease-in-out infinite;
}

@keyframes solara-pulse {
  0%,100% { box-shadow: 0 0 60px rgba(245,166,35,0.35), 0 0 120px rgba(245,166,35,0.12); }
  50%      { box-shadow: 0 0 80px rgba(245,166,35,0.5),  0 0 160px rgba(245,166,35,0.2); }
}

.sun-rays-wrap {
  position: absolute; inset: 0;
  animation: solara-spin 40s linear infinite;
}

@keyframes solara-spin { to { transform: rotate(360deg); } }

.sun-ray {
  position: absolute;
  left: 50%; top: 50%;
  width: 2px;
  background: linear-gradient(to top, rgba(245,166,35,0.55), transparent);
  transform-origin: 0 0;
}

.sun-halo {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.1);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 440px;
  margin-block: 1.5rem 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.play-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.play-btn:hover { color: var(--text); }

.play-btn-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.play-btn-circle::after {
  content: '';
  border-left: 9px solid var(--gold);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}

/* ─── 8. STATS BAR ─── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2rem var(--section-px);
}

.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ─── 9. SERVICE CARDS ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
}

.service-card {
  background: var(--bg2);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.service-card:hover { background: var(--bg3); }

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.service-card:hover::after { width: 100%; }

.service-card-icon {
  width: 48px; height: 48px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.service-card-number {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--ff-display);
  font-size: 5rem;
  color: rgba(245,166,35,0.06);
  line-height: 1;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── 10. PROCESS STEPS ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(245,166,35,0.08));
}

.process-step { padding-top: 0.5rem; }

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--gold);
  background: var(--bg);
  position: relative; z-index: 1;
  margin-bottom: 1.5rem;
}

.process-step h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-step p { color: var(--muted); font-size: 0.875rem; }

/* ─── 11. TESTIMONIAL ─── */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: var(--gold);
}

.testimonial-stars svg { width: 16px; height: 16px; }

.testimonial-card blockquote {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--orange));
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-name { font-weight: 500; font-size: 0.9rem; }
.author-role { font-size: 0.8rem; color: var(--muted); }

/* ─── 12. CONTACT / QUOTE FORM ─── */
.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote-form .form-full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A7A5E' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-group textarea { resize: vertical; min-height: 100px; }

.form-message {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: none;
}

.form-message.success { background: rgba(100,200,100,0.1); border: 1px solid rgba(100,200,100,0.3); color: #8ecf8e; display: block; }
.form-message.error   { background: rgba(240,80,80,0.1);  border: 1px solid rgba(240,80,80,0.3);  color: #f09090; display: block; }

/* ─── 13. SAVINGS CALCULATOR ─── */
.calculator-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.calc-slider-group { margin-bottom: 1.5rem; }

.calc-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.calc-slider-label strong { color: var(--gold); font-weight: 500; }

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(245,166,35,0.2);
  border-radius: 2px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px rgba(245,166,35,0.3);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.calc-result-item { text-align: center; }

.calc-result-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.calc-result-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
}

/* ─── 14. PROJECT / PORTFOLIO CARD ─── */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: transform var(--transition);
}

.project-card:hover { transform: translateY(-4px); }

.project-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-img img { transform: scale(1.04); }

.project-card-body { padding: 1.5rem; }

.project-type-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.project-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.project-card p  { color: var(--muted); font-size: 0.875rem; }

.project-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.project-stat-val { font-family: var(--ff-display); font-size: 1.2rem; color: var(--gold); line-height: 1; }
.project-stat-lbl { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }

/* ─── 15. CTA BAND ─── */
.cta-band {
  background: var(--gold);
  padding: 5rem var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-band h2 { color: var(--bg); flex: 1; min-width: 240px; }
.cta-band-right { display: flex; flex-direction: column; gap: 0.75rem; }
.cta-band-right p { color: rgba(12,10,7,0.65); font-size: 0.9rem; max-width: 320px; }

/* ─── 16. FOOTER ─── */
#site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  padding-inline: var(--section-px);
}

.footer-brand-col .footer-logo {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-brand-col .footer-desc {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.footer-contact-item:hover { color: var(--text); }

.footer-nav-heading {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.footer-nav-col ul li { margin-bottom: 0.6rem; }

.footer-nav-col a {
  font-size: 0.875rem;
  color: var(--text);
  opacity: 0.65;
  transition: opacity var(--transition);
}
.footer-nav-col a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem var(--section-px);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.8rem; color: var(--muted); opacity: 0.6; }

.footer-badges { display: flex; gap: 0.75rem; }

.badge {
  border: 1px solid var(--border);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── 17. BLOG ─── */
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,166,35,0.3);
}

.post-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-card-img img { transform: scale(1.03); }

.post-card-body { padding: 1.5rem; }

.post-meta {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.post-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.post-card p  { font-size: 0.875rem; color: var(--muted); }
.post-read-more { font-size: 0.8rem; color: var(--gold); margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.35rem; }

/* ─── 18. SINGLE POST ─── */
.post-content {
  max-width: 720px;
  margin-inline: auto;
  padding-block: 5rem;
  padding-inline: var(--section-px);
}

.post-content h2, .post-content h3, .post-content h4 {
  margin-block: 2rem 1rem;
  font-family: var(--ff-display);
}

.post-content p    { color: var(--muted); font-weight: 300; margin-bottom: 1.25rem; }
.post-content a    { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.post-content img  { border-radius: var(--radius-md); margin-block: 2rem; }
.post-content ul, .post-content ol { margin-left: 1.5rem; margin-bottom: 1.25rem; color: var(--muted); }
.post-content li   { margin-bottom: 0.5rem; }
.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--text);
  margin-block: 2rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ─── 19. ELEMENTOR OVERRIDES ─── */

/* Full-width sections inside Elementor */
.elementor-section.elementor-section-full_width .elementor-container { max-width: 100%; }

/* Dark section background class for Elementor */
.elementor-section.e-bg-dark    { background: var(--bg); }
.elementor-section.e-bg-darker  { background: var(--bg2); }
.elementor-section.e-bg-surface { background: var(--surface); }
.elementor-section.e-bg-gold    { background: var(--gold); }

/* Elementor heading overrides for display font */
.elementor-widget-heading .elementor-heading-title.font-display {
  font-family: var(--ff-display);
  line-height: 0.95;
}

/* Elementor button style sync */
.elementor-button.e-btn-primary {
  background: var(--gold) !important;
  color: var(--bg) !important;
  border-radius: var(--radius-sm) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

.elementor-button.e-btn-outline {
  background: transparent !important;
  color: var(--gold) !important;
  border: 1px solid rgba(245,166,35,0.4) !important;
  border-radius: var(--radius-sm) !important;
}

/* Strip Elementor column padding on mobile when needed */
@media (max-width: 767px) {
  .elementor-no-mobile-padding .elementor-column-gap-default .elementor-element { padding: 0; }
}

/* ─── 20. BREADCRUMBS ─── */
.solara-breadcrumbs {
  font-size: 0.8rem;
  color: var(--muted);
  padding-block: 1rem;
}
.solara-breadcrumbs a { color: var(--muted); transition: color var(--transition); }
.solara-breadcrumbs a:hover { color: var(--gold); }
.solara-breadcrumbs .current { color: var(--text); }

/* ─── 21. 404 PAGE ─── */
.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem;
}

.page-404-num {
  font-family: var(--ff-display);
  font-size: 10rem;
  color: rgba(245,166,35,0.12);
  line-height: 1;
  margin-bottom: 1rem;
}

.page-404 h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.page-404 p  { color: var(--muted); max-width: 420px; margin-bottom: 2rem; }

/* ─── 22. SCROLL ANIMATIONS ─── */
[data-solara-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-solara-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-solara-reveal-delay="1"] { transition-delay: 0.1s; }
[data-solara-reveal-delay="2"] { transition-delay: 0.2s; }
[data-solara-reveal-delay="3"] { transition-delay: 0.3s; }
[data-solara-reveal-delay="4"] { transition-delay: 0.4s; }

/* ─── 23. RESPONSIVE ─── */
@media (max-width: 1024px) {
  :root { --section-px: 2rem; }
  .grid-4         { grid-template-columns: repeat(2, 1fr); }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .process-steps  { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stats-bar      { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .footer-main    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 4rem; --section-px: 1.25rem; }

  .primary-nav, .nav-cta-wrap { display: none; }
  .menu-toggle { display: flex; }

  h1 { font-size: clamp(3rem, 12vw, 4rem); }
  h2 { font-size: clamp(2rem, 8vw, 2.8rem); }

  #site-header { padding: 1rem 1.25rem; }

  .hero-sun   { width: 300px; height: 300px; right: -5%; opacity: 0.5; }
  .sun-core   { width: 110px; height: 110px; }

  .grid-2     { grid-template-columns: 1fr; }
  .grid-3     { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-bar  { grid-template-columns: 1fr 1fr; }
  .stat-item  { border-right: 1px solid var(--border) !important; border-top: 1px solid var(--border) !important; }
  .stat-item:nth-child(odd)  { border-right: none !important; }
  .stat-item:first-child, .stat-item:nth-child(2) { border-top: none !important; }

  .footer-main   { grid-template-columns: 1fr; }
  .quote-form    { grid-template-columns: 1fr; }
  .calc-results  { grid-template-columns: 1fr; gap: 1.25rem; }
  .cta-band      { flex-direction: column; text-align: center; }
  .testimonial-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-sun { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
