/* ============================================================
   FUNDACIÓN REBDI — Sistema de diseño institucional
   Sobrio · azul institucional · accesible · SEO-friendly
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Azules de marca (extraídos del logotipo) */
  --navy:      #144B9B;   /* azul institucional / CTA */
  --navy-700:  #103E80;
  --navy-800:  #0C3268;
  --navy-900:  #0A2750;   /* fondos oscuros */
  --navy-950:  #071B3A;
  --blue:      #5796D0;   /* azul claro de marca (la R) */
  --blue-400:  #6AA4D8;
  --blue-200:  #B7D3EC;
  --blue-100:  #DCEAF8;
  --blue-50:   #EFF5FC;

  /* Neutros */
  --ink:       #15233B;   /* texto principal */
  --ink-soft:  #344864;
  --muted:     #5E7090;   /* texto secundario */
  --faint:     #8896AC;
  --line:      #E3EAF3;
  --line-soft: #EEF2F8;
  --bg:        #FFFFFF;
  --bg-soft:   #F5F8FC;
  --bg-tint:   #EEF4FB;
  --white:     #FFFFFF;

  /* Tipografía */
  --font-head: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tracking-eyebrow: .16em;

  /* Métricas */
  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --maxw:      1200px;
  --gutter:    clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 132px);

  /* Sombras (sutiles, sobrias) */
  --shadow-sm: 0 1px 2px rgba(16,40,80,.06), 0 1px 3px rgba(16,40,80,.05);
  --shadow:    0 6px 20px -8px rgba(16,40,80,.18), 0 2px 6px rgba(16,40,80,.06);
  --shadow-lg: 0 24px 60px -22px rgba(12,40,90,.30), 0 8px 24px -14px rgba(12,40,90,.20);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Variantes de tipografía editorial (tweak) */
html[data-font="editorial"] { --font-head: "Spectral", Georgia, "Times New Roman", serif; }

/* Variante de densidad (tweak) */
html[data-density="spacious"] { --section-y: clamp(88px, 12vw, 176px); }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
::selection { background: var(--blue-200); color: var(--navy-900); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-700); }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -.016em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
  font-feature-settings: "ss01" on;
}
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1340px; }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--navy { background:
  radial-gradient(1100px 500px at 90% -10%, rgba(87,150,208,.22), transparent 60%),
  radial-gradient(800px 400px at 0% 110%, rgba(20,75,155,.35), transparent 55%),
  var(--navy-900); color: #E7EEF8; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--navy);
  margin: 0 0 18px;
}
.section--navy .eyebrow { color: var(--blue); }
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--blue); display: inline-block;
}
.lead { font-size: clamp(19px, 2.1vw, 22px); color: var(--ink-soft); line-height: 1.6; }

.h-display { font-size: clamp(42px, 6.8vw, 80px); letter-spacing: -.025em; line-height: 1.02; }
.h-1 { font-size: clamp(33px, 5vw, 52px); }
.h-2 { font-size: clamp(26px, 3.6vw, 38px); }
.h-3 { font-size: clamp(21px, 2.4vw, 26px); }

.measure { max-width: 64ch; }
.measure-sm { max-width: 52ch; }
.center { text-align: center; }
.center .eyebrow, .center .lead { margin-inline: auto; }
.center .lead, .center .measure, .center .measure-sm { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(0) scale(.98); transition-duration: .06s; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(180deg, #1A57AE, var(--navy) 55%, var(--navy-700)); color: #fff; box-shadow: 0 8px 22px -10px rgba(20,75,155,.7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: linear-gradient(180deg, #1E5FBC, var(--navy-700) 60%, var(--navy-800)); color:#fff; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(20,75,155,.55), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-outline { background: transparent; color: var(--navy); border-color: #C9D8EC; }
.btn-outline:hover { border-color: var(--navy); background: var(--blue-50); color: var(--navy); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); padding-inline: 6px; }
.btn-ghost:hover { color: var(--navy-700); gap: 14px; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-50); color: var(--navy); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); position: relative; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 26px; bottom: -3px; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Pixel-mesh motif (ADN del logo) ---------- */
.mesh { position: absolute; pointer-events: none; z-index: 0; }
html[data-mesh="off"] .mesh { display: none; }
.mesh i {
  position: absolute; display: block; background: var(--blue);
}
.mesh i.dk { background: var(--navy); }
.mesh i.lt { background: var(--blue-200); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 8px 28px -18px rgba(16,40,80,.4); background: rgba(255,255,255,.94); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: .02em; color: var(--ink); }
.brand__tag { font-size: 10.5px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; margin-top: 3px; font-weight: 600; }
.nav__menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative; padding: 9px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; color: var(--ink-soft);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__link:hover { color: var(--navy); background: var(--blue-50); }
.nav__link.is-active { color: var(--navy); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 1px; height: 2.5px;
  background: var(--blue); border-radius: 3px;
}
.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.nav__toggle { display: none; }
@media (max-width: 1024px) {
  .nav__menu, .nav__actions .btn-outline { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-left: auto; border: 1px solid var(--line);
    border-radius: 10px; background: #fff; cursor: pointer; color: var(--ink);
  }
  .nav__toggle svg { width: 24px; height: 24px; }
}
/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(8,24,52,.45); opacity: 0; transition: opacity .3s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: #fff; padding: 22px; transform: translateX(100%);
  transition: transform .32s var(--ease); display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow-lg); overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer__close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; color: var(--ink); display:inline-flex;align-items:center;justify-content:center; }
