/*
 * Eternimax — estilos del sitio.
 * Base: el diseño actual de eternimax.com (Fraunces fina con cursiva ámbar, Manrope, verde profundo, crema),
 * optimizado con movimiento: titulares que suben palabra por palabra, íconos SVG que se dibujan al aparecer,
 * mapa de conexiones animado, rosa de los vientos, marquesina, parallax, inclinación 3D, contadores,
 * carrusel del equipo y transiciones entre páginas. Todo respeta "reducir movimiento".
 */

/* ——— Fuentes (libres: OFL) ——— */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-full-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-full-italic.woff2") format("woff2");
}
/* El "+" de Fraunces es casi invisible en tamaños grandes: en los titulares se toma el de Manrope. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+002B;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+002B;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

/* ——— Tokens ——— */
:root {
  --green: #0c4a36;
  --green-2: #155c44;
  --green-3: #1a6b50;
  --green-deep: #08382a;
  --green-l: #ebf3ef;
  --amber: #e8971e;
  --amber-d: #9e5f12; /* ámbar para texto pequeño sobre claro: contraste ≥ 4.5:1 (WCAG AA) */
  --amber-t: #f0a53a; /* ámbar para texto sobre verde: contraste ≥ 4.5:1 */
  --amber-l: #fdf3e0;
  --cream: #faf8f4;
  --white: #ffffff;
  --ink: #141e2c;
  --ink-2: #2b3a4e;
  --muted: #596578;
  --line: #d6e4dd;
  --line-2: #c3d4cb;
  --review: #fff3c4;
  --review-ink: #6b4e00;

  /* alias para plantillas y la vista previa */
  --orange: var(--amber);
  --panel: var(--cream);
  --peach: var(--amber-l);
  --text: var(--ink);
  --paper: var(--white);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --display: var(--serif);
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 24px 64px rgba(12, 74, 54, 0.14);
  --shadow-sm: 0 10px 30px rgba(12, 74, 54, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: var(--ease);
  --header-h: 76px;
  --em: #b5701a; /* cursivas de titulares (texto grande: basta 3:1) */
  interpolate-size: allow-keywords;
}

/* ——— Base ——— */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
svg {
  flex: none;
}
a {
  color: inherit;
}
p,
h1,
h2,
h3,
h4,
ul,
ol,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--amber);
  color: var(--green-deep);
}
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--amber);
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
main {
  display: block;
  overflow-x: clip;
}

/* ——— Estructura ——— */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack, 16px);
}
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
}
.grid-2--wide-left {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}
.section {
  position: relative;
  padding-block: clamp(80px, 10vw, 128px);
}
.section--tight {
  position: relative;
  padding-block: clamp(48px, 6vw, 80px);
}
.section--flush-top {
  padding-top: 0;
}
.section--cream,
.bg-stone {
  background: var(--cream);
}
.rule {
  border-top: 1px solid var(--line);
}
.rounded-block {
  border-radius: 0;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14.5px;
  line-height: 1.6;
}

/* Fondo verde con resplandor ámbar tenue (secciones oscuras) */
.on-dark {
  position: relative;
  isolation: isolate;
  background: var(--green);
  color: rgba(255, 255, 255, 0.78);
  --em: var(--amber);
}
.on-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 88% 12%, rgba(232, 151, 30, 0.09), transparent 60%),
    radial-gradient(ellipse 50% 60% at 6% 90%, rgba(26, 107, 80, 0.55), transparent 70%);
  pointer-events: none;
}
.on-dark .h1,
.on-dark .h2,
.on-dark .h3,
.on-dark .h4,
.on-dark .display {
  color: #fff;
}
.on-dark .lead,
.on-dark p {
  color: rgba(255, 255, 255, 0.72);
}
.on-dark .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}
.on-dark .link {
  color: var(--amber-t);
}

/* ——— Tipografía ——— */
.display,
.h1,
.h2,
.h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
}
.display {
  font-size: clamp(46px, 7.4vw, 108px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.h3 {
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.h4 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
}
.display em,
.h1 em,
.h2 em,
.h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--em);
}
.lead {
  max-width: 62ch;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.7;
  color: var(--muted);
}
.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before,
.kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--amber);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.2s;
}
html.js [data-reveal] .eyebrow::before,
html.js .eyebrow[data-reveal]::before {
  transform: scaleX(0);
}
html.js .is-in .eyebrow::before,
html.js .eyebrow.is-in::before {
  transform: none;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  color: var(--green-3);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition:
    gap 0.3s var(--ease),
    color 0.3s,
    background-size 0.4s var(--ease);
}
.link:hover {
  gap: 12px;
  color: var(--amber-d);
  background-size: 100% 1px;
}
.link svg {
  width: 15px;
  height: 15px;
}
.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}
.hand {
  padding-left: 18px;
  border-left: 2px solid var(--amber);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--green);
}
.on-dark .hand {
  color: #fff;
}
.tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--amber-d);
}
.tagline::before {
  content: "";
  flex: none;
  width: 24px;
  height: 1px;
  background: var(--amber);
}
.on-dark .tagline {
  color: var(--amber-t);
}
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--amber-l);
  color: var(--amber-d);
  font: 500 11.5px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green-3);
}
.dot--amber,
.dot--gold {
  background: var(--amber);
}
.dot--green,
.dot--sage {
  background: var(--green-3);
}
.num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--green);
}
.num--solid {
  border: 0;
  background: var(--green);
  color: var(--amber-t);
}
.on-dark .num {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--amber-t);
}

/* Titular que sube palabra por palabra detrás de una máscara */
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.split em .w {
  padding-right: 0.08em;
  margin-right: -0.08em;
}
.split .w > span {
  display: inline-block;
}
html.js [data-reveal-split] .w > span {
  transform: translateY(108%);
  transition: transform 1.05s var(--ease) calc(var(--i, 0) * 55ms + var(--d, 0ms));
}
html.js [data-reveal-split].is-in .w > span {
  transform: none;
}

/* ——— Apariciones ——— */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1s var(--ease) var(--d, 0ms),
    transform 1s var(--ease) var(--d, 0ms);
}
html.js [data-reveal="left"] {
  transform: translateX(-36px);
}
html.js [data-reveal="right"] {
  transform: translateX(36px);
}
html.js [data-reveal="scale"] {
  transform: scale(0.94);
}
html.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
}
/* El recorte va en el contenido: un elemento recortado del todo no lo detecta el observador de scroll. */
html.js [data-reveal="clip"] > * {
  clip-path: inset(0 0 100% 0 round var(--radius-lg));
  transition: clip-path 1.3s var(--ease) var(--d, 0ms);
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
html.js [data-reveal="clip"].is-in > * {
  clip-path: inset(-40px -40px -40px -40px);
}

/* Trazos que se dibujan (íconos, mapa, anillo) */
html.js [data-draw] .d {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease) calc(var(--d, 0ms) + 150ms);
}
html.js .is-in [data-draw] .d,
html.js [data-draw].is-in .d {
  stroke-dashoffset: 0;
}

/* Ícono de línea */
.lic {
  width: 48px;
  height: 48px;
  color: var(--green-3);
}

/* ——— Botones ——— */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green-3);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(12, 74, 54, 0.55);
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}
.btn:hover svg:last-child {
  transform: translateX(3px);
}
.btn--amber {
  border-color: var(--amber-t);
  background: var(--amber);
  color: var(--green-deep);
}
.btn--amber::before {
  background: #f3ad45;
}
.btn--amber:hover {
  box-shadow: 0 14px 30px -12px rgba(232, 151, 30, 0.6);
}
.btn--ghost {
  border-color: var(--line-2);
  background: transparent;
  color: var(--green);
}
.btn--ghost::before {
  background: var(--green-l);
}
.btn--light,
.on-dark .btn--ghost,
.hero .btn--ghost,
.page-hero .btn--ghost,
.svc-hero .btn--ghost,
.cta-band .btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}
.btn--light::before,
.on-dark .btn--ghost::before,
.hero .btn--ghost::before,
.page-hero .btn--ghost::before,
.svc-hero .btn--ghost::before,
.cta-band .btn--ghost::before {
  background: rgba(255, 255, 255, 0.1);
}
.btn--lg {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 15.5px;
}
.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 13.5px;
}

