/* ============================================================
   IBERO LEGAL SOLUTIONS — Design System
   "El expediente impecable" · direccion-diseno.md (vinculante)
   Tokens exactos · Newsreader (display) + Public Sans (UI/texto)
   Firma gráfica: la ESTRÍA (líneas verticales 1px)
   ============================================================ */

/* ------------------------------------------------------------
   1. FUENTES AUTOALOJADAS (variables, latin)
   Rutas relativas al CSS: ../fonts/
   ------------------------------------------------------------ */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------
   2. TOKENS
   ------------------------------------------------------------ */
:root {
  /* Paleta (marca del cliente — MANDA) */
  --navy-900: #0B1B33;
  --navy-700: #1B365D;
  --navy-500: #33527F;
  --gold-500: #C5A059;
  --gold-300: #D9BE8C;
  --paper: #F5F7FA;
  --paper-warm: #F4F1EA;
  --ink: #1A2433;
  --ink-soft: #4A5568;
  --line: #D8DEE9;
  --whatsapp: #25D366; /* SOLO icono/indicador; el botón CTA es dorado */

  /* Tipografía */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-ui: "Public Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2.6rem, 1.6rem + 4.2vw, 4.5rem);
  --fs-h2: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);
  --fs-h3: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem);
  --fs-body: 1.0625rem;            /* 17px */
  --fs-body-b: 1.125rem;           /* 18px — páginas de arraigo (.page-b) */
  --fs-small: 0.9375rem;
  --fs-chip: 0.8125rem;

  /* Materia */
  --radius: 6px;
  --radius-chip: 2px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 8px 24px rgba(11, 27, 51, .07);
  --hairline: 1px solid var(--line);

  /* Motion: "serenidad con propósito"
     Sistema de easing unificado — ease-out exponencial, sin bounce/elastic.
     --ease-out      : curva del briefing (reveals, paneles, estampado)
     --ease-out-quart: salida más decidida para micro-interacciones de hover
     --ease-emphasis : entradas con presencia (estampado del tracker) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.32, 1);
  --ease-emphasis: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 250ms;       /* micro-interacciones (hover/focus/active) */
  --t-hover: 300ms;      /* elevación de cards: un punto más serena */
  --t-reveal: 450ms;     /* reveals al scroll */
  --t-stamp: 520ms;      /* estampado del expediente (un pelín más largo) */

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 84px;
  --header-h-compact: 64px;

  /* Estrías — la firma gráfica */
  --striae-gold: repeating-linear-gradient(90deg, rgba(217, 190, 140, .20) 0 1px, transparent 1px 14px);
  --striae-gold-soft: repeating-linear-gradient(90deg, rgba(217, 190, 140, .12) 0 1px, transparent 1px 14px);
  --striae-navy: repeating-linear-gradient(90deg, rgba(27, 54, 93, .08) 0 1px, transparent 1px 14px);
}

/* ------------------------------------------------------------
   3. RESET
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Páginas Persona B (arraigos, regularización): cuerpo 18px */
body.page-b { font-size: var(--fs-body-b); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
ul[class], ol[class] { list-style: none; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-500); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { font-weight: 600; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--navy-700); color: var(--paper); }

/* ------------------------------------------------------------
   4. TIPOGRAFÍA
   ------------------------------------------------------------ */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 600; }
.lead { font-size: 1.1875rem; color: var(--ink-soft); max-width: 64ch; }
.em-editorial { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.text-soft { color: var(--ink-soft); }
.kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-ui); font-size: .8125rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold-500); }
.section--dark .kicker { color: var(--gold-300); }
.section--dark .kicker::before { background: var(--gold-300); }

/* Numeración de sección (estilo expediente) */
.sec-num {
  font-family: var(--font-ui); font-size: .8125rem; font-weight: 600;
  letter-spacing: .14em; color: var(--gold-500);
}

