/* ==========================================================================
   Abastomar — sitio one-page
   HTML + CSS + JS planos. Mobile-first. Sin dependencias.
   Dos opciones de color en revisión con la clienta:
     data-theme="noche"  (opción 1, por defecto) — azul noche y turquesa
     data-theme="claro"  (opción 2, al final)    — blanco, azul marino y rojo
   Al elegir, se borra el bloque del tema descartado.
   ========================================================================== */

/* ---------- Fuentes autoalojadas (OFL) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #143554;
  --navy-deep: #0c2238;
  --blue: #2c5478;
  --red: #962a27;
  --ink: #22303c;
  --gray: #5f7183;
  --line: #d8e0e8;
  --soft: #f4f7fa;
  --white: #ffffff;
  --sea: #1f7f94;
  --sea-deep: #15657a;
  --sea-light: #4fb3c6;
  --on-dark: #c9d6e2;
  --wa: #25d366;
  --wa-hover: #1fc45c;
  --wa-ink: #0c2238;

  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 9vw, 112px);
  --radius: 6px;
  --fab: 56px;
  --focus: #143554;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
}
body.wa-open { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p, ul, ol { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: 16px; top: -120px; z-index: 100;
  background: var(--red); color: #fff; padding: 12px 18px;
  font-family: var(--font-head); font-weight: 700; text-decoration: none; border-radius: var(--radius);
}
.skip:focus { top: 16px; outline-color: #fff; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--wa { background: var(--wa); color: var(--wa-ink); border-color: var(--wa); }
.btn--wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--lg { min-height: 56px; font-size: 1.0625rem; padding: 14px 26px; }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.btn--block { width: 100%; }

/* ---------- Etiquetas tipo marcaje ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px;
  font-family: var(--font-head); font-weight: 700; font-size: .8125rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 4px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--sea-light); }

/* ---------- Cabecera ---------- */
.site-header { background: var(--navy-deep); color: #fff; --focus: #fff; }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px; padding-block: 12px;
}
.brand { display: inline-flex; align-items: center; padding: 12px 0; text-decoration: none; }
.brand img { width: 150px; }
.site-nav { display: none; }
.site-nav ul { list-style: none; padding: 0; display: flex; gap: 2px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 1rem; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; border-bottom-color: var(--sea-light); }
.site-header__cta { display: none; white-space: nowrap; }
.brand__logo--light { display: none; }
@media (min-width: 768px) {
  .brand img { width: 200px; }
  .site-header__cta { display: inline-flex; }
}
@media (min-width: 1200px) {
  .site-nav { display: block; }
}

/* ---------- Hero ---------- */
.hero { background: var(--navy-deep); color: #fff; --focus: #fff; position: relative; overflow: hidden; }
.hero__content { padding-block: clamp(24px, 5vw, 56px) clamp(24px, 4vw, 40px); position: relative; z-index: 1; }
.hero__content > * { max-width: 780px; }
.hero__title { display: flex; flex-direction: column; gap: .4em; margin: 0 0 22px; color: #fff; }
.hero__lead {
  display: block; font-size: clamp(2.25rem, 9vw, 5rem); font-weight: 800;
  letter-spacing: -.03em; line-height: .95;
}
.hero__lead em { font-style: normal; color: var(--sea-light); }
.hero__rest {
  display: block; font-size: clamp(1.25rem, 1.5vw + .8rem, 1.75rem); font-weight: 500;
  line-height: 1.3; color: var(--on-dark); max-width: 30ch; letter-spacing: 0;
}
.hero__text { font-size: clamp(1.0625rem, .4vw + 1rem, 1.25rem); max-width: 52ch; color: var(--on-dark); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
@media (max-width: 599px) { .hero__actions .btn { width: 100%; } }
.hero__route {
  list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0;
  font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sea-light);
}
.hero__route li { display: inline-flex; align-items: center; }
.hero__route li + li::before {
  content: ""; width: 26px; height: 2px; margin: 0 10px; flex: none;
  background: repeating-linear-gradient(90deg, var(--sea-light) 0 6px, transparent 6px 10px);
}
@media (max-width: 599px) {
  .hero__route { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__route li::before,
  .hero__route li + li::before {
    content: ""; width: 18px; height: 2px; margin: 0 10px 0 0; flex: none;
    background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 10px);
  }
}
.hero__scene { height: clamp(250px, 32vw, 420px); }
.hero__scene svg { width: 100%; height: 100%; }
.waterline { height: 8px; background: var(--red); }

/* olas: deriva suave, solo si el usuario no pide menos movimiento */
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) and (pointer: fine) {
  .waves { animation: drift 7s ease-in-out infinite alternate; }
  .waves--b { animation-duration: 9s; animation-direction: alternate-reverse; }
  @keyframes drift { from { transform: translateX(-10px); } to { transform: translateX(10px); } }
}

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy-deep); color: #fff; --focus: #fff; }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__title { font-size: clamp(1.75rem, 2.2vw + 1rem, 2.75rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.section--dark .section__title { color: #fff; }
.section__lead { font-size: clamp(1.0625rem, .3vw + 1rem, 1.1875rem); margin-top: 16px; color: var(--ink); max-width: 60ch; }
.section--dark .section__lead { color: var(--on-dark); }

