/* =============================================================
   PROYECTO HOLANDA — styles.css
   Archetipo: revista editorial multipágina.
   Motivo de identidad: la franja roja compartida por las dos
   banderas como bisagra. Amarillo español -> blanco y azul
   neerlandés.
   Un solo archivo. Sin dependencias. Mobile-first.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Papel y tinta */
  --paper:      #F7F3EC;
  --paper-2:    #EFE8DC;
  --paper-3:    #E5DCCC;
  --card:       #FFFFFF;
  --ink:        #17140F;
  --ink-soft:   #3A342C;
  --ink-mute:   #6E665A;
  --ink-faint:  #9A9184;

  /* Banderas — el rojo es el eje */
  --red:        #AE1C28;
  --red-deep:   #8E1420;
  --red-wash:   rgba(174, 28, 40, 0.07);
  --yellow:     #F1BF00;
  --yellow-wash:rgba(241, 191, 0, 0.14);
  --blue:       #21468B;
  --blue-soft:  #3A5DA0;
  --blue-wash:  rgba(33, 70, 139, 0.07);

  /* Líneas */
  --rule:        rgba(23, 20, 15, 0.14);
  --rule-mid:    rgba(23, 20, 15, 0.26);
  --rule-strong: rgba(23, 20, 15, 0.55);

  /* Tipografía */
  --display: "Bodoni Moda", "Times New Roman", Georgia, serif;
  --serif:   "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Métrica */
  --wrap:    1180px;
  --narrow:  760px;
  --gutter:  clamp(1.15rem, 5vw, 3.5rem);
  --nav-h:   62px;

  /* Easings */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (min-width: 960px) {
  :root { --nav-h: 74px; }
}

/* =============================================================
   2. Reset y base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  font-variant-numeric: oldstyle-nums;
}

@media (min-width: 960px) {
  body { font-size: 18px; }
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.15em; }
li { margin-bottom: 0.4em; }
strong, b { font-weight: 600; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =============================================================
   3. Utilidades
   ============================================================= */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: var(--narrow); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -200px; left: 1rem; z-index: 9999;
  background: var(--ink); color: var(--paper);
  padding: 0.7rem 1.1rem; border-radius: 4px;
  font-family: var(--sans); font-size: 0.85rem; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. Tipografía
   ============================================================= */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--ink);
}

h1 { font-size: clamp(2.15rem, 7.2vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 4.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.65rem); line-height: 1.18; }
h4 { font-size: clamp(1.02rem, 2vw, 1.18rem); line-height: 1.25; letter-spacing: -0.005em; }

h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }

.kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.kicker--blue { color: var(--blue); }
.kicker--mute { color: var(--ink-mute); }

.deck {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2.4vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46ch;
}

.lede { font-size: 1.1em; line-height: 1.58; }

.dropcap::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 3.9em;
  line-height: 0.82;
  font-weight: 700;
  padding: 0.06em 0.11em 0 0;
  color: var(--red);
}

