/* Perfection Air — site styles
   Built for WCAG 2.1 AA: every text/background pair below is ≥ 4.5:1. */

:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13355f;
  --blue-600: #2563a8;   /* 5.9:1 on white */
  --blue-500: #3b7cc4;
  --blue-100: #e6f0fa;
  --teal-700: #0d6b66;   /* 6.2:1 on white */
  --teal-500: #2e9a93;
  --teal-100: #e3f4f2;
  --amber-400: #f5b83d;
  --ink: #142235;        /* body text, 15:1 on white */
  --ink-soft: #46566b;   /* secondary text, 7.4:1 on white */
  --line: #d9e1ea;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --focus: #f5b83d;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(7, 26, 51, .06), 0 8px 24px rgba(7, 26, 51, .08);
  --shadow-lg: 0 20px 50px rgba(7, 26, 51, .18);
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs: 1;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: calc(var(--fs) * 100%); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy-800); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

/* Focus: always visible, never removed */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--amber-400); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy-800); color: #fff; padding: 12px 18px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-800); color: #dfe8f3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: #7fd6cf; }
.lead { font-size: 1.15em; color: var(--ink-soft); }
.section--dark .lead { color: #c4d3e4; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal-700); color: #fff; box-shadow: 0 6px 18px rgba(13, 107, 102, .35); }
.btn--primary:hover { background: #0a5753; color: #fff; }
.btn--amber { background: var(--amber-400); color: var(--navy-900); }
.btn--amber:hover { background: #ffc85a; color: var(--navy-900); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--outline { background: #fff; color: var(--navy-800); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn--block { width: 100%; }

/* Top bar + header */
.topbar { background: var(--navy-900); color: #c9d6e6; font-size: .875rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__items span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; color: #7fd6cf; }

.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(7, 26, 51, .08); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.brand img { height: 52px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 10px; color: var(--navy-800);
  font-weight: 600; text-decoration: none; font-size: .98rem;
}
.nav a:hover, .nav a[aria-current="true"] { background: var(--blue-100); color: var(--blue-600); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone { display: flex; flex-direction: column; line-height: 1.2; text-decoration: none; color: var(--navy-800); }
.header__phone small { color: var(--ink-soft); font-size: .78rem; font-weight: 500; }
.header__phone strong { font-family: var(--font-head); font-size: 1.1rem; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--navy-800); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 26, 51, .94) 0%, rgba(7, 26, 51, .86) 42%, rgba(7, 26, 51, .45) 100%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #7fd6cf; }
.hero__sub { font-size: 1.2em; color: #d5e1ee; max-width: 560px; margin-bottom: 28px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22); padding: 8px 16px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 500; color: #e4ecf5; }
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__checks svg { width: 20px; height: 20px; color: #7fd6cf; }

/* Quote card (form) */
.quote-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.quote-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.quote-card > p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 20px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy-800); }
.field .req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #9aa9bb; border-radius: 12px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); outline: 3px solid rgba(37, 99, 168, .25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #b42318; background: #fff8f7; }
.field .error { display: none; color: #b42318; font-size: .875rem; font-weight: 600; margin-top: 6px; }
.field .error.is-visible { display: flex; gap: 6px; align-items: center; }
.field .hint { color: var(--ink-soft); font-size: .85rem; margin-top: 4px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid #9aa9bb; font-weight: 600; font-size: .92rem; cursor: pointer; background: #fff; color: var(--ink);
}
.chip input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form-status.is-success { display: block; background: #e7f6ec; color: #135c2f; border: 1px solid #a6dcb8; }
.form-status.is-error { display: block; background: #fdeceb; color: #8a1c13; border: 1px solid #f3b5ae; }
.hp { position: absolute; left: -9999px; }

/* Stats strip */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--navy-800); line-height: 1.1; }
.stats span { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }

/* Cards / grids */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b9cbe0; }
.service-card__icon { width: 60px; height: 60px; border-radius: 16px; background: var(--blue-100); display: grid; place-items: center; margin-bottom: 18px; }
.service-card__icon svg { width: 30px; height: 30px; color: var(--blue-600); }
.service-card p { color: var(--ink-soft); }
.service-card ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .95rem; }
.service-card li { display: flex; gap: 8px; align-items: flex-start; }
.service-card li svg { width: 18px; height: 18px; color: var(--teal-700); flex: none; margin-top: 4px; }
.service-card .card-link { margin-top: auto; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; color: var(--teal-700); }

.sector-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.sector-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 51, .05) 20%, rgba(7, 26, 51, .92) 100%); }
.sector-card:hover img { transform: scale(1.04); }
.sector-card__body { padding: 26px; }
.sector-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.sector-card p { color: #dbe5f0; margin: 0; font-size: .97rem; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 75%; }
.split__badge {
  position: absolute; right: -14px; bottom: -22px; background: var(--teal-700); color: #fff;
  border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-lg); max-width: 220px;
}
.split__badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1.1; margin-bottom: 4px; }
.checklist { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--teal-100); display: grid; place-items: center; }
.checklist .ic svg { width: 22px; height: 22px; color: var(--teal-700); }
.checklist strong { display: block; color: var(--navy-800); }
.checklist span { color: var(--ink-soft); font-size: .97rem; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); padding: 28px 24px; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: #7fd6cf; line-height: 1; margin-bottom: 16px;
}
.steps p { color: #c4d3e4; margin: 0; font-size: .97rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__item { position: relative; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--bg-soft); aspect-ratio: 5 / 4; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(7, 26, 51, .92)); color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.3;
}
.gallery__item .cap small { display: block; color: #c4d3e4; font-weight: 500; }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(4, 12, 24, .88); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 14px; background: #000; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-weight: 600; }
.lightbox__bar { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.lightbox button { min-height: 48px; min-width: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; padding: 0 18px; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }

/* Licenses */
.states { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.state {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.state__abbr { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--blue-600); line-height: 1; }
.state__name { font-weight: 600; color: var(--navy-800); }
.state__lic { font-size: .85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.state--home { background: var(--navy-800); border-color: var(--navy-800); }
.state--home .state__abbr { color: #7fd6cf; }
.state--home .state__name { color: #fff; }
.state--home .state__lic { color: #c4d3e4; }

/* Areas */
.areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { background: #fff; border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; font-weight: 600; color: var(--navy-800); font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; }
.areas svg { width: 16px; height: 16px; color: var(--teal-700); }

/* Plan */
.plan { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); border-radius: 28px; padding: clamp(28px, 5vw, 56px); color: #dfe8f3; }
.plan h2 { color: #fff; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li svg { width: 22px; height: 22px; color: #7fd6cf; flex: none; margin-top: 2px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--navy-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--blue-600); border-bottom: 2.5px solid var(--blue-600); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 22px 20px; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(127, 214, 207, .14); display: grid; place-items: center; }
.contact-list .ic svg { width: 22px; height: 22px; color: #7fd6cf; }
.contact-list small { display: block; color: #a9bdd3; font-size: .85rem; }
.contact-list a, .contact-list strong { color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours caption { text-align: left; font-family: var(--font-head); font-weight: 700; color: #fff; margin-bottom: 8px; font-size: 1.05rem; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: #fff; }
.map-embed { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .15); }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; }

/* Footer */
.footer { background: var(--navy-900); color: #b6c6d9; padding: 64px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #dbe5f0; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 16px; }
.footer__logo img { height: 46px; width: auto; }
.footer__bottom { margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; }
.footer__bottom ul { display: flex; gap: 18px; flex-wrap: wrap; }

/* Mobile sticky action bar */
.mobile-bar { display: none; }

/* Accessibility widget */
.a11y-toggle {
  position: fixed; left: 16px; bottom: 16px; z-index: 300; width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid #fff; background: var(--blue-600); color: #fff; cursor: pointer; box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.a11y-toggle svg { width: 30px; height: 30px; }
.a11y-panel {
  position: fixed; left: 16px; bottom: 84px; z-index: 301; width: min(340px, calc(100vw - 32px));
  max-height: calc(100vh - 110px); overflow: auto; background: #fff; color: var(--ink);
  border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 20px;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 1.15rem; margin: 0; }
.a11y-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.a11y-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--ink); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.a11y-opt {
  min-height: 76px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--navy-800);
  font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; padding: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
}
.a11y-opt svg { width: 24px; height: 24px; }
.a11y-opt[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.a11y-size { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; font-weight: 600; }
.a11y-size button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 1.2rem; font-weight: 800; cursor: pointer; color: var(--navy-800); }
.a11y-reset { grid-column: 1 / -1; min-height: 48px; border-radius: 12px; border: 0; background: var(--teal-700); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.a11y-panel .stmt { display: block; text-align: center; margin-top: 12px; font-size: .9rem; }

/* Accessibility modes (set on <html>) */
html.a11y-contrast body { background: #000; color: #fff; }
html.a11y-contrast *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(img) { background-color: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important; }
html.a11y-contrast a, html.a11y-contrast a * { color: #ffeb3b !important; }
html.a11y-contrast .btn { border: 2px solid #ffeb3b !important; }
html.a11y-contrast .hero__bg, html.a11y-contrast .sector-card::before, html.a11y-contrast .hero__bg::after { display: none; }
html.a11y-contrast .sector-card img, html.a11y-contrast .hero__bg img { opacity: .25; }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: #fff59d !important; color: #000 !important; }
html.a11y-spacing body { letter-spacing: .06em; word-spacing: .12em; line-height: 1.9; }
html.a11y-spacing p, html.a11y-spacing li { margin-bottom: 1.2em; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable .btn { font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: 0 !important; }
html.a11y-grayscale body > *:not(.a11y-panel):not(.a11y-toggle) { filter: grayscale(1); }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 11-7 1 4 8-3 1-4-8-6 5z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Reveal on scroll (only when JS + motion allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* Simple content pages */
.page-hero { background: var(--navy-800); color: #fff; padding: 64px 0 48px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }

/* Responsive */
@media (max-width: 1100px) {
  .header__phone { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .states { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; z-index: 200;
    padding: 90px 20px 24px; box-shadow: var(--shadow-lg); display: none; overflow-y: auto;
  }
  .nav.is-open { display: block; animation: nav-in .25s ease; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 14px 16px; font-size: 1.1rem; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(7, 26, 51, .5); z-index: 150; }
  .nav-backdrop[hidden] { display: none; }
  .nav-close { position: absolute; top: 20px; right: 20px; }
  .hero .container { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact, .plan { grid-template-columns: 1fr; }
  .split__badge { right: 12px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (min-width: 961px) { .nav-close, .nav-backdrop { display: none !important; } }
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .topbar__items span:nth-child(n+2) { display: none; }
  .header .container { min-height: 68px; }
  .brand img { height: 42px; }
  .header__cta .btn { display: none; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .states { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 22px 18px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery__item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 5 / 4; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(7, 26, 51, .1);
  }
  .mobile-bar .btn { min-height: 54px; padding: 0 12px; }
  .a11y-toggle { bottom: 88px; width: 50px; height: 50px; }
  .a11y-panel { bottom: 146px; }
}

/* Text inside dark panels */
.plan .lead { color: #c4d3e4; }
.plan .eyebrow { color: #7fd6cf; }
.on-dark .lead { color: #c4d3e4; }
.section--dark .quote-card h2, .hero .quote-card h2 { color: var(--navy-800); }
.on-dark .quote-card .lead, .on-dark .quote-card > p { color: var(--ink-soft); }
@keyframes nav-in { from { transform: translateX(100%); } to { transform: none; } }
html { overflow-x: clip; }