/* ------------------------------------------------------------
   5. LAYOUT
   ------------------------------------------------------------ */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--compact { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--warm { background: var(--paper-warm); }
.section--white { background: #fff; }
.section--dark { background: var(--navy-900); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark .lead, .section--dark .text-soft { color: rgba(245, 247, 250, .78); }
.section--dark a { color: var(--gold-300); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head > * + * { margin-top: 1rem; }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 679px)  { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* Divisores: hairline y doble filete (papel timbrado) */
.rule { border: 0; border-top: var(--hairline); }
.rule--double { border: 0; border-top: 1px solid var(--gold-500); position: relative; }
.rule--double::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--gold-500); }

/* ------------------------------------------------------------
   6. ESTRÍAS — firma gráfica
   .striae           → capa de líneas doradas (sobre fondos navy)
   .striae--drift    → deriva vertical lentísima (60s)
   .striae--navy     → líneas navy sutilísimas sobre fondos claros
   El elemento padre necesita position:relative + overflow:hidden.
   ------------------------------------------------------------ */
.striae { position: relative; overflow: hidden; isolation: isolate; }
.striae::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--striae-gold);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
/* Deriva: banda de sombra navy que recorre las estrías verticalmente.
   Atmósfera, no espectáculo: solo transform (compositable, sin repintar).
   will-change permanente JUSTIFICADO: única animación perpetua de la página;
   forzar la capa evita micro-tirones en el loop de 60s. */
.striae--drift::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: -1;
  height: 200%;
  background: repeating-linear-gradient(180deg,
    rgba(11, 27, 51, 0) 0%, rgba(11, 27, 51, 0) 34%,
    rgba(11, 27, 51, .4) 50%,
    rgba(11, 27, 51, 0) 66%, rgba(11, 27, 51, 0) 100%);
  animation: striae-drift 72s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  pointer-events: none;
}
@keyframes striae-drift {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}
.striae--navy::before { background-image: var(--striae-navy); -webkit-mask-image: none; mask-image: none; }

/* ------------------------------------------------------------
   7. BOTONES
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-ui); font-size: 1rem; font-weight: 600; line-height: 1;
  padding: .95rem 1.6rem; border-radius: var(--radius);
  text-decoration: none; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out-quart), box-shadow var(--t-fast) var(--ease-out-quart),
              background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}
.btn .icon { width: 19px; height: 19px; flex: none; transition: transform var(--t-fast) var(--ease-out-quart); }
.btn:active { transform: translateY(1px); transition-duration: 80ms; }
.btn:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }
/* Primario: dorado con icono WhatsApp — leve elevación táctil al hover */
.btn--primary { background: var(--gold-500); color: var(--navy-900); border: 1px solid var(--gold-500); }
.btn--primary:hover { background: var(--gold-300); border-color: var(--gold-300); color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(197, 160, 89, .28); }
.btn--primary:active { box-shadow: 0 2px 6px rgba(197, 160, 89, .22); }
.btn--primary:hover .icon { transform: scale(1.06); }
/* Secundario: outline navy */
.btn--secondary { background: transparent; color: var(--navy-700); border: 1px solid var(--navy-700); }
.btn--secondary:hover { background: var(--navy-700); color: var(--paper); transform: translateY(-1px); }
/* Variantes sobre fondo oscuro */
.section--dark .btn--secondary, .btn--ghost-light { background: transparent; color: var(--paper); border: 1px solid rgba(245, 247, 250, .45); }
.section--dark .btn--secondary:hover, .btn--ghost-light:hover { background: rgba(245, 247, 250, .1); color: #fff; border-color: var(--paper); }
.btn--block { width: 100%; }
/* Microcopy de expectativa bajo el CTA (obligatorio — cro.md §5.4) */
.cta-note { margin-top: .8rem; font-size: .875rem; color: var(--ink-soft); max-width: 52ch; }
.section--dark .cta-note, .hero-dark .cta-note { color: rgba(245, 247, 250, .7); }
.cta-tel { font-weight: 600; color: inherit; }

/* Grupo CTA del hero */
.cta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* Enlace con subrayado dorado que crece de izquierda a derecha */
.link-grow { position: relative; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; padding-bottom: 3px; }
.link-grow::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-fast) var(--ease-out);
}
.link-grow:hover::after, .link-grow:focus-visible::after { transform: scaleX(1); }
.link-grow .icon { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease-out); }
.link-grow:hover .icon { transform: translateX(3px); }

/* ------------------------------------------------------------
   8. HEADER STICKY + MEGA-MENÚ
   ------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 247, 250, .92);
  border-bottom: var(--hairline);
}
/* El blur va en un pseudo: backdrop-filter sobre .header crearía un
   containing block y rompería el panel fijo del nav móvil. */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--header-h);
  transition: height 300ms var(--ease-out);
}
.header.is-compact .header__inner { height: var(--header-h-compact); }
.header__logo { flex: none; text-decoration: none; }
.header__logo svg { height: 44px; width: auto; transition: transform 300ms var(--ease-out); transform-origin: left center; }
.header.is-compact .header__logo svg { transform: scale(.86); }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav__item { position: relative; }
/* El mega-menú (ancho) se ancla al header full-width, no al botón: así se
   centra en el viewport y nunca desborda por la izquierda. El dropdown simple
   (Sedes) sí se ancla a su botón (mantiene position: relative). */
