/* ==========================================================================
   alejandroloera.mx — SITIO COMPLETO (production candidate)
   Mobile-first · HTML5 + CSS3 · sin frameworks
   Depende de brand-tokens.css (paleta, tipografías, espaciados base)
   ========================================================================== */

/* ---------- 0. Tokens complementarios (derivados de la paleta oficial) ---- */
:root {
  --c-primary: var(--al-primary);        /* #0F4C81 */
  --c-primary-600: #0B3D69;               /* hover primario */
  --c-teal: var(--al-secondary);          /* #00A3B4 — sólo decoración / trazos, no texto pequeño */
  --c-ice: var(--al-background);          /* #E8F4F8 */
  --c-surface: var(--al-surface);         /* #F8FBFC */
  --c-tint: #F2F8FB;                      /* fondo alterno de sección */
  --c-text: var(--al-text);               /* #2D3E50 */
  --c-muted: #4F6273;                     /* texto secundario — AA sobre blanco y tint */
  --c-soft: var(--al-accent);             /* #A7C7D9 */
  --c-line: #DCE8EF;                      /* bordes suaves de tarjetas */
  --c-field: #6E8A9E;                     /* bordes de campos (≥3:1) */
  --c-error: #B42318;

  --radius-sm: var(--al-radius-sm);
  --radius: var(--al-radius-md);
  --radius-lg: 18px;
  --shadow-soft: 0 12px 32px -12px rgba(15, 76, 129, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --gutter: clamp(16px, 4.5vw, 40px);
  --section-y: clamp(56px, 8vw, 112px);
  --header-h: 76px;
}
@media (min-width: 1200px) { :root { --header-h: 104px; } }

/* ---------- 1. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--al-font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--c-primary); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, .statement__text { text-wrap: balance; }
h1, h2, h3 { font-family: var(--al-font-heading); color: var(--c-primary); line-height: 1.18; letter-spacing: -.015em; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.005em; }
.lead { font-size: clamp(1.05rem, 1rem + .25vw, 1.175rem); color: var(--c-muted); line-height: 1.7; }

:focus-visible { outline: 3px solid var(--c-teal); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--c-tint); }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--c-primary); color: #fff; padding: 12px 18px; border-radius: var(--radius);
  font-family: var(--al-font-heading); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--al-font-heading); font-weight: 600; font-size: .75rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--c-teal); flex: none; }

/* ---------- 2. Botones y enlaces ---------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font-family: var(--al-font-heading); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; text-align: center; line-height: 1.2;
  border: 1.5px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-600); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-ice); }
.btn--light { background: #fff; color: var(--c-primary); }
.btn--light:hover { background: var(--c-ice); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .875rem; }
.btn--block-sm { width: 100%; }
@media (min-width: 560px) { .btn--block-sm { width: auto; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--al-font-heading); font-weight: 600; font-size: .95rem;
  color: var(--c-primary); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 3. Header ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 20px -16px rgba(15, 76, 129, .45); }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); flex-wrap: wrap; }

.brand { display: block; flex: none; margin-right: auto; padding-block: 6px; }
.brand__logo { width: 136px; }
@media (min-width: 360px) { .brand__logo { width: 150px; } }
@media (min-width: 768px) { .brand__logo { width: 168px; } }
@media (min-width: 1200px) { .brand__logo { width: 212px; } }

.site-header__cta { display: none; }
@media (min-width: 560px) { .site-header__cta { display: inline-flex; } }

.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 44px; min-height: 44px; padding: 0 12px;
  background: #fff; border: 1.5px solid var(--c-line); border-radius: var(--radius);
  font-family: var(--al-font-heading); font-weight: 600; font-size: .85rem; color: var(--c-primary); cursor: pointer;
}
.menu-btn:hover { border-color: var(--c-soft); }
.menu-btn__box { position: relative; width: 20px; height: 14px; }
.menu-btn__box span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.menu-btn__box span:nth-child(1) { top: 0; }
.menu-btn__box span:nth-child(2) { top: 6px; }
.menu-btn__box span:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .menu-btn__box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__box span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 374px) { .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Navegación móvil / tablet (< 1200px): panel desplegable */
.site-nav { flex-basis: 100%; order: 5; padding: 8px 0 20px; }
.js .site-nav { display: none; }
.js .site-header.is-open .site-nav { display: block; animation: navIn .22s var(--ease); }
.site-nav__list { border-top: 1px solid var(--c-line); }
.site-nav__list li { border-bottom: 1px solid var(--c-line); }
.site-nav__link {
  display: flex; align-items: center; min-height: 52px;
  font-family: var(--al-font-heading); font-weight: 600; font-size: 1rem; color: var(--c-text); text-decoration: none;
}
.site-nav__link:hover, .site-nav__link.is-active, .site-nav__link[aria-current="page"] { color: var(--c-primary); }
.site-nav__link.is-active::before, .site-nav__link[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-teal); margin-right: 10px; }
.site-nav__cta { width: 100%; margin-top: 20px; }
@media (min-width: 560px) { .site-nav__cta { display: none; } }
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Desktop (≥ 1200px): navegación en línea */
@media (min-width: 1200px) {
  .site-header__inner { flex-wrap: nowrap; gap: 32px; }
  .menu-btn, .site-header__cta { display: none; }
  .site-nav, .js .site-nav { display: flex; align-items: center; gap: 32px; flex-basis: auto; order: 0; padding: 0; }
  .site-nav__list { display: flex; gap: 28px; border: 0; }
  .site-nav__list li { border: 0; }
  .site-nav__link { position: relative; min-height: 44px; font-size: .9rem; font-weight: 500; white-space: nowrap; }
  .site-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--c-teal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .site-nav__link:hover::after, .site-nav__link.is-active::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav__link.is-active::before, .site-nav__link[aria-current="page"]::before { display: none; }
  .site-nav__link.is-active, .site-nav__link[aria-current="page"] { font-weight: 600; }
  .site-nav__cta { display: inline-flex; width: auto; margin: 0; }
}