/* ——— Encabezado ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green);
  color: #fff;
  transition:
    box-shadow 0.4s var(--ease),
    background 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(12, 74, 54, 0.94);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.6);
}
.topbar {
  display: grid;
  grid-template-rows: 1fr;
  background: var(--green-deep);
  transition: grid-template-rows 0.45s var(--ease);
}
.site-header.is-scrolled .topbar {
  grid-template-rows: 0fr;
}
.topbar > div {
  overflow: hidden;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
}
.topbar__inner a {
  text-decoration: none;
  transition: color 0.25s;
}
.topbar__inner a:hover {
  color: var(--amber-t);
}
.topbar__side {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar__live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: live 2.2s infinite;
}
@keyframes live {
  70% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}
.social {
  display: flex;
  gap: 12px;
}
.social a {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.social svg {
  width: 15px;
  height: 15px;
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.brand {
  flex: none;
  display: block;
  margin-right: auto;
}
.brand img {
  width: auto;
  height: 38px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link,
.nav__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s;
}
.nav__link::after,
.nav__trigger::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover,
.nav__trigger:hover {
  color: #fff;
}
.nav__link:hover::after,
.nav__trigger:hover::after,
.nav__link[aria-current="page"]::after,
.nav__item.is-current .nav__trigger::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__link[aria-current="page"],
.nav__item.is-current .nav__trigger {
  color: #fff;
}
.nav__trigger svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}
.nav__item {
  position: relative;
}
.nav__item.is-open .nav__trigger svg {
  transform: rotate(180deg);
}
.nav__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  width: 420px;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(8, 56, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top left;
  transition: 0.3s var(--ease);
}
.nav__item.is-open .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__panel a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 14px;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.25s;
}
.nav__panel a:hover,
.nav__panel a[aria-current="page"] {
  background: var(--cream);
}
.nav__panel .num {
  grid-row: span 2;
}
.nav__panel strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--green);
}
.nav__panel span:not(.num) {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}
.header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
}
.header-actions .portal-link {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
}
.header-actions .portal-link::before {
  background: rgba(255, 255, 255, 0.1);
}

/* Selector de idioma */
.langs {
  position: relative;
}
.langs summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 4px;
  list-style: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s;
}
.langs summary::-webkit-details-marker {
  display: none;
}
.langs summary:hover,
.langs[open] summary {
  color: var(--amber-t);
}
.langs summary svg {
  width: 15px;
  height: 15px;
}
.langs ul {
  position: absolute;
  z-index: 60;
  right: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  margin: 0;
  padding: 6px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 60px -20px rgba(8, 56, 42, 0.5);
  animation: pop 0.3s var(--ease);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.langs a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.langs a:hover {
  background: var(--cream);
}
.langs a[aria-current] {
  background: var(--green);
  color: #fff;
}

/* Menú móvil */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  width: 20px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.35s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  overflow-y: auto;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background: var(--green);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 44px) 38px);
  transition:
    clip-path 0.7s var(--ease),
    opacity 0.3s,
    visibility 0.7s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  clip-path: circle(150% at calc(100% - 44px) 38px);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.mobile-menu.is-open nav a {
  opacity: 1;
  transform: none;
}
.mobile-menu.is-open nav a:nth-child(2) {
  transition-delay: 40ms;
}
.mobile-menu.is-open nav a:nth-child(3) {
  transition-delay: 80ms;
}
.mobile-menu.is-open nav a:nth-child(4) {
  transition-delay: 120ms;
}
.mobile-menu.is-open nav a:nth-child(5) {
  transition-delay: 160ms;
}
.mobile-menu.is-open nav a:nth-child(6) {
  transition-delay: 200ms;
}
.mobile-menu.is-open nav a:nth-child(7) {
  transition-delay: 240ms;
}
.mobile-menu.is-open nav a:nth-child(8) {
  transition-delay: 280ms;
}
.mobile-menu nav a small {
  min-width: 34px;
  font: 500 12px/1 var(--mono);
  color: var(--amber-t);
}
.mobile-menu .btn-row {
  margin-top: 28px;
}
.mobile-menu .btn-row .btn {
  flex: 1 1 100%;
}
.mobile-menu .btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.mobile-menu__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.mobile-menu__langs a {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
body.menu-open {
  overflow: hidden;
}
.mobile-bar {
  display: none;
}

/* ——— Portada ——— */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(640px, calc(100svh - var(--header-h) - 38px), 880px);
  padding-block: clamp(56px, 7vw, 96px) clamp(88px, 9vw, 120px);
  background: var(--green-deep);
  color: #fff;
  --em: var(--amber);
}
.hero__media {
  position: absolute;
  inset: -6% 0 -6% 0;
  z-index: -3;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
  opacity: 0.34;
  animation: kenburns 28s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from {
    transform: scale(1.12) translate3d(-1.5%, 0, 0);
  }
  to {
    transform: scale(1) translate3d(1%, -1%, 0);
  }
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 56, 42, 0.97) 0%, rgba(8, 56, 42, 0.86) 38%, rgba(8, 56, 42, 0.4) 72%, rgba(8, 56, 42, 0.65) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(8, 56, 42, 0.8) 100%);
}
.hero__shade::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -30%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 151, 30, 0.12) 0%, transparent 62%);
  animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow {
  to {
    transform: translate(-4%, -6%) scale(1.08);
    opacity: 0.7;
  }
}
.hero__map {
  position: absolute;
  z-index: -1;
  right: calc(min(0px, 50% - 720px) - 130px);
  top: 50%;
  width: min(56vw, 800px);
  transform: translateY(-50%);
}
.hero__rose {
  position: absolute;
  z-index: -1;
  left: -150px;
  bottom: -190px;
  width: 520px;
  color: var(--amber-t);
  opacity: 0.12;
}
.hero__rose .rose {
  animation: spin 160s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.hero__year {
  position: absolute;
  right: max(18px, calc(50% - 640px));
  top: 12%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}
.hero__content {
  position: relative;
}
.hero__content > * + * {
  margin-top: 26px;
}
.hero__content .hero__lead {
  margin-top: 22px;
}
.hero .kicker {
  color: rgba(255, 255, 255, 0.55);
}
.hero__title {
  max-width: 12ch;
  font-family: var(--serif);
  font-size: clamp(48px, 6.6vw, 98px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 144;
  color: #fff;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-t);
}
.hero__lead {
  max-width: 54ch;
  font-size: clamp(16.5px, 1.3vw, 18.5px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.hero__people {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}
.hero__people strong {
  color: #fff;
}
.hero .avatars img {
  border-color: var(--green-deep);
}
.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}
.scroll-cue span {
  position: relative;
  overflow: hidden;
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.18);
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber);
  animation: scrollline 2.2s var(--ease) infinite;
}
@keyframes scrollline {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}

/* Mapa de conexiones */
.map {
  width: 100%;
  height: auto;
  overflow: visible;
}
.map pattern circle {
  fill: rgba(255, 255, 255, 0.28);
}
.map__route {
  fill: none;
  stroke: rgba(232, 151, 30, 0.55);
  stroke-width: 1.2;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: route 1.8s var(--ease) forwards;
  animation-delay: calc(0.9s + var(--i) * 0.11s);
}
@keyframes route {
  to {
    stroke-dashoffset: 0;
  }
}
.map__flow {
  fill: none;
  stroke: #ffd49a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 0.035 0.965;
  stroke-dashoffset: 1.035;
  opacity: 0;
  animation: flow 5.5s linear infinite;
  animation-delay: calc(3s + var(--i) * 0.37s);
}
@keyframes flow {
  0% {
    stroke-dashoffset: 1.035;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
.map__pin {
  fill: var(--amber);
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: pin 0.6s var(--ease) forwards;
  animation-delay: calc(1.9s + var(--i) * 0.11s);
}
@keyframes pin {
  60% {
    transform: scale(1.6);
  }
  to {
    transform: scale(1);
  }
}
.map__hub circle {
  fill: #fff;
}
.map__pulse {
  fill: none !important;
  stroke: #fff;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: hub 2.8s var(--ease) infinite;
}
.map__pulse--2 {
  animation-delay: 1.4s;
}
@keyframes hub {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(5);
    opacity: 0;
  }
}

/* Rosa de los vientos */
.rose {
  width: 100%;
  height: auto;
}
.rose__star path {
  stroke: currentColor;
}
.rose__star .rose__half {
  fill: currentColor;
  fill-opacity: 0.5;
}
.rose__n {
  font: 400 22px var(--serif);
  fill: currentColor;
  stroke: none;
}

/* ——— Tres situaciones (caminos) ——— */
.sits {
  position: relative;
  background: var(--green-2);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  --em: var(--amber);
}
.sits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(48px, 6vw, 72px) clamp(24px, 3.4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  transition: background 0.5s var(--ease);
}
.sit:last-child {
  border-right: 0;
}
.sit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(12, 74, 54, 0.6) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.5s;
}
.sit::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.sit:hover::before {
  opacity: 1;
}
.sit:hover::after,
.sit--urgent::after {
  transform: scaleX(1);
}
.sit__num {
  position: absolute;
  top: -26px;
  right: -8px;
  z-index: -1;
  font-family: var(--serif);
  font-size: 170px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  font-variation-settings: "opsz" 144;
  color: rgba(255, 255, 255, 0.035);
  user-select: none;
  transition:
    color 0.5s,
    transform 0.6s var(--ease);
}
.sit:hover .sit__num {
  color: rgba(232, 151, 30, 0.1);
  transform: scale(1.06) translateY(4px);
}
.sit .lic {
  width: 52px;
  height: 52px;
  color: var(--amber-t);
}
.sit .tag {
  color: var(--amber-t);
}
.sit__title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  color: #fff;
}
.sit__body {
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}
.sit__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--amber-t);
  transition: gap 0.3s var(--ease);
}
.sit:hover .sit__link {
  gap: 14px;
}
.sit__link svg {
  width: 15px;
  height: 15px;
}

/* ——— Marquesina ——— */
.ticker,
.marquee {
  position: relative;
  overflow: hidden;
  display: flex;
  background: var(--green);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
}
.ticker::before,
.ticker::after,
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 12%;
  pointer-events: none;
  background: linear-gradient(90deg, var(--green), transparent);
}
.ticker::after,
.marquee::after {
  right: 0;
  transform: scaleX(-1);
}
.ticker__track,
.marquee__track {
  display: flex;
  flex: none;
  align-items: center;
  animation: marquee 44s linear infinite;
}
.ticker:hover .ticker__track,
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 20px 0 20px 28px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.62);
}
.ticker__item .spire,
.marquee__item .spire {
  width: 11px;
  color: var(--amber-t);
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 26px 0 26px 30px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  font-style: italic;
  white-space: nowrap;
  color: #fff;
}
.marquee__item::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

/* ——— Encabezado de sección ——— */
.section-head {
  display: grid;
  gap: 20px;
  max-width: 780px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* ——— Servicios ——— */
.srv-grid,
.svc-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  perspective: 1200px;
}
.srv {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transform-style: preserve-3d;
  transition:
    box-shadow 0.5s var(--ease),
    transform 0.5s var(--ease),
    border-color 0.5s;
  will-change: transform;
}
.srv::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.srv:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}
.srv:hover::before {
  transform: scaleX(1);
}
.srv__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}
.srv__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--green-l);
  color: var(--green-3);
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.5s var(--ease);
}
.srv__icon .lic {
  width: 38px;
  height: 38px;
  color: currentColor;
}
.srv:hover .srv__icon {
  background: var(--green);
  color: var(--amber-t);
  transform: translateZ(24px) rotate(-4deg);
}
.srv__n {
  font: 500 12px/1 var(--mono);
  color: var(--muted);
}
.srv h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
}
.srv p {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}
.srv .srv__tag {
  align-self: stretch;
  padding: 10px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: none;
  font: italic 400 14.5px/1.45 var(--serif);
  letter-spacing: 0;
  text-transform: none;
  color: var(--amber-t);
}
.srv__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--green-3);
  transition:
    gap 0.3s var(--ease),
    color 0.3s;
}
.srv:hover .srv__more {
  gap: 12px;
  color: var(--amber-d);
}
.srv__more svg {
  width: 14px;
  height: 14px;
}
.srv--featured {
  border-color: var(--green);
  background: var(--green);
}
.srv--featured h3 {
  color: #fff;
}
.srv--featured p {
  color: rgba(255, 255, 255, 0.68);
}
.srv--featured .srv__icon {
  background: rgba(232, 151, 30, 0.14);
  color: var(--amber-t);
}
.srv--featured .srv__n {
  color: rgba(255, 255, 255, 0.45);
}
.srv--featured .srv__more,
.srv--featured:hover .srv__more {
  color: var(--amber-t);
}
.srv--featured .label {
  background: rgba(232, 151, 30, 0.14);
  color: var(--amber-t);
}
.srv__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: -2px;
}
.srv__price b {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  font-variation-settings: "opsz" 144;
  color: var(--amber-t);
}
.srv__price span {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

/* ——— Banda de foto a pantalla completa ——— */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 78vh, 760px);
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--green-deep);
  color: #fff;
  --em: var(--amber);
}
.band__media {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
}
.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 56, 42, 0) 20%, rgba(8, 56, 42, 0.55) 55%, rgba(8, 56, 42, 0.92) 100%),
    linear-gradient(0deg, rgba(8, 56, 42, 0.7), transparent 50%);
}
.band__content {
  display: grid;
  justify-items: end;
  gap: 22px;
  text-align: right;
}
.band__content .h2 {
  max-width: 14ch;
  color: #fff;
}
.band__content .lead {
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.78);
}
.band__content .link {
  color: var(--amber-t);
}
.band__content .avatars img {
  border-color: var(--green-deep);
}

/* ——— Los tres papeles ——— */
.trio {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.trio::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 76px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 8px, transparent 8px 16px);
  background-size: 32px 1px;
  animation: dashes 1.4s linear infinite;
  opacity: 0.8;
}
@keyframes dashes {
  to {
    background-position: 32px 0;
  }
}
.trio__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.trio__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.trio__item--center {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  --em: var(--amber);
}
.trio__icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--green-3);
}
.trio__item--center .trio__icon {
  border-color: rgba(232, 151, 30, 0.45);
  background: var(--green);
  color: var(--amber-t);
  animation: ring 3.2s var(--ease) infinite;
}
@keyframes ring {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 151, 30, 0.35);
  }
  70%,
  100% {
    box-shadow: 0 0 0 18px rgba(232, 151, 30, 0);
  }
}
.trio__icon .lic {
  width: 44px;
  height: 44px;
  color: currentColor;
}
.trio__verb {
  font-family: var(--serif);
  font-size: clamp(40px, 4.4vw, 58px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
  color: var(--amber-d);
}
.trio__verb::first-letter {
  text-transform: uppercase;
}
.trio__item--center .trio__verb {
  color: var(--amber-t);
}
.trio__who {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.trio__item--center .trio__who {
  color: rgba(255, 255, 255, 0.6);
}
.trio__item ul {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.trio__item--center ul {
  border-color: rgba(255, 255, 255, 0.12);
}
.trio__item li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.trio__item--center li {
  color: rgba(255, 255, 255, 0.86);
}
.trio__item li svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--amber-t);
}
.roles-note,
.roles__rule {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 56px);
  margin-top: clamp(32px, 4vw, 48px);
  padding: 28px 32px;
  border-left: 2px solid var(--amber);
  background: var(--cream);
}
.roles-note p:not(.h4),
.roles__rule p:not(.h4) {
  color: var(--ink-2);
}
.on-dark .roles__rule,
.on-dark .roles-note {
  background: rgba(255, 255, 255, 0.05);
}
.on-dark .roles__rule p:not(.h4) {
  color: rgba(255, 255, 255, 0.78);
}
.roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.role {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
}
.role--center {
  border-color: var(--amber-t);
}
.role p {
  color: var(--ink-2);
}
.on-dark .role {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.on-dark .role .h3,
.on-dark .role .h4 {
  color: #fff;
}
.on-dark .role p {
  color: rgba(255, 255, 255, 0.72);
}
.on-dark .role--center {
  border-color: var(--amber-t);
}

/* ——— Pasos ——— */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.steps__intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.steps__list {
  position: relative;
  border-top: 1px solid var(--line);
}
.steps__list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--amber);
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 56px;
  gap: 4px 0;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
}
.step__num {
  grid-row: span 3;
  padding: 5px 0 0 22px;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  color: var(--green-3);
  transition: color 0.4s;
}
.step .h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  transition: color 0.4s;
}
.step p {
  grid-column: 2;
  font-size: 15px;
  color: var(--muted);
}
.step > .lic {
  grid-column: 3;
  grid-row: 1 / span 3;
  justify-self: end;
  width: 44px;
  height: 44px;
  color: var(--line-2);
  transition: color 0.5s;
}
.step.is-active .step__num,
.step:hover .step__num {
  color: var(--amber-d);
}
.step.is-active > .lic,
.step:hover > .lic {
  color: var(--green-3);
}
.step.is-active .h3 {
  color: var(--green);
}
.step--key {
  background: linear-gradient(90deg, var(--amber-l), transparent 80%);
}
.step__flag {
  grid-column: 2;
  justify-self: start;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--amber);
  color: var(--green-deep);
  font: 500 11.5px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ——— Ejemplo: la solicitud de un proveedor ——— */