.nav__item--mega { position: static; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .9375rem; font-weight: 500; color: var(--ink);
  padding: .55rem .8rem; text-decoration: none; border-radius: var(--radius);
}
.nav__link:hover, .nav__toggle:hover { color: var(--navy-700); }
.nav__toggle .caret { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--t-fast) var(--ease-out); }
.nav__item.is-open > .nav__toggle .caret { transform: rotate(225deg) translateY(-1px); }
.header__cta { margin-left: .5rem; }
.header__cta .btn { padding: .7rem 1.15rem; font-size: .9375rem; }

/* Selector ES/EN */
.lang {
  display: inline-flex; align-items: center; gap: .15rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .05em;
  border: var(--hairline); border-radius: var(--radius); padding: .3rem .35rem; margin-left: .35rem;
}
.lang a, .lang span { padding: .2rem .45rem; border-radius: 4px; text-decoration: none; color: var(--ink-soft); }
.lang [aria-current="true"] { background: var(--navy-700); color: var(--paper); }
.lang a:hover { color: var(--navy-700); }

/* Mega-menú (desktop): panel 4 columnas */
.mega {
  position: absolute; left: 50%; top: calc(100% + 10px);
  transform: translateX(-50%) translateY(8px);
  width: min(1080px, calc(100vw - 2 * var(--gutter)));
  background: #fff; border: var(--hairline); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), visibility 0s linear var(--t-fast);
}
.nav__item.is-open > .mega,
.nav__item:focus-within > .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), visibility 0s;
}
/* El mega-menú se abre SOLO con clic (gestionado por JS: clase .is-open).
   Sin apertura por hover. */
/* Dropdown simple (Sedes) */
.dropdown {
  position: absolute; left: 0; top: calc(100% + 10px);
  min-width: 220px; background: #fff; border: var(--hairline); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .6rem;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px);
  transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), visibility 0s linear var(--t-fast);
}
.nav__item.is-open > .dropdown,
.nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
/* El dropdown (Sedes) se abre SOLO con clic (JS: .is-open). Sin hover. */
.dropdown a { display: block; padding: .55rem .8rem; font-size: .9375rem; text-decoration: none; border-radius: 4px; color: var(--ink); }
.dropdown a:hover { background: var(--paper); color: var(--navy-700); }

.mega__col { border-left: var(--hairline); padding-left: 1.25rem; }
.mega__col:first-child { border-left: 0; padding-left: 0; }
.mega__hub {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: .9375rem; color: var(--navy-700);
  text-decoration: none; margin-bottom: .85rem;
}
.mega__hub .icon { width: 20px; height: 20px; color: var(--gold-500); flex: none; }
.mega__hub:hover { color: var(--navy-500); }
.mega__list { display: grid; gap: .1rem; }
.mega__list a {
  display: block; font-size: .875rem; color: var(--ink-soft);
  text-decoration: none; padding: .35rem .5rem; margin-left: -.5rem; border-radius: 4px;
}
.mega__list a:hover { background: var(--paper); color: var(--navy-700); }
.mega__all { margin-top: .75rem; font-size: .8125rem; }

/* Hamburguesa */
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 50%; width: 22px; height: 1.5px;
  background: var(--ink); transform: translateX(-50%);
  transition: transform var(--t-fast) var(--ease-out), opacity var(--t-fast) var(--ease-out);
}
.burger span { top: 50%; }
.burger span::before { top: -7px; left: 0; transform: none; }
.burger span::after { top: 7px; left: 0; transform: none; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Nav móvil: accordion */
@media (max-width: 919px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h-compact) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); overflow-y: auto;
    padding: 1rem var(--gutter) 7rem;
    margin-left: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), visibility 0s linear var(--t-fast);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
  .nav__item { border-bottom: var(--hairline); }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.0625rem; }
  .mega, .dropdown {
    position: static; transform: none; width: auto; min-width: 0;
    border: 0; box-shadow: none; border-radius: 0; background: transparent;
    padding: 0 0 1rem .25rem; grid-template-columns: 1fr; gap: 1.25rem;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav__item.is-open > .mega { display: grid; transform: none; }
  .nav__item.is-open > .dropdown { display: block; transform: none; }
  .nav__item:focus-within > .mega, .nav__item:focus-within > .dropdown { transform: none; }
  /* focus-within no debe abrir paneles en móvil */
  .nav__item:focus-within > .mega, .nav__item:focus-within > .dropdown { opacity: 1; }
  .nav__item:not(.is-open):focus-within > .mega { display: none; }
  .nav__item:not(.is-open):focus-within > .dropdown { display: none; }
  .mega__col { border-left: 2px solid var(--line); padding-left: 1rem; }
  .mega__col:first-child { border-left: 2px solid var(--line); padding-left: 1rem; }
  .lang { margin: 1.25rem 0 0; align-self: flex-start; }
  body.nav-locked { overflow: hidden; }
}