.small { font-size: 0.86rem; line-height: 1.5; color: var(--ink-mute); }
.mono { font-family: var(--mono); font-size: 0.9em; font-variant-numeric: tabular-nums; }
.num  { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* Prosa larga */
.prose > * + * { margin-top: 1.05em; }
.prose h3 { margin-top: 2.4em; }
.prose h4 { margin-top: 1.9em; margin-bottom: -0.35em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li::marker { color: var(--red); }
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.25s var(--ease-out), text-decoration-color 0.25s var(--ease-out);
}
.prose a:hover { color: var(--red); text-decoration-color: var(--ink); }

/* Enlace con subrayado animado */
.link-line {
  position: relative;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 2px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }

/* =============================================================
   5. Motivo de banderas (identidad)
   ============================================================= */

/* 5.a — Marca pequeña en la nav y el pie */
.flagmark {
  width: 30px; height: 22px;
  flex: 0 0 auto;
  border: 1px solid var(--rule-mid);
  border-radius: 2px;
  overflow: hidden;
}
.flagmark svg { width: 100%; height: 100%; display: block; }

/* 5.b — Filete de tres bandas: separador entre secciones */
.flagrule {
  position: relative;
  height: 9px;
  width: 100%;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: inset 0 0 0 0.5px rgba(23, 20, 15, 0.18);
}
.flagrule i { display: block; }
.flagrule i:nth-child(1) { background: var(--red); }
.flagrule i:nth-child(2) { background: linear-gradient(90deg, var(--yellow) 8%, #FFFFFF 46%); }
.flagrule i:nth-child(3) { background: linear-gradient(90deg, var(--red) 30%, var(--blue) 50%); }

.flagrule--thin { height: 6px; }
.flagrule--short { max-width: 140px; }

/* 5.c — Motivo grande, el elemento de portada */
.motif {
  position: relative;
  width: 100%;
  isolation: isolate;
}
.motif-bands {
  display: block;
  width: 100%;
  height: clamp(112px, 24vw, 210px);
  border: 1px solid var(--rule-mid);
  border-radius: 2px;
  overflow: hidden;
}
.motif-bands svg { width: 100%; height: 100%; display: block; }

/* Etiquetas ES / NL a los lados del motivo */
.motif-axis {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.motif-axis span { display: inline-flex; align-items: center; gap: 0.45rem; }
.motif-axis .dot {
  width: 6px; height: 6px; border-radius: 50%;
  display: inline-block;
}
.motif-axis .dot--es { background: var(--yellow); box-shadow: 0 0 0 1px rgba(23,20,15,.25); }
.motif-axis .dot--nl { background: var(--blue); }
.motif-axis .hinge { color: var(--red); letter-spacing: 0.1em; }

@media (max-width: 539px) {
  .motif-axis { font-size: 0.6rem; letter-spacing: 0.14em; }
  .motif-axis .hinge { display: none; }
}

/* =============================================================
   6. Navegación
   ============================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.86);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
@supports (backdrop-filter: blur(10px)) {
  .site-nav { backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%); }
}
.site-nav.is-stuck {
  background: rgba(247, 243, 236, 0.96);
  border-bottom-color: var(--rule);
  box-shadow: 0 1px 22px rgba(23, 20, 15, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 3px;
}

@media (min-width: 960px) { .brand { font-size: 1.14rem; } }

.nav-links {
  display: none;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.42s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 0.7rem; }
/* Especificidad elevada a propósito: la regla .btn se declara
   más abajo y, a igual peso, ganaría ella. */
.site-nav .nav-cta { display: none; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .site-nav .nav-cta { display: inline-flex; }
}

/* Botón hamburguesa */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 9px;
  border: 1px solid var(--rule-mid);
  border-radius: 3px;
  background: transparent;
}
.nav-toggle i {
  display: block; height: 1.5px; width: 100%;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.25s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 960px) { .nav-toggle { display: none; } }

/* Panel móvil */
.nav-panel {
  display: block;
  overflow: hidden;
  max-height: 0;
  border-top: 0 solid var(--rule);
  transition: max-height 0.5s var(--ease-out), border-top-width 0.1s linear;
  background: var(--paper);
}
.nav-panel.is-open {
  max-height: 460px;
  border-top-width: 1px;
}
.nav-panel ul { list-style: none; padding: 0.4rem 0 1.2rem; margin: 0; }
.nav-panel li { margin: 0; border-bottom: 1px solid var(--rule); }
.nav-panel li:last-child { border-bottom: 0; }
.nav-panel a {
  display: block;
  padding: 0.95rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
}
.nav-panel a[aria-current="page"] { color: var(--red); }
.nav-panel .btn { margin-top: 1rem; width: 100%; }

@media (min-width: 960px) { .nav-panel { display: none; } }

/* =============================================================
   7. Botones
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  padding: 0.92rem 1.5rem;
  border-radius: 3px;
  border: 1px solid transparent;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: 0 0 auto; }

.btn--primary {
  background: var(--red);
  color: #FFF;
  box-shadow: 0 2px 0 0 var(--red-deep);
}
.btn--primary:hover { background: var(--red-deep); box-shadow: 0 4px 0 0 #6E0F19; }

.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #000; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-mid);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(23,20,15,0.03); }

.btn--sm { padding: 0.62rem 1rem; font-size: 0.83rem; }
.btn--wide { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}
.btn-row .btn { flex: 1 1 220px; }

@media (min-width: 720px) {
  .btn-row .btn { flex: 0 0 auto; }
}

/* Nota bajo los botones */
.btn-note {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.btn-note::before {
  content: "";
  width: 14px; height: 2px;
  background: var(--red);
  flex: 0 0 auto;
}

/* =============================================================
   8. Secciones
   ============================================================= */
.section { padding-block: clamp(3.4rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.4rem, 5vw, 4rem); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--paper); }
.section--ink .kicker { color: var(--yellow); }

.section-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--rule);
}
.section-head .deck { margin-top: 0.2rem; }
.section--ink .section-head { border-bottom-color: rgba(247, 243, 236, 0.18); }
.section--ink .deck { color: rgba(247, 243, 236, 0.72); }

/* Sobre fondo oscuro, la negrita heredaría la tinta oscura y
   desaparecería. Se invierte aquí, y se restaura dentro de las
   cajas .note, que llevan su propio fondo claro. */
.section--ink strong, .section--ink b,
.site-foot strong, .site-foot b { color: var(--paper); }
.section--ink .note strong, .section--ink .note b { color: var(--ink); }
.section--ink .note > b { color: var(--red); }

@media (min-width: 960px) {
  .section-head--split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 2.5rem;
  }
  .section-head--split .kicker { grid-column: 1 / -1; }
}

