/* Energy Systems Development: site styles */
:root {
  --ink: #0d2229;
  --ink-2: #16343d;
  --teal: #2c6870;
  --teal-2: #3d8a93;
  --teal-soft: #e6f0f0;
  --gold: #b8892c;
  --gold-2: #d4a442;
  --gold-soft: #f6eedb;
  --text: #1f2d33;
  --muted: #56676e;
  --line: #dde4e3;
  --bg: #ffffff;
  --bg-alt: #f4f6f5;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(13, 34, 41, .06), 0 8px 24px rgba(13, 34, 41, .07);
  --max: 1180px;
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); }
sup { line-height: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--ink); color: #c9d6d8; }
.section.dark h2, .section.dark h3, .section.dark strong { color: #fff; }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 8px; border: 2px solid transparent; font: 600 1rem/1 var(--font-head); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #a07522; color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font: 600 .98rem var(--font-head); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Header */
.topbar { background: var(--ink); color: #b9c8cb; font-size: .88rem; }
.topbar .container { display: flex; justify-content: flex-end; gap: 24px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #dfe8ea; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold-2); }
.topbar .icon { width: 15px; height: 15px; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(13, 34, 41, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 60px; width: auto; }
.brand span { font: 700 1.02rem/1.15 var(--font-head); color: var(--ink); letter-spacing: -.01em; }
.brand span small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; margin: 0; }
.nav a.top { display: block; padding: 10px 14px; font: 600 .98rem var(--font-head); color: var(--ink); text-decoration: none; border-radius: 6px; }
.nav a.top:hover, .nav a.top[aria-current="page"] { color: var(--teal); background: var(--teal-soft); }
.nav .has-sub > a.top::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; opacity: .6; }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); list-style: none; padding: 8px; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: .96rem; }
.nav .sub a:hover { background: var(--bg-alt); color: var(--teal); }
.nav .btn { margin-left: 12px; padding: 12px 20px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero picture, .hero > img { position: absolute; inset: 0; }
.hero picture img, .hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 26, 32, .94) 0%, rgba(9, 26, 32, .82) 42%, rgba(9, 26, 32, .35) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: 112px; padding-bottom: 104px; }
.hero h1 { color: #fff; max-width: 680px; }
.hero .lead { color: #d3dfe1; font-size: 1.22rem; max-width: 600px; margin-bottom: 32px; }
.hero .eyebrow { color: var(--gold-2); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 36px 0 0; color: #e3ecee; font-size: .98rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-points .icon { color: var(--gold-2); width: 20px; height: 20px; }

.page-hero { background: var(--ink); color: #c9d6d8; position: relative; overflow: hidden; }
.page-hero picture, .page-hero > img { position: absolute; inset: 0; }
.page-hero picture img, .page-hero > img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero .container { position: relative; padding-top: 72px; padding-bottom: 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); max-width: 760px; }
.page-hero .lead { color: #c9d6d8; margin-bottom: 0; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: #9fb3b7; }
.crumbs a { color: #cfdcdf; text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }

/* Stats */
.stats { background: var(--ink-2); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 700 2.1rem/1.1 var(--font-head); color: var(--gold-2); margin-bottom: 6px; }
.stat span { color: #c3d2d5; font-size: .96rem; line-height: 1.4; display: block; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.card:hover .media img { transform: scale(1.04); }
.card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card .body p { color: var(--muted); }
.card .body .link-arrow { margin-top: auto; }
.tile { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.tile p { color: var(--muted); margin: 0; }
.tile-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.tile-icon.gold { background: var(--gold-soft); color: var(--gold); }
.section.dark .tile { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section.dark .tile p { color: #b6c6c9; }
.section.dark .tile-icon { background: rgba(212, 164, 66, .14); color: var(--gold-2); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide-text { grid-template-columns: 1.2fr 1fr; }
.split .figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .figure.plain { box-shadow: none; border-radius: 0; }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c6870' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Efficiency comparison bars */
.compare { display: grid; gap: 22px; margin-top: 8px; }
.compare-row h4 { margin-bottom: 4px; }
.compare-row p { margin: 0 0 10px; color: var(--muted); font-size: .96rem; }
.bar { height: 14px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: #9aaaae; }
.bar.good i { background: linear-gradient(90deg, var(--teal), var(--teal-2)); }
.bar-label { display: flex; justify-content: space-between; font: 600 .9rem var(--font-head); margin-top: 6px; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 32px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold-2); font: 700 1.05rem var(--font-head); margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; }
.step .tag { display: inline-block; font: 600 .74rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: var(--teal-soft); padding: 4px 8px; border-radius: 4px; margin-bottom: 10px; }

/* Testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 22px; font-size: 1.12rem; line-height: 1.6; color: var(--ink); position: relative; }
.quote blockquote::before { content: "\201C"; display: block; font: 700 3.4rem/0.8 Georgia, serif; color: var(--gold); margin-bottom: 8px; }
.quote .who { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.quote .who img { width: auto; max-width: 110px; height: 52px; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); background: #fff; padding: 4px; }
.quote .who b { display: block; font-family: var(--font-head); color: var(--ink); }
.quote .who span { color: var(--muted); font-size: .92rem; }
.quote .doc { margin-top: 14px; font-size: .92rem; }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logos figure { margin: 0; height: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 14px 18px; }
.logos img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .85; transition: .2s; }
.logos figure:hover img { filter: none; opacity: 1; }

/* Case study */
.case { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case .media { background: var(--bg-alt); min-height: 320px; }
.case .media img { width: 100%; height: 100%; object-fit: cover; }
.case .body { padding: 44px; }
.case-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0; }
.case-stats div { border-left: 3px solid var(--gold); padding-left: 14px; }
.case-stats b { display: block; font: 700 1.5rem/1.15 var(--font-head); color: var(--ink); }
.case-stats span { font-size: .92rem; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--bg-alt); font: 600 .84rem var(--font-head); letter-spacing: .03em; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }

/* Option cards (financing) */
.option { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 30px; display: flex; flex-direction: column; }
.option.featured { border: 2px solid var(--gold); position: relative; }
.option.featured::before { content: "No money down"; position: absolute; top: -13px; left: 28px; background: var(--gold); color: #fff; font: 600 .74rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.option h3 { margin-bottom: 4px; }
.option .sub { color: var(--muted); margin-bottom: 18px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(9, 26, 32, .85)); color: #fff; font-size: .9rem; }
.gallery .wide { grid-column: span 2; aspect-ratio: auto; }

/* Benefit detail sections */
.benefit { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 36px 0; border-top: 1px solid var(--line); }
.benefit:first-child { border-top: 0; padding-top: 0; }
.benefit .tile-icon { margin: 0; width: 56px; height: 56px; }
.benefit p:last-child, .benefit ul:last-child { margin-bottom: 0; }
.figure-inline { margin: 20px 0 6px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; max-width: 640px; }
.figure-inline figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }

/* FAQ */
.faq-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.faq-nav a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--ink); font: 600 .94rem var(--font-head); background: #fff; }
.faq-nav a:hover { border-color: var(--teal); color: var(--teal); }
.faq-group { margin-bottom: 56px; }
.faq-group > h2 { margin-bottom: 18px; }
details.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; }
details.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font: 600 1.05rem/1.4 var(--font-head); color: var(--ink); position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.faq[open] summary { color: var(--teal); }
details.faq .answer { padding: 0 22px 20px; color: var(--text); }
details.faq .answer img { margin: 12px 0; border-radius: 6px; max-width: 520px; width: 100%; }

/* People */
.person { display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding: 40px 0; border-top: 1px solid var(--line); }
.person:first-of-type { border-top: 0; padding-top: 0; }
.person img { width: 220px; height: 260px; object-fit: cover; object-position: center 20%; border-radius: var(--radius); }
.person .role { color: var(--gold); font: 600 .9rem var(--font-head); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--ink) 0%, #164049 100%); color: #cfdcdf; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 1.1rem; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font: 600 .9rem var(--font-head); color: var(--ink); margin-bottom: 6px; }
legend { font: 600 .9rem var(--font-head); color: var(--ink); margin-bottom: 8px; padding: 0; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #c9d3d2; border-radius: 8px; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(44, 104, 112, .15); }
textarea { min-height: 130px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-family: var(--font-body); font-size: 1rem; border: 1px solid #c9d3d2; padding: 9px 14px; border-radius: 8px; cursor: pointer; margin: 0; }
.choices input { width: auto; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: var(--teal-soft); color: var(--ink); display: none; }
.form-status.show { display: block; }

/* Contact block */
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-list .tile-icon { margin: 0; width: 44px; height: 44px; }
.contact-list b { display: block; font-family: var(--font-head); color: var(--ink); }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--teal); }

/* Footer */
.site-footer { background: #0a1b20; color: #9fb2b6; font-size: .95rem; }
.site-footer .container { padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { background: #fff; border-radius: 8px; padding: 8px; height: 76px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #cad7d9; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold-2); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #7f9499; }
.footer-bottom .tagline { color: var(--gold-2); font-family: var(--font-head); }

/* Responsive */
@media (max-width: 1080px) {
  .nav .btn { display: none; }
  .nav a.top { padding: 10px 10px; }
}
@media (max-width: 960px) {
  .section { padding: 64px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.wide-text { grid-template-columns: 1fr; gap: 36px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .steps { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .case .media { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }

  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 84px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav a.top { padding: 14px 4px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.top:hover { background: none; }
  .nav .has-sub > a.top::after { display: none; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 4px 0 8px 14px; min-width: 0; }
  .nav .btn { display: inline-flex; margin: 22px 0 0; justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .topbar .container { justify-content: center; gap: 18px; }
  .topbar .hide-sm { display: none; }
  .site-header .container { height: 72px; }
  .nav { inset: 72px 0 0 0; }
  .brand img { height: 50px; }
  .brand span { display: none; }
  .hero .container { padding-top: 72px; padding-bottom: 64px; }
  .hero::after { background: linear-gradient(180deg, rgba(9, 26, 32, .8), rgba(9, 26, 32, .92)); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat b { font-size: 1.7rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .case .body { padding: 28px; }
  .case-stats { grid-template-columns: 1fr 1fr; }
  .person { grid-template-columns: 1fr; gap: 20px; }
  .person img { width: 100%; max-width: 320px; height: auto; aspect-ratio: 4 / 4.4; }
  .benefit { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .gallery .wide { grid-column: auto; }
  .btn { width: 100%; justify-content: center; }
  .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