.drawer__link { padding: 14px 12px; border-radius: 10px; font-weight: 600; font-size: 17px; color: var(--ink); }
.drawer__link:hover, .drawer__link.is-active { background: var(--blue-50); color: var(--navy); }
.drawer .btn { margin-top: 14px; }

/* ---------- Footer ---------- */
.footer { background:
  radial-gradient(1000px 400px at 100% 0%, rgba(20,75,155,.25), transparent 55%),
  var(--navy-950); color: #AEC2DD; padding-block: clamp(56px, 7vw, 88px) 28px; }
.footer a { color: #C8D7EC; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: #8FA6C6; }
.footer__desc { margin-top: 18px; max-width: 34ch; color: #9DB2D0; font-size: 15.5px; }
.footer__col h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; list-style: none; }
.footer__col a { font-size: 15.5px; display: inline-block; transition: color .15s, transform .2s var(--ease); }
.footer__col a:hover { transform: translateX(3px); }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 15.5px; align-items:flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.footer__social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 14px; color: #7E93B4; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  display: inline-flex; align-items: center; gap: 0; overflow: hidden;
  background: linear-gradient(180deg, #25b35c, #1f9e4f); color: #fff; border-radius: 999px; padding: 0;
  box-shadow: 0 12px 30px -8px rgba(31,158,79,.55), inset 0 1px 0 rgba(255,255,255,.25); height: 58px;
  transition: padding .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab__icon { width: 58px; height: 58px; display: grid; place-items: center; flex-shrink: 0; }
.wa-fab__icon svg { width: 28px; height: 28px; }
.wa-fab__label { max-width: 0; opacity: 0; white-space: nowrap; font-weight: 600; transition: max-width .3s var(--ease), opacity .25s; }
.wa-fab:hover { color: #fff; padding-right: 22px; }
.wa-fab:hover .wa-fab__label { max-width: 200px; opacity: 1; }
@media (max-width: 520px) { .wa-fab { right: 16px; bottom: 16px; } }

/* ---------- Cards & components ---------- */
.grid { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 30px; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card--link:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(160deg, var(--blue-50), var(--blue-100));
  color: var(--navy); display: grid; place-items: center; margin-bottom: 20px;
  border: 1px solid var(--blue-100);
  transition: transform .28s var(--ease);
}
.card:hover .card__icon { transform: translateY(-2px) scale(1.04); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16.5px; margin-bottom: 0; }
.card__foot { margin-top: 20px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px;
  border-radius: 999px; background: var(--blue-50); color: var(--navy);
  font-size: 14px; font-weight: 600; border: 1px solid var(--blue-100); white-space: nowrap;
}
.pill svg { width: 15px; height: 15px; }

.tag { display:inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); background: var(--blue-50); padding: 5px 11px; border-radius: 6px; }

/* Stats */
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 5.4vw, 58px); color: var(--navy); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.section--navy .stat__num { color: #fff; }
.stat__label { margin-top: 10px; color: var(--muted); font-size: 16px; font-weight: 500; }
.section--navy .stat__label { color: #B7CAE4; }

/* Numbered steps */
.step__n { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--blue); letter-spacing: .1em; }

/* Placeholder media (foto real luego) */
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--navy); isolation: isolate;
}
.ph::after {
  content: attr(data-label); position: absolute; bottom: 12px; left: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); background: rgba(255,255,255,.82); padding: 5px 10px; border-radius: 6px;
  border: 1px solid var(--blue-100);
}
.ph__icon { width: 64px; height: 64px; opacity: .5; }
.ph--ratio { aspect-ratio: 4 / 3; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph--sq { aspect-ratio: 1 / 1; }

/* Imagen real (foto) */
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blue-50); border: 1px solid var(--line); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.media--ratio { aspect-ratio: 4 / 3; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--sq { aspect-ratio: 1 / 1; }
.media--rounded { border-radius: var(--radius-lg); }
.card--link:hover .media img { transform: scale(1.04); }
.media__badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--navy); background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 7px;
  backdrop-filter: blur(4px);
}