.section-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}

/* =============================================================
   9. Hero
   ============================================================= */
.hero {
  padding-top: clamp(2rem, 5vw, 3.6rem);
  padding-bottom: clamp(2.4rem, 6vw, 4.5rem);
}

.hero-motif { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }

.hero-grid { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); }

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
  }
}

.hero-title {
  font-size: clamp(2.3rem, 7.6vw, 4.6rem);
  margin-top: 0.7rem;
}
.hero-title em { color: var(--ink); }

.hero-side {
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
}
@media (min-width: 960px) {
  .hero-side { border-top: 0; border-left: 1px solid var(--rule); padding: 0.35rem 0 0 clamp(1.5rem, 3vw, 2.4rem); }
}
.hero-side p { font-size: 0.97rem; color: var(--ink-soft); }
.hero-side p + p { margin-top: 0.85rem; }

/* Retrato + biografía: el texto manda, la foto acompaña */
.bio-grid { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); align-items: start; }
@media (min-width: 960px) {
  .bio-grid {
    grid-template-columns: 0.72fr 1.28fr;
    gap: clamp(2.2rem, 4.5vw, 3.6rem);
  }
}

/* Lista de garantías del hero */
.hero-facts {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.hero-facts li {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--sans);
  font-size: 0.87rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}
.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid var(--red);
}

/* =============================================================
   10. Hueco de foto (se rellena solo al subir el archivo)
   ============================================================= */
.ph {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ar, 16 / 9);
  overflow: hidden;
  border: 1px solid var(--rule-mid);
  border-radius: 2px;
  background:
    linear-gradient(118deg,
      var(--paper-3) 0%,
      #F2EADC 34%,
      #FFFFFF 58%,
      #E9E4DC 100%);
  isolation: isolate;
}
/* Veladura con el rojo/azul de la marca, casi imperceptible */
.ph::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(72% 100% at 6% 100%, rgba(174, 28, 40, 0.13) 0%, transparent 62%),
    radial-gradient(68% 96% at 96% 4%, rgba(33, 70, 139, 0.13) 0%, transparent 60%);
  pointer-events: none;
}
/* Trama diagonal muy fina: se lee como "pendiente de imagen" */
.ph::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(23, 20, 15, 0.045) 0 1px,
    transparent 1px 11px
  );
  pointer-events: none;
}

.ph img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s var(--ease-out), transform 1.2s var(--ease-out);
}
.ph.is-loaded img { opacity: 1; transform: scale(1); }

/* Etiqueta del hueco — desaparece sola cuando la foto carga */
.ph-note {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: clamp(0.85rem, 2.5vw, 1.25rem);
  display: grid;
  gap: 0.28rem;
  font-family: var(--sans);
  transition: opacity 0.5s var(--ease-out);
}
.ph.is-loaded .ph-note { opacity: 0; pointer-events: none; }

.ph-note b {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}
.ph-note span {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}
.ph-note::before {
  content: "";
  width: 26px; height: 3px;
  display: block;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--blue) 66% 100%);
  margin-bottom: 0.35rem;
  border-radius: 2px;
}

