/* ==========================================================
   Sidekicks Care — one page launch
   File: assets/css/site.css
   One stylesheet for every page (index, faq, accessibility,
   privacy, terms). No frameworks.
   ========================================================== */

/* ---------- Fonts (self-hosted, Latin subset) ----------
   TeX Gyre Adventor: free (GUST Font License), the closest
   free match to Century Gothic. */
@font-face { font-family: "Adventor"; src: url("../fonts/adventor-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Adventor"; src: url("../fonts/adventor-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy: #1B3A6B;
  --navy-deep: #132B51;
  --navy-ink: #0F2342;
  --steel: #2E5E9B;
  --red: #B22222;
  --red-deep: #951C1C;
  --slate: #3A4A5C;
  --bg: #F0EDE8;
  --card: #FFFFFF;
  --ink: #1A1A2E;
  --muted: #8A9BB0;
  --icon-bg: #EEF2F8;
  --line: #DED8CF;
  --line-cool: #DCE3ED;

  --font: "Adventor", "Century Gothic", "AppleGothic", "Avant Garde", sans-serif;

  --step-0: 1.0625rem;
  --step-2: clamp(1.4rem, 1.2rem + .6vw, 1.65rem);
  --step-3: clamp(2rem, 1.3rem + 2.4vw, 3.1rem);
  --step-4: clamp(2.4rem, 1.3rem + 4.1vw, 4.6rem);

  --wrap: 1240px;
  --gutter: clamp(1rem, .4rem + 2.6vw, 2rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --r-xl: 32px;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 10px;
  --header-h: 78px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --shadow: 0 1px 2px rgba(19,43,81,.05), 0 12px 32px rgba(19,43,81,.08);
  --shadow-lg: 0 2px 4px rgba(19,43,81,.06), 0 30px 60px -12px rgba(19,43,81,.25);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.65;
  color: var(--ink); background: var(--bg);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--steel); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; color: var(--navy); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; border-radius: 6px; }
.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; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none; }
  .js [data-reveal].is-in { transition: opacity .3s linear; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.45rem; border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--lg { min-height: 58px; padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .95rem; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--steel); color: #fff; box-shadow: 0 10px 24px -8px rgba(27,58,107,.55); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); color: #fff; box-shadow: 0 12px 26px -8px rgba(178,34,34,.6); }
.btn--glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.textlink { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid rgba(178,34,34,.35); padding-bottom: 2px; transition: border-color .2s; }
.textlink:hover { border-bottom-color: var(--red); color: var(--navy); }

/* ---------- Top bar (desktop) ---------- */
.topbar { background: var(--navy-ink); color: #C9D6E8; font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar ul { list-style: none; display: flex; align-items: center; }
.topbar__info { gap: 1.75rem; }
.topbar__info li, .topbar__info a { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__info .icon { width: 1.05em; height: 1.05em; color: #F07C7C; }
.topbar a { color: #E5ECF6; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar__social { gap: .35rem; }
.topbar__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background-color .2s; }
.topbar__social a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.topbar__social .icon { width: 15px; height: 15px; }
@media (max-width: 900px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(240,237,232,.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s; }
.site-header.is-scrolled { background: rgba(255,255,255,.9); border-bottom-color: var(--line-cool); box-shadow: 0 8px 30px rgba(19,43,81,.08); }
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 46px; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: .15rem; }
.nav__link { position: relative; display: block; padding: .55rem .75rem; color: var(--slate); text-decoration: none; font-size: .95rem; font-weight: 700; transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__link.is-current { color: var(--navy); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--red); }
.nav-toggle { display: none; }
@media (max-width: 1280px) {
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
}
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--navy); color: #fff; cursor: pointer; }
  .nav { display: none; }
  .header-actions { margin-left: auto; }
}

/* ---------- Mobile menu: off-canvas drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 400; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(15,35,66,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 400px); display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 60px rgba(15,35,66,.3); transform: translateX(100%); transition: transform .45s var(--ease-out); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; background: var(--navy); }
.drawer__head img { height: 46px; width: auto; }
.drawer__close { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; transition: background-color .2s; }
.drawer__close:hover { background: rgba(255,255,255,.26); }
.drawer__nav { flex: 1; overflow-y: auto; padding: .6rem .75rem; }
.drawer__nav ul { list-style: none; display: grid; gap: .15rem; }
.drawer__link { display: flex; align-items: center; gap: 1.1rem; padding: .72rem .9rem; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.08rem; transition: background-color .2s, color .2s; }
.drawer__link .icon { width: 1.3em; height: 1.3em; color: var(--muted); stroke-width: 1.6; transition: color .2s; }
.drawer__link:hover, .drawer__link.is-current { background: var(--icon-bg); color: var(--navy); }
.drawer__link:hover .icon, .drawer__link.is-current .icon { color: var(--red); }
.drawer__foot { padding: .6rem 1.5rem calc(1.1rem + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.drawer__contact { display: flex; align-items: center; gap: .85rem; padding: .7rem 0; color: var(--slate); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer__contact .icon { color: var(--navy); }
.drawer__contact:hover { color: var(--navy); }
.drawer__cta { width: 100%; margin-top: .9rem; border-radius: 12px; }
.drawer__social { list-style: none; display: flex; gap: .6rem; margin-top: .9rem; }
.drawer__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--icon-bg); color: var(--navy); transition: background-color .2s, color .2s; }
.drawer__social a:hover { background: var(--navy); color: #fff; }
.drawer__social .icon { width: 18px; height: 18px; }
.drawer .drawer__link, .drawer__foot > * { opacity: 0; transform: translateX(16px); }
.drawer.is-open .drawer__link, .drawer.is-open .drawer__foot > * { opacity: 1; transform: none; transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.drawer.is-open li:nth-child(1) .drawer__link { transition-delay: .08s; }
.drawer.is-open li:nth-child(2) .drawer__link { transition-delay: .11s; }
.drawer.is-open li:nth-child(3) .drawer__link { transition-delay: .14s; }
.drawer.is-open li:nth-child(4) .drawer__link { transition-delay: .17s; }
.drawer.is-open li:nth-child(5) .drawer__link { transition-delay: .2s; }
.drawer.is-open li:nth-child(6) .drawer__link { transition-delay: .23s; }
.drawer.is-open li:nth-child(7) .drawer__link { transition-delay: .26s; }
.drawer.is-open li:nth-child(8) .drawer__link { transition-delay: .29s; }
.drawer.is-open li:nth-child(9) .drawer__link { transition-delay: .32s; }
.drawer.is-open .drawer__foot > * { transition-delay: .3s; }
html.menu-open, html.menu-open body { overflow: hidden; }
@media (min-width: 1101px) { .drawer { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .drawer__panel, .drawer__backdrop { transition: none; }
  .drawer .drawer__link, .drawer__foot > * { opacity: 1; transform: none; }
}

@media (max-width: 520px) {
  :root { --header-h: 68px; }
  .brand img { height: 38px; }
  .header-actions .btn { display: none; }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section); }
.section--white { background: var(--card); }
.section--sand { background: var(--bg); }
.section--navy { background: var(--navy-ink); color: #DCE5F2; position: relative; overflow: hidden; isolation: isolate; }
.section--navy::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -380px; background: radial-gradient(closest-side, rgba(46,94,155,.55), rgba(46,94,155,0)); }
.section-head { max-width: 48rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { margin-top: 1rem; color: var(--slate); font-size: 1.125rem; max-width: 40rem; }
.section-head .btn { margin-top: 1.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; }
.section-head--split p { margin-top: 0; }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: #B9C8DD; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { padding: .75rem var(--gutter) 0; }
.hero__stage {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1440px; margin-inline: auto;
  min-height: clamp(640px, calc(100svh - var(--header-h) - 42px - 1.5rem), 860px);
  border-radius: var(--r-xl); background: var(--navy-deep); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 60% 35%);
  opacity: 0; transform: scale(1.1);
  transition: opacity 1.6s var(--ease), transform 9s linear;
}
.hero__media img.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15,35,66,.96) 0%, rgba(19,43,81,.88) 30%, rgba(19,43,81,.45) 55%, rgba(19,43,81,0) 75%),
    linear-gradient(0deg, rgba(15,35,66,.55) 0%, rgba(15,35,66,0) 35%);
}
.hero__content { padding: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(1.5rem, 1rem + 4vw, 5.5rem) clamp(7.5rem, 6rem + 3vw, 9rem); max-width: 760px; }
.hero__title { color: #fff; font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.03em; }
.hero__title .ln { display: block; }
.hero__lede { margin-top: 1.5rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: #D6E0EE; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

.quickstart { margin-top: 2.5rem; max-width: 40rem; padding: 1.1rem 1.2rem 1.2rem; border-radius: var(--r); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.quickstart__label { font-size: .92rem; color: #C9D6E8; margin-bottom: .75rem; }
.quickstart__options { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .4rem .9rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; font-size: .9rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.chip .icon { width: 1.05em; height: 1.05em; color: #AFC4E2; transition: color .2s; }
.chip:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-1px); }
.chip:hover .icon { color: var(--red); }

.hero__meta { position: absolute; right: clamp(1.25rem, 1rem + 2vw, 2.5rem); bottom: clamp(5.5rem, 5rem + 1vw, 6.25rem); display: flex; align-items: center; gap: .9rem; padding: .45rem .5rem .45rem 1rem; border-radius: 999px; background: rgba(15,35,66,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .9rem; color: #E5ECF6; }
.hero__caption { min-width: 13ch; }
.slide-dots { display: flex; gap: 5px; }
.slide-dots span { position: relative; width: 22px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.slide-dots span i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slide-dots span.is-done i { transform: scaleX(1); }
.slide-dots span.is-active i { animation: slideProgress var(--slide-ms, 6500ms) linear forwards; }
.slide-dots.is-paused span.is-active i { animation-play-state: paused; }
@keyframes slideProgress { to { transform: scaleX(1); } }
.slide-pause { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.slide-pause .icon { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.slide-pause:hover { background: rgba(255,255,255,.28); }

/* entrance */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); opacity: .5; } to { transform: none; opacity: 1; } }
.js .hero__stage { animation: settle 1.4s var(--ease-out) both; }
.js .hero__title .ln, .js .hero__lede, .js .hero__actions, .js .quickstart, .js .hero__meta { animation: rise 1s var(--ease-out) both; }
.js .hero__title .ln:nth-child(1) { animation-delay: .15s; }
.js .hero__title .ln:nth-child(2) { animation-delay: .27s; }
.js .hero__title .ln:nth-child(3) { animation-delay: .39s; }
.js .hero__lede { animation-delay: .55s; }
.js .hero__actions { animation-delay: .68s; }
.js .quickstart { animation-delay: .82s; }
.js .hero__meta { animation-delay: 1s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero__stage, .js .hero__title .ln, .js .hero__lede, .js .hero__actions, .js .quickstart, .js .hero__meta { animation: none; }
  .hero__media img { transition: opacity .5s linear; transform: none !important; }
}