/* ---------- 4. Placeholders de imagen (modo revisión) -------------------- */
.media { position: relative; }
html[data-review="true"] .media::after {
  content: "IMG · " attr(data-asset);
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 3px 8px; border: 1px dashed var(--c-soft); border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  font: 600 10px/1.3 var(--al-font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary);
  pointer-events: none; white-space: nowrap; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis;
}
.frame {
  background:
    radial-gradient(circle at 1px 1px, rgba(15, 76, 129, .09) 1px, transparent 1.4px) 0 0 / 18px 18px,
    var(--c-surface);
}


/* ==========================================================================
   V3 · COMPOSICIÓN
   Ritmo de fondos:  hero (#F8FBFC→#FFF) · manifiesto #FFF · áreas #F8FBFC ·
   procedimientos #FFF · pausa #FFF · SEGURIDAD #0F4C81 · proceso #FFF ·
   FAQ #F8FBFC · cierre #FFF · contacto #FFF (línea) · footer #E8F4F8
   ========================================================================== */

.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 2px; background: var(--c-teal); flex: none; }
.eyebrow--light { color: var(--c-soft); }
@media (max-width: 479px) { .eyebrow--center::before, .eyebrow--center::after { width: 16px; } .eyebrow--center { gap: 10px; letter-spacing: .12em; } }