/* Pie de foto real (permanece siempre) */
.ph-cap {
  font-family: var(--sans);
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--ink-mute);
  margin-top: 0.6rem;
  padding-left: 0.8rem;
  border-left: 2px solid var(--red);
}

figure { margin: 0; }
.fig { margin-block: clamp(1.8rem, 4vw, 2.6rem); }

/* =============================================================
   11. Bloque "qué es / qué no es"
   ============================================================= */
.duo { display: grid; gap: 1px; background: var(--rule-mid); border: 1px solid var(--rule-mid); border-radius: 2px; overflow: hidden; }
@media (min-width: 720px) { .duo { grid-template-columns: 1fr 1fr; } }

.duo-col { background: var(--card); padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.duo-col--no { background: var(--paper-2); }

.duo-col h3 {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.duo-col--si h3 { color: var(--blue); }
.duo-col--no h3 { color: var(--red); }
.duo-col h3::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.3; }

.duo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.duo-list li {
  margin: 0;
  padding-left: 1.7rem;
  position: relative;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.duo-list li b { display: block; color: var(--ink); font-weight: 600; }
.duo-list li::before {
  position: absolute; left: 0; top: 0.03em;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
}
.duo-col--si .duo-list li::before { content: "+"; color: var(--blue); }
.duo-col--no .duo-list li::before { content: "\2212"; color: var(--red); }

/* =============================================================
   12. Preguntas (acordeón nativo, funciona sin JS)
   ============================================================= */
.qa { border-top: 1px solid var(--rule-mid); }

.qa details {
  border-bottom: 1px solid var(--rule);
}
.qa summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.3vw, 1.28rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.25s var(--ease-out);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--red); }

.qa summary .qa-i {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 0.28em;
  position: relative;
}
.qa summary .qa-i::before,
.qa summary .qa-i::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--red);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
}
.qa summary .qa-i::before { width: 13px; height: 1.5px; }
.qa summary .qa-i::after  { width: 1.5px; height: 13px; }
.qa details[open] summary .qa-i::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.qa-body {
  padding: 0 0 1.6rem calc(20px + 1rem);
  max-width: 66ch;
  color: var(--ink-soft);
}
.qa-body > * + * { margin-top: 0.8em; }
.qa-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}
.qa-body ul { padding-left: 1.15em; }
.qa-body li::marker { color: var(--red); }

/* =============================================================
   13. Proceso paso a paso
   ============================================================= */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  margin: 0;
  padding: clamp(1.4rem, 3vw, 2rem) 0;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 0.5rem 1.6rem;
  position: relative;
}
.steps li:last-child { border-bottom: 1px solid var(--rule); }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.05em;
}
.steps h3 { font-family: var(--display); }
.steps p { color: var(--ink-soft); font-size: 0.98rem; max-width: 62ch; }
.steps .step-when {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

@media (min-width: 720px) {
  .steps li { grid-template-columns: 3.5rem 1fr 9rem; align-items: start; }
  .steps li::before { grid-row: 1 / span 3; padding-top: 0.35em; }
  .steps .step-when { grid-column: 3; grid-row: 1; text-align: right; padding-top: 0.5em; }
  .steps h3 { grid-column: 2; grid-row: 1; }
  .steps p  { grid-column: 2; grid-row: 2; }
}

/* =============================================================
   13.b Escalera de metas
   El hilo vertical repite el motivo: amarillo arriba (España),
   rojo en el centro (la bisagra), azul abajo (Países Bajos).
   ============================================================= */
.ladder {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: meta;
}
.ladder::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 1.9rem;
  bottom: 1.9rem;
  width: 2px;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--red) 46%, var(--blue) 100%);
  border-radius: 2px;
}
.ladder > li {
  counter-increment: meta;
  position: relative;
  margin: 0;
  padding: 0 0 clamp(2rem, 4.5vw, 3rem) 3.5rem;
}
.ladder > li:last-child { padding-bottom: 0; }
.ladder > li::before {
  content: counter(meta, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 36px; height: 36px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--red);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--red);
  letter-spacing: -0.02em;
}
.section--paper2 .ladder > li::before { background: var(--paper-2); }

.ladder h3 { margin-bottom: 0.2rem; }
.ladder .meta-when {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.55rem;
}
.ladder p { color: var(--ink-soft); font-size: 0.98rem; max-width: 64ch; }
.ladder > li > * + * { margin-top: 0.85em; }
.ladder ul { max-width: 64ch; }