/* ---------- Quiénes somos ---------- */
.about__grid { display: grid; gap: 40px; }
.about__text p + p { margin-top: 16px; }
.about__text { font-size: clamp(1.0625rem, .3vw + 1rem, 1.1875rem); }
.manifest {
  position: relative; background: var(--soft); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px 8px;
}
.manifest__title {
  font-family: var(--font-head); font-weight: 700; font-size: .8125rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gray); padding-bottom: 14px; border-bottom: 2px dashed var(--line);
}
.manifest ul { list-style: none; padding: 0; }
.manifest li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.manifest li:last-child { border-bottom: 0; }
.manifest__num { font-family: var(--font-head); font-weight: 800; color: var(--red); font-size: 1.125rem; line-height: 1.4; }
.manifest h3 { font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.manifest p { color: var(--ink); font-size: 1rem; }
.stamp {
  position: absolute; right: 18px; top: -16px; transform: rotate(-5deg);
  border: 3px solid var(--red); color: var(--red); background: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .8125rem; letter-spacing: .16em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 4px;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
}

/* ---------- Qué abastecemos ---------- */
.cards { display: grid; gap: 16px; list-style: none; padding: 0; }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--navy);
  border-radius: var(--radius); padding: 24px;
}
.card svg { width: 72px; height: 72px; margin-bottom: 18px; }
.card h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--ink); }
.supply__cta { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.supply__cta p { font-size: 1.125rem; font-weight: 500; color: var(--navy); max-width: 46ch; }
@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- Misión y visión ---------- */
.mv { display: grid; }
.mv__panel { padding: clamp(48px, 7vw, 96px) var(--gutter); }
.mv__panel--mision { background: var(--navy); color: #fff; --focus: #fff; }
.mv__panel--vision { background: var(--soft); color: var(--ink); }
.mv__inner { max-width: 520px; margin-inline: auto; }
.mv__panel .eyebrow { color: var(--sea-light); }
.mv__panel--vision .eyebrow { color: var(--red); }
.mv__panel h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); font-weight: 800; margin-bottom: 18px; letter-spacing: -.02em; }
.mv__panel--vision h2 { color: var(--navy); }
.mv__panel p { font-size: clamp(1.125rem, .5vw + 1rem, 1.3125rem); line-height: 1.5; }
.mv__panel--mision p { color: #fff; }
@media (min-width: 800px) {
  .mv { grid-template-columns: 1fr 1fr; }
  .mv__panel--mision .mv__inner { margin-right: clamp(24px, 4vw, 56px); margin-left: auto; }
  .mv__panel--vision .mv__inner { margin-left: clamp(24px, 4vw, 56px); margin-right: auto; }
}

/* ---------- Cómo trabajamos (ruta) ---------- */
.route { list-style: none; padding: 0; display: grid; gap: 36px; }
.route__step { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
.route__step::before {
  content: ""; position: absolute; left: 23px; top: 48px; bottom: -36px;
  border-left: 2px dashed var(--blue);
}
.route__step:last-child::before { display: none; }
.route__num {
  grid-row: 1; grid-column: 1; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 3px solid var(--sea-light); border-radius: 50%; background: var(--navy-deep);
  font-family: var(--font-head); font-weight: 800; font-size: .9375rem; color: #fff; position: relative; z-index: 1;
}
/* número + título ocupan toda la fila; ilustración y texto van en la columna 2 */
.route__head { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.route__step h3 { font-size: 1.375rem; font-weight: 800; color: #fff; }
.route__art { grid-column: 2; background: var(--navy); border-radius: var(--radius); padding: 14px; margin: 18px 0 14px; }
.route__art svg { width: 100%; height: auto; }
.route__step p { grid-column: 2; color: var(--on-dark); max-width: 42ch; }
@media (min-width: 860px) {
  .route { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .route__step { display: flex; flex-direction: column; }
  .route__head { display: flex; align-items: center; gap: 0; }
  .route__step::before { left: 48px; right: -32px; top: 23px; bottom: auto; border-left: 0; border-top: 2px dashed var(--blue); }
  .route__step h3 { font-size: 1.25rem; position: relative; z-index: 1; padding: 0 14px; background: var(--navy-deep); }
  .route__art { margin: 20px 0 16px; }
}

/* ---------- Preguntas frecuentes ---------- */
.faq__list { max-width: 800px; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px; min-height: 44px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--navy); line-height: 1.3;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; width: 11px; height: 11px; flex: none; margin: 0 6px 6px 0;
  border-right: 3px solid var(--red); border-bottom: 3px solid var(--red);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq__list details[open] summary::after { transform: rotate(-135deg); margin: 6px 6px 0 0; }
.faq__list details p { padding: 0 4px 22px; max-width: 66ch; }
.faq__list summary:hover { color: var(--red); }

/* ---------- Contacto ---------- */
.contact__grid { display: grid; gap: 16px; }
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.person__role { font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.person h3 { font-size: 1.375rem; font-weight: 800; color: var(--navy); }
.person__phone { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; font-size: 1.0625rem; }
.person__note { color: var(--gray); font-size: .9375rem; }
.person .btn { margin-top: 14px; }
.person--mail { border-top: 5px solid var(--navy); }
@media (min-width: 760px) {
  .contact__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- Franja tipo señalética ---------- */
.hatch { height: 12px; background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--soft) 14px 28px); }

/* ---------- Pie ---------- */
.site-footer {
  background: var(--navy-deep); color: var(--on-dark); --focus: #fff;
  padding: 48px 0 calc(28px + var(--fab) + env(safe-area-inset-bottom));
}
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__brand img { width: 200px; }
.site-footer__tagline { margin-top: 16px; max-width: 34ch; }
.site-footer h2 { font-family: var(--font-head); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sea-light); margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li a {
  display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; font-weight: 500;
}
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__legal {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .9375rem;
}
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
}

/* ---------- Botón flotante WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: var(--fab); height: var(--fab); border-radius: 999px;
  background: var(--wa); color: var(--wa-ink); text-decoration: none;
  font-family: var(--font-head); font-weight: 800; font-size: .9375rem;
  box-shadow: 0 8px 24px rgba(12, 34, 56, .38);
  transition: background-color .15s ease, transform .15s ease;
}
.wa-fab:hover { background: var(--wa-hover); }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wa-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--navy-deep); }
@media (min-width: 600px) {
  .wa-fab { width: auto; padding: 0 20px 0 14px; }
  .wa-fab__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ---------- Selector de contacto (hoja) ---------- */
.wa-sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: flex-end; }
.wa-sheet__scrim { position: absolute; inset: 0; background: rgba(12, 34, 56, .6); }
.wa-sheet__panel {
  position: relative; width: 100%; background: #fff; color: var(--ink);
  padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
  border-radius: 16px 16px 0 0; box-shadow: 0 -8px 32px rgba(12, 34, 56, .3);
}
.wa-sheet__title { font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; color: var(--navy); }
.wa-sheet__hint { color: var(--gray); font-size: .9375rem; margin: 4px 0 14px; }
.wa-sheet__list { list-style: none; padding: 0; display: grid; gap: 10px; }
.wa-sheet__link {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px;
  border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.wa-sheet__link:hover { border-color: var(--wa); background: #f0fbf4; }
.wa-sheet__badge {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--wa); color: var(--wa-ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.wa-sheet__badge svg { width: 24px; height: 24px; }
.wa-sheet__name { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.wa-sheet__action { display: block; font-size: .9375rem; color: var(--gray); }
.wa-sheet__close {
  margin-top: 12px; width: 100%; min-height: 44px; border: 0; background: var(--soft); border-radius: var(--radius);
  font: inherit; font-weight: 500; color: var(--navy); cursor: pointer;
}
.wa-sheet__close:hover { background: var(--line); }
@media (min-width: 600px) {
  .wa-sheet { padding: 0 16px calc(16px + var(--fab) + 12px + env(safe-area-inset-bottom)) 0; }
  .wa-sheet__panel { width: 360px; border-radius: 12px; padding: 20px; box-shadow: 0 16px 48px rgba(12, 34, 56, .35); }
}

/* ---------- Página 404 ---------- */
.notfound { padding-block: clamp(56px, 10vw, 120px); }
.notfound__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 14vw, 8rem); line-height: 1; color: var(--line); letter-spacing: -.04em; }
.notfound h1 { font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem); font-weight: 800; color: var(--navy); margin: 8px 0 16px; }
.notfound p:not(.notfound__code) { max-width: 52ch; font-size: 1.125rem; margin-bottom: 28px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   OPCIÓN 2 — "Blanco marino" (data-theme="claro")
   Misma estructura y contenido. Cabecera, portada y "Cómo trabajamos" pasan a
   fondo claro; el acento es el rojo del logo. Las ilustraciones se recolorean
   desde aquí (por atributo o por clase), sin redibujar los SVG.
   ========================================================================== */
[data-theme="claro"] .site-header { background: #fff; color: var(--navy); --focus: var(--navy); border-bottom: 1px solid var(--line); }
[data-theme="claro"] .brand__logo--dark { display: none; }
[data-theme="claro"] .brand__logo--light { display: block; }
[data-theme="claro"] .site-nav a { color: var(--navy); }
[data-theme="claro"] .site-nav a:hover { color: var(--red); border-bottom-color: var(--red); }

[data-theme="claro"] .hero {
  background: linear-gradient(180deg, #fff 0%, #fff 40%, #eaf1f6 100%);
  color: var(--ink); --focus: var(--navy);
}
[data-theme="claro"] .hero__title { color: var(--navy); }
[data-theme="claro"] .hero__lead em { color: var(--red); }
[data-theme="claro"] .hero__rest { color: var(--blue); }
[data-theme="claro"] .hero__text { color: var(--ink); }
[data-theme="claro"] .eyebrow--light { color: var(--red); }
[data-theme="claro"] .hero__route { color: var(--blue); }
[data-theme="claro"] .hero__route li + li::before { background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 10px); }
[data-theme="claro"] .btn--ghost { color: var(--navy); border-color: var(--navy); }
[data-theme="claro"] .btn--ghost:hover { background: var(--navy); color: #fff; }

/* escena portuaria de día */
[data-theme="claro"] .hero__scene stop[stop-color="#0c2238"] { stop-color: #eaf1f6; }
[data-theme="claro"] .hero__scene stop[stop-color="#1c4b73"] { stop-color: #bcd2e0; }
[data-theme="claro"] .hero__scene g[fill="#0e2a44"] { fill: #a3bacb; }
[data-theme="claro"] .hero__scene path[stroke="#0e2a44"] { stroke: #a3bacb; }
[data-theme="claro"] .hero__scene rect[fill="#1b7089"] { fill: #5fa7bd; }
[data-theme="claro"] .hero__scene rect[fill="#17667a"] { fill: #2f86a0; }
[data-theme="claro"] .hero__scene g[stroke="#4fb3c6"] { stroke: #c4e6ee; }
[data-theme="claro"] .hero__scene g[stroke="#0f4e60"] { stroke: #1f6f88; }
[data-theme="claro"] .hero__scene .il-struct { fill: var(--blue); }
[data-theme="claro"] .hero__scene .il-struct-line { stroke: var(--blue); }
[data-theme="claro"] .hero__scene .il-outline { stroke: var(--navy); stroke-width: 2; }

[data-theme="claro"] .mv__panel--mision .eyebrow { color: var(--on-dark); }

[data-theme="claro"] .section--dark { background: var(--soft); color: var(--ink); --focus: var(--navy); }
[data-theme="claro"] .section--dark .section__title { color: var(--navy); }
[data-theme="claro"] .section--dark .section__lead { color: var(--ink); }
[data-theme="claro"] .process .route__num { background: #fff; border-color: var(--red); color: var(--navy); }
[data-theme="claro"] .process .route__step h3 { color: var(--navy); background: var(--soft); }
[data-theme="claro"] .process .route__step p { color: var(--ink); }

[data-theme="claro"] .site-footer h2 { color: var(--on-dark); }

/* Profundidad solo en ilustraciones: el contenido permanece estable. */
.mv__panel { position: relative; overflow: hidden; isolation: isolate; }
.mv__inner { position: relative; z-index: 1; }
.mv__depth {
  position: absolute; width: 420px; height: 420px; right: -170px; bottom: -180px;
  border: 1px solid rgb(79 179 198 / 16%); border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 48px rgb(79 179 198 / 4%), 0 0 0 96px rgb(79 179 198 / 3%);
}
@media (min-width: 900px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-parallax] { transform: translate3d(0, var(--parallax-y, 0px), 0); }
}
@media (prefers-reduced-motion: reduce) {
  [data-parallax] { transform: none !important; }
}