/* Enlace de bloque: todo el contenedor es clicable con un único enlace accesible */
.stretch { color: inherit; text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.stretch:focus-visible { outline: none; }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 720px; }
.section-head__aside { color: var(--c-muted); max-width: 56ch; margin-top: 16px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .section-head__aside { margin-inline: auto; }

/* ---------- 5. Hero centrado -------------------------------------------- */
.hero {
  --cut: 0px;
  position: relative; overflow: hidden; text-align: center;
  padding-block: clamp(40px, 7vw, 88px) clamp(40px, 5vw, 64px);
  background: linear-gradient(180deg, var(--c-surface) 0, var(--c-surface) calc(100% - var(--cut)), #fff calc(100% - var(--cut)));
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero__title { font-size: clamp(2.05rem, 1.15rem + 4vw, 4rem); line-height: 1.06; letter-spacing: -.028em; max-width: 17ch; margin: 0 auto 22px; }
.hero__lead { max-width: 700px; margin: 0 auto 32px; font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); line-height: 1.7; color: var(--c-muted); }
.hero__actions { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 380px; }
@media (min-width: 560px) { .hero__actions { flex-direction: row; justify-content: center; max-width: none; } }

.hero__stage { position: relative; width: min(100%, 440px); margin-top: clamp(44px, 6vw, 72px); }
.hero__stage img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 30px 60px -30px rgba(15, 76, 129, .45); }
.hero__halo, .hero__halo::before { /* halo de marca */
  position: absolute; left: 50%; top: 48%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none;
}
.hero__halo { width: 128%; border: 1px solid rgba(167, 199, 217, .55); }
.hero__halo::before { content: ""; width: 118%; border: 1px dashed rgba(167, 199, 217, .4); }

.hero__tags { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; background: #fff; border: 1px solid var(--c-line); border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font: 600 .7rem/1.2 var(--al-font-heading); color: var(--c-primary); white-space: nowrap;
}
.tag span { width: 8px; height: 8px; border-radius: 50%; background: var(--c-teal); box-shadow: 0 0 0 4px rgba(0, 163, 180, .15); }
.tag--a { top: 12%; left: 0; }
.tag--b { top: 50%; left: -2%; }
.tag--c { bottom: 8%; right: 0; }

.note { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; line-height: 1.55; color: var(--c-muted); }
.note__icon { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: var(--c-teal); stroke-width: 2; stroke-linecap: round; }
.note--center { max-width: 520px; margin-top: clamp(28px, 4vw, 40px); text-align: left; }
.hero .note--center { margin-inline: auto; }

@media (min-width: 900px) {
  .hero { --cut: 360px; }
  .hero__stage { width: 460px; }
  .tag { font-size: .8rem; padding: 10px 16px; }
  .tag::after { content: ""; position: absolute; top: 50%; width: 44px; height: 1px; background: var(--c-soft); }
  .tag--a { top: 20%; left: auto; right: 94%; }
  .tag--a::after, .tag--c::after { left: 100%; }
  .tag--b { top: 46%; left: 96%; }
  .tag--b::after { right: 100%; }
  .tag--c { top: 74%; bottom: auto; right: 92%; }
  .note--center { max-width: 600px; }
}
@media (min-width: 1200px) {
  .hero { --cut: 390px; }
  .hero__stage { width: 470px; }
}

/* ---------- 6. Manifiesto ----------------------------------------------- */
.manifesto { background: #fff; padding-block: clamp(24px, 4vw, 48px) clamp(64px, 8vw, 128px); }
.manifesto__head { max-width: 840px; margin-inline: auto; text-align: center; }
.manifesto__head::before { content: ""; display: block; width: 1px; height: 56px; margin: 0 auto 28px; background: linear-gradient(var(--c-soft), transparent); transform: scaleY(-1); }
.manifesto__title { font-size: clamp(1.85rem, 1.15rem + 2.7vw, 3.25rem); line-height: 1.12; letter-spacing: -.022em; max-width: 22ch; margin: 0 auto 26px; }
.manifesto__text { max-width: 680px; margin-inline: auto; font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); line-height: 1.78; color: var(--c-muted); }

.principles { display: grid; margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--c-line); }
.principles li { position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.principles li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-teal); }
.principles__k { font: 600 .78rem/1 var(--al-font-heading); letter-spacing: .14em; color: var(--c-primary); }
.principles__t { font: 600 1.05rem/1.4 var(--al-font-heading); color: var(--c-text); }
@media (min-width: 640px) {
  .principles { grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .principles li { border-top: 1px solid var(--c-line); border-bottom: 0; }
}
@media (min-width: 1024px) {
  .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; border-top: 1px solid var(--c-line); }
  .principles li { grid-template-columns: 1fr; gap: 14px; padding: 30px 28px 0 0; border: 0; }
  .principles li + li { padding-left: 28px; }
  .principles li + li::before { left: 28px; }
  .principles__t { font-size: 1.15rem; }
}

/* ---------- 7. Áreas (composición asimétrica) --------------------------- */
.areas { background: var(--c-surface); padding-block: clamp(64px, 8vw, 120px); }
.areas__grid { display: grid; gap: 20px; }
.areas__head { margin-bottom: 12px; }
.areas__head h2 { max-width: 18ch; }

.area {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--c-soft); }
.area__media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--c-line); }
.area__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.area:hover .area__media img { transform: scale(1.03); }
.area__body { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 14px; flex: 1; }
.area__body p { color: var(--c-muted); }
.area__body .link-arrow { margin-top: auto; }
.area__index { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--c-soft); border-radius: 50%; font: 600 .72rem/1 var(--al-font-heading); color: var(--c-primary); }
.area__title { font-size: 1.4rem; padding-right: 40px; }