@media (min-width: 720px) {
  .ladder > li { padding-left: 4.4rem; }
  .ladder::before { left: 21px; }
  .ladder > li::before { width: 44px; height: 44px; font-size: 0.76rem; }
}

/* Cifra destacada dentro de una meta */
.figure-row {
  display: grid;
  gap: 1px;
  background: var(--rule-mid);
  border: 1px solid var(--rule-mid);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 1.2rem;
  max-width: 64ch;
}
@media (min-width: 560px) { .figure-row { grid-template-columns: repeat(3, 1fr); } }

.figure-cell {
  background: var(--card);
  padding: 0.95rem 1.1rem;
  display: grid;
  gap: 0.18rem;
}
.figure-cell b {
  font-family: var(--mono);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.figure-cell span {
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--ink-mute);
}

/* =============================================================
   14. Modelo de negocio: diagrama del flujo del dinero
   ============================================================= */
.flow {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}
@media (min-width: 860px) {
  .flow { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0.9rem; }
}

.flow-node {
  border: 1px solid var(--rule-mid);
  border-radius: 2px;
  background: var(--card);
  padding: 1.3rem 1.2rem;
  display: grid;
  gap: 0.4rem;
  align-content: start;
}
.flow-node b {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.flow-node strong {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.15;
}
.flow-node p { font-size: 0.87rem; color: var(--ink-mute); line-height: 1.45; }
.flow-node--you { border-color: var(--blue); box-shadow: inset 3px 0 0 var(--blue); }
.flow-node--us  { border-color: var(--red);  box-shadow: inset 3px 0 0 var(--red); }

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  gap: 0.5rem;
  padding: 0.2rem 0;
  text-align: center;
}
.flow-arrow i {
  display: block; height: 1px; background: var(--rule-mid); flex: 1;
}
@media (min-width: 860px) {
  .flow-arrow { flex-direction: column; padding: 0 0.2rem; max-width: 96px; }
  .flow-arrow i { width: 1px; height: auto; flex: 1; }
}

/* =============================================================
   15. Avisos y cajas de dato
   ============================================================= */
.note {
  border: 1px solid var(--rule-mid);
  border-left: 3px solid var(--red);
  border-radius: 2px;
  background: var(--card);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  margin-block: clamp(1.6rem, 3.5vw, 2.2rem);
}
.note > b {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.note p { font-size: 0.96rem; color: var(--ink-soft); }
.note > * + * { margin-top: 0.7em; }
.note--blue { border-left-color: var(--blue); }
.note--blue > b { color: var(--blue); }
.note--ink { border-left-color: var(--ink); background: var(--paper-2); }
.note--ink > b { color: var(--ink); }

/* Cita destacada */
.pull {
  margin-block: clamp(2rem, 5vw, 3rem);
  padding-left: clamp(1rem, 3vw, 1.8rem);
  border-left: 2px solid var(--red);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.25rem, 3.2vw, 1.85rem);
  line-height: 1.28;
  color: var(--ink);
  max-width: 24ch;
}
.pull cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* =============================================================
   16. Tablas de datos
   ============================================================= */
