/* Wave It Away: shared styles for every page. */

@font-face {
  font-family: "Lexend";
  src: url("/fonts/lexend-latin-wght.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --navy-950: #050f1f;
  --navy-900: #071427;
  --navy-800: #0b1d36;
  --navy-700: #12294a;
  --navy-600: #1c3a63;
  --cyan: #16d0ff;        /* logo cyan: accents on dark backgrounds only */
  --cyan-soft: #8fe6ff;
  --blue: #0a6a9b;        /* links and accents on light backgrounds (5.9:1 on white) */
  --blue-dark: #07517a;
  --ink: #13202e;
  --body: #2b3946;
  --muted: #536170;       /* 6.2:1 on white */
  --line: #d6e0e8;
  --bg: #ffffff;
  --bg-soft: #f2f6f9;
  --bg-tint: #e6f3f9;
  --on-dark: #e9f1f8;
  --on-dark-muted: #b4c4d4; /* 8.9:1 on navy-800 */
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(7, 20, 39, .06), 0 8px 28px -12px rgba(7, 20, 39, .18);
  --container: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 350;
  color: var(--body);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.25rem); }
h3 { font-size: clamp(1.18rem, 1.08rem + .4vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; color: var(--ink); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--cyan); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  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(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--cyan); color: var(--navy-900); }
.btn-primary:hover { background: #5fdfff; color: var(--navy-900); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-600); color: #fff; }
.btn-outline-light { border-color: rgba(233, 241, 248, .45); color: #fff; }
.btn-outline-light:hover { border-color: var(--cyan); color: #fff; background: rgba(22, 208, 255, .08); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.topbar { background: var(--navy-950); color: var(--on-dark-muted); font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: var(--cyan); }
.topbar span + span::before { content: "·"; margin: 0 .6em; color: #5f7590; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy-800); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav-wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; padding: 6px 0; }
.brand img { height: 30px; width: auto; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { margin: 0; position: relative; }
.main-nav a, .main-nav .menu-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--on-dark); text-decoration: none; font: inherit; font-size: .97rem; font-weight: 450;
  background: none; border: 0; padding: 10px 12px; border-radius: 8px; cursor: pointer;
}
.main-nav a:hover, .main-nav .menu-btn:hover, .main-nav [aria-current="page"] { color: var(--cyan); }
.menu-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: #fff; border-radius: var(--radius); box-shadow: 0 18px 48px -12px rgba(5, 15, 31, .45);
  padding: 10px; display: none;
}
.submenu.mega { left: -120px; width: min(780px, 92vw); display: none; grid-template-columns: 1.1fr 1fr 1fr; gap: 6px 18px; padding: 20px; }
.has-menu.open > .submenu { display: block; }
.has-menu.open > .submenu.mega { display: grid; }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
@media (hover: hover) and (min-width: 981px) {
  .has-menu:hover > .submenu { display: block; }
  .has-menu:hover > .submenu.mega { display: grid; }
}
.submenu ul { list-style: none; margin: 0; padding: 0; }
.submenu a { display: block; color: var(--ink); padding: 7px 10px; font-size: .95rem; border-radius: 7px; }
.submenu a:hover { background: var(--bg-tint); color: var(--blue-dark); }
.submenu .menu-heading { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 4px 10px 6px; margin: 0; }
.submenu .menu-col + .menu-col { border-left: 1px solid var(--line); padding-left: 14px; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { color: var(--on-dark); text-decoration: none; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.nav-phone svg { width: 17px; height: 17px; color: var(--cyan); }
.nav-phone:hover { color: var(--cyan); }
.nav-actions .btn { padding: 11px 18px; font-size: .95rem; }

.menu-toggle {
  display: none; align-items: center; gap: 8px; background: none; border: 1px solid rgba(233,241,248,.3);
  color: #fff; font: inherit; font-size: .95rem; padding: 8px 12px; border-radius: 8px; cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1100px) {
  .nav-phone .phone-text { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .topbar { display: none; }
  .brand img { height: 24px; }
  .nav-actions .btn { display: none; }
  .nav-phone { border: 1px solid rgba(233,241,248,.3); border-radius: 8px; padding: 8px 10px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-800);
    overflow-y: auto; padding: 8px 20px 120px; border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-open .main-nav { display: block; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav a, .main-nav .menu-btn { width: 100%; justify-content: space-between; padding: 15px 4px; font-size: 1.08rem; }
  .submenu, .submenu.mega { position: static; width: auto; box-shadow: none; background: transparent; padding: 0 0 12px 8px; }
  .has-menu.open > .submenu.mega { display: block; }
  .submenu .menu-col + .menu-col { border: 0; padding-left: 0; }
  .submenu a { color: var(--on-dark); padding: 9px 8px; }
  .submenu a:hover { background: rgba(255,255,255,.06); color: var(--cyan); }
  .submenu .menu-heading { color: var(--on-dark-muted); padding-top: 12px; }
  .main-nav .mobile-cta { display: grid; gap: 10px; padding-top: 20px; border: 0; }
}
@media (min-width: 981px) { .main-nav .mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 120% at 85% 10%, var(--navy-600) 0%, var(--navy-800) 45%, var(--navy-900) 100%); color: var(--on-dark); }
.hero h1, .hero h2 { color: #fff; }
.hero .lead { color: var(--on-dark-muted); font-size: 1.12rem; max-width: 40em; }
.hero-arcs { position: absolute; pointer-events: none; color: var(--cyan); opacity: .14; }
.hero-arcs.home { right: -140px; top: -60px; width: 760px; }
.hero-arcs.page { right: -160px; top: -40px; width: 620px; opacity: .1; }

.hero-home { padding: 72px 0 84px; }
.hero-home .container { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; position: relative; }
.hero-media { position: relative; }
.hero-media img { border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); width: 100%; aspect-ratio: 1.13; object-fit: cover; }
.hero-badge {
  position: absolute; left: -22px; bottom: 26px; background: #fff; color: var(--ink); border-radius: 14px;
  padding: 14px 18px; box-shadow: var(--shadow); font-size: .92rem; line-height: 1.35; max-width: 250px;
}
.hero-badge strong { display: block; font-size: 1rem; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.hero .eyebrow, .section-dark .eyebrow, .cta-band .eyebrow { color: var(--cyan); }

.trust-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .93rem; color: var(--on-dark); }
.trust-list li { display: flex; align-items: center; gap: 8px; margin: 0; }
.trust-list svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }

.page-hero { padding: 40px 0 56px; }
.page-hero .container { position: relative; }
.page-hero .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.page-hero .hero-grid.no-media { grid-template-columns: 1fr; max-width: 860px; }
.page-hero .hero-media img { aspect-ratio: 4 / 3; border-radius: 18px; }

.breadcrumb { font-size: .88rem; margin-bottom: 22px; color: var(--on-dark-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin: 0 8px 0 4px; color: #5f7590; }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.tight { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--navy-800); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--on-dark-muted); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section-dark .section-head p { color: var(--on-dark-muted); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.wide-text { grid-template-columns: 1.2fr .8fr; }
.split img.rounded { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* ---------- Cards ---------- */
.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;
}
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { color: var(--muted); font-size: .97rem; }
.card-link { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
a.card:hover .card-link svg { transform: translateX(3px); }
a.card .card-link { color: var(--blue); }

.area-card { padding: 22px; }
.area-card h3 { margin-bottom: .3em; }
.area-card p { margin: 0 0 14px; font-size: .95rem; color: var(--muted); }
.tag-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list li { margin: 0; font-size: .82rem; background: var(--bg-tint); color: var(--blue-dark); padding: 4px 10px; border-radius: 999px; }

.tech-card { background: var(--navy-700); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--on-dark); text-decoration: none; }
.tech-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; }
.tech-card .card-body p { color: var(--on-dark-muted); }
.tech-card h3 { color: #fff; }
.tech-card .card-link { color: var(--cyan); }
a.tech-card:hover { border-color: rgba(22,208,255,.5); color: var(--on-dark); }
.fda-note { font-size: .82rem; color: var(--cyan-soft); background: rgba(22,208,255,.1); border-radius: 8px; padding: 6px 10px; margin-bottom: 14px; display: inline-block; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-800); color: var(--cyan); font-weight: 600; margin-bottom: 14px;
}
.steps h3 { font-size: 1.1rem; margin-bottom: .35em; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Facts / features ---------- */
.feature-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; margin: 0; align-items: flex-start; }
.feature-list svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 2px; }
.section-dark .feature-list svg { color: var(--cyan); }
.section-dark .feature-list li { color: var(--on-dark); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 14px; margin: 0 0 32px; }
.fact { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 16px 18px; }
.fact .label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.fact .value { font-weight: 600; color: var(--ink); line-height: 1.35; }

/* ---------- Condition blocks ---------- */
.conditions { display: grid; gap: 22px; }
.condition { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; background: #fff; scroll-margin-top: calc(var(--header-h) + 20px); }
.condition h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); margin-bottom: .45em; }
.condition p:last-child, .condition ul:last-child { margin-bottom: 0; }
.condition .symptoms { columns: 2; column-gap: 28px; }
.treatment-count {
  display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--blue-dark);
  background: var(--bg-tint); border-radius: 999px; padding: 6px 14px; margin: 4px 0 14px;
}
.treatment-count svg { width: 16px; height: 16px; }
.on-this-page { background: var(--bg-soft); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.on-this-page h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.on-this-page ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.on-this-page li { margin: 0; }
.on-this-page a { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; text-decoration: none; }
.on-this-page a:hover { border-color: var(--blue); }

/* ---------- Quotes ---------- */
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; position: relative; display: flex; flex-direction: column; }
.quote::before {
  content: ""; position: absolute; top: 22px; left: 26px; width: 30px; height: 24px; opacity: .9;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 24'%3E%3Cpath fill='%2316d0ff' d='M0 24V13.6C0 5.9 4.2 1.4 12.5 0l1.3 3.6C9.1 4.9 6.7 7.6 6.5 11.6H12V24H0Zm16.6 0V13.6C16.6 5.9 20.8 1.4 29 0l1 3.6c-4.7 1.3-7 4-7.2 8H28V24H16.6Z'/%3E%3C/svg%3E");
}
.quote blockquote { margin: 34px 0 16px; color: var(--ink); font-size: 1.02rem; line-height: 1.65; }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote figcaption { margin-top: auto; font-size: .9rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }
.quote.long blockquote { font-size: .98rem; }
.section-soft .quote { border-color: transparent; box-shadow: 0 1px 2px rgba(7,20,39,.05); }
.quotes-masonry { columns: 2; column-gap: 24px; }
.quotes-masonry .quote { break-inside: avoid; margin-bottom: 24px; }

/* ---------- Results / photos ---------- */
.result-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 240px)); gap: 14px; margin: 18px 0 6px; }
.result-row figure, .photo-grid figure { margin: 0; }
.result-row img, .photo-grid img { border-radius: 10px; width: 100%; object-fit: cover; background: var(--bg-soft); }
.result-row img { aspect-ratio: 3 / 4; }
figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photo-grid img { aspect-ratio: 4 / 3; }
.photo-grid.square img { aspect-ratio: 1; }
.photo-grid a { display: block; border-radius: 10px; }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-card video { width: 100%; border-radius: 12px; background: var(--navy-900); aspect-ratio: 9 / 16; object-fit: cover; }
.video-card.landscape video { aspect-ratio: 16 / 9; }
.video-single { max-width: 380px; }
.video-single.landscape { max-width: 760px; }

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; background: var(--bg-soft); }
.team-card h3 { margin-bottom: .15em; }
.team-card .role { color: var(--blue); font-weight: 500; margin-bottom: .8em; }
.team-card ul { font-size: .95rem; color: var(--muted); padding-left: 1.1em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 500; color: var(--ink);
  display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; transition: transform .2s;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%230a6a9b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }

/* ---------- Notes ---------- */
.note {
  border-left: 4px solid var(--blue); background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; font-size: .94rem; color: var(--body); margin: 0 0 1.2em;
}
.note p:last-child { margin-bottom: 0; }
.small-print { font-size: .86rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); color: var(--on-dark); padding: 64px 0; }
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 36em; }
.cta-band .hero-arcs { right: 4%; top: -30px; width: 420px; opacity: .12; }

/* ---------- Financing ---------- */
.lender-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lender { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.lender .lender-logo { height: 56px; display: flex; align-items: center; margin-bottom: 18px; }
.lender .lender-logo img { max-height: 48px; width: auto; }
.lender p { color: var(--muted); font-size: .97rem; }
.lender .btn { margin-top: auto; align-self: flex-start; }
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 44px; }
.logo-strip img { height: 34px; width: auto; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; margin: 0; }
.info-list .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.info-list .icon svg { width: 22px; height: 22px; }
.info-list .label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-list .value { font-weight: 500; color: var(--ink); }
.info-list .value a { text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; font-size: .97rem; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; color: var(--ink); font-weight: 500; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .92rem; font-weight: 500; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #b9c7d3; border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,106,155,.18); }
.field [aria-invalid="true"] { border-color: #c62828; box-shadow: 0 0 0 3px rgba(198,40,40,.12); }
.field .hint { font-size: .84rem; color: var(--muted); }
.field .error-msg { font-size: .85rem; color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: .97rem; }
.form-status.ok { color: #1d6b35; font-weight: 500; }
.form-status.err { color: #b42318; }
.form-success { display: none; text-align: center; padding: 20px 6px; }
.form-success svg { width: 56px; height: 56px; color: #1d8a45; margin: 0 auto 12px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }
.cf-turnstile { margin: 4px 0 16px; min-height: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.footer-brand img { height: 26px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 30em; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(233,241,248,.25); }
.social a:hover { border-color: var(--cyan); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(7, 20, 39, .97); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(0,0,0,.25);
  }
  .action-bar .btn { padding: 12px 10px; font-size: .95rem; }
  body { padding-bottom: 74px; }
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(5, 15, 31, .88); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; border-radius: 10px; }
.lightbox .lb-caption { color: #fff; text-align: center; font-size: .92rem; margin-top: 10px; }
.lightbox .lb-close { position: fixed; top: 14px; right: 16px; background: #fff; color: var(--ink); border: 0; border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul li::marker { color: var(--blue); }
.research-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.research-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin: 0; }
.research-list .journal { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-home { padding: 44px 0 56px; }
  .hero-home .container, .page-hero .hero-grid, .split, .split.wide-text, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-badge { left: 14px; bottom: 14px; }
  .grid-3, .lender-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes-masonry { columns: 1; }
  .section { padding: 60px 0; }
  .page-hero .hero-media { max-width: 560px; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .lender-grid, .steps { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .condition { padding: 22px 18px; }
  .condition .symptoms { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-arcs.home { width: 460px; right: -160px; top: -30px; }
  .section { padding: 52px 0; }
  .cta-band { padding: 48px 0; }
  .photo-grid { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.form-success:focus { outline: none; }
.form-card.sent > .small-print { display: none; }
@media (max-width: 900px) { .contact-grid .form-card { order: -1; } }
@media (max-width: 600px) { .lender .qr { display: none; } }
