/* =========================================================================
   PPEV Medical Tours
   Premium medical-concierge visual system.
   Sections: tokens · reset · typography · layout · buttons · header ·
   footer · hero · components · forms · utilities · motion · responsive
   ====================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  /* brand — PPEV blue + healthcare green + white on cool neutrals */
  --navy:        #123b6d;   /* deep brand blue: dark bands, footer, headings on dark */
  --navy-800:    #1c4a82;   /* lighter blue for hovers inside dark bands */
  --navy-700:    #24589a;
  --paper:       #f4f7fa;   /* very light cool background */
  --paper-alt:   #e9eff5;   /* alternating section band */
  --white:       #ffffff;

  --ink:         #16232e;   /* primary text: dark navy-slate (not brown, not pure blue) */
  --ink-soft:    #3a4a5b;
  --muted:       #5c6b7a;
  --muted-light: #8a97a4;

  --line:        #d7e0ea;   /* cool hairline border */
  --line-soft:   #e6ecf3;

  /* primary accent = brand blue (CTAs, active nav, structural accents) */
  --bronze:         #123b6d;
  --bronze-deep:    #123b6d;
  --bronze-press:   #0a2340;
  --bronze-on-dark: #5cccae;   /* mint accent that reads on the deep-blue bands */

  /* secondary accent = healthcare green (eyebrows, links, supporting UI) */
  --green:       #269b7a;
  --green-deep:  #1e7e63;

  --danger:      #b23a2c;
  --danger-bg:   #fbece9;
  --ok:          #1e7e63;
  --ok-bg:       #e6f4ef;

  /* type */
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans:  "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* metrics */
  --container:  1200px;
  --container-narrow: 780px;
  --gutter:     clamp(1.25rem, 5vw, 4rem);
  --section-y:  clamp(3.75rem, 8vw, 7.5rem);
  --radius:     14px;
  --radius-sm:  9px;
  --radius-pill: 999px;

  --shadow-sm:  0 1px 2px rgba(16, 40, 77, .07);
  --shadow-md:  0 22px 48px -30px rgba(16, 40, 77, .40);

  --ring:       0 0 0 3px rgba(18, 59, 109, .40);
  --header-h:   4.75rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: var(--green-deep); text-underline-offset: 2px; }