/* Cursos gratuitos (banners Cisco Networking Academy) */
.course-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.course-card .course-media { aspect-ratio: 16 / 9; background: #fff; border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.course-card .course-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s var(--ease); }
.course-card:hover .course-media img { transform: scale(1.03); }
.course-card .course-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; }
.course-card .course-foot b { font-family: var(--font-head); font-size: 15.5px; color: var(--ink); flex: 1; min-width: 0; line-height: 1.3; }
.course-card .course-foot .link-arrow { font-size: 15px; flex-shrink: 0; white-space: nowrap; }

/* Créditos de aliados de un proyecto */
.credits { display: flex; flex-wrap: wrap; gap: 12px; }
.credit { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px 10px 12px; }
.credit__logo { width: 60px; height: 38px; display: grid; place-items: center; flex-shrink: 0; }
.credit__logo img { max-width: 100%; max-height: 34px; width: auto; object-fit: contain; }
.credit__txt { display: flex; flex-direction: column; line-height: 1.2; }
.credit__role { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.credit__name { font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.section--navy .credit { background: rgba(255,255,255,.95); border-color: rgba(255,255,255,.2); }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); font-weight: 500; }
.crumbs a:hover { color: var(--navy); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.crumbs svg { width: 14px; height: 14px; color: var(--faint); }

/* Page hero (inner pages) */
.phero { position: relative; overflow: hidden; background:
  radial-gradient(720px 380px at 92% -10%, rgba(87,150,208,.14), transparent 60%),
  linear-gradient(180deg, var(--bg-tint), var(--bg-soft) 70%);
  border-bottom: 1px solid var(--line); }
.phero__inner { padding-block: clamp(44px, 6.5vw, 84px) clamp(48px, 6.5vw, 78px); position: relative; z-index: 1; }
.phero .crumbs { margin-bottom: 26px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 15px; color: var(--ink); }
.field .req { color: #C0392B; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  background: var(--bg-soft); transition: border-color .18s, box-shadow .18s, background .18s; width: 100%;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-200); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(87,150,208,.16);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C0392B; }
.field__err { color: #C0392B; font-size: 13.5px; font-weight: 600; display: none; }
.field.has-error .field__err { display: block; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--navy); }
.form-note { font-size: 13.5px; color: var(--faint); margin-top: 14px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; color: #1f9e4f; margin: 0 auto 16px; }
form.sent .form-success { display: block; }
form.sent .form-body { display: none; }

/* Accordion (FAQ) */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: none; cursor: pointer; padding: 24px 12px; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--ink);
  border-radius: 10px; transition: background .2s var(--ease), color .15s;
}
.acc__btn:hover { color: var(--navy); background: var(--blue-50); }
.acc__icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .25s var(--ease), border-color .2s, background .2s; }
.acc__icon svg { width: 16px; height: 16px; color: var(--navy); }
.acc__item.is-open .acc__icon { background: var(--navy); border-color: var(--navy); transform: rotate(45deg); }
.acc__item.is-open .acc__icon svg { color: #fff; }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.acc__panel-inner { padding: 0 4px 24px; color: var(--muted); max-width: 70ch; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background:
  radial-gradient(900px 480px at 88% -20%, rgba(87,150,208,.32), transparent 60%),
  linear-gradient(120deg, var(--navy-950), var(--navy-800) 70%, var(--navy-700)); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C6D6EE; }
.cta-band .btn-outline, .section--navy .btn-outline { color: #fff; border-color: rgba(255,255,255,.45); }
.cta-band .btn-outline:hover, .section--navy .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.8); }

/* Divider */
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
.muted { color: var(--muted); }
.flow > * + * { margin-top: 1em; }
.list-check { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.list-check svg { width: 22px; height: 22px; color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.section--navy .list-check li { color: #D6E2F2; }
.section--navy .list-check svg { color: var(--blue); }
.divider-line { width: 48px; height: 3px; background: var(--blue); border-radius: 3px; margin-bottom: 26px; }
.center .divider-line { margin-inline: auto; }