.req {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.req::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -14px;
  z-index: -1;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--green-l);
}
.req__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.req__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 11.5px/1 var(--mono);
  color: var(--muted);
}
.req__live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: live-amber 2s infinite;
}
@keyframes live-amber {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 151, 30, 0.6);
  }
  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(232, 151, 30, 0);
  }
}
.req__quote {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 25px);
  font-style: italic;
  line-height: 1.4;
  color: var(--green);
}
.req__items {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.req__items li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--cream);
  font-weight: 700;
  font-size: 15px;
}
.req__check {
  width: 22px;
  height: 22px;
  color: var(--green-3);
}
.req__status {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}
.req__status li {
  position: relative;
  display: grid;
  gap: 8px;
}
.req__status li::before {
  content: "";
  height: 3px;
  border-radius: 3px;
  background: var(--line);
}
.req__status li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.6s;
}
.req__status .is-done {
  color: var(--green);
}
.is-in .req__status .is-done::after,
html:not(.js) .req__status .is-done::after {
  transform: scaleX(1);
}
.is-in .req__status .is-done:nth-child(2)::after {
  transition-delay: 1.5s;
}
.req__note {
  margin-top: 18px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--muted);
}
.example__quote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.on-dark .example__quote {
  color: #fff;
}

/* ——— Voces del equipo (carrusel) ——— */
.voices {
  overflow: hidden;
}
.voices__stage {
  position: relative;
  display: grid;
}
.voice {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s var(--ease),
    visibility 0.8s;
}
.voice.is-active {
  opacity: 1;
  visibility: visible;
}
.voice__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--green-2);
}
.voice__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transform: scale(1.12);
  transition: transform 6s var(--ease);
}
.voice.is-active .voice__photo img {
  transform: scale(1);
}
.voice__photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(232, 151, 30, 0.45);
  border-radius: 10px;
  pointer-events: none;
}
.voice__mark {
  display: block;
  font-family: var(--serif);
  font-size: 120px;
  line-height: 0.6;
  color: var(--amber-t);
  opacity: 0.35;
}
.voice blockquote {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 30px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
  color: #fff;
}
.voice__who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.voice__who::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--amber);
}
.voice__who strong {
  display: block;
  font-size: 15px;
  color: #fff;
}
.voice__who span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.voices__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 48px);
}
.voices__dot {
  position: relative;
  overflow: hidden;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.voices__dot img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(1);
  opacity: 0.55;
  transition:
    filter 0.4s,
    opacity 0.4s;
}
.voices__dot:hover {
  transform: translateY(-3px);
}
.voices__dot[aria-current="true"] {
  border-color: var(--amber-t);
}
.voices__dot[aria-current="true"] img,
.voices__dot:hover img {
  filter: none;
  opacity: 1;
}
.voices__bar {
  flex: 1;
  min-width: 80px;
  max-width: 200px;
  height: 1px;
  margin-left: 12px;
  background: rgba(255, 255, 255, 0.15);
}
.voices__bar i {
  display: block;
  height: 100%;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
}
.voices__bar i.is-running {
  transform: scaleX(1);
  transition: transform var(--dur, 7s) linear;
}
.story-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 760px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}
.on-dark .story-line {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}
.story-line .spire,
.story-line .mark {
  width: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--amber-t);
}

/* ——— Comparación ——— */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.compare__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
}
.compare__col ul {
  display: grid;
  gap: 14px;
}
.compare__col li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: var(--ink-2);
}
.compare__col--main {
  border-color: var(--green);
  background: var(--green);
}
.compare__col--main li {
  color: rgba(255, 255, 255, 0.88);
}
.compare__col li svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--amber-t);
}
.compare__x {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}
.compare__x::before,
.compare__x::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 9px;
  height: 1.5px;
  background: var(--muted);
  transform: rotate(45deg);
}
.compare__x::after {
  transform: rotate(-45deg);
}
.formula__label {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--muted);
}
.compare__col--main .formula__label,
.formula__col--main .formula__label {
  font-style: italic;
  color: var(--amber-t);
}
.formula {
  display: grid;
  gap: 18px;
}
.formula__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.formula__col--main {
  border-color: var(--green);
  background: var(--green);
}
.formula__col--main .h4 {
  color: #fff;
}

/* ——— Membresía (inicio) ——— */
.mem {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.mem__visual {
  position: relative;
}
.mem__ring {
  position: absolute;
  right: -18px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
  padding: 14px 20px 14px 14px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 13.5px;
  line-height: 1.4;
}
.on-dark .mem__ring p {
  color: var(--ink-2);
}
.ring {
  width: 92px;
  height: 92px;
  flex: none;
}
.ring circle {
  fill: none;
  stroke-width: 9;
}
.ring__track {
  stroke: var(--green-l);
}
.ring__seg {
  stroke: var(--amber);
  stroke-dasharray: 0 400;
  transition: stroke-dasharray 0.7s var(--ease) calc(0.4s + var(--i) * 0.35s);
}
html:not(.js) .ring__seg,
.is-in .ring__seg,
.ring.is-in .ring__seg {
  stroke-dasharray: var(--seg) var(--rest);
}
.ring__n {
  font: 400 40px var(--serif);
  fill: var(--green);
}
.ring__l {
  font: 800 11px var(--sans);
  letter-spacing: 0.08em;
  fill: var(--muted);
}

/* Datos y contadores */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border-top: 1px solid var(--line);
}
.facts--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 22px 6px 0;
}
.fact + .fact {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.fact__k {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  font-variant-numeric: tabular-nums;
  color: var(--amber-d);
}
.fact__v {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.fact--star .fact__k::after {
  content: "*";
  color: var(--amber-t);
}
.on-dark .facts,
.on-dark .fact + .fact {
  border-color: rgba(255, 255, 255, 0.12);
}
.on-dark .fact__k {
  color: var(--amber-t);
}
.on-dark .fact__v {
  color: rgba(255, 255, 255, 0.6);
}

/* ——— Temas (tarjetas con ícono) ——— */
.topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.topics--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.topic {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    box-shadow 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.topic::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.topic:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.topic:hover::before {
  transform: scaleX(1);
}
.topic p {
  font-size: 15px;
  color: var(--muted);
}
.topic .h3,
.topic .h4 {
  color: var(--ink);
}
.topic .icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--green-l);
  color: var(--green-3);
  transition:
    background 0.4s,
    color 0.4s;
}
.topic .icon svg {
  width: 26px;
  height: 26px;
}
.topic .icon .lic {
  width: 34px;
  height: 34px;
  color: currentColor;
}
.topic:hover .icon {
  background: var(--green);
  color: var(--amber-t);
}
.topic.example {
  background: var(--cream);
}
.on-dark .topic {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.on-dark .topic .h3,
.on-dark .topic .h4 {
  color: #fff;
}
.checks {
  display: grid;
  gap: 12px;
}
.checks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: var(--ink-2);
}
.checks li svg {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--amber-t);
}
.on-dark .checks li {
  color: rgba(255, 255, 255, 0.88);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.timeline__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none !important;
}
.timeline__item p:not(.timeline__when) {
  font-size: 15px;
  color: var(--ink-2);
}
.timeline__when {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--green);
}
.timeline__item--key {
  border-color: var(--green);
  background: var(--green);
}
.timeline__item--key .timeline__when {
  font-style: italic;
  color: var(--amber-t);
}
.timeline__item--key p:not(.timeline__when) {
  color: rgba(255, 255, 255, 0.86);
}

/* ——— Preguntas frecuentes ——— */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 48px 24px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--green-3);
}
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--amber-d);
  transition: transform 0.4s var(--ease);
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0deg);
}
.faq details::details-content {
  height: 0;
  overflow: clip;
  transition:
    height 0.5s var(--ease),
    content-visibility 0.5s allow-discrete;
}
.faq details[open]::details-content {
  height: auto;
}
.faq details > div {
  padding: 0 40px 26px 0;
  color: var(--ink-2);
}
.faq details > div p + p {
  margin-top: 10px;
}

/* ——— Avisos ——— */
.disclosure {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--cream);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.disclosure svg {
  width: 20px;
  height: 20px;
  color: var(--green-3);
}
.on-dark .disclosure,
.page-hero .disclosure {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}
.on-dark .disclosure svg,
.page-hero .disclosure svg {
  color: var(--amber-t);
}
.fineprint {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-left: 2px solid var(--amber);
  border-radius: 0 8px 8px 0;
  background: var(--amber-l);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.fineprint svg {
  width: 22px;
  height: 22px;
  color: var(--amber-d);
}
.fineprint strong {
  color: var(--green);
}
.on-dark .fineprint {
  background: rgba(232, 151, 30, 0.1);
  color: rgba(255, 255, 255, 0.82);
}
.on-dark .fineprint strong {
  color: #fff;
}
.review {
  position: relative;
  padding: 34px 16px 16px;
  border-radius: 10px;
  background: var(--review);
  outline: 2px dashed #d9b43a;
  outline-offset: -2px;
  color: var(--ink);
}
.review__tag {
  position: absolute;
  top: 9px;
  left: 14px;
  font: 800 10.5px/1.2 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--review-ink);
}
.review-fallback {
  display: none;
}
.review:not(.review--page) p,
.review:not(.review--page) .h4,
.review:not(.review--page) .fact__v,
.review:not(.review--page) .fineprint {
  color: var(--ink-2);
}
.review:not(.review--page) .fact__k {
  color: var(--amber-d);
}
.slot {
  padding: 20px;
  border: 1.5px dashed var(--line-2);
  border-radius: 10px;
  color: var(--muted);
}
.preview-banner {
  padding: 10px var(--gutter);
  background: var(--review);
  color: var(--review-ink);
  font-size: 14px;
  text-align: center;
}

/* ——— Cartas de familias ——— */
.letters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.letter {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow:
    0 1px 0 var(--line),
    0 16px 40px -24px rgba(12, 74, 54, 0.3);
  transform: rotate(var(--r, 0deg));
  transition: transform 0.5s var(--ease);
}
.letter:nth-child(1) {
  --r: -1.2deg;
}
.letter:nth-child(3) {
  --r: 1deg;
}
.letter:hover {
  transform: rotate(0) translateY(-6px);
}
.letter__img {
  margin: -12px -10px 4px;
  overflow: hidden;
  border-radius: 8px;
}
.letter__img img {
  width: 100%;
  height: auto;
}
.letter__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}
.letter__from {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}
.letter__lines {
  display: grid;
  gap: 14px;
  padding-block: 6px 10px;
}
.letter__lines span {
  height: 9px;
  border-radius: 6px;
  background: rgba(12, 74, 54, 0.09);
}
.letter__lines span:nth-child(3n) {
  width: 78%;
}
.letter__lines span:nth-child(4n) {
  width: 64%;
}
.redact {
  display: inline-block;
  width: var(--w, 5em);
  height: 0.95em;
  vertical-align: -0.1em;
  border-radius: 2px;
  background: #1c1c1c;
}
.letter .label {
  align-self: flex-start;
}
.letter__stamp {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 22px;
  color: var(--amber-t);
}