a:hover { color: var(--bronze-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin: 0.35rem 0; }

/* breathing room between a heading and the paragraph that follows it
   (zero specificity — never fights component rules) */
:where(h1, h2, h3, .h1, .h2, .h3) + p { margin-top: 0.9rem; }
:where(.eyebrow) + :where(h1, h2, h3) { margin-top: 0; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

::selection { background: rgba(38, 155, 122, .18); }

/* --------------------------------------------------------------- typography */
.h-display {
  font-size: clamp(2.6rem, 6vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
}
h1, .h1 { font-size: clamp(2.15rem, 4.4vw, 3.15rem); }
h2, .h2 { font-size: clamp(1.8rem, 3.1vw, 2.45rem); }
h3, .h3 { font-size: clamp(1.28rem, 2vw, 1.55rem); }
h4, .h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.005em;
}

.lead {
  font-size: clamp(1.12rem, 1.6vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.prose p { max-width: 65ch; }
.prose > * + * { margin-top: 1rem; }
.prose h3 { margin-top: 2.25rem; margin-bottom: 0.5rem; }

.text-muted { color: var(--muted); }

/* ------------------------------------------------------------------ layout */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section {
  padding-block: var(--section-y);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.section--alt   { background: var(--paper-alt); }
.section--navy  { background: var(--navy); color: #e8eef8; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy a { color: #cfe0f4; }
.section--navy a:hover { color: #fff; }
.section--navy .eyebrow { color: var(--bronze-on-dark); }
.section--navy .text-muted { color: #a9bfda; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4.5vw, 3.5rem); }
.section-head p { margin: 0.75rem 0 0; font-size: 1.12rem; color: var(--muted); }
.section--navy .section-head p { color: #a9bfda; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.stack > * + * { margin-top: var(--stack-gap, 1rem); }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-first > .split__media { order: -1; }
  .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
}

/* media wrapper (keeps aspect, crops with cover) */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-alt);
  border: 1px solid var(--line);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--framed { padding: 0; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --btn-h: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: var(--btn-h);
  padding: 0 1.6rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-lg { --btn-h: 3.6rem; padding-inline: 2rem; font-size: 1.03rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--bronze-deep);
  border-color: var(--bronze-deep);
  color: #fff;
}
.btn-primary:hover { background: var(--bronze-press); border-color: var(--bronze-press); color: #fff; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--paper); transform: translateY(-1px); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.section--navy .btn-primary {
  background: var(--bronze-on-dark);
  border-color: var(--bronze-on-dark);
  color: var(--navy);
}
.section--navy .btn-primary:hover { background: #7ad9c0; border-color: #7ad9c0; color: var(--navy); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--green-deep);
  text-decoration: none;
}
.btn-text .icon { width: 1.05em; height: 1.05em; transition: transform .16s ease; }
.btn-text:hover { color: var(--bronze-deep); }
.btn-text:hover .icon { transform: translateX(3px); }
.section--navy .btn-text { color: #cfe0f4; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding-block: 0.85rem;
  transition: min-height .2s ease;
}
.site-header.is-stuck .site-header__inner { min-height: 4rem; }

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--navy);
  white-space: nowrap;
}
.brand__mark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
.brand__text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  position: relative;
  display: inline-block;
  padding-block: 0.35rem;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.96rem;
  text-decoration: none;
}
.nav-list a:hover { color: var(--navy); }
.nav-list a[aria-current="page"] { color: var(--navy); }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--bronze);
}

.nav-actions { display: flex; align-items: center; gap: 1.1rem; }
.nav-actions__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.nav-actions__wa .icon { width: 1.1rem; height: 1.1rem; }
.nav-actions__wa:hover { color: var(--bronze-deep); }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.nav-toggle__box { position: relative; width: 1.15rem; height: 0.75rem; }
.nav-toggle__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle__box span:nth-child(1) { top: 0; }
.nav-toggle__box span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle__box span:nth-child(3) { top: 100%; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 61; }
  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    padding: 6rem var(--gutter) 3rem;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: none; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 1.35rem; }
  .nav-list a {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--navy);
  }
  .nav-list a[aria-current="page"]::after { display: none; }
  .nav-list a[aria-current="page"] { color: var(--bronze-deep); }
  .nav-actions { flex-direction: column; align-items: stretch; width: min(22rem, 100%); gap: 1rem; }
  .nav-actions .btn { width: 100%; }
  .nav-actions__wa {
    justify-content: center;
    padding: 0.9rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { z-index: 61; background: transparent; box-shadow: none; border-color: transparent; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: var(--section-y);
}
.hero__grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.02fr 0.98fr; }
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.05rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin-bottom: 1.25rem;
}
.hero__lead { max-width: 34em; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.05rem;
  background: rgba(16, 40, 77, .85);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-sm);
  color: #e8eef8;
  font-size: 0.9rem;
}
.hero__badge .icon { width: 1.35rem; height: 1.35rem; color: var(--bronze-on-dark); flex: none; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  margin: 0;
}
.trust-strip div { min-width: 0; }
.trust-strip dt {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-strip dd { margin: 0; font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); }

