/* =================================================================
   Pegasus Solar Canada — Global Stylesheet
   Static site. No build step. Drop /assets into public_html.
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (Pegasus blue + solar gold) */
  --navy:      #0B2B45;
  --navy-700:  #103A5A;
  --navy-800:  #0A2236;
  --blue:      #1C9BD1;
  --blue-600:  #1683B5;
  --blue-700:  #126b96;
  --sky-50:    #EAF6FB;
  --sky-100:   #D6ECF6;
  --gold:      #F6A623;
  --gold-600:  #E0921A;

  /* Neutrals */
  --ink:       #16222B;
  --body:      #36454F;
  --muted:     #61727D;
  --line:      #E4EAEE;
  --line-2:    #EEF2F5;
  --bg:        #FFFFFF;
  --bg-alt:    #F5F8FA;
  --bg-dark:   var(--navy);

  /* Type */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11,43,69,.06), 0 2px 8px rgba(11,43,69,.05);
  --shadow:    0 10px 30px rgba(11,43,69,.10);
  --shadow-lg: 0 24px 60px rgba(11,43,69,.16);
  --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-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--blue-600); 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 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.12rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.6; }

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #cfe0ec; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.text-center { text-align: center; }

.grid { display: grid; gap: 28px; }
.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, 72px); align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.6rem; 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(--gold); color: var(--navy-800); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-600); border-color: var(--gold-600); color: var(--navy-800); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(246,166,35,.35); }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(28,155,209,.32); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-700); 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-600); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.link-arrow { font-family: var(--font-display); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy-800); color: #aecadb;
  font-size: .82rem; letter-spacing: .01em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #cfe0ec; }
.topbar a:hover { color: #fff; }
.topbar .maple { color: var(--gold); font-weight: 600; }
.topbar .topbar-right { display: flex; gap: 1.4rem; align-items: center; }
.topbar .topbar-right span { display: inline-flex; align-items: center; gap: .35rem; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  display: grid; place-items: center; color: #fff; position: relative; overflow: hidden;
}
.brand-logo svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: -.02em; }
.brand-text .sub { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); font-weight: 600; }

/* Brand logo image (your Canadian logo dropped into assets/images/) */
.brand-img { height: 52px; width: auto; display: block; }
/* On the dark navy footer, sit the colour logo on a clean white chip so it stays legible */
.footer-brand .brand-img { height: 44px; background: #fff; padding: 11px 16px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
@media (max-width: 560px){ .brand-img { height: 44px; } }

.nav-menu { display: flex; align-items: center; gap: .3rem; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  font-family: var(--font-display); font-weight: 600; font-size: .96rem; 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-600); background: var(--sky-50); }
.nav-menu .caret { width: 14px; height: 14px; opacity: .5; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  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 .75rem; border-radius: 8px; color: var(--body);
  font-weight: 500; font-size: .94rem;
}
.dropdown a:hover { background: var(--sky-50); color: var(--blue-700); }
.dropdown a small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; }

.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 ---------- */
.hero {
  position: relative; overflow: hidden; color: #eaf3f9;
  background:
    radial-gradient(120% 100% at 80% -10%, rgba(28,155,209,.35) 0%, transparent 55%),
    radial-gradient(90% 90% at 10% 110%, rgba(246,166,35,.14) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy) 45%, var(--navy-700) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(120% 80% at 70% 10%, #000 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: clamp(56px, 8vw, 96px) 0; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--blue); }
.hero .lead { color: #bcd3e2; margin-top: 1.25rem; max-width: 540px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: .45rem .9rem; border-radius: 100px; font-size: .85rem; font-weight: 600;
  font-family: var(--font-display); color: #eaf3f9; backdrop-filter: blur(4px);
}
.hero-badge .leaf { color: var(--gold); }
.hero-actions { display: flex; gap: .85rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg); position: relative;
  background:
    radial-gradient(140% 120% at 70% 0%, rgba(28,155,209,.45), transparent 55%),
    linear-gradient(180deg, #14334d, #0c2438);
  border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg); overflow: hidden;
}
/* placeholder visual content */
.hero-visual .ph-label,
.img-ph .ph-label {
  position: absolute; bottom: 14px; left: 14px; z-index: 3;
  font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.7); background: rgba(0,0,0,.3); padding: .3rem .6rem; border-radius: 6px;
  backdrop-filter: blur(4px);
}
.hero-panels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4,1fr); grid-template-rows: repeat(5,1fr); gap: 6px; padding: 22px; transform: perspective(900px) rotateX(8deg) rotateZ(-6deg); }
.hero-panels span {
  border-radius: 4px; background: linear-gradient(135deg, rgba(28,155,209,.55), rgba(11,43,69,.9));
  border: 1px solid rgba(120,200,235,.25);
  box-shadow: inset 0 0 18px rgba(28,155,209,.25);
}

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat { background: #fff; padding: 1.8rem 1.4rem; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--navy); letter-spacing: -.03em; }
.stat .num .unit { color: var(--blue); }
.stat .label { font-size: .86rem; color: var(--muted); margin-top: .25rem; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-100); }
.card .ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--sky-50); color: var(--blue-600); margin-bottom: 1.1rem;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3, .card h4 { margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }

