/* ==========================================================================
   New Vision Endoscopy — Design System
   ========================================================================== */

:root {
  --navy-900: #061a2e;
  --navy-800: #0a2540;
  --navy-700: #123b63;
  --navy-600: #1b5183;
  --blue-500: #2c7fc2;
  --teal-500: #00a3a3;
  --teal-400: #14bdbd;
  --teal-050: #e6f7f7;

  --ink-900: #0d1b2a;
  --ink-700: #33475b;
  --ink-500: #5a6b7d;
  --ink-300: #93a3b3;

  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-alt: #f4f8fb;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --shadow-s: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 8px rgba(10, 37, 64, .05);
  --shadow-m: 0 4px 12px rgba(10, 37, 64, .07), 0 12px 32px rgba(10, 37, 64, .07);
  --shadow-l: 0 8px 24px rgba(10, 37, 64, .10), 0 24px 64px rgba(10, 37, 64, .10);

  --wrap: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--teal-500); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

h1, h2, h3, h4 {
  color: var(--ink-900); font-weight: 700; letter-spacing: -.02em;
  line-height: 1.18; margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1.1em; }

:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 3px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--alt { background: var(--surface-alt); }
.section--deep { background: var(--navy-800); color: #cbd9e6; }
.section--deep h2, .section--deep h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--teal-500); margin-bottom: .85em;
}
.section--deep .eyebrow { color: var(--teal-400); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-500); }
.section--deep .lead { color: #a9bed2; }

.head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.head--center { margin-inline: auto; text-align: center; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-800); color: #fff; padding: 12px 20px; z-index: 200;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: inherit; font-size: .97rem; font-weight: 650; line-height: 1;
  padding: 15px 26px; border-radius: var(--radius-s);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease), background .18s var(--ease),
              box-shadow .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--teal-500); color: #fff; box-shadow: var(--shadow-s); }
