/* =================================================================
   Pegasus Solar Canada — Global Stylesheet  (v2 — "flowing" redesign)
   Modelled on pegasussolar.com: AvenirNext-style type (Mulish),
   royal blue #4370b6 + orange #f29808, airy white with full-bleed
   photographic bands that flow edge-to-edge.
   Static site, no build step. Drop /assets into public_html.
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --blue:      #4370b6;   /* primary royal/cornflower blue */
  --blue-dark: #2f5da5;
  --blue-700:  #34588f;
  --blue-deep: #1f2f4d;   /* deep navy for dark bands/scrims */
  --blue-deep2:#16233c;
  --blue-200:  #b4c6e2;
  --blue-100:  #e7eefa;
  --blue-50:   #f3f7fc;
  --orange:    #f29808;   /* accent / pop CTA */
  --orange-600:#d9860a;

  /* Neutrals */
  --ink:       #1a1c22;
  --body:      #54585f;
  --muted:     #84878f;
  --line:      #e7e9ee;
  --line-2:    #f0f2f5;
  --bg:        #ffffff;
  --bg-alt:    #f5f8fc;   /* cool off-white */
  --bg-warm:   #fbf8f7;   /* warm off-white */

  --font: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20,35,60,.05), 0 6px 18px rgba(20,35,60,.06);
  --shadow: 0 18px 50px rgba(20,35,60,.12);
  --shadow-lg: 0 40px 90px rgba(20,35,60,.20);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--blue-dark); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--blue-700); }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.14rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--muted); line-height: 1.65; font-weight: 400; }