/* ——— Llamado final ——— */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(110px, 14vw, 170px);
  background: var(--green);
  color: #fff;
  text-align: center;
  --em: var(--amber);
}
.cta-band__media {
  position: absolute;
  inset: -16% 0;
  z-index: -3;
}
.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(12, 74, 54, 0.6) 0%, rgba(12, 74, 54, 0.95) 100%),
    radial-gradient(ellipse 50% 60% at 82% 40%, rgba(232, 151, 30, 0.12) 0%, transparent 70%);
}
.cta-band__orbits {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(1000px, 140vw);
  color: var(--amber-t);
  opacity: 0.16;
  transform: translate(-50%, -50%);
}
.orbits {
  width: 100%;
  height: auto;
  overflow: visible;
}
.orbit {
  transform-origin: 300px 300px;
  animation: spin var(--dur) linear infinite;
}
.orbit:nth-child(even) {
  animation-direction: reverse;
}
.orbit__dot {
  fill: currentColor;
  stroke: none;
}
.cta-band__inner {
  display: grid;
  justify-items: center;
  gap: 24px;
}
.cta-band .kicker {
  color: rgba(255, 255, 255, 0.45);
}
.cta-band .kicker::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--amber);
}
.cta-band .h2 {
  max-width: 16ch;
  font-size: clamp(42px, 6.2vw, 88px);
  color: #fff;
}
.cta-band .lead {
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.62);
}
.cta-band .btn-row {
  justify-content: center;
  margin-top: 12px;
}
.cta-inline {
  display: grid;
  gap: 18px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
}

/* ——— Portadas de páginas internas ——— */
.page-hero,
.svc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 120px);
  background: var(--green);
  color: #fff;
  --em: var(--amber);
}
.page-hero::before,
.svc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 90% 10%, rgba(232, 151, 30, 0.1), transparent 60%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(26, 107, 80, 0.6), transparent 70%);
}
.page-hero .h1,
.svc-hero .h1 {
  color: #fff;
}
.page-hero .lead,
.svc-hero .lead {
  color: rgba(255, 255, 255, 0.72);
}
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}
.page-hero .link {
  color: var(--amber-t);
}
.page-hero__grid,
.svc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.page-hero .hand,
.svc-hero .hand {
  color: #fff;
}
.page-hero .muted {
  color: rgba(255, 255, 255, 0.6);
}
.page-hero .avatars img {
  border-color: var(--green);
}
.hero-rose {
  position: absolute;
  z-index: -1;
  right: -140px;
  top: -140px;
  width: 460px;
  color: var(--amber-t);
  opacity: 0.1;
  pointer-events: none;
}
.hero-rose .rose {
  animation: spin 200s linear infinite;
}
.svc-hero__copy > * + * {
  margin-top: 22px;
}
.svc-n {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.svc-n b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(232, 151, 30, 0.6);
  font: italic 400 15px var(--serif);
  color: var(--amber-t);
}
.svc-hero__statement {
  max-width: 30ch;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 27px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  color: var(--amber-t);
}
.svc-hero__visual {
  position: relative;
}
.svc-hero__visual .tagline {
  position: absolute;
  left: -24px;
  bottom: 36px;
  z-index: 3;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--green-deep);
  color: var(--amber-t);
  box-shadow: var(--shadow);
}
.svc-hero__icon {
  position: absolute;
  right: -22px;
  top: -22px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--green-deep);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.6);
  animation: float 6s ease-in-out infinite;
}
.svc-hero__icon .lic {
  width: 52px;
  height: 52px;
  color: currentColor;
}
@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

/* Foto con esquinas ámbar */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--green-l);
  aspect-ratio: var(--ratio, auto);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition:
    transform 1.2s var(--ease),
    filter 0.6s;
}
.media--circle {
  border-radius: 50%;
}
.media__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(8, 56, 42, 0.8);
  color: #fff;
  font-size: 13px;
}
.stage {
  position: relative;
}
.stage .media {
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55);
}
.stage__corner {
  position: absolute;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-color: var(--amber-t);
  border-style: solid;
  pointer-events: none;
  transition: transform 0.8s var(--ease) 0.4s;
}
.stage__corner--tl {
  left: -14px;
  top: -14px;
  border-width: 1.5px 0 0 1.5px;
}
.stage__corner--br {
  right: -14px;
  bottom: -14px;
  border-width: 0 1.5px 1.5px 0;
}
html.js [data-reveal] .stage__corner--tl {
  transform: translate(18px, 18px);
}
html.js [data-reveal] .stage__corner--br {
  transform: translate(-18px, -18px);
}
html.js .is-in .stage__corner {
  transform: none;
}
.stage:hover .media img {
  transform: scale(1.04);
}
.avatars {
  display: flex;
}
.avatars img,
.avatars span {
  width: 44px;
  height: 44px;
  margin-left: -12px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
}
.avatars > :first-child {
  margin-left: 0;
}

/* ——— Nosotros ——— */
.people-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.people-strip__faces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.people-strip__faces .media {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
}
.people-strip__faces .spire,
.people-strip__faces .mark {
  display: none;
}
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.story__photo {
  position: relative;
}
.story__photo .tagline {
  position: absolute;
  right: -16px;
  bottom: 44px;
  z-index: 3;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--green);
  color: var(--amber-t);
  box-shadow: var(--shadow);
}
.team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.team-card .media {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: var(--radius-lg);
}
.team-card .media img {
  object-position: 50% 20%;
  filter: grayscale(0.25);
}
.team-card:hover .media img {
  transform: scale(1.05);
  filter: none;
}
.team-card h3 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.team-card__role {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-d);
}
.team-card .quote {
  font-size: 15.5px;
}
.monogram {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--green);
  font: 300 64px/1 var(--serif);
  color: var(--amber-t);
}
.backing {
  color: var(--muted);
}

/* ——— Contacto y formularios ——— */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.contact-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition:
    box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.contact-card--primary {
  border-color: var(--amber-t);
  background: var(--amber);
}
.contact-card__k {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card--primary .contact-card__k {
  color: var(--green-deep);
}
.contact-card__v {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.25;
  color: var(--green);
  overflow-wrap: break-word;
}
.contact-card--primary .contact-card__v {
  color: var(--green-deep);
}
.form {
  display: grid;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label,
.segmented legend {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-2);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  font: 16px/1.4 var(--sans);
  color: var(--ink);
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--green-3);
  box-shadow: 0 0 0 4px rgba(26, 107, 80, 0.12);
}
.hint {
  font-size: 13px;
  color: var(--muted);
}
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.segmented legend {
  width: 100%;
  margin-bottom: 8px;
}
.segmented label {
  position: relative;
}
.segmented input {
  position: absolute;
  opacity: 0;
}
.segmented span {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-size: 14.5px;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.segmented input:checked + span {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.segmented input:focus-visible + span {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}
.consent--sms {
  font-size: 12.5px;
  line-height: 1.5;
}
.consent a {
  color: inherit;
  text-decoration: underline;
}
.hp {
  position: absolute;
  left: -9999px;
}
.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--green-l);
  font-size: 15px;
}
.form-status.is-visible {
  display: block;
  animation: pop 0.4s var(--ease);
}
.person {
  display: flex;
  align-items: center;
  gap: 16px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--green);
  color: var(--amber-t);
  font: 300 36px/1 var(--serif);
}
.person__role {
  font-weight: 700;
  color: var(--ink-2);
}

/* ——— Pagos (repatriación) ——— */
.pay {
  display: grid;
  gap: 14px;
}
.pay__kinds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pay__kind,
.pay__way {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.pay__kind strong,
.pay__way strong {
  color: var(--green);
}
.pay__kind p,
.pay__way p {
  font-size: 15px;
  color: var(--ink-2) !important;
}
.pay__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--green);
}
.pay__flow svg {
  width: 22px;
  height: 22px;
  color: var(--amber-d);
}
.on-dark .pay > .h4,
.on-dark .pay > .hand {
  color: #fff;
}
.on-dark .review .pay > .h4,
.on-dark .review .pay > .hand {
  color: var(--green);
}

/* ——— Diagrama de organizaciones ——— */
.constellation svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.constellation text {
  font: 700 15px var(--sans);
  fill: #fff;
}
.constellation .label-sub {
  font: italic 400 15px var(--serif);
  fill: rgba(255, 255, 255, 0.6);
}
.wire {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.5;
}
.pulse {
  fill: none;
  stroke: var(--amber);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 92;
  animation: pulse 4.5s linear infinite;
}
.pulse--back {
  animation-direction: reverse;
}
@keyframes pulse {
  to {
    stroke-dashoffset: -100;
  }
}
.node {
  fill: var(--green);
  stroke: #fff;
  stroke-width: 2;
}
.node--family {
  fill: var(--amber);
  stroke: var(--amber);
}
.core {
  fill: var(--green-deep);
}
.core-ring {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.5;
  animation: core 3.5s var(--ease) infinite;
}
@keyframes core {
  50% {
    transform: scale(1.08);
    opacity: 0.6;
  }
}
.core-num {
  font-family: var(--serif) !important;
  font-style: italic;
  fill: var(--amber) !important;
}

/* ——— Aviso legal y casos ——— */
.doc {
  max-width: 820px;
}
.doc h2 {
  margin: 44px 0 12px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--green);
}
.doc h2:first-child {
  margin-top: 0;
}
.doc p,
.doc li {
  color: var(--ink-2);
}
.doc p + p {
  margin-top: 12px;
}
.doc ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  list-style: disc;
}
.case {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.case .h2 {
  font-size: clamp(28px, 3vw, 40px) !important;
}
.case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--green-l);
  font: 500 12px/1.3 var(--mono);
  color: var(--green-3);
}
.case p {
  color: var(--ink-2);
}
.case__roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.case__role {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.case__role h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 800;
  color: var(--green);
}
.case__role--etx {
  border-color: var(--green);
  background: var(--green);
}
.case__role--etx h4 {
  color: var(--amber-t);
}
.case .case__role--etx p {
  color: rgba(255, 255, 255, 0.88);
}
/* Casos reales: índice de tarjetas y ficha de cada caso */
.case-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}
.case-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.case-card:hover,
.case-card:focus-visible {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(12, 74, 54, 0.45);
}
.case-card__kind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 11.5px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-3);
}
.case-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 1.8vw, 25px);
  line-height: 1.2;
  color: var(--green);
}
.case-card__sum {
  font-size: 15px;
  color: var(--ink-2);
}
.case-card__meta {
  font: 500 12px/1.4 var(--mono);
  color: var(--muted);
}
.case-card__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green);
}
.case-card__go .arrow {
  width: 18px;
  height: 18px;
}
.case-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.case-note svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.case {
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.case__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.case__facts dt {
  font: 500 10.5px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.case__facts dd {
  margin: 4px 0 0;
  font-weight: 700;
  color: var(--ink);
}
.case__part {
  display: grid;
  gap: 10px;
}
.case__part .h4 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--green);
}
.case__num {
  font: 500 12px/1 var(--mono);
  color: var(--amber-d, #b86f0c);
}
@media (max-width: 900px) {
  .case-index {
    grid-template-columns: minmax(0, 1fr);
  }
}
.anon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.anon svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--green-3);
}
.page-hero .anon {
  color: rgba(255, 255, 255, 0.65);
}
.page-hero .anon svg {
  color: var(--amber-t);
}