/* trust card overlapping the stage */
.trust { position: relative; z-index: 2; list-style: none; margin-top: -3.75rem; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.trust__item { display: flex; align-items: center; gap: .9rem; padding: 1.5rem 1.4rem; font-size: .96rem; line-height: 1.4; color: var(--slate); }
.trust__item + .trust__item { border-left: 1px solid var(--line-cool); }
.trust__item strong { color: var(--navy); display: block; }
.trust__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--icon-bg); color: var(--steel); flex: none; }

@media (max-width: 1100px) {
  .hero__shade { background: linear-gradient(90deg, rgba(15,35,66,.95) 0%, rgba(19,43,81,.85) 45%, rgba(19,43,81,.35) 80%), linear-gradient(0deg, rgba(15,35,66,.6) 0%, rgba(15,35,66,0) 35%); }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line-cool); }
}
@media (max-width: 760px) {
  .hero { padding: .5rem .5rem 0; }
  .hero__stage { display: block; min-height: 0; border-radius: var(--r-lg); padding: .5rem; }
  .hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3.1; border-radius: calc(var(--r-lg) - 6px); overflow: hidden; }
  .hero__shade { display: none; }
  .hero__content { padding: 1.75rem 1rem 1.5rem; }
  .hero__title .ln { display: inline; }
  .hero__actions .btn { flex: 1 1 100%; }
  .quickstart { margin-top: 1.75rem; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero__meta { top: calc(.5rem + 12px); right: calc(.5rem + 12px); bottom: auto; padding: .35rem .4rem .35rem .8rem; font-size: .8rem; }
  .hero__caption { display: none; }
  .trust { margin-top: 1rem; grid-template-columns: 1fr; border-radius: var(--r); }
  .trust__item { padding: 1rem 1.1rem; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line-cool); }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.about__media { position: relative; padding: 0 2.5rem 3rem 0; }