.table-scroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  margin-block: 1.6rem;
  border: 1px solid var(--rule-mid);
  border-radius: 2px;
  background: var(--card);
}
table.data {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
table.data caption {
  caption-side: top;
  text-align: left;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 1rem 1.1rem 0.7rem;
}
table.data th, table.data td {
  padding: 0.72rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
table.data thead th {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom-color: var(--rule-mid);
  white-space: nowrap;
}
table.data td.n, table.data th.n {
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
table.data td small { display: block; color: var(--ink-mute); font-size: 0.8rem; line-height: 1.4; margin-top: 0.2rem; }
table.data tr.is-minus td.n { color: var(--red); }
table.data tr.is-total td, table.data tr.is-total th {
  border-top: 2px solid var(--ink);
  border-bottom: 0;
  font-weight: 600;
  background: var(--yellow-wash);
}
table.data tr.is-sub td, table.data tr.is-sub th {
  background: var(--paper-2);
  font-weight: 600;
}
table.data tbody tr:last-child td { border-bottom: 0; }

/* =============================================================
   17. Rejilla de tarjetas
   ============================================================= */
.cards {
  display: grid;
  gap: 1px;
  background: var(--rule-mid);
  border: 1px solid var(--rule-mid);
  border-radius: 2px;
  overflow: hidden;
}
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card);
  padding: clamp(1.3rem, 3vw, 1.9rem);
  display: grid;
  gap: 0.6rem;
  align-content: start;
  transition: background 0.35s var(--ease-out);
}
.card:hover { background: #FDFCFA; }
.card .kicker { font-size: 0.66rem; }
.card h3 { font-size: 1.16rem; }
.card p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.5; }

/* Índice de la guía */
.toc {
  border: 1px solid var(--rule-mid);
  border-radius: 2px;
  background: var(--card);
  padding: clamp(1.2rem, 3vw, 1.7rem);
}
.toc b {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 0.9rem;
}
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 0; border-top: 1px solid var(--rule); }
.toc li:first-child { border-top: 0; }
.toc a {
  display: flex; gap: 0.85rem; align-items: baseline;
  padding: 0.62rem 0;
  font-family: var(--sans);
  font-size: 0.93rem;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease-out);
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--red);
  flex: 0 0 auto;
}
.toc a:hover { color: var(--red); }

/* =============================================================
   18. Formulario
   ============================================================= */
.form-block {
  background: var(--card);
  border: 1px solid var(--rule-mid);
  border-radius: 2px;
  padding: clamp(1.4rem, 4vw, 2.6rem);
}
.section--ink .form-block { background: #211D17; border-color: rgba(247,243,236,0.18); }

.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 720px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}

.field { display: grid; gap: 0.38rem; }
.field > label, .field > .field-label {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.section--ink .field > label,
.section--ink .field > .field-label { color: rgba(247,243,236,0.62); }

.field .hint {
  font-family: var(--sans);
  font-size: 0.76rem;
  color: var(--ink-faint);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], select, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-mid);
  border-radius: 3px;
  padding: 0.78rem 0.85rem;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236E665A' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #FFF;
  box-shadow: 0 0 0 3px var(--blue-wash);
}

.section--ink input, .section--ink select, .section--ink textarea {
  background: #191510; color: var(--paper); border-color: rgba(247,243,236,0.2);
}
.section--ink input:focus, .section--ink select:focus, .section--ink textarea:focus {
  background: #1F1A14; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(241,191,0,0.12);
}
.section--ink input::placeholder, .section--ink textarea::placeholder { color: rgba(247,243,236,0.35); }

/* Teléfono con prefijo */
.phone-row { display: grid; grid-template-columns: 7.2rem 1fr; gap: 0.5rem; }

/* Casillas */
.checks { display: grid; gap: 0.6rem; }
.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.section--ink .check { color: rgba(247,243,236,0.8); }

.check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 19px; height: 19px;
  margin: 0.08em 0 0;
  flex: 0 0 auto;
  border: 1.5px solid var(--rule-strong);
  border-radius: 2px;
  background: var(--paper);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.section--ink .check input[type="checkbox"] { background: #100D09; border-color: rgba(247,243,236,0.75); }

.check input[type="checkbox"]::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.22s var(--ease-out);
  margin-top: -2px;
}
.check input[type="checkbox"]:checked { background: var(--red); border-color: var(--red); }
.check input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1); }

/* Consentimiento RGPD: caja aparte, visualmente seria */
.consent {
  border: 1px solid var(--rule-mid);
  border-left: 3px solid var(--red);
  border-radius: 2px;
  background: var(--paper-2);
  padding: 1.1rem;
}
.section--ink .consent { background: #191510; border-color: rgba(247,243,236,0.18); border-left-color: var(--yellow); }
.consent .check { font-size: 0.85rem; }
.consent a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--red); }
.section--ink .consent a { text-decoration-color: var(--yellow); }