/* ------------------------------------------------------------
   9. HERO OSCURO (home / hubs) — estrías + deriva
   ------------------------------------------------------------ */
.hero-dark {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900) 0%, #0E2140 100%);
  color: var(--paper);
  padding-block: clamp(4.5rem, 11vw, 8.5rem) clamp(4rem, 9vw, 7rem);
}
.hero-dark h1 { color: var(--paper); max-width: 17ch; }
.hero-dark h1 .q { color: var(--gold-300); }
.hero-dark .lead { color: rgba(245, 247, 250, .8); margin-top: 1.5rem; }
.hero-dark .cta-group { margin-top: 2.25rem; }
.hero-dark__content { position: relative; z-index: 1; max-width: 800px; }

/* Hero claro compacto (páginas de servicio) */
.hero-light {
  background: var(--paper-warm);
  border-bottom: var(--hairline);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  position: relative; overflow: hidden;
}
.hero-light h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); max-width: 24ch; }
.hero-light .lead { margin-top: 1.25rem; }
.hero-light .cta-group { margin-top: 1.75rem; }
.hero-light__content { position: relative; z-index: 1; max-width: 800px; }

/* ------------------------------------------------------------
   10. TRUST BAR (+ contadores)
   ------------------------------------------------------------ */
.trustbar { background: #fff; border-bottom: var(--hairline); }
.trustbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 1.5rem;
}
.trustbar__item { padding: .5rem 1.5rem; border-left: var(--hairline); }
.trustbar__item:first-child { border-left: 0; }
.trustbar__lead {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: 1.25rem; color: var(--navy-700); line-height: 1.2;
}
.trustbar__lead .counter { font-variant-numeric: tabular-nums; }
.trustbar__sub { display: block; font-size: .8438rem; color: var(--ink-soft); margin-top: .3rem; }
@media (max-width: 919px) {
  .trustbar__grid { grid-template-columns: 1fr 1fr; row-gap: 1rem; }
  .trustbar__item:nth-child(3) { border-left: 0; }
}
@media (max-width: 519px) {
  .trustbar__grid { grid-template-columns: 1fr; }
  .trustbar__item { border-left: 0; border-top: var(--hairline); padding-block: .85rem; }
  .trustbar__item:first-child { border-top: 0; }
}

/* ------------------------------------------------------------
   11. CARDS DE SERVICIO numeradas ("01" dorado)
   Hover: estrías encendiéndose de izquierda a derecha + lift 2px
   ------------------------------------------------------------ */
.card-service {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: .85rem;
  background: #fff; border: var(--hairline); border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  text-decoration: none; color: var(--ink);
  transition: transform var(--t-hover) var(--ease-out-quart), border-color var(--t-fast) var(--ease-out), box-shadow var(--t-hover) var(--ease-out-quart);
}
.card-service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--striae-gold-soft);
  transform: scaleX(0); transform-origin: left;
  transition: transform 460ms var(--ease-emphasis);
}
.card-service:hover, .card-service:focus-visible {
  transform: translateY(-2px); border-color: var(--gold-500); box-shadow: var(--shadow); color: var(--ink);
}
.card-service:hover::before, .card-service:focus-visible::before { transform: scaleX(1); }
.card-service__num {
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 500;
  color: var(--gold-500); letter-spacing: .08em;
}
.card-service__num::after { content: ""; display: block; width: 26px; height: 1px; background: var(--gold-500); margin-top: .6rem; }
.card-service h3 { font-size: 1.4rem; }
.card-service p { font-size: .9375rem; color: var(--ink-soft); flex-grow: 1; }
.card-service .link-grow { font-size: .9375rem; margin-top: .25rem; align-self: flex-start; }
/* Variante sobre fondo oscuro */
.section--dark .card-service { background: rgba(245, 247, 250, .04); border-color: rgba(216, 222, 233, .18); color: var(--paper); }
.section--dark .card-service h3 { color: var(--paper); }
.section--dark .card-service p { color: rgba(245, 247, 250, .72); }