/* ——— Pie de página ——— */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
}
.footer-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  --em: var(--amber);
}
.footer-help .h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  color: #fff;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 72px);
}
.footer-brand img {
  width: auto;
  height: 40px;
}
.footer-brand p {
  max-width: 36ch;
  margin-top: 18px;
  font-size: 14.5px;
}
.footer-brand .social {
  margin-top: 22px;
}
.footer-brand .social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition:
    border-color 0.3s,
    color 0.3s,
    transform 0.3s var(--ease);
}
.footer-brand .social a:hover {
  border-color: var(--amber-t);
  color: var(--amber-t);
  transform: translateY(-3px);
}
.footer-col h2 {
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.footer-col ul {
  display: grid;
  gap: 10px;
}
.footer-col a {
  text-decoration: none;
  transition: color 0.25s;
}
.footer-col a:hover {
  color: var(--amber-t);
}
.footer-word {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-word .spire,
.footer-word .mark {
  width: 18px;
  color: var(--amber-t);
}
.footer-word .tagline {
  color: var(--amber-t);
}
.footer-word .tagline::before {
  display: none;
}
.footer-langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding-bottom: 22px;
  font-size: 13.5px;
}
.footer-langs span {
  opacity: 0.85;
}
.footer-langs a {
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.footer-langs a[aria-current] {
  color: var(--amber-t);
}
.footer-legal {
  display: grid;
  gap: 14px;
  padding-block: 26px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}
.footer-legal__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer-spire {
  position: absolute;
  z-index: -1;
  right: -40px;
  bottom: -60px;
  width: 360px;
  color: rgba(255, 255, 255, 0.025);
}

/* ——— Cursor (solo ratón) ——— */
.cursor-ring {
  position: fixed;
  z-index: 9998;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(232, 151, 30, 0.55);
  border-radius: 50%;
  pointer-events: none;
  transition:
    width 0.35s var(--ease),
    height 0.35s var(--ease),
    margin 0.35s var(--ease),
    background 0.35s,
    opacity 0.3s;
}
.cursor-ring.is-link {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-color: rgba(232, 151, 30, 0.35);
  background: rgba(232, 151, 30, 0.08);
}
.cursor-ring.is-hidden {
  opacity: 0;
}

/* ——— Transición entre páginas ——— */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: page-out 0.35s var(--ease) both;
}
::view-transition-new(root) {
  animation: page-in 0.55s var(--ease) both;
}
@keyframes page-out {
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* ——— Centro de Recursos: guías gratuitas, glosario y política editorial ——— */

/* Capa legal a página completa (vista previa): sin fondo amarillo, solo una franja fija arriba. */
.review--page {
  padding: 0;
  background: none;
  outline: 0;
  border-radius: 0;
}
.review__strip {
  position: relative;
  z-index: 2;
  padding: 8px var(--gutter);
  background: var(--review);
  color: var(--review-ink);
  font: 800 11px/1.3 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1.5px dashed #d9b43a;
}

.res-gloss__terms dd,
.g-defs dd,
.g-meta dd,
.gl-term dd {
  margin-left: 0;
}
.on-dark .topic p {
  color: rgba(255, 255, 255, 0.66);
}

/* Migas de pan (sobre portada verde) */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.crumbs li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(232, 151, 30, 0.7);
}
.crumbs a {
  text-decoration: none;
  transition: color 0.25s;
}
.crumbs a:hover {
  color: var(--amber-t);
}
.crumbs [aria-current] {
  color: rgba(255, 255, 255, 0.85);
}

/* Portada del centro */
.res-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.res-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.res-badges svg {
  width: 16px;
  height: 16px;
  color: var(--amber-t);
}
.res-stack {
  position: relative;
  height: clamp(300px, 34vw, 420px);
}
.res-stack__item {
  position: absolute;
  inset: 0;
  width: 72%;
  margin: auto;
  height: fit-content;
  transform: translate(calc((var(--i) - 1) * 26%), calc((var(--i) - 1) * 9%)) rotate(calc((var(--i) - 1) * 7deg));
  transition: transform 0.8s var(--ease);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
}
.res-stack:hover .res-stack__item {
  transform: translate(calc((var(--i) - 1) * 34%), calc((var(--i) - 1) * 6%)) rotate(calc((var(--i) - 1) * 10deg));
}
.res-stack__item:nth-child(2) {
  z-index: 2;
}

/* Tarjetas */
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.res-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition:
    box-shadow 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.res-card:hover {
  box-shadow: var(--shadow);
}
.res-card__cover {
  display: block;
  padding: 10px 10px 0;
}
.res-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px 24px;
}
.res-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font: 500 11px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.res-card__meta span:first-child {
  color: var(--amber-d);
}
.res-card .h3 {
  font-size: clamp(20px, 1.7vw, 24px);
}
.res-card .h3 a {
  text-decoration: none;
  color: var(--ink);
}
.res-card .h3 a:hover {
  color: var(--green-3);
}
.res-card__body > p:not(.res-card__meta) {
  font-size: 15px;
  color: var(--muted);
}
.res-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}
.res-card__pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--green);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.res-card__pdf .lic {
  width: 15px;
  height: 15px;
  color: currentColor;
}
.res-card__pdf:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.res-card[hidden] {
  display: none;
}
.res-pending {
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--review);
  color: var(--review-ink);
  letter-spacing: 0.04em;
}
body.mode-prod .res-pending {
  display: none;
}

/* Filtros */
.res-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.res-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.res-filter button {
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font: 700 14px/1 var(--sans);
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.res-filter button:hover {
  border-color: var(--green);
}
.res-filter button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.res-filter button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.res-empty {
  padding: 28px;
  text-align: center;
  color: var(--muted);
}
.res-home__cta {
  margin-top: 32px;
  text-align: center;
}

/* Glosario (vista previa en el centro) */
.res-gloss {
  align-items: center;
}
.res-gloss__terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.res-gloss__terms > div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  transition:
    border-color 0.3s,
    transform 0.4s var(--ease);
}
.res-gloss__terms > div:hover {
  border-color: var(--amber-t);
  transform: translateY(-3px);
}
.res-gloss__terms dt a {
  font: 500 19px/1.25 var(--serif);
  text-decoration: none;
  color: var(--green);
}
.res-gloss__terms dd {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.res-pillars {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Suscripción opcional */
.res-updates {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.res-updates__icon .lic {
  width: 52px;
  height: 52px;
  color: var(--amber-d);
}
.res-form {
  gap: 14px;
}

/* ——— Guía ——— */
.read-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 70;
  height: 3px;
  pointer-events: none;
}
.read-progress i {
  display: block;
  height: 100%;
  background: var(--amber);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.g-hero {
  padding-block: clamp(56px, 7vw, 96px);
}
.g-title {
  font-size: clamp(34px, 4.4vw, 60px);
}
.g-hero__cover {
  max-width: 460px;
  justify-self: end;
  width: 100%;
}
.g-actions .btn--ghost,
.page-hero .g-actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.g-actions .lic,
.g-end .lic {
  color: currentColor;
}
.g-wrap {
  padding-top: clamp(40px, 5vw, 64px);
}
.g-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.g-side {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: grid;
  gap: 22px;
}
.g-toc__k,
.g-help__k,
.g-tldr__k {
  font: 800 11.5px/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-d);
}
.g-toc ol {
  display: grid;
  gap: 2px;
  margin-top: 14px;
  border-left: 1px solid var(--line);
}
.g-toc a {
  position: relative;
  display: block;
  padding: 7px 0 7px 16px;
  font-size: 14.5px;
  line-height: 1.4;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.25s;
}
.g-toc a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--amber);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease);
}
.g-toc a:hover,
.g-toc a.is-active {
  color: var(--green);
}
.g-toc a.is-active {
  font-weight: 700;
}
.g-toc a.is-active::before {
  transform: scaleY(1);
}
.g-help {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--green);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
}
.g-help__k {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--amber-t);
}
.g-help p:not(.g-help__k) {
  color: rgba(255, 255, 255, 0.78);
}
.g-help__k .lic {
  width: 26px;
  height: 26px;
  color: var(--amber-t);
}
.g-help .btn {
  justify-self: start;
}
.g-article {
  max-width: 740px;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.g-article > * + * {
  margin-top: 40px;
}
.g-section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.g-section > * + * {
  margin-top: 16px;
}
.g-h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--green);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.g-article strong {
  color: var(--ink);
}
.g-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.g-meta__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.g-meta__author p {
  display: grid;
  line-height: 1.35;
}
.g-meta__author p span,
.g-meta dt {
  font: 500 10.5px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.g-meta__author strong {
  color: var(--ink);
}
.g-meta__author small {
  color: var(--muted);
}
/* Firma de organización: la aguja de la marca, en ámbar sobre verde (sin foto de ninguna persona). */
.g-meta__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--amber-t);
  box-shadow: 0 0 0 2px var(--paper, #fff), 0 0 0 3.5px var(--amber);
}
.g-meta__mark .spire {
  width: 20px;
  height: 24px;
}
.g-meta dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}
.g-meta dd {
  color: var(--ink);
  font-weight: 700;
}
.g-toc-mobile {
  display: none;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  font-size: 15px;
}
.g-toc-mobile summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--green);
}
.g-toc-mobile ol {
  display: grid;
  gap: 6px;
  margin: 12px 0 0 18px;
  list-style: decimal;
}
.g-tldr {
  position: relative;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--cream);
  border-left: 3px solid var(--amber);
}
.g-tldr ul {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.g-tldr li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 16.5px;
  line-height: 1.6;
}
.g-tldr li svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--green-3);
}
.g-list {
  display: grid;
  gap: 12px;
}
.g-list li {
  position: relative;
  padding-left: 24px;
}
.g-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}
.g-steps {
  position: relative;
  display: grid;
  gap: 22px;
}
.g-steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(var(--amber), var(--line));
}
.g-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
}
.g-steps__n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  background: #fff;
  font: italic 400 19px/1 var(--serif);
  color: var(--amber-d);
}
.g-steps__t {
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
}
.g-defs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.g-defs > div {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.3s;
}
.g-defs > div:hover {
  border-color: var(--amber-t);
}
.g-defs dt {
  font: 500 19px/1.3 var(--serif);
  color: var(--green);
}
.g-defs dd {
  margin-top: 6px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}