/* Grupo de idiomas en línea */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  position: relative;
  display: inline-flex;
}
.chip input {
  position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.chip span {
  font-family: var(--sans);
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--rule-mid);
  border-radius: 100px;
  color: var(--ink-soft);
  background: var(--paper);
  transition: all 0.25s var(--ease-out);
  user-select: none;
}
.section--ink .chip span { background: #191510; border-color: rgba(247,243,236,0.2); color: rgba(247,243,236,0.75); }
.chip input:checked + span {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.section--ink .chip input:checked + span { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Anti-spam */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-foot { margin-top: 1.6rem; display: grid; gap: 0.9rem; }
.form-status {
  font-family: var(--sans);
  font-size: 0.86rem;
  padding: 0.8rem 1rem;
  border-radius: 3px;
  display: none;
}
.form-status.is-on { display: block; }
.form-status.is-ok { background: var(--blue-wash); color: var(--blue); border: 1px solid rgba(33,70,139,0.25); }
.form-status.is-err { background: var(--red-wash); color: var(--red-deep); border: 1px solid rgba(174,28,40,0.25); }
.section--ink .form-status.is-ok { background: rgba(241,191,0,0.1); color: var(--yellow); border-color: rgba(241,191,0,0.3); }

/* =============================================================
   19. CTA de WhatsApp
   ============================================================= */
.cta-band { display: grid; gap: clamp(1.8rem, 4vw, 3rem); }
@media (min-width: 960px) {
  .cta-band { grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
}
.cta-aside p { color: rgba(247,243,236,0.72); font-size: 0.97rem; }
.cta-aside p + p { margin-top: 0.85rem; }
.cta-aside .flagrule { margin-bottom: 1.6rem; }

.btn--wa { background: var(--yellow); color: var(--ink); box-shadow: 0 2px 0 0 #C79E00; }
.btn--wa:hover { background: #FFCF1A; box-shadow: 0 4px 0 0 #C79E00; }

/* =============================================================
   20. Pie
   ============================================================= */
.site-foot {
  background: var(--ink);
  color: rgba(247, 243, 236, 0.72);
  padding-block: clamp(2.6rem, 6vw, 4rem) clamp(1.6rem, 3vw, 2.2rem);
  font-size: 0.9rem;
}
.foot-grid { display: grid; gap: 2.2rem; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; } }

.site-foot .brand { color: var(--paper); }
.site-foot .brand-name small { color: rgba(247,243,236,0.5); }
.site-foot h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.5);
  margin-bottom: 0.9rem;
}
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-foot li { margin: 0; }
.site-foot a { transition: color 0.25s var(--ease-out); }
.site-foot a:hover { color: var(--yellow); }
.site-foot p { line-height: 1.55; }

.foot-legal {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(247, 243, 236, 0.16);
  display: grid;
  gap: 0.9rem;
  font-size: 0.78rem;
  color: rgba(247, 243, 236, 0.5);
}
@media (min-width: 720px) {
  .foot-legal { grid-template-columns: 1fr auto; align-items: center; }
}
.foot-legal-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

.foot-disclaimer {
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(247, 243, 236, 0.55);
  max-width: 58ch;
  margin-top: 1rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--red);
}

/* =============================================================
   20.b Barra de progreso de lectura (solo en la guía)
   El degradado repite el motivo: amarillo español -> rojo
   compartido -> azul neerlandés.
   ============================================================= */
.readbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
  background: transparent;
}
.readbar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--red) 52%, var(--blue) 100%);
  background-size: 100vw 100%;
  transition: width 0.12s linear;
}

/* =============================================================
   21. Efectos: reveal al hacer scroll
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
/* Nada de will-change permanente: en bloques muy altos crea una
   capa de compositor enorme que algunos navegadores dejan sin
   pintar. Solo se sugiere mientras el elemento sigue oculto. */
.reveal:not(.is-visible) { will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Red de seguridad: si el JS no llega a ejecutarse, todo visible */
.no-js .reveal { opacity: 1; transform: none; }

/* Escalonado dentro de un grupo */
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* Transición entre páginas (navegadores compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: 0.42s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================================
   22. Ajustes finales de responsive
   ============================================================= */
@media (max-width: 539px) {
  .phone-row { grid-template-columns: 6.4rem 1fr; }
  .pull { max-width: none; }
}

/* =============================================================
   23. Movimiento reducido — solo lo intrusivo
   Nota: Windows activa esto por defecto en muchos equipos.
   No desactivamos fundidos ni transiciones de interfaz.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motif-bands animate { display: none; }
  .reveal { transition-duration: 0.4s; transform: none; }
}

/* =============================================================
   24. Impresión
   ============================================================= */
@media print {
  .site-nav, .nav-panel, .cta-band, .btn, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding-block: 1rem; }
}