/* ------------------------------------------------------------
   12. TRACKER "EXPEDIENTE VIVO" (timeline vertical + sellos)
   ------------------------------------------------------------ */
.tracker { position: relative; max-width: 760px; }
.tracker::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.section--dark .tracker::before { background: rgba(216, 222, 233, .25); }
.tracker__step { position: relative; padding: 0 0 2.5rem 80px; }
.tracker__step:last-child { padding-bottom: 0; }
.tracker__node {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: var(--hairline);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--navy-700);
  transform: scale(1.04);
  transition: border-color var(--t-stamp) var(--ease-emphasis), background-color var(--t-stamp) var(--ease-emphasis), color var(--t-stamp) var(--ease-emphasis), transform var(--t-stamp) var(--ease-emphasis);
}
/* El nodo también se "estampa" (1.04 → 1) al entrar el paso */
.tracker__step.is-stamped .tracker__node { transform: scale(1); }
.section--warm .tracker__node { background: var(--paper-warm); }
.section--dark .tracker__node { background: var(--navy-900); border-color: rgba(216, 222, 233, .25); color: var(--gold-300); }
.tracker__step.is-stamped .tracker__node { border-color: var(--gold-500); color: var(--gold-500); }
.tracker__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; }
.tracker__step p { margin-top: .5rem; color: var(--ink-soft); max-width: 56ch; }
.section--dark .tracker__step p { color: rgba(245, 247, 250, .75); }
/* El sello-chip que se estampa al hacer scroll */
.tracker__seal {
  display: inline-block; margin-top: .85rem;
  opacity: 0; transform: scale(1.04);
  transition: opacity var(--t-stamp) var(--ease-emphasis), transform var(--t-stamp) var(--ease-emphasis);
  /* El sello entra justo después del nodo: lectura de secuencia */
  transition-delay: 90ms;
}
.tracker__step.is-stamped .tracker__seal { opacity: 1; transform: scale(1); }

/* ------------------------------------------------------------
   13. CHIPS-SELLO (datos clave, estados de expediente)
   ------------------------------------------------------------ */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-ui); font-size: var(--fs-chip); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .42rem .8rem; border-radius: var(--radius-chip);
  border: 1px solid var(--gold-500); color: var(--navy-700); background: transparent;
}
.chip .icon { width: 14px; height: 14px; color: var(--gold-500); }
.chip {
  transition: transform var(--t-fast) var(--ease-out-quart), border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
/* Chip dentro de un enlace/checklist con hover: leve estampado documental */
a:hover > .chip, .checklist__item:hover .chip, .card-service:hover .chip { transform: scale(1.03); }
.chip--solid { background: var(--navy-700); border-color: var(--navy-700); color: var(--paper); }
.chip--gold { background: rgba(197, 160, 89, .12); }
.section--dark .chip { color: var(--gold-300); border-color: var(--gold-300); }
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ------------------------------------------------------------
   14. CHECKLIST DE REQUISITOS
   ------------------------------------------------------------ */
.checklist { display: grid; gap: 1.25rem; max-width: 800px; }
.checklist__item {
  position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 1rem;
  background: #fff; border: var(--hairline); border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.section--white .checklist__item { background: var(--paper); }
.checklist__check {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gold-500); color: var(--gold-500);
}
.checklist__check .icon { width: 16px; height: 16px; }
.checklist__item h3, .checklist__item h4 { font-size: 1.1rem; font-family: var(--font-ui); font-weight: 600; color: var(--navy-700); }
.checklist__item p { margin-top: .4rem; font-size: .9688rem; color: var(--ink-soft); }
body.page-b .checklist__item p { font-size: 1.0313rem; }
.checklist__item .chip-row { margin-top: .7rem; }

/* ------------------------------------------------------------
   15. ACCORDION FAQ (un solo abierto — JS)
   ------------------------------------------------------------ */
.faq { max-width: 800px; border-top: var(--hairline); }
.faq__item { border-bottom: var(--hairline); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  width: 100%; text-align: left;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.3;
  color: var(--ink); padding: 1.35rem .25rem;
}
.faq__q:hover { color: var(--navy-700); }
.faq__icon { flex: none; position: relative; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--gold-500);
  transition: transform var(--t-fast) var(--ease-out);
}
.faq__icon::before { left: 0; top: 8px; width: 18px; height: 1.5px; }
.faq__icon::after { left: 8px; top: 0; width: 1.5px; height: 18px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 340ms var(--ease-out); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; opacity: 0; transition: opacity 200ms var(--ease-out); }
.faq__q[aria-expanded="true"] + .faq__a > div { opacity: 1; transition: opacity 280ms var(--ease-out) 120ms; }
.faq__a p { padding: 0 2.5rem 1.5rem .25rem; color: var(--ink-soft); max-width: 68ch; }
.faq__a p + p { padding-top: 0; margin-top: -0.75rem; }