/* Big uppercase "statement" type — the signature Pegasus look */
.display { text-transform: uppercase; font-weight: 300; letter-spacing: .02em; line-height: 1.05; }
.display strong, .display b { font-weight: 800; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: #cdddf3; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 26px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section--alt { background: var(--bg-alt); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--blue-deep); color: #c7d3e6; }
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4 { color:#fff; }
.section-head { max-width: 760px; margin-bottom: 3.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.text-center { text-align: center; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-weight: 700; font-size: .98rem; padding: .9rem 1.7rem; border-radius: 100px; border: 1.5px solid transparent; cursor: pointer; transition: all .18s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #2a1c02; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-600); border-color: var(--orange-600); color: #2a1c02; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(242,152,8,.34); }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(67,112,182,.34); }
.btn-dark { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }
.btn-dark:hover { background: var(--blue-deep2); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); background: var(--blue-50); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.14); color: #fff; }
.btn-lg { padding: 1.08rem 2.1rem; font-size: 1.05rem; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .45rem; color: var(--blue-dark); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue-deep); color: #aebfd6; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #d3deef; }
.topbar a:hover { color: #fff; }
.topbar .maple { color: var(--orange); }
.topbar .topbar-right { display: flex; gap: 1.4rem; align-items: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-img { height: 44px; width: auto; display: block; }
.footer-brand .brand-img { height: 40px; background:#fff; padding:11px 16px; border-radius:12px; box-shadow:0 6px 18px rgba(0,0,0,.18); }

.nav-menu { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { font-weight: 700; font-size: .95rem; color: var(--ink); padding: .6rem .85rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .3rem; }
.nav-menu > li > a:hover { color: var(--blue-dark); background: var(--blue-50); }
.nav-menu .caret { width: 14px; height: 14px; opacity: .5; }

.dropdown { position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s var(--ease); }
.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .6rem .8rem; border-radius: 8px; color: var(--body); font-weight: 600; font-size: .94rem; }
.dropdown a:hover { background: var(--blue-50); color: var(--blue-dark); }
.dropdown a small { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }

.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; background: none; border: none; width: 44px; height: 44px; border-radius: 10px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; margin-inline: auto; }

/* ---------- HERO (full-bleed photographic) ---------- */
.hero-full { position: relative; min-height: min(92vh, 880px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(16,26,46,.92) 0%, rgba(16,26,46,.72) 38%, rgba(16,26,46,.30) 70%, rgba(16,26,46,.15) 100%), linear-gradient(0deg, rgba(16,26,46,.6) 0%, transparent 38%); }
.hero-full .container { position: relative; z-index: 2; padding-block: clamp(80px, 13vh, 150px); }
.hero-inner { max-width: 760px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.6rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: .5rem 1rem; border-radius: 100px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #eaf2fb; backdrop-filter: blur(4px); }
.hero-eyebrow .leaf { color: var(--orange); }
.hero-display { color: #fff; font-size: clamp(2.7rem, 6.4vw, 5.4rem); }
.hero-display .accent { color: var(--blue-200); font-weight: 800; }
.hero-sub { color: #c7d3e6; font-size: clamp(1.08rem, 1.6vw, 1.32rem); max-width: 560px; margin-top: 1.6rem; font-weight: 400; }
.hero-actions { display: flex; gap: .85rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); display: grid; place-items: center; gap: 6px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.hero-scroll svg { width: 22px; height: 22px; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 3vw, 40px); }
.stat { text-align: center; padding: 1rem .5rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 18%; height: 64%; width: 1px; background: var(--line); }
.stat .num { font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); color: var(--blue-dark); letter-spacing: -.03em; line-height: 1; }
.stat .num .unit { color: var(--orange); }
.stat .label { font-size: .9rem; color: var(--muted); margin-top: .5rem; font-weight: 600; }
.section--dark .stat .num { color: #fff; }
.section--dark .stat + .stat::before { background: rgba(255,255,255,.15); }
.section--dark .stat .label { color: #aebbd0; }

/* ---------- Full-bleed flowing rows ---------- */
.flow { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.flow .flow-media { position: relative; min-height: clamp(360px, 50vw, 620px); overflow: hidden; }
.flow .flow-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flow .flow-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.6rem, 6vw, 6rem); }
.flow .flow-copy > * { max-width: 560px; }
.flow.reverse .flow-media { order: 2; }
.flow--dark { background: var(--blue-deep); color: #c7d3e6; }
.flow--dark h2, .flow--dark h3 { color: #fff; }
.flow--alt { background: var(--bg-alt); }

/* ---------- Photographic band (overlay text) ---------- */
.band { position: relative; color: #fff; overflow: hidden; }
.band-bg { position: absolute; inset: 0; z-index: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16,26,46,.9) 0%, rgba(16,26,46,.66) 50%, rgba(16,26,46,.35) 100%); }
.band .container { position: relative; z-index: 2; padding-block: clamp(72px, 13vw, 140px); }
.band h2, .band h3 { color: #fff; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); height: 100%; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 1.2rem; }
.card .ico svg { width: 27px; height: 27px; }
.card h3, .card h4 { margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }

/* Image-topped feature card */
.feature-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease); height: 100%; display: flex; flex-direction: column; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card .body { padding: 1.8rem 1.9rem 2.1rem; flex: 1; display: flex; flex-direction: column; }
.feature-card .body h3 { margin-bottom: .55rem; }
.feature-card .body p { color: var(--muted); font-size: .97rem; }
.feature-card .body .link-arrow { margin-top: auto; padding-top: 1.1rem; }

/* Image slots */
.img-ph { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(160deg,#1b3252,#0e2034); }
.img-ph.tall { aspect-ratio: 4/5; }
.img-ph.wide { aspect-ratio: 21/9; }
.img-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.media-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }

/* ---------- Guarantee block ---------- */
.guarantee { border-radius: var(--radius-lg); color: #d6e2f2; padding: clamp(2rem, 5vw, 3.6rem); position: relative; overflow: hidden; background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-700) 100%); }
.guarantee::before { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(242,152,8,.28), transparent 70%); }
.guarantee .badge-amt { font-weight: 900; font-size: clamp(2.6rem,6vw,4.6rem); color: #fff; letter-spacing: -.04em; line-height: 1; }
.guarantee .badge-amt span { color: var(--orange); }

/* ---------- Check list ---------- */
.check-list { display: grid; gap: .9rem; margin: 1.5rem 0; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: 1rem; color: var(--body); }
.check-list li svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--blue); margin-top: 1px; }
.section--dark .check-list li, .band .check-list li, .flow--dark .check-list li { color: #d3deee; }
.section--dark .check-list li svg, .band .check-list li svg, .flow--dark .check-list li svg { color: var(--blue-200); }

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--ink); font-weight: 700; width: 45%; }
.spec-table td { color: var(--muted); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; padding: .32rem .8rem; border-radius: 100px; background: var(--blue-50); color: var(--blue-dark); border: 1px solid var(--blue-100); text-transform: uppercase; letter-spacing: .04em; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Testimonial ---------- */
.quote { font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.34; color: #fff; font-weight: 700; letter-spacing: -.02em; }
.quote-cite { margin-top: 1.7rem; color: #9fb2cd; font-size: .95rem; }
.quote-cite strong { color: #fff; display: block; font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(110% 150% at 0% 0%, rgba(67,112,182,.55), transparent 55%), linear-gradient(120deg, var(--blue-deep2), var(--blue-700)); border-radius: var(--radius-lg); padding: clamp(2.6rem, 5vw, 4.4rem); text-align: center; color: #d3deee; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 680px; margin-inline: auto; }
.cta-band .lead { color: #bccbe2; max-width: 580px; margin: 1.1rem auto 0; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Interior page hero ---------- */
.page-hero { position: relative; color: #c7d3e6; overflow: hidden; padding: clamp(64px, 9vw, 110px) 0 clamp(56px, 7vw, 88px); background: linear-gradient(120deg, var(--blue-deep2) 0%, var(--blue-deep) 50%, var(--blue-700) 100%); }
.page-hero::after { content: ""; position: absolute; right: -8%; top: -40%; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(67,112,182,.4), transparent 65%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 880px; }
.page-hero .lead { color: #bccbe2; max-width: 660px; margin-top: 1.1rem; }
.breadcrumb { font-size: .85rem; color: #8ea3c1; margin-bottom: 1rem; font-weight: 600; }
.breadcrumb a { color: #b7c8e2; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Canada badge ---------- */
.ca-badge { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .92rem; color: var(--ink); }
.ca-badge .leaf { color: #D52B1E; width: 20px; height: 20px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea { font-family: inherit; font-size: 1rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(67,112,182,.16); }
.field textarea { resize: vertical; min-height: 140px; }

/* ---------- Accordion ---------- */
.accordion details { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; background: #fff; overflow: hidden; }
.accordion summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); font-weight: 400; transition: transform .2s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------- Legal / long-form ---------- */
.legal-body { max-width: 820px; }
.legal-body h2 { margin: 2.4rem 0 .8rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.legal-body h3 { margin: 1.6rem 0 .5rem; font-size: 1.15rem; }
.legal-body p { color: var(--body); }
.legal-body ul { list-style: disc; padding-left: 1.4rem; margin: 0 0 1.1rem; display: grid; gap: .45rem; }
.legal-body li { color: var(--body); }
.legal-body a { color: var(--blue-dark); text-decoration: underline; }
.legal-body .updated { color: var(--muted); font-size: .92rem; margin-bottom: 2rem; }
.legal-body .callout { background: var(--bg-alt); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin: 1.6rem 0; font-size: .95rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep2); color: #9db0ca; padding-top: clamp(56px, 7vw, 88px); font-size: .94rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { color: #8b9fbb; margin: 1.2rem 0 1.4rem; max-width: 320px; font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { color: #9db0ca; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #cdd9ea; }
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 26px 0; flex-wrap: wrap; color: #7d92b0; font-size: .85rem; }
.footer-bottom .legal-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer-bottom a { color: #9db0ca; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-0{margin-bottom:0}
.maxw-720{max-width:720px}.maxw-640{max-width:640px}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-menu, .topbar { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .split { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow.reverse .flow-media { order: 0; }
  .flow .flow-media { min-height: 300px; aspect-ratio: 16/10; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .stat::before { display: none !important; }

  .nav-menu.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; top: 76px; left: 0; right: 0; bottom: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); background: #fff; padding: 1rem 1.4rem 2rem; overflow-y: auto; z-index: 99; border-top: 1px solid var(--line); }
  .nav-menu.open > li { width: 100%; border-bottom: 1px solid var(--line-2); }
  .nav-menu.open > li > a { padding: 1rem .25rem; font-size: 1.05rem; }
  .nav-menu.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 .6rem 1rem; min-width: 0; }
  .nav-menu.open .dropdown a { padding: .5rem .25rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4, .grid-3, .grid-2, .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-band .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- GLIDE button (permanent, in header) ---------- */
.glide-btn { letter-spacing: .06em; }
.glide-btn svg { width: 15px; height: 15px; }
@media (max-width: 900px) {
  /* keep GLIDE visible on mobile even though other header buttons hide */
  .nav-cta .glide-btn { display: inline-flex !important; padding: .58rem 1.05rem; font-size: .9rem; }
}
@media (max-width: 400px) {
  .nav-cta .glide-btn { padding: .52rem .85rem; }
}

/* GLIDE wordmark logo inside the button */
.glide-btn { padding-inline: 1.25rem; }
.glide-logo { height: 21px; width: auto; display: block; }
@media (max-width: 900px) { .glide-btn { padding: .62rem 1rem !important; } .glide-logo { height: 19px; } }