@media (min-width: 640px) {
  .areas__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .areas__head, .area--lead { grid-column: 1 / -1; }
  .area--lead { flex-direction: row; }
  .area--lead .area__media { flex: 0 0 56%; aspect-ratio: 5 / 4; border-bottom: 0; border-right: 1px solid var(--c-line); }
  .area--lead .area__body { justify-content: center; padding: 32px; }
}
@media (min-width: 1200px) {
  .areas__grid {
    grid-template-columns: 7fr 5fr; grid-template-rows: auto 1fr 1fr;
    grid-template-areas: "lead head" "lead side1" "lead side2";
    column-gap: clamp(32px, 4vw, 56px); row-gap: 24px;
  }
  .areas__head { grid-area: head; align-self: end; margin: 0 0 8px; }
  .area--lead { grid-area: lead; flex-direction: column; }
  .area--lead .area__media { flex: none; aspect-ratio: 5 / 4; border-right: 0; border-bottom: 1px solid var(--c-line); }
  .area--lead .area__body { padding: 32px 36px 22px; }
  .area--lead .area__title { font-size: 2rem; }
  .area--side { grid-area: side1; flex-direction: row; }
  .area--offset { grid-area: side2; margin-left: clamp(24px, 4vw, 56px); }
  .area--side .area__media { flex: 0 0 44%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--c-line); }
  .area--side .area__body { padding: 24px; justify-content: center; }
  .area--side .area__body p { font-size: .95rem; }
}

/* ---------- 8. Procedimientos (secuencia editorial) --------------------- */
.procedures { background: #fff; padding-block: clamp(72px, 9vw, 144px) clamp(48px, 6vw, 88px); }
.procedures__head { max-width: 640px; margin-bottom: clamp(24px, 4vw, 48px); }
.procedures__aside { color: var(--c-muted); margin-top: 16px; max-width: 54ch; }

.feature { position: relative; display: grid; gap: 28px; padding-block: clamp(32px, 5vw, 64px); }
.feature + .feature { border-top: 1px solid var(--c-line); }
.feature__media { order: -1; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; border: 1px solid var(--c-line); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.03); }
.feature__text { position: relative; }
@media (min-width: 640px) and (max-width: 899px) { .feature__media { aspect-ratio: 16 / 9; } }
.feature__num {
  display: block; margin-bottom: 8px;
  font: 700 clamp(3.5rem, 2rem + 6vw, 7rem)/.9 var(--al-font-heading); letter-spacing: -.04em;
  color: var(--c-ice); -webkit-text-stroke: 1.5px var(--c-soft);
}
.feature__cat { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font: 600 .75rem/1.3 var(--al-font-heading); letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.feature__cat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-teal); }
.feature__title { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 14px; }
.feature__desc { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--c-muted); max-width: 36ch; margin-bottom: 24px; }
.feature__toc { display: flex; flex-wrap: wrap; gap: 6px 0; padding: 14px 0; margin-bottom: 22px; border-block: 1px solid var(--c-line); font: 500 .85rem/1.4 var(--al-font-heading); color: var(--c-muted); }
.feature__toc li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--c-teal); }
.feature__cta { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 .95rem/1 var(--al-font-heading); color: var(--c-primary); }
.feature__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.feature:hover .feature__cta { text-decoration: underline; text-underline-offset: 4px; }
.feature:hover .feature__cta svg { transform: translateX(5px); }
.feature:has(.stretch:focus-visible) { outline: 3px solid var(--c-teal); outline-offset: 8px; border-radius: 16px; }

@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
  .feature__media { order: 0; aspect-ratio: 16 / 11; }
  .feature--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature--reverse .feature__media { order: -1; }
  .feature--reverse .feature__text { align-self: end; padding-bottom: clamp(0px, 3vw, 40px); }
}
@media (min-width: 1280px) { /* las imágenes principales sangran hacia el borde de la ventana */
  .feature .feature__media { margin-right: calc((100vw - 1200px) / -2); border-radius: 22px 0 0 22px; border-right: 0; }
  .feature--reverse .feature__media { margin-right: 0; margin-left: calc((100vw - 1200px) / -2); border-radius: 0 22px 22px 0; border-right: 1px solid var(--c-line); border-left: 0; }
}