/* ------------------------------------------------------------
   16. TABLA → CARDS EN MÓVIL
   ------------------------------------------------------------ */
.table-cards { border: var(--hairline); border-radius: var(--radius); overflow: hidden; background: #fff; }
.table-cards th, .table-cards td { padding: 1rem 1.25rem; text-align: left; font-size: .9375rem; border-top: var(--hairline); vertical-align: top; }
.table-cards thead th {
  border-top: 0; background: var(--navy-900); color: var(--paper);
  font-family: var(--font-ui); font-size: .8125rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
.table-cards tbody th { font-weight: 600; color: var(--navy-700); }
@media (max-width: 679px) {
  .table-cards { border: 0; background: transparent; overflow: visible; }
  .table-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-cards tr {
    display: block; background: #fff; border: var(--hairline); border-radius: var(--radius);
    padding: .5rem 0; margin-bottom: 1rem;
  }
  .table-cards td, .table-cards tbody th { display: block; border: 0; padding: .5rem 1.25rem; }
  .table-cards td[data-label]::before {
    content: attr(data-label);
    display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: var(--gold-500); margin-bottom: .15rem;
  }
}

/* ------------------------------------------------------------
   17. BLOQUE ANTI-ESTAFA (doble filete fino, papel timbrado)
   ------------------------------------------------------------ */
.antifraud {
  position: relative; background: #fff;
  border-top: 1px solid var(--gold-500); border-bottom: 1px solid var(--gold-500);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}
.antifraud::before, .antifraud::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--gold-500);
}
.antifraud::before { top: 4px; }
.antifraud::after { bottom: 4px; }
.antifraud__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 2.5rem; margin-top: 2rem; }
@media (max-width: 679px) { .antifraud__grid { grid-template-columns: 1fr; } }
.antifraud__item { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; }
.antifraud__item .icon { width: 22px; height: 22px; color: var(--gold-500); margin-top: .15rem; }
.antifraud__item h3 { font-size: 1.05rem; font-family: var(--font-ui); font-weight: 600; color: var(--navy-700); }
.antifraud__item p { margin-top: .35rem; font-size: .9375rem; color: var(--ink-soft); }
body.page-b .antifraud__item p { font-size: 1rem; }

/* ------------------------------------------------------------
   18. CARDS DE SEDE
   ------------------------------------------------------------ */
.card-sede {
  display: flex; flex-direction: column; gap: .6rem;
  background: #fff; border: var(--hairline); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; text-decoration: none; color: var(--ink);
  transition: transform var(--t-hover) var(--ease-out-quart), border-color var(--t-fast) var(--ease-out), box-shadow var(--t-hover) var(--ease-out-quart);
}
.card-sede:hover { transform: translateY(-2px); border-color: var(--gold-500); box-shadow: var(--shadow); color: var(--ink); }
.card-sede__city { display: flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--navy-700); }
.card-sede__city .icon { width: 18px; height: 18px; color: var(--gold-500); }
.card-sede__addr { font-size: .875rem; color: var(--ink-soft); }
.card-sede .link-grow { font-size: .875rem; margin-top: auto; align-self: flex-start; }

/* ------------------------------------------------------------
   19. BANNER CTA FINAL (navy + estrías)
   ------------------------------------------------------------ */
