/* ============================================================
   Rochish Solar — Global Stylesheet
   Palette taken from brand creative: deep forest green + gold
   on light backgrounds. Vanilla CSS, no frameworks.
   ============================================================ */

:root {
  /* Brand colours */
  --green-900: #0e3a2b;   /* deepest green — footer, hero overlay */
  --green-800: #12432f;
  --green-700: #185c40;
  --green-600: #1f7a53;
  --gold:      #f2a900;   /* primary accent (logo / "SUSTAINABLE") */
  --gold-600:  #d8960a;
  --gold-100:  #fdf1d6;

  /* Neutrals */
  --bg:        #f7f8f5;   /* page background */
  --surface:   #ffffff;
  --ink:       #16241d;   /* body text */
  --ink-soft:  #4c5b52;   /* muted text */
  --line:      #e5eae4;   /* borders / dividers */

  /* System */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 18px 40px -24px rgba(14, 58, 43, 0.35);
  --shadow-sm: 0 8px 24px -16px rgba(14, 58, 43, 0.4);
  --maxw:      1180px;
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html, body { overflow-x: clip; max-width: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  color: var(--green-900);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tint { background: var(--surface); }
.section--green { background: var(--green-900); color: #eaf3ee; }
.section--green h2, .section--green h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.section--green .eyebrow { color: var(--gold); }

.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: .6rem 0 .8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section--green .section-head p { color: #c8d9cf; }

.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--green-900); box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-600); }
.btn--green { background: var(--green-900); color: #fff; }
.btn--green:hover { background: var(--green-700); }
.btn--ghost { background: transparent; border-color: var(--green-900); color: var(--green-900); }
.btn--ghost:hover { background: var(--green-900); color: #fff; }
.btn--light { background: #fff; color: var(--green-900); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--green-900); }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 248, 245, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo { height: 48px; width: auto; display: block; flex: none; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  object-fit: contain; display: block;
}
.brand__name { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.18rem; color: var(--green-900); line-height: 1; }
.brand__name span { color: var(--gold-600); }
.brand__tag { display: block; font-size: .58rem; letter-spacing: .22em; color: var(--ink-soft); text-transform: uppercase; margin-top: 3px; }

.nav-menu { display: flex; align-items: center; gap: .35rem; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .85rem; border-radius: 10px;
  font-weight: 500; font-size: .96rem; color: var(--ink);
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.is-active { color: var(--green-900); background: rgba(18, 67, 47, .07); }
.nav-link .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }

/* Dropdown */
.has-dropdown .dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 220px; padding: .5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .nav-link .caret { transform: rotate(225deg) translateY(2px); }
.dropdown a {
  display: block; padding: .6rem .8rem; border-radius: 9px;
  font-size: .93rem; color: var(--ink); transition: background .15s, color .15s;
}
.dropdown a:hover { background: var(--gold-100); color: var(--green-900); }
.dropdown a strong { display: block; font-weight: 600; }
.dropdown a small { color: var(--ink-soft); font-size: .78rem; }

.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--green-900); font-size: .95rem;
}
.nav-phone svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 11px; background: var(--surface); cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--green-900);
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  min-height: clamp(480px, 72vh, 640px);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.hero__content { color: #eaf3ee; }
.hero__media { position: relative; }
.hero__media img {
  display: block; width: 100%; height: 100%;
  max-height: clamp(320px, 52vh, 520px);
  object-fit: cover; border-radius: 22px; box-shadow: var(--shadow);
}
.hero__chip {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  display: flex; align-items: center; gap: .65rem;
  background: var(--surface); color: var(--ink);
  padding: .75rem 1.1rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); font-size: .88rem; line-height: 1.2;
}
.hero__chip strong {
  font-family: "Poppins", sans-serif; font-size: 1.65rem; font-weight: 800;
  color: var(--gold); line-height: 1;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(242,169,0,.16); color: var(--gold);
  border: 1px solid rgba(242,169,0,.35);
  padding: .4rem .9rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); color: #fff; }
.hero h1 .accent { color: var(--gold); }
.hero__content p.lead { margin: 1.1rem 0 1.75rem; max-width: 38ch; color: #d3e2da; font-size: clamp(1rem, 1.6vw, 1.08rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ============================================================
   Stat bar
   ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat { text-align: center; padding: 1.2rem .5rem; }
.stat__num { font-family: "Poppins", sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold); }
.section--green .stat__num { color: var(--gold); }
.stat__label { font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.section--green .stat__label { color: #c8d9cf; }

/* ============================================================
   Feature / benefit cards
   ============================================================ */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-900); color: var(--gold); margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .97rem; }

/* Benefit strip (small icon rows) */
.benefit-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.benefit {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.3rem;
}
.benefit__icon { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; }
.benefit__icon svg { width: 22px; height: 22px; }
.benefit h4 { font-size: 1.02rem; margin-bottom: .2rem; }
.benefit p { font-size: .88rem; color: var(--ink-soft); }

/* ============================================================
   Split / feature image sections
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { border-radius: 22px; box-shadow: var(--shadow); width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.split__body h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.split__body p { color: var(--ink-soft); margin-bottom: 1rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .7rem; color: var(--ink); }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3a2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}

/* ============================================================
   Process steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.steps--6 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.4rem; }
.step__num {
  font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.05rem;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-600); margin-bottom: 1rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.step p { font-size: .92rem; color: var(--ink-soft); }

/* ============================================================
   Solution / offering detail blocks
   ============================================================ */
.detail-block { scroll-margin-top: 100px; }
.card[id] { scroll-margin-top: 100px; }
.detail-block + .detail-block { margin-top: clamp(3rem, 6vw, 5rem); }

.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.pill { background: var(--gold-100); color: var(--gold-600); padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }

/* ============================================================
   Partners
   ============================================================ */
.partners {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
}
.partner {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 84px; padding: 1rem .75rem;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  transition: color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.partner img {
  max-width: 100%; max-height: 44px; width: auto; object-fit: contain;
  opacity: .78; transition: opacity .2s;
}
.partner:hover { border-color: transparent; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.partner:hover img { opacity: 1; }

/* ============================================================
   FAQ (details/summary)
   ============================================================ */
.faq { max-width: 780px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 1.4rem;
  font-weight: 600; color: var(--green-900); display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--gold-600); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.25rem; color: var(--ink-soft); }

/* ============================================================
   ROI / savings calculator
   ============================================================ */
.calc {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.calc__inputs { align-self: center; }
.calc__inputs .field label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-size: .9rem; font-weight: 600; color: var(--green-900); margin-bottom: .55rem;
}
.range-val {
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--gold-600); white-space: nowrap;
}
.calc__note { font-size: .8rem; color: var(--ink-soft); margin-top: 1rem; }

/* Range slider (cross-browser) */
.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px; cursor: pointer;
  background: var(--line); outline: none;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--surface);
  box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .15s;
}
.range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--surface);
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.range:focus-visible { box-shadow: 0 0 0 3px var(--gold-100); }

/* Results panel */
.calc__panel {
  background: linear-gradient(150deg, var(--green-900), var(--green-700));
  color: #eaf3ee; border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  position: relative; overflow: hidden;
}
.calc__panel::after {
  content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px;
  background: radial-gradient(circle, rgba(242,169,0,.32), transparent 70%); pointer-events: none;
}
.calc__hero { position: relative; }
.calc__hero-label { font-size: .82rem; letter-spacing: .04em; color: #bcd2c6; text-transform: uppercase; }
.calc__hero-num {
  display: block; font-family: "Poppins", sans-serif; font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.2rem); color: var(--gold); line-height: 1.05; margin-top: .2rem;
}
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.calc__stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm); padding: .9rem 1rem;
}
.calc__stat-label { font-size: .78rem; color: #bcd2c6; }
.calc__stat-num {
  display: block; font-family: "Poppins", sans-serif; font-weight: 700;
  font-size: 1.5rem; color: #fff; line-height: 1.1; margin: .15rem 0 .1rem;
}
.calc__stat-sub { font-size: .76rem; color: #a9c2b5; }
.calc__eco {
  display: flex; gap: .6rem; align-items: center;
  font-size: .86rem; color: #d3e2da;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem;
}
.calc__eco svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.calc__panel .btn { align-self: flex-start; margin-top: .2rem; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: 26px; padding: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(242,169,0,.4), transparent 70%); pointer-events: none;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .8rem; }
.cta-band p { color: #d3e2da; max-width: 52ch; margin: 0 auto 1.8rem; }
.cta-band .hero__actions { justify-content: center; }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero { background: var(--green-900); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { color: #c8d9cf; max-width: 60ch; margin: 1rem auto 0; }
.crumbs { font-size: .85rem; color: var(--gold); margin-bottom: .8rem; display: flex; gap: .4rem; justify-content: center; }
.crumbs a { color: #bcd2c6; }
.crumbs a:hover { color: #fff; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.info-card__icon { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--green-900); color: var(--gold); display: grid; place-items: center; }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h4 { margin-bottom: .2rem; }
.info-card a, .info-card p { color: var(--ink-soft); font-size: .95rem; }
.info-card a:hover { color: var(--green-900); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--green-900); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 11px;
  font: inherit; color: var(--ink); background: var(--bg); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-100); }
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: .82rem; color: var(--ink-soft); margin-top: .8rem; text-align: center; }
.form-status { margin-top: 1rem; padding: .8rem 1rem; border-radius: 11px; background: var(--gold-100); color: var(--green-900); font-size: .9rem; font-weight: 500; display: none; }
.form-status.is-visible { display: block; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--green-900); color: #c8d9cf; padding: clamp(3rem, 6vw, 4rem) 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand .brand__mark { background: #fff; padding: 5px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__name span { color: var(--gold); }
.footer-brand p { margin-top: 1rem; font-size: .92rem; color: #a9c2b5; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-col a { display: block; padding: .3rem 0; font-size: .92rem; color: #bcd2c6; transition: color .15s, padding-left .15s; }
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .7rem; font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 2px; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .18s; }
.socials a:hover { background: var(--gold); color: var(--green-900); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: #9db8ab; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
  .split, .split--rev .split__media, .contact-grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps--6 { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-cta .nav-phone span { display: none; }
  .nav-menu {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--surface); padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); visibility: hidden;
    transition: transform .28s var(--ease), visibility .28s var(--ease);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateY(0); visibility: visible; }
  .nav-link { padding: .8rem .6rem; }
  .has-dropdown .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--line);
    border-radius: 0; margin: 0 0 .5rem .9rem; padding: 0 0 0 .5rem; min-width: 0;
    display: none;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown:hover .nav-link .caret { transform: rotate(45deg) translateY(-2px); }
  .has-dropdown.is-open .nav-link .caret { transform: rotate(225deg) translateY(2px); }
}

@media (max-width: 768px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .section-head { margin-bottom: 2rem; }
}

@media (max-width: 560px) {
  .stats, .grid--3, .grid--4, .grid--2, .benefit-strip, .steps, .steps--6 { grid-template-columns: 1fr; }
  .calc__grid { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  /* Compact mobile header: drop the tagline + redundant CTA so the
     brand and hamburger sit comfortably without wrapping. */
  .brand__tag { display: none; }
  .brand__name { font-size: 1.1rem; white-space: nowrap; }
  .nav-cta .btn--gold { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