/* ------------------------------------------------------- value / feature list */
.feature-list { display: grid; gap: 1.75rem; }
.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.feature:first-child { border-top: 0; padding-top: 0; }
.feature__icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--green);
  background: var(--white);
}
.feature__icon .icon { width: 1.2rem; height: 1.2rem; }
.feature h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.1rem; margin-bottom: 0.25rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.section--navy .feature { border-color: rgba(255,255,255,.14); }
.section--navy .feature__icon { background: var(--navy-800); border-color: rgba(255,255,255,.16); color: var(--bronze-on-dark); }
.section--navy .feature p { color: #a9bfda; }

/* ---------------------------------------------------------- specialty tiles */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-tile {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.4rem;
  background: var(--white);
  transition: background-color .18s ease;
}
.spec-tile:hover { background: var(--paper-alt); }
.spec-tile h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.spec-tile__plus {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  color: var(--bronze);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.5;
  transition: opacity .18s ease, transform .18s ease;
}
.spec-tile:hover .spec-tile__plus { opacity: 1; transform: rotate(90deg); }

.disclaimer-line {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 62ch;
}

/* -------------------------------------------------------------- how it works */
.steps {
  display: grid;
  gap: 2.25rem;
  counter-reset: step;
}
@media (min-width: 880px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
}
.step { position: relative; padding-top: 3rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.1rem;
  color: var(--bronze-on-dark);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 880px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.15rem;
    left: 3.75rem;
    right: -0.9rem;
    height: 1px;
    background: rgba(255, 255, 255, .18);
  }
}
.step h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.step p { margin: 0; color: #a9bfda; font-size: 0.97rem; }
.step ul { margin: 0.6rem 0 0; padding-left: 1.1rem; color: #a9bfda; font-size: 0.92rem; }
.step ul li { margin: 0.2rem 0; }

/* ------------------------------------------------------------------ cards */
.card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.65rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .18s ease, transform .18s ease;
}
.card--hover:hover { border-color: var(--navy); transform: translateY(-2px); }
.card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-alt);
  color: var(--green);
}
.card__icon .icon { width: 1.25rem; height: 1.25rem; }
.card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card__list {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.card__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.card__list .icon { width: 1rem; height: 1rem; color: var(--green); margin-top: 0.28rem; }

/* person card */
.people { display: grid; gap: 1.75rem; }
@media (min-width: 820px) { .people { grid-template-columns: 1fr 1fr; } }
.person {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  align-items: start;
  min-width: 0;
}
.person > div { min-width: 0; }
.person__photo {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: var(--paper-alt);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__role {
  margin: 0.15rem 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green);
}
.person h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; }
.person p { margin: 0.5rem 0 0; font-size: 0.96rem; color: var(--muted); }
.creds { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.creds li {
  margin: 0;
  padding: 0.2rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
@media (max-width: 460px) {
  .person { grid-template-columns: 1fr; }
  .person__photo { width: 7.5rem; }
}

/* ------------------------------------------------------------------ notice */
.notice {
  padding: 1.15rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.notice strong { display: block; margin-bottom: 0.2rem; color: var(--ink); }
.notice--important { border-left-color: var(--bronze); background: var(--paper-alt); }
.notice--flush { margin: 0; }

/* callout panel (prescriptions limitations, scope) */
.panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel--accent { border-top: 3px solid var(--bronze); }
.panel h3 { margin-bottom: 0.75rem; }
.panel ul { margin: 0.5rem 0 0; }
.panel li { color: var(--ink-soft); }

/* scenario cards (prescriptions) */
.scenario {
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.scenario__num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
}
.scenario h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; margin: 0.35rem 0 0.4rem; }
.scenario p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* cta band */
.cta-band__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .cta-band__inner { grid-template-columns: 1.3fr 0.7fr; }
}
.cta-band__text h2 { margin-bottom: 0.5rem; }
.cta-band__text p { margin: 0; color: #a9bfda; max-width: 44ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (min-width: 860px) { .cta-band__actions { justify-content: flex-end; } }

/* mini "what happens next" list */
.next-steps { display: grid; gap: 1.25rem; counter-reset: ns; }
@media (min-width: 780px) { .next-steps { grid-template-columns: repeat(3, 1fr); } }
.next-steps li {
  list-style: none;
  margin: 0;
  padding-top: 2.25rem;
  position: relative;
}
.next-steps li::before {
  counter-increment: ns;
  content: counter(ns);
  position: absolute;
  top: 0; left: 0;
  width: 1.75rem; height: 1.75rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.next-steps strong { display: block; margin-bottom: 0.2rem; }
.next-steps p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ------------------------------------------------------------------ FAQ */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 2.75rem 1.3rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 1.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--bronze);
  border-bottom: 2px solid var(--bronze);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding: 0 2.5rem 1.4rem 0; }
.faq details p { margin: 0; color: var(--muted); max-width: 60ch; }

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: 1.35rem; }
.form-fields { display: grid; gap: 1.35rem; }
.form-row { display: grid; gap: 1.35rem; }
@media (min-width: 620px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; min-width: 0; }
.field > label { font-weight: 600; font-size: 0.94rem; color: var(--ink); }
.field .req { color: var(--bronze); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6b7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(38, 155, 122, .2);
}
.field .hint { margin: 0.15rem 0 0; font-size: 0.85rem; color: var(--muted); }
.field .error { margin: 0.1rem 0 0; font-size: 0.85rem; font-weight: 600; color: var(--danger); }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(178, 58, 44, .14); }