.g-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.g-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.55;
}
.g-table th,
.g-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.g-table tr:last-child > * {
  border-bottom: 0;
}
.g-table thead th {
  background: var(--green);
  color: #fff;
  font: 800 11px/1.3 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.g-table tbody th {
  width: 46%;
  font-weight: 700;
  color: var(--ink);
}
.g-table tbody tr:nth-child(even) {
  background: var(--cream);
}
.g-checks {
  display: grid;
  gap: 4px;
}
.g-checks label {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s;
}
.g-checks label:hover {
  background: var(--cream);
}
.g-checks input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.g-checks__box {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border: 1.5px solid var(--green-3);
  border-radius: 6px;
  background: #fff;
  color: #fff;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.g-checks__box svg {
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.25s,
    transform 0.35s var(--ease);
}
.g-checks input:checked + .g-checks__box {
  border-color: var(--green);
  background: var(--green);
}
.g-checks input:checked + .g-checks__box svg {
  opacity: 1;
  transform: none;
}
.g-checks input:checked ~ span:last-child {
  color: var(--muted);
}
.g-checks input:focus-visible + .g-checks__box {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.g-qs {
  display: grid;
  gap: 14px;
  counter-reset: q;
}
.g-qs li {
  position: relative;
  padding: 16px 18px 16px 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  counter-increment: q;
}
.g-qs li::before {
  content: counter(q);
  position: absolute;
  left: 16px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-l);
  font: italic 400 16px/1 var(--serif);
  color: var(--green);
}
.g-qs__lines {
  display: none;
}
.g-callout {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--amber-l);
  font-size: 16px;
}
.g-callout svg {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--amber-d);
}
.g-callout--tip {
  background: var(--green-l);
}
.g-callout--tip svg {
  color: var(--green-3);
}
.g-callout--warn {
  background: #fbeceb;
}
.g-callout--warn svg {
  color: #a4372e;
}
.cite {
  margin-left: 2px;
  font-size: 0.68em;
  line-height: 0;
}
.cite a {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--green-l);
  font-weight: 800;
  text-decoration: none;
  color: var(--green);
  transition:
    background 0.25s,
    color 0.25s;
}
.cite a:hover {
  background: var(--green);
  color: #fff;
}
.g-sources ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 12px 20px;
  list-style: decimal;
  font-size: 15px;
  line-height: 1.55;
}
.g-sources li {
  scroll-margin-top: calc(var(--header-h) + 40px);
}
.g-sources li:target {
  background: var(--review);
  border-radius: 4px;
}
.g-sources li span {
  color: var(--muted);
}
.g-sources a {
  color: var(--green);
}
.g-disclaimer {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.g-disclaimer svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--green-3);
}
.g-disclaimer__k {
  font-weight: 800;
  color: var(--ink);
}
.g-end {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.g-article .faq summary {
  font-size: 19px;
}

/* ——— Glosario ——— */
.gl {
  display: grid;
  gap: 32px;
}
.gl-letters {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}
.gl-letters a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font: 500 16px/1 var(--serif);
  text-decoration: none;
  color: var(--green);
  transition:
    background 0.25s,
    color 0.25s;
}
.gl-letters a:hover {
  background: var(--green);
  color: #fff;
}
.gl-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.gl-term {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  scroll-margin-top: calc(var(--header-h) + 90px);
  transition:
    border-color 0.3s,
    box-shadow 0.4s var(--ease);
}
.gl-term:hover {
  box-shadow: var(--shadow-sm);
}
.gl-term:target {
  border-color: var(--amber-t);
  box-shadow: 0 0 0 4px rgba(232, 151, 30, 0.18);
}
.gl-term dt {
  font: 500 22px/1.25 var(--serif);
  color: var(--green);
}
.gl-aka {
  margin-left: 6px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-d);
  vertical-align: middle;
}
.gl-term dd {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* Pie de página con cinco columnas cuando hay recursos */
.footer-top:has(> :nth-child(5)) {
  grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .res-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .res-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .g-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .g-side {
    display: none;
  }
  .g-toc-mobile {
    display: block;
  }
  .g-hero__cover {
    display: none;
  }
  .res-updates {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-top:has(> :nth-child(5)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .res-grid,
  .res-gloss__terms,
  .gl-list,
  .g-defs,
  .res-pillars {
    grid-template-columns: minmax(0, 1fr);
  }
  .res-stack {
    height: 240px;
  }
  .g-article {
    font-size: 16.5px;
  }
  .g-article > * + * {
    margin-top: 32px;
  }
  .g-qs li {
    padding-left: 52px;
  }
  .gl-letters {
    border-radius: 16px;
  }
  .gl-letters a {
    width: 30px;
    height: 30px;
  }
  .footer-top:has(> :nth-child(5)) {
    grid-template-columns: minmax(0, 1fr);
  }
}
:lang(zh) .g-title {
  font-weight: 400;
  letter-spacing: 0;
}

/* ——— Impresión (botón «Imprimir» de las guías) ——— */
@media print {
  @page {
    margin: 0.7in;
  }
  html,
  body {
    background: #fff !important;
  }
  .site-header,
  .mobile-menu,
  .site-footer,
  .mobile-bar,
  .preview-banner,
  .review__strip,
  .read-progress,
  .g-side,
  .g-toc-mobile,
  .g-actions,
  .g-end,
  .g-hero__cover,
  .hero-rose,
  .cta-band,
  .cursor-ring,
  .g-wrap ~ .section,
  .skip-link {
    display: none !important;
  }
  html.js [data-reveal],
  html.js [data-reveal] > *,
  html.js [data-reveal-split] .w > span {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  html.js [data-draw] .d {
    stroke-dashoffset: 0 !important;
  }
  .page-hero,
  .g-hero {
    padding: 0 0 18px !important;
    background: #fff !important;
    color: var(--ink) !important;
  }
  .page-hero::before {
    display: none;
  }
  .page-hero .h1,
  .page-hero .lead,
  .page-hero .eyebrow,
  .crumbs ol,
  .crumbs [aria-current] {
    color: var(--ink) !important;
  }
  .page-hero__grid,
  .g-grid {
    display: block;
  }
  .g-wrap {
    padding: 0 !important;
  }
  .g-article {
    max-width: none;
    font-size: 11.5pt;
  }
  .g-section,
  .g-steps li,
  .g-qs li,
  .g-defs > div,
  .g-callout,
  .g-table tr {
    break-inside: avoid;
  }
  .g-h2 {
    break-after: avoid;
  }
  .faq details::details-content {
    height: auto !important;
    content-visibility: visible !important;
  }
  .faq summary::before,
  .faq summary::after {
    display: none;
  }
  .g-qs__lines {
    display: block;
    height: 40px;
    margin-top: 6px;
    background: repeating-linear-gradient(to bottom, transparent 0 19px, #c3d4cb 19px 20px);
  }
  .g-sources a::after {
    content: " — " attr(href);
    font-size: 8.5pt;
    color: var(--muted);
    word-break: break-all;
  }
}

/* ——— Portadas de guías (también en el PDF: scripts/make-pdfs.mjs copia este bloque) ——— */
.gcv {
  --gcv-bg: #0c4a36;
  --gcv-fg: #ffffff;
  --gcv-soft: rgba(255, 255, 255, 0.72);
  --gcv-accent: #e8971e;
  --gcv-line: rgba(255, 255, 255, 0.18);
  --gcv-art: #e8971e;
  --gcv-serif: "Fraunces", "Noto Serif SC", Georgia, serif;
  --gcv-sans: "Manrope", "Noto Sans SC", system-ui, sans-serif;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 8.5 / 11;
  background: var(--gcv-bg);
  color: var(--gcv-fg);
  font-family: var(--gcv-sans);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.gcv--how-repatriation-works {
  --gcv-bg: #faf8f4;
  --gcv-fg: #0c4a36;
  --gcv-soft: #4d5b6c;
  --gcv-accent: #b5701a;
  --gcv-line: rgba(12, 74, 54, 0.16);
  --gcv-art: #1a6b50;
}
.gcv--checklist {
  --gcv-bg: #e8971e;
  --gcv-fg: #08382a;
  --gcv-soft: rgba(8, 56, 42, 0.78);
  --gcv-accent: #08382a;
  --gcv-line: rgba(8, 56, 42, 0.22);
  --gcv-art: #08382a;
}
.gcv--glossary {
  --gcv-bg: #1a6b50;
  --gcv-art: #fdf3e0;
}
.gcv--policy {
  --gcv-bg: #141e2c;
  --gcv-accent: #e8971e;
}
.gcv-art {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  width: 100%;
  height: 40%;
  fill: none;
  stroke: var(--gcv-art);
  stroke-width: 2;
}
.gcv__in {
  position: absolute;
  inset: 0;
  padding: 8cqw 8cqw 0;
}
.gcv__logo {
  display: block;
  width: auto;
  height: 5.4cqw;
}
.gcv__chip {
  display: inline-block;
  padding: 1.6cqw 2.2cqw;
  border-radius: 1.4cqw;
  background: #08382a;
}
.gcv__chip .gcv__logo {
  height: 4.4cqw;
}
.gcv__n {
  position: absolute;
  top: 7cqw;
  right: 8cqw;
  margin: 0;
  font: italic 300 5.4cqw/1 var(--gcv-serif);
  color: var(--gcv-accent);
}
.gcv__k {
  margin: 11cqw 0 0;
  font: 800 1.9cqw/1.2 var(--gcv-sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gcv-accent);
}
.gcv__t {
  margin: 2.6cqw 0 0;
  max-width: 86%;
  font: 300 8cqw/1.02 var(--gcv-serif);
  letter-spacing: -0.02em;
  color: var(--gcv-fg);
}
.gcv__s {
  margin: 2.8cqw 0 0;
  max-width: 72%;
  font: 400 2.9cqw/1.4 var(--gcv-sans);
  color: var(--gcv-soft);
}
.gcv__foot {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  bottom: 5.5cqw;
  display: flex;
  justify-content: space-between;
  gap: 3cqw;
  margin: 0;
  padding-top: 2.4cqw;
  border-top: 1px solid var(--gcv-line);
  font: 700 1.9cqw/1.4 var(--gcv-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gcv-soft);
}
.gcv__foot--pdf {
  align-items: center;
  justify-content: flex-start;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 1.6cqw;
}
.gcv__foot--pdf strong,
.gcv__foot--pdf b {
  color: var(--gcv-fg);
}
.gcv__qr {
  flex: none;
  width: 13cqw;
  height: 13cqw;
  padding: 0.9cqw;
  border-radius: 1cqw;
  background: #fff;
}
.gcv__qr svg {
  width: 100%;
  height: 100%;
}
.gcv__meta {
  margin: 0 0 0 auto;
  text-align: right;
}
.gcv:lang(zh) .gcv__t {
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}
/* Arte de cada portada */
.gcv--how-repatriation-works .gcv-art,
.gcv--checklist .gcv-art {
  height: 35%;
}
.gcv-art__arc {
  stroke-width: 3;
}
.gcv-art__arc.a2 {
  opacity: 0.7;
}
.gcv-art__arc.a3 {
  opacity: 0.45;
}
.gcv-art__rays {
  stroke-width: 3;
}
.gcv-art__sun {
  fill: var(--gcv-art);
  stroke: none;
}
.gcv-art__h {
  fill: var(--gcv-soft);
  stroke: none;
  font: 500 17px var(--gcv-sans);
}
.gcv-art__base {
  stroke: var(--gcv-line);
}
.gcv-art__land {
  stroke: none;
}
.gcv--how-repatriation-works pattern circle {
  fill: rgba(26, 107, 80, 0.45);
}
.gcv-art__route {
  stroke: #e8971e;
  stroke-width: 3.5;
  stroke-dasharray: 1 0;
}
.gcv-art__pin {
  fill: #0c4a36;
  stroke: #fff;
  stroke-width: 3;
}
.gcv-art__pin--end {
  fill: #e8971e;
}
.gcv-art__halo {
  stroke: #e8971e;
  stroke-width: 1.5;
  opacity: 0.6;
}
.gcv-art__box {
  stroke-width: 4;
  fill: rgba(255, 255, 255, 0.35);
}
.gcv-art__tick {
  stroke-width: 6;
}
.gcv-art__line {
  fill: rgba(8, 56, 42, 0.22);
  stroke: none;
}
.gcv-art__grid {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}
.gcv-art__big {
  fill: var(--gcv-art);
  stroke: none;
  font: 300 380px/1 var(--gcv-serif);
}
.gcv-art__big--it {
  font-style: italic;
  fill: #e8971e;
}
.gcv-art__dash {
  stroke: #e8971e;
  stroke-width: 6;
}
.gcv-art__ring {
  stroke: #e8971e;
  stroke-width: 3;
}
.gcv-art__ring--thin {
  stroke-width: 1.5;
  opacity: 0.6;
}
.gcv-art__seal {
  fill: rgba(255, 255, 255, 0.78);
  stroke: none;
  font: 700 21px var(--gcv-sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.gcv-art__nib {
  stroke: #e8971e;
  stroke-width: 3;
}
/* ——— fin: portadas de guías ——— */

/* Maqueta 3D de una portada (tarjetas y portadas de página) */
.res-mock {
  --mock-bg: var(--green-l);
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(ellipse 70% 60% at 70% 20%, rgba(255, 255, 255, 0.7), transparent 60%),
    var(--mock-bg);
  perspective: 1100px;
}
.res-mock--how-repatriation-works {
  --mock-bg: #dfeae4;
}
.res-mock--checklist {
  --mock-bg: #f6e6c8;
}
.res-mock--glossary {
  --mock-bg: #e3efe9;
}
.res-mock--policy {
  --mock-bg: #e7e9ee;
}
.res-mock__glow {
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: 56%;
  height: 12%;
  border-radius: 50%;
  background: rgba(8, 56, 42, 0.28);
  filter: blur(14px);
  transform: translateX(-50%);
}
.res-mock__doc {
  position: relative;
  width: 44%;
  container-type: inline-size;
  border-radius: 2px 5px 5px 2px;
  transform: rotateY(-24deg) rotateX(9deg) rotateZ(-3deg);
  transform-style: preserve-3d;
  box-shadow:
    -1px 0 0 rgba(0, 0, 0, 0.12),
    22px 26px 36px -16px rgba(8, 56, 42, 0.55);
  transition: transform 0.9s var(--ease);
}
.res-mock__doc::before {
  content: "";
  position: absolute;
  inset: 3% -3% -3% 3%;
  z-index: -1;
  border-radius: 2px 5px 5px 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(8, 56, 42, 0.08);
}
.res-mock__doc::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(255, 255, 255, 0.12) 60%, transparent);
  pointer-events: none;
}
.res-mock__doc .gcv {
  border-radius: 2px 5px 5px 2px;
}
.res-card:hover .res-mock__doc,
.res-mock:hover .res-mock__doc {
  transform: rotateY(-8deg) rotateX(4deg) rotateZ(0) translateY(-4%);
}
.res-mock__pdf {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.12em;
}
.res-stack__item .res-mock__doc,
.g-hero__cover .res-mock__doc {
  width: 100%;
  box-shadow:
    -1px 0 0 rgba(0, 0, 0, 0.2),
    30px 40px 60px -20px rgba(0, 0, 0, 0.55);
}
.res-stack {
  perspective: 1400px;
}
.res-stack__item {
  width: 46%;
  filter: none;
}
.g-hero__cover {
  max-width: 340px;
  perspective: 1200px;
}
.g-hero__cover .res-mock__doc {
  transform: rotateY(-18deg) rotateX(6deg) rotateZ(-2deg);
}
.g-hero__cover:hover .res-mock__doc {
  transform: rotateY(-6deg) rotateX(3deg);
}

/* ——— 24/7: emblema e íconos en vivo ——— */
.e247 {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.e247__ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.5;
}
.e247__day {
  fill: none;
  stroke: var(--amber);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.85;
}
.e247__night {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2 7;
}
.e247__tick {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.5;
}
.e247__tick--major {
  stroke: var(--amber);
  stroke-width: 2.5;
}
.e247__orbit {
  transform-origin: 120px 120px;
  animation: spin 24s linear infinite;
}
.e247__sun circle {
  fill: var(--amber);
}
.e247__rays {
  stroke: var(--amber);
  stroke-width: 2;
  stroke-linecap: round;
}
.e247__moon {
  fill: #fdf3e0;
}
.e247__star {
  fill: #fdf3e0;
  animation: twinkle 2.4s ease-in-out infinite;
}
.e247__star--2 {
  animation-delay: 1.2s;
}
.e247__core {
  fill: var(--green-deep);
  stroke: var(--amber);
  stroke-width: 1.5;
}
.e247__num {
  font: italic 400 38px var(--serif);
  fill: #fff;
  letter-spacing: -0.02em;
}
.e247__label {
  font: 800 10px var(--sans);
  fill: var(--amber);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.e247__live {
  fill: #4ade80;
  stroke: var(--green-deep);
  stroke-width: 3;
  animation: livebeat 1.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.e247__pulse {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.5;
  transform-origin: 120px 120px;
  animation: e247-pulse 3.2s ease-out infinite;
}
.e247__pulse--2 {
  animation-delay: 1.6s;
}
@keyframes e247-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}
@keyframes twinkle {
  50% {
    opacity: 0.2;
  }
}
@keyframes livebeat {
  50% {
    transform: scale(1.25);
  }
}
.live-ic {
  width: 28px;
  height: 28px;
  flex: none;
  overflow: visible;
}
.live-ic__wave {
  animation: wave 1.8s ease-out infinite;
}
.live-ic__wave--2 {
  animation-delay: 0.3s;
}
@keyframes wave {
  0%,
  100% {
    opacity: 0.15;
  }
  40% {
    opacity: 1;
  }
}
.live-ic__shake {
  transform-box: fill-box;
  transform-origin: center;
  animation: ringshake 2.4s ease-in-out infinite;
}
@keyframes ringshake {
  0%,
  56%,
  100% {
    transform: rotate(0);
  }
  60%,
  68%,
  76% {
    transform: rotate(-10deg);
  }
  64%,
  72%,
  80% {
    transform: rotate(10deg);
  }
}
.live-ic__dot {
  animation: typing 1.3s ease-in-out infinite;
}
.live-ic__dot--2 {
  animation-delay: 0.18s;
}
.live-ic__dot--3 {
  animation-delay: 0.36s;
}
@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}
.live-ic__star {
  animation: twinkle 2s ease-in-out infinite;
}
.live-ic__star--2 {
  animation-delay: 1s;
}
.live-ic__ripple {
  transform-box: fill-box;
  transform-origin: center;
  animation: ripple 2s ease-out infinite;
}
@keyframes ripple {
  0% {
    transform: scale(0.4);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
.live-ic__on {
  color: #4ade80;
  transform-box: fill-box;
  transform-origin: center;
  animation: livebeat 1.6s ease-in-out infinite;
}
.live-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}
.live-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}
.live-list .live-ic {
  color: var(--amber-t);
}
.live-now {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 999px;
  font: 800 11px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bbf7d0;
}
.live-now__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: live 2.2s infinite;
}
/* Pie de página: ayuda 24/7 */
.footer-help {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.footer-help__emblem {
  width: 200px;
}
.footer-help__copy {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.footer-help .live-list li {
  color: rgba(255, 255, 255, 0.82);
}
.footer-help__btns {
  flex-direction: column;
  align-items: stretch;
}
/* Llamado final y página de ayuda */
.cta-band__emblem {
  width: 132px;
}
.help-visual {
  position: relative;
}
.help-visual__emblem {
  position: absolute;
  left: -64px;
  bottom: -40px;
  width: 190px;
  padding: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: var(--shadow);
}
.page-hero .live-list li {
  color: rgba(255, 255, 255, 0.85);
}
.contact-card--live .live-ic {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  color: var(--green);
}
.contact-card--primary .live-ic {
  color: var(--green-deep);
}
.sit .live-ic,
.topic .icon .live-ic {
  width: 30px;
  height: 30px;
}
.sit > .live-ic {
  width: 44px;
  height: 44px;
  color: var(--amber-t);
}

/* ——— Cifras de autoridad ——— */
.figs {
  display: grid;
  gap: 26px;
}
.figs__head {
  display: grid;
  gap: 10px;
}
.figs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}
.fig {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px 24px 28px;
  border-right: 1px solid var(--line);
}
.fig:last-child {
  border-right: 0;
}
.fig__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-l);
  color: var(--green-3);
}
.fig__icon .lic,
.fig__icon .live-ic {
  width: 28px;
  height: 28px;
  color: var(--green-3);
}
.fig__k {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--amber-d);
}
.fig__v {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.figs--dark .figs__grid {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.figs--dark .fig {
  border-color: rgba(255, 255, 255, 0.12);
}
.figs--dark .fig__icon {
  background: rgba(255, 255, 255, 0.08);
}
.figs--dark .fig__icon .lic,
.figs--dark .fig__icon .live-ic {
  color: var(--amber-t);
}
.figs--dark .fig__k {
  color: var(--amber-t);
}
.figs--dark .fig__v {
  color: rgba(255, 255, 255, 0.66);
}
.figs--dark .figs__head .h3 {
  color: #fff;
}

/* ——— Plataforma de afiliación: "Usted tiene el control" ——— */
.showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.showcase__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}
.showcase__list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}
.showcase__list strong {
  display: block;
  font-size: 15.5px;
  line-height: 1.35;
}
.showcase__list li > span:last-child > span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.72;
}
.showcase__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232, 151, 30, 0.14);
}
.showcase__icon .lic,
.showcase__icon .live-ic {
  width: 26px;
  height: 26px;
  color: var(--amber-t);
}
.showcase__visual {
  position: relative;
  display: grid;
  justify-items: center;
}
.showcase__note {
  margin-top: 18px;
  font: 500 11px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}