/* Banda de procedimientos secundarios */
.more { margin-top: clamp(24px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--c-line); }
.more__label { margin-bottom: 8px; font: 600 .75rem/1.3 var(--al-font-heading); letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary); }
.mini { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) 44px; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.mini__media { width: 84px; height: 84px; }
.mini__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-surface); transition: transform .4s var(--ease); }
.mini:hover .mini__media img { transform: scale(1.06); }
html[data-review="true"] .mini { padding-top: 44px; }
html[data-review="true"] .mini__media::after { top: -30px; left: 0; max-width: none; }
.mini__meta { font: 600 .72rem/1.3 var(--al-font-heading); letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.mini__meta span { color: var(--c-primary); margin-right: 6px; }
.mini__title { font-size: 1.2rem; margin: 4px 0; }
.mini__desc { font-size: .93rem; color: var(--c-muted); }
.mini__go { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--c-soft); border-radius: 50%; color: var(--c-primary); transition: background-color .25s, color .25s, border-color .25s; }
.mini__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini:hover .mini__go { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.mini:has(.stretch:focus-visible) { outline: 3px solid var(--c-teal); outline-offset: 4px; border-radius: 12px; }

@media (min-width: 1024px) {
  .more__list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .mini { grid-template-columns: 1fr; align-content: start; gap: 14px; padding: 28px 32px 8px 0; border-bottom: 0; }
  .mini + .mini { padding-left: 32px; border-left: 1px solid var(--c-line); }
  .mini__media { width: 128px; height: 128px; }
  .mini__title { font-size: 1.35rem; }
  .mini__go { position: absolute; top: 28px; right: 24px; }
}

/* ---------- 9. Pausa editorial ------------------------------------------ */
.statement { background: #fff; padding-block: clamp(24px, 4vw, 48px) clamp(64px, 8vw, 112px); }
.statement__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.statement__line { width: 1px; height: clamp(40px, 6vw, 72px); background: var(--c-soft); margin-bottom: 20px; }
.statement__mark { width: 56px; height: auto; margin-bottom: 22px; }
.statement__text { max-width: 24ch; font: 600 clamp(1.4rem, 1rem + 1.7vw, 2.25rem)/1.28 var(--al-font-heading); letter-spacing: -.015em; color: var(--c-primary); }

/* ---------- 10. Seguridad (ancho completo, oscuro) ---------------------- */
.safety {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--c-primary); color: #fff; text-align: center;
  padding-block: clamp(80px, 11vw, 168px) clamp(56px, 8vw, 120px);
}
.safety :focus-visible { outline-color: #fff; }
.safety__rings { position: absolute; left: -160px; top: -160px; width: 520px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(167, 199, 217, .22); pointer-events: none; }
.safety__rings::before, .safety__rings::after { content: ""; position: absolute; inset: 70px; border-radius: 50%; border: 1px solid rgba(167, 199, 217, .18); }
.safety__rings::after { inset: 140px; border-style: dashed; border-color: rgba(0, 163, 180, .45); }
.safety__inner { position: relative; z-index: 2; max-width: 880px; }
.safety__title { color: #fff; font-size: clamp(2rem, 1.15rem + 3.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.025em; max-width: 18ch; margin: 0 auto 24px; }
.safety__text { max-width: 680px; margin: 0 auto 40px; font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); line-height: 1.75; color: rgba(255, 255, 255, .86); }
.safety__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 640px; margin: 0 auto 44px; }
.safety__list li {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 12px;
  border: 1px solid rgba(167, 199, 217, .45); border-radius: 999px;
  font: 600 .95rem/1 var(--al-font-heading); color: #fff;
}
.safety__list li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--c-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.safety__art { order: 2; position: relative; z-index: 1; width: min(78vw, 320px); margin: 56px auto 0; }
.safety__art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid rgba(232, 244, 248, .16); }
@media (min-width: 1024px) {
  .safety { padding-bottom: clamp(160px, 14vw, 220px); }
  .safety__art { position: absolute; order: 0; margin: 0; right: -80px; bottom: -150px; width: 440px; opacity: .95; }
}
@media (min-width: 1440px) {
  .safety__art { right: -40px; bottom: -140px; width: 500px; }
}