.field--check > label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.field--check input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.18rem;
  accent-color: var(--green);
}

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: grid; gap: 0.85rem; }
.form-alt { margin: 0; font-size: 0.9rem; color: var(--muted); }

.form-status {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--muted);
  background: var(--white);
}
.form-status.is-ok { border-left-color: var(--ok); background: var(--ok-bg); color: var(--green-deep); }
.form-status.is-error { border-left-color: var(--danger); background: var(--danger-bg); color: var(--danger); }
.form-status:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }

/* contact layout */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.15fr 0.85fr; } }
.contact-card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-card h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.contact-card__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line-soft);
}
.contact-card__row:first-of-type { border-top: 0; }
.contact-card__row .icon { width: 1.3rem; height: 1.3rem; color: var(--green); margin-top: 0.15rem; }
.contact-card__row h3 { font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.15rem; }
.contact-card__row p, .contact-card__row address { margin: 0; font-style: normal; color: var(--muted); font-size: 0.95rem; }
.contact-card__row a { color: var(--green-deep); font-weight: 600; }
.contact-card__actions { display: grid; gap: 0.75rem; margin-top: 1.25rem; }

/* legal pages */
.legal h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { font-size: 0.9rem; color: var(--muted); }

/* ------------------------------------------------------------------ footer */
.site-footer {
  background: var(--navy);
  color: #c8cdd6;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.site-footer a { color: #d9dee6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }

.brand--footer { color: #fff; margin-bottom: 1rem; }
.brand--footer .brand__text { color: #9db0c9; }
.site-footer__brand p { font-size: 0.92rem; line-height: 1.6; color: #9db0c9; max-width: 34ch; }
.site-footer__disclaimer { font-size: 0.82rem !important; color: #9aabc4 !important; }

.site-footer__col h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a9cb6;
  margin-bottom: 1rem;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-footer__col li { margin: 0; font-size: 0.92rem; }

.site-footer__contact address { font-style: normal; display: grid; gap: 0.1rem; margin-bottom: 0.9rem; }
.site-footer__contact address span { font-size: 0.92rem; color: #9db0c9; }
.site-footer__contact p { font-size: 0.92rem; margin-bottom: 0.75rem; }
.site-footer__hours { color: #9db0c9; }

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 0.85rem;
  color: #8a9cb6;
}
.site-footer__bar ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }

/* -------------------------------------------------------- floating whatsapp */
.wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem;
  border-radius: var(--radius-pill);
  background: #1f8f4e;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform .16s ease, background-color .16s ease;
}
.wa-float:hover { background: #187a41; color: #fff; transform: translateY(-2px); }
.wa-float .icon { width: 1.4rem; height: 1.4rem; }
.wa-float__label { font-weight: 600; font-size: 0.9rem; padding-right: 0.35rem; }

.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 46;
  display: none;
  gap: 0.6rem;
  padding: 0.6rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; min-height: 3rem; }
.mobile-cta .btn-wa {
  flex: 0 0 3rem;
  padding: 0;
  background: #1f8f4e;
  border-color: #1f8f4e;
  color: #fff;
}
.mobile-cta .btn-wa .icon { width: 1.3rem; height: 1.3rem; }

@media (max-width: 720px) {
  .wa-float { display: none; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 4.25rem; }
}

/* ------------------------------------------------------------------ utils */
.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;
}
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

.icon { width: 1.25rem; height: 1.25rem; }
.icon--sm { width: 1rem; height: 1rem; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 2px;
  border-radius: 4px;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }

/* ------------------------------------------------------------------ motion */
.reveal { opacity: 1; }
/* Only hide reveal elements once JS has confirmed it will manage them
   (html.reveal-ready), so nothing is ever stranded invisible. */
.reveal-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}
.reveal-ready .reveal {
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------------------------------------------------------- small screens */
@media (max-width: 620px) {
  .hero__actions .btn { width: 100%; }
  .cta-band__actions .btn { width: 100%; }
}