.about__main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__main img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.about__inset { position: absolute; right: 0; bottom: 0; width: 40%; border-radius: var(--r); overflow: hidden; border: 6px solid var(--bg); box-shadow: var(--shadow); }
.about__inset img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about__badge { position: absolute; left: 1.25rem; bottom: 1rem; display: flex; align-items: center; gap: .75rem; padding: .8rem 1.1rem .8rem .8rem; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--slate); font-size: .88rem; line-height: 1.35; max-width: 16rem; transition: transform .3s var(--ease); }
.about__badge:hover { transform: translateY(-3px); color: var(--slate); }
.about__badge strong { display: block; color: var(--navy); font-size: 1rem; }
.about__badge-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--red); color: #fff; flex: none; }
.about__text h2 { font-size: var(--step-3); }
.about__text .lead { margin-top: 1.5rem; font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); line-height: 1.45; color: var(--navy); }
.about__text p:not(.lead) { color: var(--slate); }
.about__text .lead + p { margin-top: 1.1rem; }
.values__title { margin-top: 2.25rem; font-size: 1rem; color: var(--slate); }
.values { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .9rem; }
.values li { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem .55rem .7rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: .93rem; }
.values .icon { color: var(--red); width: 1.1em; height: 1.1em; }

.mission { margin-top: clamp(4rem, 2rem + 5vw, 6.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.mission__card { position: relative; overflow: hidden; padding: clamp(2rem, 1.25rem + 3vw, 3.5rem); border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.mission__card::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -160px; border-radius: 50%; border: 50px solid rgba(255,255,255,.05); }
.mission__card--light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.mission__card--light::after { border-color: rgba(27,58,107,.05); }
.mission__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.12); margin-bottom: 1.5rem; }
.mission__card--light .mission__icon { background: var(--icon-bg); color: var(--steel); }
.mission__card h3 { color: #AFC4E2; font-size: 1rem; margin-bottom: .75rem; letter-spacing: 0; }
.mission__card--light h3 { color: var(--red); }
.mission__card p { position: relative; z-index: 1; font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.4; }
.mission__card--light p { color: var(--navy); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .mission { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .about__media { padding: 0 1rem 2.5rem 0; }
  .about__badge { left: .75rem; bottom: .5rem; max-width: 13rem; font-size: .8rem; }
  .about__inset { width: 36%; }
}

/* ---------- Services ---------- */
.svc { display: grid; grid-template-columns: minmax(17rem, 24rem) minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: start; }
.svc__tabs { display: flex; flex-direction: column; gap: .35rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.svc__tab {
  position: relative; display: flex; align-items: center; gap: 1rem; width: 100%;
  padding: .85rem 1rem .85rem .85rem; text-align: left; border: 1px solid transparent; border-radius: var(--r);
  background: none; cursor: pointer; color: var(--slate); font-weight: 700; font-size: 1.05rem; line-height: 1.3;
  transition: background-color .3s var(--ease), color .3s, border-color .3s, box-shadow .3s;
}
.svc__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--icon-bg); color: var(--steel); flex: none; transition: background-color .3s, color .3s; }
.svc__name { flex: 1; }
.svc__arrow { color: var(--red); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s var(--ease); }
.svc__tab:hover { color: var(--navy); background: var(--bg); }
.svc__tab[aria-selected="true"] { color: var(--navy); background: #fff; border-color: var(--line-cool); box-shadow: var(--shadow); }
.svc__tab[aria-selected="true"] .svc__icon { background: var(--navy); color: #fff; }
.svc__tab[aria-selected="true"] .svc__arrow { opacity: 1; transform: none; }
.svc__panels { display: grid; }
.svc__panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility 0s .5s; }
.svc__panel.is-active { visibility: visible; opacity: 1; transition-delay: 0s; }
.svc__figure { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--icon-bg); }
.svc__figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease-out); }
.svc__panel.is-active .svc__figure img { transform: none; }
.svc__num { position: absolute; left: 1.25rem; bottom: .9rem; font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 700; line-height: 1; color: #fff; letter-spacing: -0.04em; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.svc__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.25rem 2.5rem; padding-top: 2rem; align-items: start; }
.svc__body h3 { font-size: var(--step-2); grid-column: 1 / -1; }
.svc__body p { color: var(--slate); }
.svc__body .btn { grid-column: 1 / -1; justify-self: start; }
.checklist { list-style: none; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.45; }
.checklist .icon { color: var(--red); margin-top: .15em; width: 1.1em; height: 1.1em; stroke-width: 2.4; }
.checklist--light li { color: #E5ECF6; }
.checklist--light .icon { color: #F07C7C; }
.swipe-hint { display: none; }
@media (max-width: 900px) {
  /* mobile: every service becomes a swipeable card, no dropdowns */
  .svc { display: block; }
  .svc__tabs { display: none; }
  .svc__panels { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 1.25rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .svc__panels::-webkit-scrollbar { display: none; }
  .svc__panel { grid-area: auto; visibility: visible; opacity: 1; scroll-snap-align: start; background: var(--bg); border-radius: var(--r-lg); padding: .6rem; display: flex; flex-direction: column; }
  .svc__figure { border-radius: calc(var(--r-lg) - 6px); aspect-ratio: 4 / 3; }
  .svc__figure img { transform: none; }
  .svc__body { grid-template-columns: 1fr; padding: 1.25rem .75rem .75rem; flex: 1; align-content: start; }
  .svc__body .btn { margin-top: .5rem; }
  .swipe-hint { display: flex; align-items: center; gap: .5rem; justify-content: center; color: var(--slate); font-size: .9rem; margin-top: .25rem; }
  .swipe-hint .icon { color: var(--red); }
}

/* ---------- Who we help: flip cards ---------- */
.flips { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.2vw, 1.5rem); }
.flip { perspective: 1600px; }
.flip__inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease-out); }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { border-radius: var(--r-lg); -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; }
.flip__front { position: relative; height: 100%; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.flip__front img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease-out); }
.flip:hover .flip__front img { transform: scale(1.04); }
.flip__body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 2.1rem 1.4rem 1.4rem; }
.flip__icon { position: absolute; top: -26px; left: 1.4rem; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: 0 8px 20px -6px rgba(27,58,107,.6); }
.flip__icon .icon { width: 1.45em; height: 1.45em; stroke-width: 1.6; }
.flip__body h3 { font-size: 1.2rem; line-height: 1.2; }
.flip__body p { margin-top: .6rem; color: var(--slate); font-size: .98rem; line-height: 1.55; }
.flip__toggle { margin-top: auto; padding-top: 1.1rem; align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; background: none; border: 0; cursor: pointer; color: var(--navy); font-weight: 700; font-size: .95rem; }
.flip__toggle .icon { color: var(--red); width: 1em; height: 1em; transition: transform .4s var(--ease); }
.flip__toggle:hover .icon { transform: rotate(-180deg); }
.flip__back {
  position: absolute; inset: 0; transform: rotateY(180deg);
  display: flex; flex-direction: column; gap: .9rem; padding: 1.6rem 1.4rem 1.3rem;
  background: linear-gradient(160deg, var(--steel) -20%, var(--navy) 45%, var(--navy-ink) 100%); color: #fff;
}
.flip__back h3 { color: #fff; font-size: 1.15rem; line-height: 1.25; }
.flip__back p { color: #C9D6E8; font-size: .93rem; line-height: 1.5; }
.flip__back .checklist { gap: .45rem; font-size: .93rem; }
.flip__actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.flip__back-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; flex: none; }
.flip__back-btn:hover { background: rgba(255,255,255,.12); }
.hint-touch { display: none; }
@media (hover: none) { .hint-desktop { display: none; } .hint-touch { display: inline; } }
@media (prefers-reduced-motion: reduce) { .flip__inner { transition: none; } .flip:hover .flip__front img { transform: none; } }
@media (max-width: 1100px) { .flips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .flips { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: .5rem var(--gutter) 1.5rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .flips::-webkit-scrollbar { display: none; }
  .flip { scroll-snap-align: start; }
}
.who__note { margin-top: 2.5rem; color: var(--slate); }

/* ---------- Why choose us ---------- */
.why { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.why__tile { position: relative; overflow: hidden; padding: 2rem 1.75rem 2.1rem; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background-color .35s var(--ease), border-color .35s, transform .35s var(--ease); }
.why__tile::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.why__tile:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); transform: translateY(-4px); }
.why__tile:hover::before { transform: scaleX(1); }
.why__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.1); color: #fff; margin-bottom: 1.5rem; }
.why__icon .icon { width: 1.5em; height: 1.5em; stroke-width: 1.5; }
.why__tile h3 { color: #fff; font-size: 1.2rem; line-height: 1.25; }
.why__tile p { margin-top: .7rem; color: #B9C8DD; font-size: 1rem; }
@media (max-width: 960px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } .why__tile { padding: 1.5rem 1.4rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; } .why__icon { grid-row: span 2; margin: 0; width: 50px; height: 50px; } .why__tile p { margin-top: .35rem; } }
@media (prefers-reduced-motion: reduce) { .why__tile:hover { transform: none; } }

/* ---------- How it works ---------- */
.steps { position: relative; }
.steps__list { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; }
.steps__arc { position: absolute; left: 0; top: 0; width: 100%; height: 100px; overflow: visible; pointer-events: none; }
.steps__arc path { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.steps.is-drawn .steps__arc path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); }
.no-js .steps__arc path, .reduced .steps__arc path { stroke-dashoffset: 0; }
.step { position: relative; padding: 6.75rem 1rem 0; text-align: center; }
.step:nth-child(2), .step:nth-child(3) { padding-top: 9.5rem; }
.step__num { position: absolute; top: 0; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bg); border: 2px solid var(--navy); color: var(--navy); font-weight: 700; font-size: 1.35rem; opacity: 0; transform: translateX(-50%) scale(.85); }
.step:nth-child(2) .step__num, .step:nth-child(3) .step__num { top: 46px; }
.step:last-child .step__num { background: var(--navy); color: #fff; box-shadow: 0 0 0 8px rgba(27,58,107,.1); }
.steps.is-drawn .step__num { opacity: 1; transform: translateX(-50%); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.steps.is-drawn .step:nth-child(1) .step__num { transition-delay: .05s; }
.steps.is-drawn .step:nth-child(2) .step__num { transition-delay: .55s; }
.steps.is-drawn .step:nth-child(3) .step__num { transition-delay: 1.05s; }
.steps.is-drawn .step:nth-child(4) .step__num { transition-delay: 1.5s; }
.no-js .step__num, .reduced .step__num { opacity: 1; transform: translateX(-50%); }
.step h3 { font-size: 1.25rem; }
.step p { margin-top: .6rem; color: var(--slate); font-size: 1rem; max-width: 17rem; margin-inline: auto; }
.hiw__cta { margin-top: 3.5rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.5rem; }
.hiw__cta p { color: var(--slate); }
@media (max-width: 900px) {
  .steps__list { grid-template-columns: 1fr; }
  .steps__arc { display: none; }
  .steps::before { content: ""; position: absolute; left: 31px; top: 32px; bottom: 40px; width: 2px; background: var(--red); transform-origin: top; transform: scaleY(0); }
  .steps.is-drawn::before { transform: scaleY(1); transition: transform 1.4s var(--ease); }
  .no-js .steps::before, .reduced .steps::before { transform: none; }
  .step, .step:nth-child(2), .step:nth-child(3) { padding: .6rem 0 2.25rem 5.5rem; min-height: 64px; text-align: left; }
  .step p { margin-inline: 0; max-width: none; }
  .step__num, .step:nth-child(2) .step__num, .step:nth-child(3) .step__num { top: 0; left: 0; transform: scale(.85); }
  .steps.is-drawn .step__num, .no-js .step__num, .reduced .step__num { transform: none; }
  .step:last-child { padding-bottom: 0; }
  .hiw__cta { justify-content: flex-start; }
}

/* ---------- Service area ---------- */
.area__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.area__counties { display: grid; gap: 1.5rem; margin-top: 2rem; }
.area__county h3 { font-size: .95rem; color: var(--slate); margin-bottom: .6rem; letter-spacing: 0; }
.area__cities { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.city-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem 1.05rem; border: 1px solid var(--line-cool); border-radius: 999px; background: #fff; cursor: pointer; color: var(--navy); font-weight: 700; font-size: .95rem; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.city-btn .icon { width: 1em; height: 1em; color: var(--red); }
.city-btn:hover { border-color: var(--navy); transform: translateY(-1px); }
.city-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.city-btn[aria-pressed="true"] .icon { color: #fff; }
.area__note { margin-top: 2rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--red); background: var(--bg); color: var(--slate); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.map { position: relative; background: #fff; border: 1px solid var(--line-cool); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.map__tabs { display: flex; gap: .25rem; padding: .5rem; border-bottom: 1px solid var(--line-cool); background: #FAFBFD; }
.map__tab { flex: 1; min-height: 42px; border: 0; border-radius: var(--r-sm); background: none; cursor: pointer; font-weight: 700; color: var(--slate); font-size: .95rem; }
.map__tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(27,58,107,.12); }
.map__panel { aspect-ratio: 541 / 600; width: 100%; }
.map__svg { display: block; width: 100%; height: 100%; }
.map__water { fill: #DCE8F4; }
.map__land { fill: #F7F4EF; stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round; }
.map__river { fill: none; stroke: #A9C6E3; stroke-width: 3; stroke-linecap: round; }
.map__county-line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 5; }
.map__county { fill: var(--slate); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.pin { cursor: pointer; }
.pin__dot { fill: var(--red); stroke: #fff; stroke-width: 2; transition: r .2s; }
.pin__halo { fill: var(--red); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin__label { font-size: 12.5px; font-weight: 700; fill: var(--navy); paint-order: stroke; stroke: #F7F4EF; stroke-width: 4px; stroke-linejoin: round; }
.pin.is-active .pin__dot { fill: var(--navy); r: 7.5; }
.pin.is-active .pin__halo { animation: halo 2.2s ease-out infinite; }
.pin.is-active .pin__label { font-size: 14px; }
@keyframes halo { 0% { opacity: .35; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .pin.is-active .pin__halo { animation: none; opacity: .2; } }
.map__gmap { width: 100%; height: 100%; border: 0; display: block; }
.map__placeholder { display: grid; place-items: center; height: 100%; color: var(--slate); background: var(--bg); }
.map__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border-top: 1px solid var(--line-cool); font-size: .9rem; color: var(--slate); }
.map__foot a { font-weight: 700; }
@media (max-width: 900px) {
  .area__grid { grid-template-columns: 1fr; }
  .pin__label { font-size: 17px; }
  .pin.is-active .pin__label { font-size: 18px; }
  .map__county { font-size: 14px; }
}

/* ---------- Careers ---------- */
.careers { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--navy); color: #fff; padding: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(1.5rem, 1rem + 4vw, 5rem); }
.careers__bg { position: absolute; inset: 0; z-index: -2; }
.careers__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.careers::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,35,66,.97) 0%, rgba(27,58,107,.9) 40%, rgba(27,58,107,.45) 68%, rgba(27,58,107,.05) 100%); }
.careers__inner { max-width: 34rem; }
.careers h2 { color: #fff; font-size: var(--step-3); }
.careers__lede { margin-top: 1.1rem; color: #DCE5F2; font-size: 1.15rem; }
.benefits { list-style: none; margin-top: 2rem; display: grid; gap: 1.1rem; }
.benefits li { display: flex; gap: .9rem; align-items: flex-start; }
.benefit__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.12); color: #fff; flex: none; }
.benefits strong { display: block; color: #fff; }
.benefits span span { color: #C9D6E8; font-size: .97rem; }
.careers .btn { margin-top: 2.25rem; }
@media (max-width: 760px) {
  .careers { border-radius: var(--r-lg); }
  .careers::after { background: linear-gradient(180deg, rgba(15,35,66,.94) 0%, rgba(27,58,107,.88) 100%); }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq__grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__list { display: grid; gap: .6rem; }
.faq__item { border-radius: var(--r); background: var(--bg); transition: background-color .25s; }
.faq__item[open] { background: #fff; box-shadow: var(--shadow); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--navy); font-size: 1.08rem; line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #fff; color: var(--navy); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq__item[open] summary .icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq__item p, .faq__item ul { padding: 0 1.4rem 1.35rem; color: var(--slate); }
.faq__item ul { padding-left: 2.6rem; display: grid; gap: .3rem; }
.faq__item p + ul { margin-top: -.6rem; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__grid .section-head { position: static; } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(1.25rem, 1rem + 1.5vw, 2rem); align-items: start; }
.form-card { background: var(--card); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); box-shadow: var(--shadow-lg); }
.progress { display: flex; gap: .5rem; margin-bottom: 2rem; list-style: none; }
.progress li { flex: 1; display: flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 700; color: var(--slate); padding-top: .8rem; border-top: 3px solid var(--line-cool); transition: color .3s, border-color .3s; }
.progress li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--icon-bg); color: var(--slate); font-size: .8rem; transition: background-color .3s, color .3s; }
.progress li.is-current { color: var(--navy); border-top-color: var(--navy); }
.progress li.is-current span { background: var(--navy); color: #fff; }
.progress li.is-done { color: var(--slate); border-top-color: var(--steel); }
.progress li.is-done span { background: var(--steel); color: #fff; }
.no-js .progress { display: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step + .form-step { margin-top: 2rem; }
.is-stepped .form-step + .form-step { margin-top: 0; }
.is-stepped .form-step:not([hidden]) { animation: rise .45s var(--ease-out); }
.form-step legend { font-weight: 700; font-size: 1.3rem; color: var(--navy); margin-bottom: 1.25rem; padding: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .93rem; color: var(--ink); }
.field .req { color: var(--red); }
.field .hint { font-size: .85rem; color: var(--slate); }
.input { width: 100%; min-height: 52px; padding: .7rem 1rem; border: 1.5px solid #CBD5E2; border-radius: 12px; background: #fff; font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: var(--muted); }
.input:hover { border-color: #9FB0C7; }
.input:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px rgba(46,94,155,.15); }
select.input { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231B3A6B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
textarea.input { min-height: 120px; resize: vertical; }
.input.is-invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(178,34,34,.1); }
.field__error { font-size: .85rem; color: var(--red); font-weight: 700; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; line-height: 1.5; color: var(--slate); font-weight: 400 !important; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--navy); }
.consent a { color: var(--navy); font-weight: 700; }
.consent--required { color: var(--ink); }
.consent.is-invalid { color: var(--red); }
.consent.is-invalid input { outline: 2px solid var(--red); outline-offset: 2px; }
.consent-wrap { margin-top: 1.1rem; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.btn--back { background: none; border: 0; color: var(--slate); font-weight: 700; cursor: pointer; padding: .5rem 0; display: inline-flex; align-items: center; gap: .4rem; }
.btn--back:hover { color: var(--navy); }
.form-nav .spacer { flex: 1; }
.form-legal { margin-top: 1.25rem; font-size: .8rem; color: var(--slate); line-height: 1.5; }
.form-legal a { color: var(--slate); }
.form-msg { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--r-sm); font-size: .95rem; }
.form-msg--error { background: #FBEDED; color: #7E1616; border: 1px solid #F0C8C8; }
.form-success { text-align: center; padding: 2.5rem 1rem; animation: rise .6s var(--ease-out); }
.form-success .success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 1.25rem; box-shadow: 0 0 0 10px var(--icon-bg); }
.form-success .success-icon .icon { width: 32px; height: 32px; stroke-width: 2.5; }
.form-success h3 { font-size: 1.6rem; }
.form-success p { margin-top: .6rem; color: var(--slate); }
.btn.is-loading { opacity: .75; pointer-events: none; }
.grecaptcha-badge { visibility: hidden; }
.recaptcha-slot { margin-top: .25rem; min-height: 78px; }
#careerForm .recaptcha-slot { margin-top: 1.1rem; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } .progress li { font-size: 0; gap: 0; } .progress li span { font-size: .8rem; } }
.contact__aside { display: grid; gap: 1rem; }
.info-card { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.1rem); }
.info-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1.2rem; }
.info-list { list-style: none; display: grid; gap: 1rem; }
.info-list a, .info-list div { display: flex; gap: .85rem; align-items: center; color: #fff; text-decoration: none; }
.info-list .i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.12); flex: none; }
.info-list small { display: block; color: #AFC4E2; font-size: .82rem; }
.info-list strong { font-size: 1.02rem; word-break: break-word; }
.info-list a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.next-card { background: var(--card); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.1rem); }
.next-card h3 { font-size: 1.1rem; margin-bottom: .9rem; }
.next-card ol { padding-left: 1.2rem; display: grid; gap: .55rem; color: var(--slate); font-size: .97rem; }
.next-card ol li::marker { color: var(--red); font-weight: 700; }
.disclaimer { font-size: .85rem; color: var(--slate); line-height: 1.55; padding: 0 .25rem; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Dialog (careers) ---------- */
.dialog { width: min(100% - 2rem, 720px); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(15,35,66,.35); }
.dialog::backdrop { background: rgba(15,35,66,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: #fff; border-bottom: 1px solid var(--line-cool); }
.dialog__head h2 { font-size: 1.4rem; }
.dialog__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-cool); background: #fff; color: var(--navy); cursor: pointer; flex: none; }
.dialog__body { padding: 1.5rem; }
.dialog__body > p { color: var(--slate); margin-bottom: 1.5rem; }
.dialog[open] { animation: rise .35s var(--ease-out); }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy-ink); color: #fff; overflow: hidden; padding-block: clamp(1.75rem, 1.25rem + 2vw, 3rem); border-bottom: 1px solid rgba(255,255,255,.08); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { list-style: none; display: flex; flex: none; }
.marquee__list li { display: inline-flex; align-items: center; gap: .9rem; padding-right: 3.5rem; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; color: rgba(255,255,255,.92); }
.marquee__list li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.55); }
.marquee__list .icon { width: .7em; height: .7em; color: var(--red); stroke-width: 2.2; -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; } .marquee__list[aria-hidden] { display: none; } .marquee__list { flex-wrap: wrap; justify-content: center; padding-inline: 1rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: #B9C8DD; padding-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); font-size: .97rem; }
.footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__cta h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); max-width: 20ch; letter-spacing: -0.02em; margin: 0; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand img { height: 48px; width: auto; }
.footer__brand p { margin-top: 1.25rem; max-width: 22rem; }
.footer__grid h2 { font-size: 1rem; color: #fff; margin-bottom: 1rem; letter-spacing: 0; }
.footer__links { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: #B9C8DD; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn--red, .site-footer .btn--red:hover, .site-footer .btn--glass:hover { color: #fff; text-decoration: none; }
.site-footer .btn--glass, .site-footer .btn--glass:hover { text-decoration: none; }
.site-footer .btn--glass:hover { color: var(--navy); }
.footer__contact { list-style: none; display: grid; gap: .7rem; }
.footer__contact li { display: flex; gap: .65rem; align-items: center; }
.footer__contact .icon { color: #AFC4E2; }
.social { display: flex; gap: .5rem; margin-top: 1.5rem; list-style: none; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background-color .2s; }
.social a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.footer__legal ul { list-style: none; display: flex; gap: 1.25rem; }
.footer__notice { max-width: 46rem; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer__cta-actions .btn { flex: 1 1 100%; } }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { position: fixed; inset: auto .6rem calc(.6rem + env(safe-area-inset-bottom)) .6rem; z-index: 90; display: grid; grid-template-columns: 1fr 1.3fr; gap: .5rem; padding: .5rem; border-radius: 999px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 32px rgba(15,35,66,.25); transition: transform .35s var(--ease), opacity .35s; }
  .action-bar .btn { min-height: 46px; padding-inline: .75rem; }
  .action-bar.is-hidden { transform: translateY(140%); opacity: 0; }
}

/* ---------- Inner pages (FAQ, accessibility, legal) ---------- */
.page-hero { padding: .75rem var(--gutter) 0; }
.page-hero__inner { max-width: 1440px; margin-inline: auto; border-radius: var(--r-xl); background: var(--navy); color: #fff; padding: clamp(3rem, 2rem + 5vw, 6rem) clamp(1.5rem, 1rem + 4vw, 5.5rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero__inner::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -220px; top: -300px; background: radial-gradient(closest-side, rgba(46,94,155,.7), rgba(46,94,155,0)); }
.page-hero__inner .wrap { width: auto; max-width: 48rem; margin-inline: auto; }
.page-hero h1 { color: #fff; font-size: var(--step-3); max-width: 20ch; }
.page-hero p { margin-top: .9rem; color: #C9D6E8; max-width: 40rem; font-size: 1.1rem; }
.page-body { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.prose { max-width: 48rem; margin-inline: auto; }
.prose h2 { font-size: 1.45rem; margin-top: 2.75rem; margin-bottom: .9rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose h3 { font-size: 1.12rem; margin-top: 1.75rem; margin-bottom: .6rem; }
.prose p, .prose li { color: var(--slate); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: .75rem 0; display: grid; gap: .45rem; }
.prose strong { color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.toc { padding: 1.4rem 1.6rem; background: #fff; border-radius: var(--r-lg); margin-bottom: 1rem; box-shadow: var(--shadow); }
.toc h2 { margin-top: 0; font-size: 1rem; }
.toc ol { columns: 2; column-gap: 2rem; display: block; margin: 0; }
.toc li { margin-bottom: .35rem; break-inside: avoid; }
.callout { margin: 1.5rem 0; padding: 1.1rem 1.3rem; border-left: 3px solid var(--red); background: #fff; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.faq-page { max-width: 48rem; margin-inline: auto; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: 1.45rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .75rem; }
.faq-group h2 .icon { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--navy); color: #fff; }
.faq-group .faq__item { background: #fff; }
.faq-cta { margin-top: 3.5rem; padding: clamp(1.75rem, 1rem + 3vw, 3rem); border-radius: var(--r-lg); background: var(--navy); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.faq-cta h2 { color: #fff; font-size: 1.6rem; }
.faq-cta p { color: #C9D6E8; margin-top: .4rem; }
.faq-cta div:last-child { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- Error pages (404 / 500) ---------- */
.error-hero .page-hero__inner { text-align: left; }
.error-hero .page-hero__inner .wrap { max-width: 60rem; }
.page-hero .error-code { margin-top: 0; max-width: none; font-size: clamp(5rem, 3rem + 10vw, 11rem); font-weight: 700; line-height: .9; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.4); margin-bottom: 1.25rem; }
.error-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.error-links { max-width: 60rem; }
.error-links h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.error-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.error-grid a { display: flex; gap: 1rem; align-items: flex-start; height: 100%; padding: 1.35rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--slate); font-size: .95rem; line-height: 1.45; transition: transform .25s var(--ease), box-shadow .25s; }
.error-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--slate); }
.error-grid strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: .2rem; }
.error-grid__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--icon-bg); color: var(--steel); flex: none; }
@media (max-width: 860px) { .error-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .error-grid { grid-template-columns: 1fr; } }

/* ---------- Print ---------- */
@media print {
  .site-header, .action-bar, .hero__media, .map, .careers__bg, .marquee { display: none !important; }
  body { background: #fff; }
}