/* ---------- 11. Proceso (trayectoria central) --------------------------- */
.process { background: #fff; padding-block: clamp(80px, 10vw, 152px) clamp(64px, 8vw, 120px); }
.path { position: relative; max-width: 560px; margin-inline: auto; }
.path__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 36px; }
.path__step:last-child { padding-bottom: 0; }
.path__step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--c-soft); }
.path__step:not(:last-child)::after { content: ""; position: absolute; left: 22px; bottom: 12px; width: 10px; height: 10px; border-right: 2px solid var(--c-teal); border-bottom: 2px solid var(--c-teal); transform: rotate(45deg); }
.path__node { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; background: #fff; border: 1.5px solid var(--c-soft); border-radius: 50%; transition: border-color .3s, box-shadow .3s; }
.path__node svg { width: 26px; height: 26px; fill: none; stroke: var(--c-primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.path__step:hover .path__node { border-color: var(--c-teal); box-shadow: 0 0 0 6px rgba(0, 163, 180, .10); }
.path__body { padding-top: 4px; }
.path__num { display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: var(--c-ice); font: 700 .75rem/1.6 var(--al-font-heading); letter-spacing: .12em; color: var(--c-primary); }
.path__body h3 { margin-bottom: 6px; }
.path__body p { color: var(--c-muted); font-size: .96rem; }

@media (min-width: 900px) {
  .path { max-width: 960px; }
  .path::before { content: ""; position: absolute; left: 50%; top: 40px; bottom: 40px; width: 2px; margin-left: -1px; background: var(--c-soft); }
  .path__step { grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); gap: 0; align-items: center; padding: 0; }
  .path__step { min-height: 150px; }
  .path__step + .path__step { margin-top: 12px; }
  .path__step:not(:last-child)::before { display: none; }
  .path__step:not(:last-child)::after { left: calc(50% - 5px); top: auto; bottom: -14px; }
  .path__node { grid-column: 2; grid-row: 1; width: 80px; height: 80px; }
  .path__node svg { width: 32px; height: 32px; }
  .path__body { position: relative; grid-row: 1; padding: 0; }
  .path__body::before { content: ""; position: absolute; top: 50%; width: 40px; height: 1px; background: var(--c-soft); }
  .path__step:nth-child(odd) .path__body { grid-column: 3; padding-left: 56px; text-align: left; }
  .path__step:nth-child(odd) .path__body::before { left: 0; }
  .path__step:nth-child(even) .path__body { grid-column: 1; padding-right: 56px; text-align: right; }
  .path__step:nth-child(even) .path__body::before { right: 0; }
  .path__body h3 { font-size: 1.35rem; }
  .path__body p { max-width: 34ch; }
  .path__step:nth-child(even) .path__body p { margin-left: auto; }
}

/* ---------- 12. FAQ (centrado) ------------------------------------------ */
.faq { background: var(--c-surface); padding-block: clamp(72px, 9vw, 128px); }
.faq__list { max-width: 880px; margin-inline: auto; background: #fff; border: 1px solid var(--c-line); border-radius: 20px; padding: 4px clamp(18px, 4vw, 40px); }
.faq-item + .faq-item { border-top: 1px solid var(--c-line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px; padding: 18px 0; cursor: pointer; list-style: none;
  font: 600 clamp(1rem, .96rem + .2vw, 1.1rem)/1.4 var(--al-font-heading); color: var(--c-text); transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--c-primary); }
.faq-item__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--c-soft); transition: background-color .25s, border-color .25s; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--c-primary); transition: transform .25s var(--ease), background-color .25s; }
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon { background: var(--c-primary); border-color: var(--c-primary); }
.faq-item[open] .faq-item__icon::before, .faq-item[open] .faq-item__icon::after { background: #fff; }
.faq-item[open] .faq-item__icon::after { transform: rotate(0deg); }
.faq-item__answer { padding: 0 52px 24px 0; color: var(--c-muted); max-width: 70ch; }
.faq-item[open] .faq-item__answer { animation: faqIn .28s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq__more { display: flex; justify-content: center; margin-top: 24px; }

/* ---------- 13. Cierre / CTA final -------------------------------------- */
.closing { position: relative; overflow: hidden; background: #fff; text-align: center; padding-block: clamp(96px, 13vw, 200px); }
.closing__mark { position: absolute; left: 50%; top: 50%; width: min(460px, 86vw); transform: translate(-50%, -50%); opacity: .05; pointer-events: none; }
.closing__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.closing__title { font-size: clamp(1.9rem, 1.15rem + 3vw, 3.4rem); line-height: 1.1; letter-spacing: -.025em; max-width: 16ch; margin-bottom: 20px; }
.closing__text { max-width: 44ch; margin-bottom: 36px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--c-muted); }
.closing .btn { min-width: 220px; }

/* ---------- 14. Contacto (formulario 7fr · información 5fr) ------------- */
.contact { background: #fff; padding-block: 0 clamp(72px, 9vw, 128px); }
.contact__grid { position: relative; display: grid; gap: 40px; padding-top: clamp(56px, 7vw, 96px); }
.contact__grid::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--c-line); }
.contact__info h2 { margin-bottom: 14px; }
.privacy-note { display: flex; gap: 12px; margin-top: 24px; padding: 16px 18px; background: var(--c-surface); border-left: 3px solid var(--c-teal); border-radius: 0 var(--radius) var(--radius) 0; font-size: .9rem; color: var(--c-muted); max-width: 44ch; }
.privacy-note svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--c-primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__art { display: none; }

.form__row { display: grid; gap: 0 24px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font: 600 .9rem/1.4 var(--al-font-heading); color: var(--c-text); }
.req { color: var(--c-primary); }
.opt { font-weight: 500; color: var(--c-muted); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--c-field); border-radius: var(--radius);
  font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(0, 163, 180, .30); }
