/* ==========================================================================
   Shared page components: hero, stats, forms, CTA band, page header, misc
   Depends on theme.css tokens.
   ========================================================================== */

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(54,138,132,.25), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
  color: var(--cream-100);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
@media (min-width: 880px) { .hero__grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { color: #fff; }
.hero__lead { color: #cdd6de; font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); margin-top: 1.1rem; max-width: 52ch; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(217,164,65,.14);
  border: 1px solid rgba(217,164,65,.4); color: var(--gold-400);
  padding: .4rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 700;
  letter-spacing: .04em; margin-bottom: 1.3rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); backdrop-filter: blur(6px);
}
.hero__card h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem; }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1rem; }
.stat { }
.stat__num { font-family: var(--font-head); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); font-weight: 800; color: var(--gold-400); line-height: 1; }
.stat__label { font-size: .82rem; color: #cdd6de; margin-top: .35rem; }
.section--dark .stat__num, .stats-band .stat__num { color: var(--gold-400); }

/* ---------- Stats band (light) ---------- */
.stats-band { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 760px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }
.stats-band .stat__num { color: var(--brand); }
.stats-band .stat__label { color: var(--muted); }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--cream-100); padding-block: clamp(3rem, 7vw, 5rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 380px at 85% 0%, rgba(54,138,132,.3), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cdd6de; margin-top: .9rem; max-width: 60ch; }
.breadcrumb { font-size: .85rem; color: #9fb0bd; margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold-400); }

/* ---------- Feature / value lists ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-600); }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: .15rem; }

.split { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split--wide { grid-template-columns: 1.1fr .9fr; } }
.media-frame {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  background: linear-gradient(150deg, var(--teal-600), var(--navy-800));
  aspect-ratio: 4 / 3; display: grid; place-items: center; color: rgba(255,255,255,.9); position: relative;
}
.media-frame svg { width: 40%; height: 40%; opacity: .5; }
.media-frame span { position: absolute; bottom: 1rem; left: 1.2rem; font-size: .85rem; color: rgba(255,255,255,.75); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal-600), var(--navy-800));
  color: #fff; border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center; box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe6e4; max-width: 55ch; margin: .8rem auto 1.6rem; }
.cta-band .btn--ghost { color: #fff; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-left: 3.4rem; }
.steps--3 .step { padding-left: 0; padding-top: 3.6rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem;
  background: var(--brand-dark); color: var(--gold-400); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 800px; margin-inline: auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: .3rem 1.2rem; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 700;
  color: var(--brand-dark); font-family: var(--font-head); font-size: 1.08rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.1rem; margin: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-md);
}
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .92rem; color: var(--brand-dark); }
.field__opt { font-weight: 500; font-size: .82rem; color: var(--ink-400); }
.field input, .field textarea, .field select {
  font: inherit; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--cream-100); color: var(--text); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; }
.field--check input { width: auto; margin-top: .25rem; }
.field--check label { font-weight: 500; font-size: .85rem; color: var(--muted); }
.form-grid { display: grid; gap: 0 1.2rem; }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .4rem; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-sm); background: #eaf5ef; color: var(--success); font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.is-error { background: #fdecea; color: #b3261e; }

/* ---------- Contact info tiles ---------- */
.info-tile { display: flex; gap: 1rem; align-items: flex-start; }
.info-tile .card__icon { margin: 0; }
.info-tile h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.info-tile a { font-weight: 600; }

/* ---------- Quote ---------- */
.quote {
  border-left: 4px solid var(--accent); padding: .4rem 0 .4rem 1.4rem;
  font-family: var(--font-head); font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem);
  color: var(--brand-dark); font-style: italic; max-width: 40ch;
}
.section--dark .quote { color: #fff; }