.cta-banner {
  position: relative;
  background: linear-gradient(180deg, #0E2140 0%, var(--navy-900) 100%);
  color: var(--paper);
  padding-block: clamp(4rem, 9vw, 6.5rem);
  text-align: center;
}
.cta-banner h2 { color: var(--paper); max-width: 22ch; margin-inline: auto; }
.cta-banner p { color: rgba(245, 247, 250, .8); max-width: 62ch; margin: 1.25rem auto 0; }
.cta-banner .cta-group { justify-content: center; margin-top: 2.25rem; }
.cta-banner .cta-note { margin-inline: auto; }

/* ------------------------------------------------------------
   20. BREADCRUMBS
   ------------------------------------------------------------ */
.breadcrumbs { padding-block: .9rem; border-bottom: var(--hairline); background: var(--paper); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .8125rem; list-style: none; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy-700); text-decoration: underline; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "›"; color: var(--gold-500); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------
   21. FOOTER (4 columnas + marca de agua de estrías)
   ------------------------------------------------------------ */
.footer { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: rgba(245, 247, 250, .75); }
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--striae-gold-soft);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
  opacity: .5;
}
.footer__main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
@media (max-width: 919px) { .footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 519px) { .footer__main { grid-template-columns: 1fr; } }
.footer__brand svg { height: 46px; width: auto; }
.footer__brand p { font-size: .8438rem; margin-top: 1.1rem; max-width: 34ch; }
.footer h4 {
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: 1.1rem;
}
.footer ul { display: grid; gap: .55rem; list-style: none; }
.footer a { color: rgba(245, 247, 250, .75); text-decoration: none; font-size: .9063rem; }
.footer a:hover { color: var(--gold-300); }
.footer__contact li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9063rem; }
.footer__contact .icon { width: 17px; height: 17px; color: var(--gold-300); margin-top: .2rem; flex: none; }
.footer__legal {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem;
  border-top: 1px solid rgba(216, 222, 233, .18);
  padding-block: 1.4rem; font-size: .8125rem; color: rgba(245, 247, 250, .55);
}
.footer__legal a { font-size: .8125rem; color: rgba(245, 247, 250, .55); }
.footer__legal .sep { flex-grow: 1; }
.footer__note { font-size: .75rem; color: rgba(245, 247, 250, .4); }

/* ------------------------------------------------------------
   22. BARRA MÓVIL INFERIOR FIJA (<920px) + FLOTANTE DESKTOP
   ------------------------------------------------------------ */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: 7fr 3fr; gap: .6rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(245, 247, 250, .95);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: var(--hairline);
  transform: translateY(110%);
  transition: transform 300ms var(--ease-out);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar .btn { padding: .85rem .5rem; font-size: .9375rem; }
@media (max-width: 919px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 0; }
}
/* Flotante WhatsApp desktop (aparece tras el primer scroll — JS) */
.float-wa {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900);
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.float-wa.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-wa:hover { background: var(--gold-300); color: var(--navy-900); }
.float-wa .icon { width: 26px; height: 26px; }
.float-wa__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--navy-900); color: var(--paper);
  font-size: .8125rem; font-weight: 500; white-space: nowrap;
  padding: .5rem .85rem; border-radius: var(--radius);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-fast) var(--ease-out);
}
.float-wa:hover .float-wa__tip, .float-wa:focus-visible .float-wa__tip { opacity: 1; }
@media (max-width: 919px) { .float-wa { display: none; } }

/* ------------------------------------------------------------
   23. BLOG CARDS (editorial)
   ------------------------------------------------------------ */
.card-blog {
  display: flex; flex-direction: column;
  background: #fff; border: var(--hairline); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink);
  transition: transform var(--t-hover) var(--ease-out-quart), border-color var(--t-fast) var(--ease-out), box-shadow var(--t-hover) var(--ease-out-quart);
}
.card-blog:hover { transform: translateY(-2px); border-color: var(--gold-500); box-shadow: var(--shadow); color: var(--ink); }
/* La imagen del blog respira muy levemente al hover de la card */
.card-blog__media img { transition: transform 600ms var(--ease-out-quart); }
.card-blog:hover .card-blog__media img { transform: scale(1.03); }
.card-blog__media { aspect-ratio: 16 / 9; overflow: hidden; }
.card-blog__media img { width: 100%; height: 100%; object-fit: cover; }
.card-blog__body { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem 1.5rem 1.5rem; flex-grow: 1; }
.card-blog__meta { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-500); }
.card-blog h3 { font-size: 1.25rem; }
.card-blog p { font-size: .9063rem; color: var(--ink-soft); flex-grow: 1; }
.card-blog time { font-size: .8125rem; color: var(--ink-soft); }

/* ------------------------------------------------------------
   24. IMÁGENES DUOTONO NAVY (.img-duo)
   ------------------------------------------------------------ */