/* Feature image card */
.feature-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); height: 100%; display: flex; flex-direction: column; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card .body { padding: 1.6rem 1.7rem 1.9rem; flex: 1; display: flex; flex-direction: column; }
.feature-card .body h3 { margin-bottom: .5rem; }
.feature-card .body p { color: var(--muted); font-size: .96rem; }
.feature-card .body .link-arrow { margin-top: auto; padding-top: 1rem; }

/* Image placeholder block */
.img-ph {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background:
    radial-gradient(120% 120% at 75% 10%, rgba(28,155,209,.35), transparent 60%),
    linear-gradient(160deg, #16334b, #0c2336);
}
.img-ph.tall { aspect-ratio: 4/5; }
.img-ph.wide { aspect-ratio: 21/9; }
.img-ph::before {
  content: ""; position: absolute; inset: 0; opacity: .6;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* ---------- Guarantee block ---------- */
.guarantee {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-lg); color: #d8e7f0; padding: clamp(2rem, 5vw, 3.4rem);
  position: relative; overflow: hidden;
}
.guarantee::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(246,166,35,.25), transparent 70%); }
.guarantee .badge-amt { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem,6vw,4.2rem); color: #fff; letter-spacing: -.04em; line-height: 1; }
.guarantee .badge-amt span { color: var(--gold); }

/* ---------- Split feature media ---------- */
.media-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- Feature list ---------- */
.check-list { display: grid; gap: .85rem; margin: 1.4rem 0; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; color: var(--body); }
.check-list li svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.section--dark .check-list li { color: #cfe0ec; }

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

/* ---------- Pills / tags ---------- */
.pill { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-size: .78rem; font-weight: 600; padding: .3rem .75rem; border-radius: 100px; background: var(--sky-50); color: var(--blue-700); border: 1px solid var(--sky-100); }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Testimonial ---------- */
.quote { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.32; color: #fff; font-weight: 600; letter-spacing: -.02em; }
.quote-cite { margin-top: 1.6rem; color: #9fc0d6; font-size: .95rem; }
.quote-cite strong { color: #fff; display: block; font-family: var(--font-display); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(28,155,209,.4), transparent 55%),
    linear-gradient(120deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem); text-align: center; color: #d8e7f0; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; max-width: 640px; margin-inline: auto; }
.cta-band .lead { color: #b8d0e0; max-width: 560px; margin: 1rem auto 0; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(110% 120% at 85% -20%, rgba(28,155,209,.32), transparent 55%),
    linear-gradient(160deg, var(--navy-800), var(--navy));
  color: #cfe0ec; padding: clamp(56px, 8vw, 92px) 0 clamp(48px, 6vw, 72px);
}
.page-hero h1 { color: #fff; max-width: 800px; }
.page-hero .lead { color: #bcd3e2; max-width: 640px; margin-top: 1.1rem; }
.breadcrumb { font-size: .85rem; color: #88a8bf; margin-bottom: 1rem; font-family: var(--font-display); font-weight: 500; }
.breadcrumb a { color: #aecadb; }
.breadcrumb a:hover { color: #fff; }

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

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: .8rem .95rem; 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(28,155,209,.15); }
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- 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-family: var(--font-display); font-weight: 600; 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); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-800); color: #9db8cb; padding-top: clamp(54px, 7vw, 84px); 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 .brand-text .name { color: #fff; }
.footer-brand p { color: #8fa9bd; margin: 1rem 0 1.3rem; 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: #9db8cb; }
.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: #cfe0ec; }
.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: #7e98ab; font-size: .85rem; }
.footer-bottom .legal-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer-bottom a { color: #9db8cb; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s 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; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-top: 1rem; }
  .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }

  /* Mobile nav drawer */
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    height: calc(100vh - 72px); height: calc(100dvh - 72px);
    background: #fff; padding: 1rem 1.25rem 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; }
}

/* ---------- Real images filling placeholder slots ---------- */
.img-ph img,
.hero-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; border: 0;
}
/* hide the decorative grid lines once a real photo is present */
.img-ph:has(img)::before { display: none; }

/* ---------- Legal / long-form content pages ---------- */
.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-600); 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(--gold);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin: 1.6rem 0; font-size: .95rem; color: var(--muted);
}