.btn--primary:hover { background: #018f8f; color: #fff; box-shadow: var(--shadow-m); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--line); color: var(--navy-700); background: #fff; }
.btn--outline:hover { border-color: var(--teal-500); color: var(--teal-500); background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.arrow-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 650; font-size: .95rem; color: var(--navy-600); }
.arrow-link svg { transition: transform .18s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #9fb4c8; font-size: .84rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar a { color: #cfe0ee; font-weight: 600; }
.topbar a:hover { color: var(--teal-400); }
.topbar__set { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; }
.topbar__item svg { flex: none; opacity: .8; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand:hover { color: inherit; }
.brand__mark { flex: none; border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.06rem; color: var(--navy-800); letter-spacing: -.02em; }
.brand__tag { font-size: .70rem; font-weight: 650; letter-spacing: .10em; text-transform: uppercase; color: var(--teal-500); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35em;
  padding: 10px 12px; border-radius: var(--radius-s);
  font-size: .94rem; font-weight: 600; color: var(--ink-700);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--surface-alt); color: var(--navy-800); }
.nav__link[aria-current="page"] { color: var(--teal-500); }

.has-menu { position: relative; }
.has-menu > button { background: none; border: 0; font-family: inherit; cursor: pointer; }
.has-menu__chev { transition: transform .2s var(--ease); }
.has-menu > button[aria-expanded="true"] .has-menu__chev { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 310px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-l);
  padding: 8px; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-menu > button[aria-expanded="true"] + .menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu li { margin: 0; }
.menu a { display: block; padding: 11px 14px; border-radius: var(--radius-s); color: var(--ink-700); }
.menu a:hover { background: var(--surface-alt); color: var(--navy-800); }
.menu a strong { display: block; font-size: .95rem; font-weight: 650; color: var(--navy-800); }
.menu a span { display: block; font-size: .82rem; color: var(--ink-500); line-height: 1.4; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 10px; }

.header-cta { flex: none; }
.nav > .btn { display: none; }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line);
  border-radius: var(--radius-s); padding: 9px 11px; cursor: pointer; color: var(--navy-800);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, #14507f 100%);
  color: #d3e2ef;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(0,163,163,.30), transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(44,127,194,.28), transparent 44%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; padding: clamp(56px, 8vw, 104px) 0;
}
.hero h1 { color: #fff; }
.hero p.lead { color: #b9cde0; max-width: 54ch; }
.hero .eyebrow { color: var(--teal-400); }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; list-style: none; padding: 0; }
.hero__badges li {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .86rem; font-weight: 600; color: #d3e2ef;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 14px; border-radius: 100px; margin: 0;
}
.hero__badges svg { color: var(--teal-400); flex: none; }

.hero__panel {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-l); padding: clamp(24px, 3vw, 34px); backdrop-filter: blur(8px);
}
.hero__panel h2 { color: #fff; font-size: 1.28rem; margin-bottom: .35em; }
.hero__panel p { color: #a9c0d5; font-size: .95rem; }

/* Interior page hero */
.pagehero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #b9cde0; padding: clamp(52px, 6.5vw, 84px) 0;
}
.pagehero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 30%, rgba(0,163,163,.26), transparent 48%);
  pointer-events: none;
}
.pagehero .wrap { position: relative; z-index: 1; }
.pagehero h1 { color: #fff; max-width: 18ch; }
.pagehero .lead { color: #b9cde0; max-width: 62ch; }

.crumbs { font-size: .84rem; color: #8fa9c0; margin-bottom: 18px; }
.crumbs a { color: #b9cde0; }
.crumbs a:hover { color: var(--teal-400); }
.crumbs span { padding: 0 .5em; opacity: .5; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; padding: 30px 0; }
.trust__label {
  text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-300); margin-bottom: 18px;
}
.trust__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; list-style: none; padding: 0; margin: 0; }
.trust__logos li { margin: 0; font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink-300); transition: color .2s var(--ease); }
.trust__logos li:hover { color: var(--navy-700); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.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-m);
  padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: #cfe0ee; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-500); font-size: .95rem; margin-bottom: 1.1em; }
.card .arrow-link { margin-top: auto; }

.icon-badge {
  width: 50px; height: 50px; flex: none; display: grid; place-items: center;
  background: var(--teal-050); color: var(--teal-500); border-radius: var(--radius-s); margin-bottom: 20px;
}
.icon-badge--navy { background: #e8f0f8; color: var(--navy-600); }

.feature-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
  padding: 26px 30px;
}
.feature-row .icon-badge { margin-bottom: 0; }
.feature-row h3 { margin-bottom: .25em; }
.feature-row p { margin: 0; }
.feature-row .arrow-link { margin-top: 0; white-space: nowrap; }
@media (max-width: 760px) { .feature-row { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Service plan band ---------- */
.plan-band {
  background: linear-gradient(125deg, var(--navy-900) 0%, var(--navy-700) 60%, #14507f 100%);
  border-radius: var(--radius-l); padding: clamp(32px, 4.6vw, 56px);
  color: #c3d5e6; position: relative; overflow: hidden; box-shadow: var(--shadow-l);
}
.plan-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 88% 18%, rgba(0,163,163,.30), transparent 48%);
}
.plan-band > * { position: relative; z-index: 1; }
.plan-band h2 { color: #fff; }
.plan-band .lead { color: #a9bed2; }
.plan-band .eyebrow { color: var(--teal-400); }
.plan-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 4vw, 54px); align-items: center; }
.plan-points { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 12px; }
.plan-points li {
  display: flex; gap: 12px; align-items: flex-start; margin: 0;
  font-size: .98rem; color: #d3e2ef;
}
.plan-points svg { flex: none; color: var(--teal-400); margin-top: .28em; }
.plan-aside {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-m); padding: clamp(22px, 2.6vw, 30px); backdrop-filter: blur(8px);
}
.plan-aside h3 { color: #fff; font-size: 1.12rem; margin-bottom: .4em; }
.plan-aside p { color: #a9c0d5; font-size: .93rem; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,.14); border-radius: var(--radius-m); overflow: hidden; }
.stats > div { background: var(--navy-800); padding: clamp(22px, 2.6vw, 32px); }
.stat__num { display: block; font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.05; margin-bottom: .28em; }
.stat__num em { font-style: normal; color: var(--teal-400); }
.stat__label { font-size: .89rem; color: #9fb9d0; line-height: 1.45; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.split--flip .split__media { order: -1; }

.figure { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-m); background: var(--surface-alt); }
.figure svg { width: 100%; height: auto; display: block; }
.figure figcaption { font-size: .82rem; color: var(--ink-500); padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: .8em; font-size: .97rem; color: var(--ink-700); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 21px; height: 21px; border-radius: 50%;
  background: var(--teal-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%2300a3a3' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--deep .checklist li { color: #c3d5e6; }
.checklist--tight li { margin-bottom: .5em; font-size: .93rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { margin: 0; padding-top: 26px; border-top: 3px solid var(--line); counter-increment: step; position: relative; transition: border-color .2s var(--ease); }
.steps li:hover { border-top-color: var(--teal-500); }
.steps li::before { content: "0" counter(step); display: block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--teal-500); margin-bottom: .7em; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps h3 { font-size: 1.08rem; margin-bottom: .35em; }
.steps p { font-size: .92rem; color: var(--ink-500); margin: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-alt); font-weight: 700; color: var(--navy-800); font-size: .84rem; letter-spacing: .05em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcfe; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: #fff; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 56px 22px 24px; position: relative;
  font-weight: 650; font-size: 1.03rem; color: var(--navy-800); transition: background .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--surface-alt); }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 13px; height: 13px; margin-top: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23123b63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details[open] summary { background: var(--surface-alt); }
.faq__body { padding: 4px 24px 24px; }
.faq__body p:last-child, .faq__body ul:last-child { margin-bottom: 0; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal-500), var(--line)); }
.timeline li { position: relative; padding: 0 0 26px 40px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal-500); }
.timeline b { display: block; font-size: 1.15rem; color: var(--navy-800); letter-spacing: -.01em; }
.timeline span { font-size: .95rem; color: var(--ink-500); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-l); padding: clamp(34px, 4.5vw, 58px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; box-shadow: var(--shadow-l);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #b3c9dc; margin: 0; }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 4vw, 56px); align-items: start; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 15px; margin-bottom: 24px; }
.info-list .icon-badge { width: 42px; height: 42px; margin-bottom: 0; }
.info-list strong { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-300); margin-bottom: .25em; }
.info-list a, .info-list span { font-size: 1.03rem; color: var(--ink-700); font-weight: 550; }
.info-list a:hover { color: var(--teal-500); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-m); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 650; color: var(--navy-800); margin-bottom: 7px; }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink-900);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: #fff; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(0,163,163,.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .84rem; color: var(--ink-500); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #93aac0; font-size: .93rem; padding: clamp(48px, 6vw, 72px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.2em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .65em; }
.site-footer a { color: #93aac0; }
.site-footer a:hover { color: var(--teal-400); }
.site-footer .brand__name { color: #fff; }
.site-footer p { color: #7b95ac; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: .86rem; color: #6f88a0; }

/* ---------- Utilities ---------- */
.prose > :last-child { margin-bottom: 0; }
.text-center { text-align: center; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }
.tag-cloud li { margin: 0; font-size: .88rem; font-weight: 600; color: var(--navy-700); background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 100px; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav__link { padding: 10px 9px; font-size: .9rem; }
}
@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  /* The header uses backdrop-filter, which makes it the containing block for
     fixed descendants — so the panel is absolutely positioned under it instead. */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 14px 24px 32px;
    max-height: calc(100vh - 100%); overflow-y: auto;
    border-top: 1px solid var(--line); box-shadow: var(--shadow-l);
    /* Vertical-only transition: a translateX would widen the document. */
    transform: translateY(-10px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .24s var(--ease), opacity .24s var(--ease), visibility .24s;
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav > .btn { display: inline-flex; }
  .nav__link { padding: 15px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; justify-content: space-between; }
  .has-menu { position: static; }
  .has-menu > button { width: 100%; }
  .menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-bottom: 1px solid var(--line);
    border-radius: 0; padding: 4px 0 12px; min-width: 0; display: none;
  }
  .has-menu > button[aria-expanded="true"] + .menu { display: block; }
  .nav .btn { margin-top: 20px; width: 100%; }
  .hero__grid { grid-template-columns: 1fr; }
  .split, .split--flip .split__media { grid-template-columns: 1fr; order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps, .steps--3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar__set:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero__badges li { font-size: .82rem; }
}

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

@media print {
  .site-header, .topbar, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { font-size: 12pt; color: #000; }
}