.img-duo { position: relative; overflow: hidden; border-radius: var(--radius); isolation: isolate; }
.img-duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.96); }
.img-duo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27, 54, 93, .42), rgba(11, 27, 51, .55));
  mix-blend-mode: color; pointer-events: none;
}
.img-duo--deep::after { mix-blend-mode: multiply; background: linear-gradient(180deg, rgba(27, 54, 93, .35), rgba(11, 27, 51, .5)); }

/* ------------------------------------------------------------
   25. BLOQUES EDITORIALES AUXILIARES
   ------------------------------------------------------------ */
/* Blockquote / aviso con borde de estrías a la izquierda */
.note-striae {
  position: relative; background: #fff; border: var(--hairline); border-radius: var(--radius);
  padding: 1.5rem 1.75rem 1.5rem 2.25rem; overflow: hidden;
}
.note-striae::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px;
  background-image: repeating-linear-gradient(90deg, var(--gold-500) 0 1px, transparent 1px 5px);
}
.section--warm .note-striae { background: #fff; }
/* Bloque de honorarios */
.fees {
  background: var(--paper-warm); border: var(--hairline); border-radius: var(--radius);
  padding: 2rem; max-width: 800px;
}
.fees__amount { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy-700); }
/* Lista "¿No es tu caso?" */
.related { display: grid; gap: .5rem; max-width: 800px; }
.related a {
  display: flex; align-items: baseline; gap: .75rem; justify-content: space-between;
  padding: .9rem 1.1rem; background: #fff; border: var(--hairline); border-radius: var(--radius);
  text-decoration: none; font-size: .9688rem;
  transition: border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.related a:hover { border-color: var(--gold-500); transform: translateX(3px); }
.related strong { color: var(--navy-700); }
.related span { color: var(--ink-soft); font-size: .875rem; text-align: right; }
@media (max-width: 519px) { .related a { flex-direction: column; gap: .2rem; } .related span { text-align: left; } }

/* ------------------------------------------------------------
   26. REVEALS (IntersectionObserver — JS añade .is-visible)
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-visible {
  opacity: 1; transform: translateY(0);
  transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
/* Sin JS: todo visible */
html.no-js .reveal { opacity: 1; transform: none; }
/* Failsafe: estado final forzado sin animar — para crawlers, renderizadores
   headless o casos donde la transición no llega a progresar. Garantiza que el
   contenido nunca se quede en opacity:0 (publicado "en blanco"). */
.reveal.is-shown { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ------------------------------------------------------------
   27. ACCESIBILIDAD / UTILIDADES
   ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -100%; z-index: 200;
  background: var(--navy-900); color: var(--paper);
  padding: .7rem 1.2rem; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.icon { display: inline-block; flex: none; }

/* prefers-reduced-motion: TODO desactivado */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .striae--drift::after { animation: none; display: none; }
  /* Nada esencial puede quedar oculto: todo lo que anima entrada se fuerza visible */
  .reveal, .tracker__seal, .tracker__node {
    opacity: 1 !important; transform: none !important;
  }
  /* Sin lift ni sweep: la jerarquía la dan color y tipografía */
  .card-service::before { transform: scaleX(0) !important; }
  .btn:hover, .btn--primary:hover, .btn--secondary:hover,
  .card-service:hover, .card-sede:hover, .card-blog:hover { transform: none !important; box-shadow: none !important; }
  .card-blog:hover .card-blog__media img { transform: none !important; }
}

/* ============================================================
   AÑADIDO ola 2: componentes que faltaban (regla §9.7 TEMPLATES.md)
   - .map-ph → placeholder estático de mapa (plantilla Sede / Contacto).
     Sustituye al iframe de Google Maps mientras no haya direcciones
     confirmadas [PENDIENTE CLIENTE]. Sin JS, sin peticiones externas.
   - .prose  → plantilla simple de texto corrido (Aviso Legal,
     Privacidad, Cookies).
   ============================================================ */
.map-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .9rem; min-height: 280px; padding: 2rem; text-align: center;
  background-color: var(--paper); background-image: var(--striae-navy);
  border: var(--hairline); border-radius: var(--radius);
}
.map-ph .icon { width: 34px; height: 34px; color: var(--navy-500); }
.map-ph p { font-size: var(--fs-small); color: var(--ink-soft); max-width: 36ch; margin: 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin-top: clamp(2.25rem, 5vw, 3rem); }
.prose h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.prose p, .prose ul, .prose ol { margin-top: 1rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.35rem; display: grid; gap: .5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose .prose-meta { font-size: var(--fs-small); color: var(--ink-soft); }