.field [aria-invalid="true"] { border-color: var(--c-error) !important; }
.field__error { margin-top: 6px; font-size: .85rem; color: var(--c-error); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary); transform: rotate(45deg); pointer-events: none; }
.field--check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-primary); cursor: pointer; }
.field--check label { margin: 0; font: 400 .95rem/1.5 var(--al-font-body); color: var(--c-text); cursor: pointer; }
.field--check .field__error { grid-column: 2; margin: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.form__legend { font-size: .85rem; color: var(--c-muted); }
.form__status:not(:empty) { margin-top: 20px; padding: 14px 16px; background: var(--c-surface); border-left: 3px solid var(--c-teal); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .92rem; color: var(--c-text); }

@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "form info"; gap: clamp(56px, 7vw, 112px); align-items: start; }
  .form { grid-area: form; }
  .contact__info { grid-area: info; position: sticky; top: calc(var(--header-h) + 32px); padding-left: 48px; border-left: 1px solid var(--c-line); }
  .contact__art { position: relative; display: block; width: 132px; height: 132px; margin-top: 48px; }
  .contact__art span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--c-soft); }
  .contact__art span:nth-child(2) { inset: 24px; border-style: dashed; border-color: var(--c-teal); }
  .contact__art span:nth-child(3) { inset: 58px; border: 0; background: var(--c-teal); box-shadow: 0 0 0 6px rgba(0, 163, 180, .15); }
}

/* ---------- 15. Footer (cierre editorial) ------------------------------- */
.site-footer { background: var(--c-ice); }
.site-footer__main { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: clamp(48px, 6vw, 72px) clamp(32px, 4vw, 48px); text-align: center; }
.site-footer__brand { display: inline-block; margin-bottom: 8px; }
.site-footer__brand img { width: 200px; }
.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 28px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--al-font-heading); font-weight: 600; font-size: .92rem; color: var(--c-text); text-decoration: none; }
.footer-nav a:hover { color: var(--c-primary); text-decoration: underline; }
.footer-nav--sub { padding-top: 12px; border-top: 1px solid rgba(15, 76, 129, .12); }
.footer-nav--sub a { font-family: var(--al-font-body); font-weight: 400; font-size: .9rem; color: var(--c-muted); }
.site-footer__bottom { background: var(--c-primary); color: #fff; }
.site-footer__bottom-inner { display: grid; gap: 10px; padding-block: 22px; font-size: .85rem; }
.site-footer__disclaimer { color: rgba(255, 255, 255, .92); max-width: 72ch; }
.site-footer__copy { color: rgba(255, 255, 255, .78); }
.site-footer__bottom :focus-visible { outline-color: #fff; }
@media (min-width: 1024px) {
  .site-footer__brand img { width: 232px; }
  .site-footer__bottom-inner { grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
}

/* ---------- 16. Estado de navegación ------------------------------------ */
.site-nav__link.is-muted { color: var(--c-text); }
.site-nav__link.is-muted::before { display: none; }
@media (min-width: 1200px) {
  .site-nav__link.is-muted { font-weight: 500; }
  .site-nav__link.is-muted::after { transform: scaleX(0); }
}

/* ---------- 17. Microinteracciones de entrada ---------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 18. Movimiento reducido ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 19. Impresión ----------------------------------------------- */
@media print {
  .site-header, .closing, .form, .menu-btn, .hero__stage, .safety__art, .safety__rings, .skip-link { display: none !important; }
  .safety { background: #fff; color: #000; }
  .safety__title, .safety__text, .safety__list li { color: #000; }
  html[data-review="true"] .media::after { display: none; }
}

/* ==========================================================================
   20. TIPOGRAFÍA AUTOALOJADA (Montserrat + Lato · SIL Open Font License)
   Archivos en assets/fonts/ · licencias incluidas en esa carpeta
   ========================================================================== */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-latin-700-normal.woff2") format("woff2"); }

/* ==========================================================================
   21. PÁGINAS INTERIORES
   ========================================================================== */

/* ---------- Breadcrumb --------------------------------------------------- */
.crumbs { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-block: 14px; font-size: .85rem; color: var(--c-muted); }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c-soft); }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-primary); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--c-primary); font-weight: 700; font-family: var(--al-font-heading); }