/* Maqueta del portal */
.app {
  position: relative;
  width: min(100%, 460px);
  padding: 20px 70px 40px;
}
.app__phone {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 34px 18px 20px;
  border: 8px solid #0b1a14;
  border-radius: 38px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  font-size: 13px;
  line-height: 1.35;
  animation: float 7s ease-in-out infinite;
}
.app__notch {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 90px;
  height: 18px;
  border-radius: 12px;
  background: #0b1a14;
  transform: translateX(-50%);
}
.app__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app__bar img {
  width: 92px;
  height: auto;
}
.app__avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}
.app__hi {
  margin-top: 4px;
  font: 400 22px/1.1 var(--serif);
  color: var(--green);
}
.app__sub {
  margin-top: -6px;
  font-size: 12.5px;
  color: var(--muted);
}
.app__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.app__stats div {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--cream);
}
.app__stats b {
  font: 400 20px/1 var(--serif);
  color: var(--amber-d);
}
.app__stats span,
.app__k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.app__list {
  display: grid;
  gap: 8px;
}
.app__list li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(8px);
  animation: app-in 0.7s var(--ease) forwards;
  animation-delay: calc(0.5s + var(--i) * 0.25s);
}
@keyframes app-in {
  to {
    opacity: 1;
    transform: none;
  }
}
.app__av {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-l);
  color: var(--green);
  font-weight: 800;
}
.app__who {
  display: grid;
  min-width: 0;
}
.app__who strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app__who small {
  font-size: 11.5px;
  color: var(--muted);
}
.app__ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 800;
}
.app__ok svg {
  width: 12px;
  height: 12px;
}
.app__todo {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--amber-l);
  color: var(--amber-d);
  font-size: 11px;
  font-weight: 800;
}
.app__btns {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.app__btn {
  display: block;
  padding: 10px;
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  text-align: center;
  font-weight: 800;
  font-size: 12.5px;
  color: var(--green);
}
.app__btn--alert {
  border: 0;
  background: var(--amber);
  color: var(--green-deep);
}
.app__float {
  position: absolute;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5);
  font-size: 12.5px;
}
.app__float--form {
  left: -34px;
  bottom: 24px;
  width: 190px;
  animation: float 6s ease-in-out -2s infinite;
}
.app__float--doc {
  right: -4px;
  top: 90px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 6.5s ease-in-out -4s infinite;
}
.app__float--doc .lic {
  width: 30px;
  height: 30px;
  color: var(--green-3);
}
.app__float--doc span {
  display: grid;
}
.app__float--doc small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #166534;
  font-weight: 800;
}
.app__float--doc small svg {
  width: 12px;
  height: 12px;
}
.app__step {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-d);
}
.app__progress {
  height: 4px;
  margin: 8px 0 10px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.app__progress i {
  display: block;
  height: 100%;
  width: 66%;
  background: var(--amber);
  transform-origin: left;
  animation: progress 3s var(--ease) infinite alternate;
}
@keyframes progress {
  from {
    transform: scaleX(0.5);
  }
  to {
    transform: scaleX(1);
  }
}
.app__ftitle {
  font: 400 16px/1.2 var(--serif);
  color: var(--green);
}
.app__field {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.app__field span {
  font-size: 10px;
  color: var(--muted);
}
.app__field b {
  font-size: 12.5px;
}
.app__typing {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--amber);
  width: 0;
  animation:
    typing-w 3.6s steps(12) infinite,
    caret 0.8s step-end infinite;
}
@keyframes typing-w {
  0% {
    width: 0;
  }
  45%,
  100% {
    width: 11ch;
  }
}
@keyframes caret {
  50% {
    border-color: transparent;
  }
}
.app__ready {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-weight: 800;
  color: var(--green);
}
.app__ready .live-ic {
  width: 20px;
  height: 20px;
  color: var(--amber-d);
}
/* Portada: la insignia de la membresía (antes, el anillo de meses) */
.mem__badge {
  position: absolute;
  right: -18px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 310px;
  padding: 14px 20px 14px 14px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 13.5px;
  line-height: 1.4;
}
.mem__badge .lic {
  width: 44px;
  height: 44px;
  flex: none;
  color: var(--amber-d);
}
.mem__badge strong {
  display: block;
  font-size: 14.5px;
}
.mem__badge span {
  color: var(--muted);
}

/* ——— Mapa interactivo de países participantes ——— */
.cmap {
  display: grid;
  gap: 18px;
}
.cmap__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(18px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 60% at 20% 20%, rgba(26, 107, 80, 0.5), transparent 60%),
    var(--green-deep);
  overflow: hidden;
}
.cmap__svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.cmap__ctx path {
  fill: rgba(255, 255, 255, 0.07);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 0.8;
}
.cmap__inset {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(232, 151, 30, 0.45);
  stroke-width: 1.2;
  stroke-dasharray: 4 5;
}
.cmap__c {
  cursor: pointer;
  outline: none;
}
.cmap__c path {
  fill: #2f7a5f;
  stroke: var(--green-deep);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  transition:
    fill 0.45s var(--ease),
    transform 0.6s var(--ease),
    filter 0.6s var(--ease);
}
.cmap__c:hover path {
  fill: #3d8f71;
}
.cmap__c.is-up path {
  fill: var(--amber);
  transform: translateY(-10px) scale(1.07);
  filter: drop-shadow(0 14px 10px rgba(0, 0, 0, 0.45));
}
.cmap__hit {
  fill: #2f7a5f;
  stroke: var(--green-deep);
  stroke-width: 2;
}
.cmap__c.is-up .cmap__hit {
  fill: var(--amber);
}
.cmap__pin {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.cmap__pin circle {
  fill: #fff;
}
.cmap__pin.is-on {
  opacity: 1;
}
.cmap__pulse {
  fill: none !important;
  stroke: #fff;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: ripple 1.8s ease-out infinite;
}
.cmap__cards {
  position: relative;
  min-height: 100%;
}
.cmap__card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 14px;
  margin: 0;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition:
    opacity 0.6s var(--ease),
    transform 0.8s var(--ease);
  pointer-events: none;
}
.cmap__card.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.cmap__photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.6);
}
.cmap__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 3.5s var(--ease);
}
.cmap__card.is-active .cmap__photo img {
  transform: scale(1);
}
.cmap__photo--empty {
  display: grid;
  place-items: center;
}
.cmap__photo--empty .lic {
  width: 30%;
  height: auto;
  color: rgba(255, 255, 255, 0.35);
}
.cmap__card figcaption {
  display: grid;
  gap: 4px;
  color: #fff;
}
.cmap__card figcaption strong {
  font: 400 clamp(26px, 2.6vw, 36px) / 1.1 var(--serif);
}
.cmap__card figcaption small {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.cmap__code {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.16em;
  color: var(--amber-t);
}
.cmap__card .review {
  display: contents;
}
.cmap__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cmap__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.cmap__hint .live-ic {
  width: 24px;
  height: 24px;
  color: var(--amber-d);
}
.cmap__credit {
  margin-left: auto;
  font: 500 11px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cmap__play {
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font: 700 13px/1 var(--sans);
  cursor: pointer;
}
.cmap__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cmap__list button {
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font: 700 13.5px/1 var(--sans);
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.cmap__list button:hover {
  border-color: var(--green);
}
.cmap__list button[aria-pressed="true"] {
  border-color: var(--amber-t);
  background: var(--amber);
  color: var(--green-deep);
}
.cmap__list button:focus-visible,
.cmap__play:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ——— Servicios funerarios: alcance y pasos ——— */
.scope__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.scope__visual {
  max-width: 420px;
}
.rings {
  width: 100%;
  height: auto;
  overflow: visible;
}
.rings__ring {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1.5;
  transition:
    stroke 0.4s,
    stroke-width 0.4s;
}
.rings__link {
  stroke: var(--line-2);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
}
.rings__dot {
  fill: var(--green-3);
}
.rings__core {
  fill: var(--amber);
}
.rings__label {
  font: 800 11px var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  fill: var(--muted);
}
.rings__lvl .rings__ring {
  animation: ring-glow 8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}
@keyframes ring-glow {
  0%,
  20% {
    stroke: var(--amber);
    stroke-width: 3;
  }
  30%,
  100% {
    stroke: var(--line-2);
    stroke-width: 1.5;
  }
}
.scope:has(.scope__lvl:hover) .rings__ring {
  animation: none;
}
.scope:has(.scope__lvl[data-level="1"]:hover) .rings__lvl--1 .rings__ring,
.scope:has(.scope__lvl[data-level="2"]:hover) .rings__lvl--2 .rings__ring,
.scope:has(.scope__lvl[data-level="3"]:hover) .rings__lvl--3 .rings__ring,
.scope:has(.scope__lvl[data-level="4"]:hover) .rings__lvl--4 .rings__ring {
  stroke: var(--amber);
  stroke-width: 3;
}
.scope__levels {
  display: grid;
  gap: 14px;
}
.scope__lvl {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    border-color 0.3s,
    box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.scope__lvl:hover {
  border-color: var(--amber-t);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.scope__n {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  font: italic 400 22px/1 var(--serif);
  color: var(--amber-d);
}
.scope__k {
  font: 500 22px/1.2 var(--serif);
  color: var(--green);
}
.scope__k span {
  font: 600 14px var(--sans);
  color: var(--muted);
}
.scope__lvl p + p {
  margin-top: 6px;
  font-size: 15.5px;
  color: var(--ink-2);
}
.how {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: how;
}
.how__step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.how__n {
  position: absolute;
  right: 20px;
  top: 18px;
  font: italic 300 30px/1 var(--serif);
  color: #5f8a7b; /* 30 px: basta 3:1 */
}
.how__icon .lic {
  width: 44px;
  height: 44px;
  color: var(--amber-d);
}
.how__step p {
  font-size: 15px;
  color: var(--muted);
}
.topic--row {
  flex-direction: row;
  align-items: center;
}
.topic--row .icon {
  flex: none;
}

/* ——— Cotización (repatriación) ——— */
.quote-card {
  display: grid;
  gap: 14px;
  padding: 30px 30px 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 151, 30, 0.35);
}
.quote-card__icon .lic {
  width: 46px;
  height: 46px;
  color: var(--amber-t);
}
.quote-card .h3 {
  color: #fff;
}
.quote-card p {
  color: rgba(255, 255, 255, 0.78);
}
.quote-card ul {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.quote-card li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}
.quote-card li svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--amber-t);
}
.review .quote-card {
  background: var(--green);
}

/* Contraste dentro de secciones oscuras y de bloques pendientes */
.showcase .app p,
.showcase .app strong {
  color: var(--ink);
}
.showcase .app .app__hi,
.showcase .app .app__ftitle,
.showcase .app .app__ready {
  color: var(--green);
}
.showcase .app .app__sub {
  color: var(--muted);
}
.showcase .app .app__step {
  color: var(--amber-d);
}
.on-dark .mem__badge p,
.on-dark .mem__badge strong {
  color: var(--ink);
}
.on-dark .mem__badge span {
  color: var(--muted);
}
.review:not(.review--page) .quote-card p,
.review:not(.review--page) .quote-card li {
  color: rgba(255, 255, 255, 0.8);
}
.figs__grid > .review {
  padding: 28px 0 0;
  border-radius: 0;
}
.figs__grid > .review .fig {
  border: 0;
}

/* Pie de página: enlace "ver todos los recursos" */
.footer-col__more {
  color: var(--amber-t);
  font-weight: 700;
}

@media (max-width: 1200px) {
  .how {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .showcase__grid,
  .scope__grid,
  .cmap__stage {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-help {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .footer-help__emblem {
    width: 140px;
  }
  .footer-help__btns {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .help-visual__emblem {
    left: auto;
    right: -10px;
    width: 150px;
  }
}
@media (max-width: 720px) {
  .showcase__list,
  .how {
    grid-template-columns: minmax(0, 1fr);
  }
  .app {
    padding: 10px 26px 40px;
  }
  .app__float--form {
    left: -14px;
    width: 180px;
    bottom: 40px;
  }
  .app__float--doc {
    right: -12px;
  }
  .footer-help {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .footer-help__copy {
    justify-items: center;
  }
  .footer-help .live-list {
    display: grid;
    justify-content: center;
    text-align: left;
  }
  .app__float--form {
    display: none;
  }
  .app__float--doc {
    top: 40px;
    right: 0;
    padding: 10px 12px;
  }
  .fig {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .figs--dark .fig {
    border-color: rgba(255, 255, 255, 0.12);
  }
  .mem__badge {
    right: 8px;
    bottom: -30px;
    max-width: calc(100% - 16px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .app__list li {
    opacity: 1;
    transform: none;
  }
  .app__typing {
    width: auto;
  }
}

/* ——— Pantallas medianas ——— */
@media (max-width: 1200px) {
  .nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .srv-grid,
  .svc-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__map {
    right: -18%;
    width: 78vw;
    opacity: 0.55;
  }
}
@media (max-width: 960px) {
  .grid-2,
  .grid-2--wide-left,
  .steps,
  .story,
  .mem,
  .page-hero__grid,
  .svc-hero__grid,
  .section-head--split,
  .case,
  .people-strip,
  .roles-note,
  .roles__rule,
  .voice {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps__intro {
    position: static;
  }
  .sits__grid,
  .trio,
  .roles,
  .letters,
  .topics--3,
  .timeline {
    grid-template-columns: minmax(0, 1fr);
  }
  .trio::before {
    display: none;
  }
  .sit {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .facts--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .hero__map {
    top: auto;
    bottom: -8%;
    right: -30%;
    width: 110vw;
    transform: none;
    opacity: 0.35;
  }
  .voice__photo {
    max-width: 360px;
  }
  .page-hero__grid .stage,
  .svc-hero__visual {
    max-width: 520px;
  }
  .band__content {
    justify-items: start;
    text-align: left;
  }
  .mem__ring {
    right: 8px;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .topbar__mail,
  .social--top,
  .portal-link,
  .header-cta {
    display: none;
  }
  .brand img {
    height: 30px;
  }
  .srv-grid,
  .svc-cards,
  .team,
  .topics,
  .compare,
  .form__row,
  .case__roles,
  .pay__kinds,
  .req__status {
    grid-template-columns: minmax(0, 1fr);
  }
  .fact + .fact {
    padding-left: 0;
    border-left: 0;
  }
  .facts {
    gap: 0 18px;
  }
  .hero__people {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__year,
  .scroll-cue {
    display: none;
  }
  .step {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .step > .lic {
    display: none;
  }
  .step__num {
    padding-left: 12px;
  }
  .btn-row .btn {
    white-space: normal;
  }
  .mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(8, 56, 42, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.5);
  }
  .mobile-bar .btn {
    min-height: 46px;
  }
  .mobile-bar .btn--ghost {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
  }
  .site-footer {
    padding-bottom: 96px;
  }
  .mem__ring {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 16px;
  }
  .svc-hero__visual .tagline,
  .story__photo .tagline {
    left: 12px;
    right: auto;
  }
  .svc-hero__icon {
    right: 8px;
  }
}

/* ——— Chino simplificado ——— */
:lang(zh) {
  --serif: "Fraunces", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Manrope", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
:lang(zh) body,
:lang(zh) .display,
:lang(zh) .h1,
:lang(zh) .h2,
:lang(zh) .h3,
:lang(zh) .hero__title {
  letter-spacing: 0;
}
:lang(zh) .display,
:lang(zh) .h1,
:lang(zh) .h2,
:lang(zh) .hero__title {
  line-height: 1.25;
}
:lang(zh) .hero__title {
  max-width: 11em;
  font-size: clamp(42px, 6.4vw, 92px);
}
:lang(zh) p,
:lang(zh) li {
  line-height: 1.8;
}
:lang(zh) em,
:lang(zh) .tagline,
:lang(zh) .hand,
:lang(zh) .quote,
:lang(zh) blockquote,
:lang(zh) .svc-hero__statement,
:lang(zh) .trio__verb,
:lang(zh) .req__quote {
  font-style: normal;
}
:lang(zh) .eyebrow,
:lang(zh) .kicker,
:lang(zh) .tag,
:lang(zh) .trio__who {
  letter-spacing: 0.06em;
}

/* ——— Movimiento reducido ——— */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html.js [data-reveal],
  html.js [data-reveal] > *,
  html.js [data-reveal-split] .w > span {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
  html.js [data-draw] .d,
  .map__route {
    stroke-dashoffset: 0;
  }
  .map__pin {
    transform: none;
  }
  .map__flow,
  .cursor-ring {
    display: none;
  }
  .ring__seg {
    stroke-dasharray: var(--seg) var(--rest);
  }
}

/* Botón «Pausar animaciones» (WCAG 2.2.2): las mismas reglas que el movimiento reducido del sistema. */
html.motion-off *,
html.motion-off *::before,
html.motion-off *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}
html.motion-off.js [data-reveal],
html.motion-off.js [data-reveal] > *,
html.motion-off.js [data-reveal-split] .w > span {
    opacity: 1;
    transform: none;
    clip-path: none;
}
html.motion-off.js [data-draw] .d,
html.motion-off .map__route {
    stroke-dashoffset: 0;
}
html.motion-off .map__pin {
    transform: none;
}
html.motion-off .map__flow,
html.motion-off .cursor-ring {
    display: none;
}
html.motion-off .ring__seg {
    stroke-dasharray: var(--seg) var(--rest);
}

html.motion-off .app__list li {
  opacity: 1;
  transform: none;
}
html.motion-off .app__typing {
  width: auto;
}

.motion-toggle {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.motion-toggle--top {
  font-size: 12.5px;
  opacity: 0.85;
}
.motion-toggle:hover,
.motion-toggle:focus-visible {
  opacity: 1;
}