/* ---------- Encabezado de página ---------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--c-surface), #fff); padding-block: clamp(36px, 5vw, 72px) clamp(40px, 6vw, 80px); }
.page-hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.page-hero__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 18px; max-width: 18ch; }
.page-hero__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); line-height: 1.75; color: var(--c-muted); max-width: 56ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero__media { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--c-line); aspect-ratio: 4 / 3; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--compact { padding-block: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 48px); }
.page-hero--compact .page-hero__title { max-width: 22ch; }
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .page-hero--compact .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1280px) {
  .page-hero__media { margin-right: calc((100vw - 1200px) / -2); border-radius: 22px 0 0 22px; border-right: 0; }
}

/* ---------- Columna de texto (prosa) ------------------------------------ */
.prose-section { padding-block: clamp(48px, 6vw, 88px); }
.prose-section--tint { background: var(--c-surface); }
.prose-section--ice { background: var(--c-ice); }
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem); margin-top: 8px; }
.prose h3 { margin-top: 28px; font-size: 1.15rem; }
.prose p { color: var(--c-muted); line-height: 1.8; }
.prose strong { color: var(--c-text); }
.prose ul.bullets { display: grid; gap: 12px; }
.prose ul.bullets li { position: relative; padding-left: 26px; color: var(--c-muted); line-height: 1.7; }
.prose ul.bullets li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-teal); }
.prose .note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.prose-block + .prose-block { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Rejilla de puntos de revisión -------------------------------- */
.check-grid { display: grid; gap: 14px; margin-top: 28px; }
.check-grid li { display: flex; align-items: flex-start; gap: 12px; font-size: .98rem; color: var(--c-text); line-height: 1.55; }
.check-grid li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--c-ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%230F4C81' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: inset 0 0 0 1px var(--c-soft);
}
@media (min-width: 720px) { .check-grid { grid-template-columns: 1fr 1fr; gap: 16px 32px; } }

/* ---------- Banda de llamada a la acción --------------------------------- */
.band { background: var(--c-primary); color: #fff; padding-block: clamp(56px, 7vw, 96px); text-align: center; }
.band :focus-visible { outline-color: #fff; }
.band__inner { max-width: 720px; margin-inline: auto; }
.band h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 14px; }
.band p { color: rgba(255, 255, 255, .88); margin-bottom: 28px; }

/* ---------- Bloques de listado (procedimientos relacionados) ------------- */
.listing { display: grid; gap: 20px; }
@media (min-width: 720px) { .listing { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .listing--three { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Aviso legal / editorial -------------------------------------- */
.legal-note { margin-top: 32px; padding: 16px 18px; background: var(--c-surface); border-left: 3px solid var(--c-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: .9rem; color: var(--c-muted); }
.prose ol.steps { display: grid; gap: 14px; counter-reset: s; }
.prose ol.steps li { position: relative; padding-left: 44px; color: var(--c-muted); line-height: 1.7; counter-increment: s; }
.prose ol.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 700 .8rem/1.9 var(--al-font-heading); letter-spacing: .1em; color: var(--c-primary); }

/* <picture> no debe interferir con los contenedores flex/grid de las figuras */
picture { display: contents; }

/* Campo trampa anti-spam (no visible, no anunciado) */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Preguntas frecuentes agrupadas (página completa) */
.faq__stack { display: grid; gap: clamp(32px, 4vw, 56px); max-width: 880px; margin-inline: auto; }
.faq__group-title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); margin-bottom: 18px; text-align: center; }
