/* ==========================================================================
   Alianza Global — sistema visual
   Azul heredado del sitio original (#1155CC) llevado a una escala completa.
   ========================================================================== */

:root {
  /* Motion tokens — las 4 constantes */
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
  --motion-fast: 300ms;
  --motion-base: 520ms;
  --motion-slow: 700ms;

  /* Azules */
  --brand: #1155CC;
  --brand-rgb: 17, 85, 204;
  --brand-light: #3E86F5;
  --brand-dark: #0D47A8;
  --ink-900: #04142F;
  --ink-800: #061E4A;
  --ink-700: #0A2A63;

  /* Acentos */
  --mint: #35D07F;
  --mint-rgb: 53, 208, 127;
  --mint-deep: #06321C;
  --gold: #E8B44A;

  /* Superficies claras */
  --paper: #FBFCFE;
  --paper-rgb: 251, 252, 254;
  --paper-soft: #EFF4FC;
  --paper-line: #DEE7F5;
  --card: #FFFFFF;

  /* Texto */
  --text: #0B1A33;
  --text-soft: #4E6082;
  --text-mute: #7A8AA6;
  --on-dark-soft: #A8C4EE;
  --on-dark-mute: #7C9AD0;

  /* Formas */
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  /* Sombras — tintadas de azul, nunca gris puro */
  --sh-1: 0 1px 2px rgba(6, 30, 74, .05), 0 4px 14px rgba(6, 30, 74, .05);
  --sh-2: 0 2px 6px rgba(6, 30, 74, .06), 0 16px 40px rgba(6, 30, 74, .09);
  --sh-3: 0 4px 10px rgba(6, 30, 74, .07), 0 30px 70px rgba(6, 30, 74, .16);
  --sh-brand: 0 10px 30px rgba(var(--brand-rgb), .3);
  --sh-mint: 0 10px 30px rgba(var(--mint-rgb), .32);

  --header-h: 80px;
  --wrap: 1200px;

  /* Grano: una sola textura reutilizada en todo el sitio */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* ============================================================== Cimientos */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--brand) var(--paper-soft);
  -webkit-text-size-adjust: 100%;
}
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper-soft); }
::-webkit-scrollbar-thumb {
  min-height: 72px; border: 3px solid var(--paper-soft); border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-light), var(--brand-dark));
}
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
::selection { background: rgba(var(--mint-rgb), .3); }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.028em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.5rem); letter-spacing: -.02em; }
h4 { font-size: 1.05rem; letter-spacing: -.015em; }
p  { margin: 0 0 1.15em; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
@media (min-width: 1300px) { .wrap { width: min(100% - 96px, var(--wrap)); } }
section { scroll-margin-top: 104px; }

/* Texto con degradado — sólo en palabras clave, nunca en párrafos */
.grad {
  background: linear-gradient(104deg, var(--brand-light) 8%, var(--mint) 94%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-ink {
  background: linear-gradient(104deg, var(--brand) 6%, #6F3BE8 96%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Antetítulo con punto latente */
.eyebrow {
  display: inline-flex; align-items: center; gap: .62em;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .73rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .16);
}
.on-dark .eyebrow { color: var(--mint); }
.on-dark .eyebrow::before { box-shadow: 0 0 0 4px rgba(var(--mint-rgb), .18); }

.lead { font-size: 1.1rem; color: var(--text-soft); max-width: 43.92em; }   /* = 60ch de Plus Jakarta Sans; en em para que no cambie cuando la fuente llega tarde */
.on-dark .lead { color: var(--on-dark-soft); }
.head { max-width: 42.456em; }   /* = 58ch */
.head.center { margin-inline: auto; text-align: center; }
.head.center .lead { margin-inline: auto; }

/* Franjas */
.band { position: relative; padding: clamp(80px, 9vw, 128px) 0; }
.band-soft { background: var(--paper-soft); }
.band-dark { background: var(--ink-800); color: #fff; isolation: isolate; overflow: hidden; }
.band-dark p  { color: var(--on-dark-soft); }
.band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }

/* Aurora: dos manchas difusas y el grano. El sello de las franjas oscuras. */
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); }
.aurora::before {
  width: 620px; height: 620px; top: -220px; right: -140px;
  background: radial-gradient(circle, rgba(62, 134, 245, .62), transparent 68%);
}
.aurora::after {
  width: 540px; height: 540px; bottom: -240px; left: -160px;
  background: radial-gradient(circle, rgba(53, 208, 127, .34), transparent 68%);
}
.grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .055; mix-blend-mode: overlay;
}

/* ================================================================ Botones */

.btn {
  --bg: var(--brand); --fg: #fff;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .62em;
  padding: 16px 32px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: inherit; font-size: .97rem; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--sh-brand);
  transition: background var(--motion-base) var(--motion-ease),
              box-shadow var(--motion-base) var(--motion-ease),
              filter var(--motion-fast) var(--motion-ease),
              color var(--motion-fast) var(--motion-ease);
}
.btn svg { width: 18px; height: 18px; }
/* §18 — el botón se enciende, no se eleva */
.btn:hover, .btn:focus-visible {
  transform: none; background: var(--brand-light); filter: brightness(1.04);
  box-shadow: 0 0 0 1px rgba(255,255,255,.24) inset,
              0 0 34px rgba(var(--brand-rgb), .46),
              0 20px 46px rgba(6, 30, 74, .3);
}
.btn-mint { --bg: var(--mint); --fg: var(--mint-deep); box-shadow: var(--sh-mint); }
.btn-mint:hover, .btn-mint:focus-visible {
  background: #4AE394;
  box-shadow: 0 0 0 1px rgba(255,255,255,.34) inset,
              0 0 34px rgba(var(--mint-rgb), .5),
              0 20px 46px rgba(6, 30, 74, .26);
}
.btn-line { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1.6px var(--paper-line); }
.btn-line:hover, .btn-line:focus-visible {
  background: rgba(var(--brand-rgb), .06); color: var(--brand); filter: none;
  box-shadow: inset 0 0 0 1.6px rgba(var(--brand-rgb), .42);
}
.on-dark .btn-line, .hero .btn-line { --fg: #fff; box-shadow: inset 0 0 0 1.6px rgba(255,255,255,.3); }
.on-dark .btn-line:hover, .hero .btn-line:hover,
.on-dark .btn-line:focus-visible, .hero .btn-line:focus-visible {
  background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.6px rgba(255,255,255,.56);
}

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

/* ============================================================== Preloader */

.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--ink-900); }
.preloader[data-stage="closing"] .pre-in { opacity: 0; transition: opacity 620ms var(--motion-ease); }
.preloader[data-stage="opening"] { pointer-events: none; background: transparent; }
.preloader[data-stage="done"] { display: none; }
.pre-in { position: relative; z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 22px; }   /* sobre las cortinas (z-index 99): antes el logo del preloader nunca se veía */
.pre-in svg { width: 68px; height: 68px; }
.pre-name { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; color: #fff; letter-spacing: -.02em; margin: 0; }
.pre-track { width: 200px; height: 3px; border-radius: 999px; background: rgba(255,255,255,.16); overflow: hidden; }
.pre-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-light), var(--mint)); }

.curtain-l, .curtain-r {
  position: fixed; top: 0; bottom: 0; width: 50%; background: var(--ink-900); z-index: 99;
  transition: transform 1.24s cubic-bezier(.85, 0, .15, 1) .18s;
}
.curtain-l { left: 0; } .curtain-r { right: 0; }
.preloader[data-stage="opening"] .curtain-l { transform: translateX(-100%); }
.preloader[data-stage="opening"] .curtain-r { transform: translateX(100%); }

/* ================================================================= Header */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h); display: flex; align-items: center;
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  background: rgba(var(--paper-rgb), .78);
  border-bottom: 1px solid transparent;
  transition: background var(--motion-base) var(--motion-ease),
              border-color var(--motion-base) var(--motion-ease),
              box-shadow var(--motion-base) var(--motion-ease);
}
.site-header.stuck {
  background: rgba(var(--paper-rgb), .93);
  border-bottom-color: var(--paper-line);
  box-shadow: 0 10px 30px rgba(6, 30, 74, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.04; }
.logo-text strong { font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; font-weight: 600; color: var(--ink-800); letter-spacing: -.025em; }
.logo-text span { font-size: .6rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--text-mute); }

.header-nav { display: flex; align-items: center; gap: 2px; }
.header-nav a {
  position: relative; padding: 10px 14px; border-radius: 999px; white-space: nowrap;
  font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--text-soft);
  transition: color var(--motion-fast) var(--motion-ease), background var(--motion-fast) var(--motion-ease);
}
.header-nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform var(--motion-base) var(--motion-ease);
}
.header-nav a:hover, .header-nav a.current { color: var(--brand); }
.header-nav a.current::after { transform: scaleX(1); }
/* El nav es más específico que .btn: el CTA recupera su propio color (§12). */
.header-nav a.btn, .header-nav a.btn.current { color: var(--fg); background: var(--bg); margin-left: 12px; }
.header-nav a.btn::after { display: none; }
.header-nav a.btn:hover { background: var(--brand-light); color: var(--fg); }
.header-nav a.btn:active, .btn:active { transform: translateY(1.5px); transition-duration: 110ms; }
.btn { will-change: box-shadow; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: var(--r-sm);
  background: rgba(var(--brand-rgb), .08); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle i {
  display: block; position: relative; width: 20px; height: 2px; border-radius: 2px; background: var(--ink-800);
  transition: background var(--motion-fast) var(--motion-ease);
}
.nav-toggle i::before, .nav-toggle i::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: var(--ink-800);
  transition: transform var(--motion-fast) var(--motion-ease);
}
.nav-toggle i::before { top: -6px; } .nav-toggle i::after { top: 6px; }
.nav-toggle[aria-expanded="true"] i { background: transparent; }
.nav-toggle[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i::after  { transform: translateY(-6px) rotate(-45deg); }

.progress-bar-top { position: fixed; top: var(--header-h); left: 0; right: 0; height: 2px; z-index: 49; pointer-events: none; }
.progress-bar-top span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--mint));
  transform-origin: left; transform: scaleX(0); transition: transform 120ms linear;
}

/* =================================================================== Hero */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + 84px) 0 0;
  background: linear-gradient(168deg, #0B2E73 0%, var(--ink-800) 54%, var(--ink-900) 100%);
  color: #fff;
}
.hero .aurora::before { width: 760px; height: 760px; top: -260px; right: -180px; }
.hero .aurora::after  { width: 600px; height: 600px; bottom: 60px; left: -200px; }

/* Mapa punteado con los arcos de vuelo */
.hero-map { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; }
.hero-map svg { width: 100%; height: 100%; }
.arc { stroke-dasharray: 230; stroke-dashoffset: 230; animation: traza 6s var(--motion-ease) infinite; }
.arc-2 { animation-delay: 1.7s; }
@keyframes traza {
  0%   { stroke-dashoffset: 230; opacity: 0; }
  16%  { opacity: 1; }
  56%  { stroke-dashoffset: 0; opacity: 1; }
  86%  { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 64px; align-items: center; padding-bottom: 76px; }

.hero-chip {
  display: inline-flex; align-items: center; gap: .7em;
  padding: 7px 18px 7px 8px; border-radius: 999px; margin: 0 0 26px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  font-size: .83rem; color: #D5E5FF; backdrop-filter: blur(10px);
}
.hero-chip b { color: #fff; font-weight: 700; }
.hero-chip .dots { display: inline-flex; }
.hero-chip .dots span {
  width: 25px; height: 25px; border-radius: 50%; margin-right: -9px;
  border: 2px solid var(--ink-800); display: grid; place-items: center;
  font-size: .6rem; font-weight: 800; color: #06203F;
}
.hero-chip .dots span:nth-child(1) { background: #9CC4FF; }
.hero-chip .dots span:nth-child(2) { background: #7BE3AF; }
.hero-chip .dots span:nth-child(3) { background: #F3CE84; margin-right: 11px; }

.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 .grad { display: inline-block; }
.hero-sub { font-size: 1.14rem; color: #BFD5F6; max-width: 35.136em; margin-bottom: 34px; }   /* = 48ch */
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; margin-bottom: 38px; }
.hero-actions .nota { font-size: .82rem; color: var(--on-dark-mute); }

.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.hero-points li { display: flex; align-items: center; gap: 13px; font-size: .97rem; color: #D5E5FF; }
.hero-points i {
  width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(var(--mint-rgb), .16); border: 1px solid rgba(var(--mint-rgb), .4); color: var(--mint);
}
.hero-points svg { width: 13px; height: 13px; }

/* --- La libreta de pasaporte: pieza central del hero --- */
.passport {
  position: relative; border-radius: var(--r-xl); padding: 30px 30px 26px;
  background: linear-gradient(158deg, rgba(255,255,255,.17), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: var(--sh-3), 0 0 60px rgba(62,134,245,.2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.passport::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-xl);
  background-image: var(--grain); opacity: .06; pointer-events: none; mix-blend-mode: overlay;
}
.pp-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px dashed rgba(255,255,255,.22);
}
.pp-head small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-mute); }
.pp-head strong { font-family: "Fraunces", Georgia, serif; font-size: 1.14rem; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.pp-seal { width: 58px; height: 58px; flex: none; color: var(--gold); animation: gira 28s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }

.pp-rows { display: grid; gap: 12px; }
.pp-row {
  display: flex; align-items: center; gap: 15px;
  padding: 15px 17px; border-radius: var(--r);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  transition: background var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease);
}
.pp-row:hover { background: rgba(255,255,255,.12); border-color: rgba(var(--mint-rgb), .36); }
.pp-step {
  width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center;
  font-family: "Fraunces", Georgia, serif; font-size: .95rem; font-weight: 600;
  background: rgba(var(--mint-rgb), .18); border: 1px solid rgba(var(--mint-rgb), .4); color: var(--mint);
}
.pp-row div { min-width: 0; }
.pp-row strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: .95rem; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.pp-row small { display: block; font-size: .8rem; color: var(--on-dark-mute); line-height: 1.5; }

/* Banda legible a máquina, como en un pasaporte real */
.pp-mrz {
  margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed rgba(255,255,255,.22);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .68rem; letter-spacing: .14em; color: var(--on-dark-mute);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.pp-stamp {
  position: absolute; right: 20px; bottom: 56px; transform: rotate(-13deg);
  padding: 7px 15px; border-radius: 8px;
  border: 2px solid rgba(var(--mint-rgb), .72); color: var(--mint);
  font-size: .71rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(var(--mint-rgb), .1);
}

/* --- Franja de cifras al pie del hero --- */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.hero-stat { padding: 32px 10px 38px; text-align: center; position: relative; }
.hero-stat + .hero-stat::before {
  content: ""; position: absolute; left: 0; top: 28px; bottom: 32px; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.18), transparent);
}
.hero-stat b {
  display: block; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 600; color: #fff; line-height: 1; letter-spacing: -.03em; margin-bottom: 9px;
}
.hero-stat span { font-size: .8rem; color: var(--on-dark-mute); letter-spacing: .05em; }

/* =============================================================== Nosotros */

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 68px; align-items: center; }

.about-media { position: relative; }
.about-media::before {   /* marco desplazado */
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--r-xl);
  background: linear-gradient(140deg, rgba(var(--brand-rgb), .14), rgba(var(--mint-rgb), .2));
  z-index: -1;
}
.about-media img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--sh-3); object-fit: cover; }
.about-badge {
  position: absolute; left: -26px; bottom: 32px;
  display: flex; align-items: center; gap: 13px;
  padding: 16px 21px; border-radius: var(--r); background: #fff;
  box-shadow: var(--sh-2); max-width: 268px;
}
.about-badge i { width: 42px; height: 42px; border-radius: 13px; flex: none; display: grid; place-items: center; background: rgba(var(--mint-rgb), .14); color: #11915A; }
.about-badge svg { width: 21px; height: 21px; }
.about-badge strong { display: block; font-size: .92rem; font-weight: 700; letter-spacing: -.01em; }
.about-badge small { display: block; font-size: .78rem; color: var(--text-mute); line-height: 1.45; }

.about-quote {
  margin: 30px 0 28px; padding: 22px 26px; border-radius: var(--r);
  background: var(--paper-soft); border-left: 3px solid var(--brand);
  font-family: "Fraunces", Georgia, serif; font-size: 1.1rem; font-style: italic;
  color: var(--ink-700); line-height: 1.52;
}
.about-quote p { margin: 0; color: inherit; }
.about-sign { display: flex; align-items: center; gap: 14px; }
.about-sign i {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: #fff;
  font-family: "Fraunces", Georgia, serif; font-size: 1.05rem; font-weight: 600;
}
.about-sign b { display: block; font-size: .96rem; letter-spacing: -.01em; }
.about-sign small { display: block; font-size: .82rem; color: var(--text-mute); }

/* ======================================================= Tarjetas comunes */

.grid { display: grid; gap: 26px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--card); border: 1px solid var(--paper-line); border-radius: var(--r-lg);
  padding: 34px 30px; box-shadow: var(--sh-1);
  transition: border-color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}
.card::before {   /* resplandor que entra al pasar el mouse, apenas insinuado */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(460px 240px at 50% -10%, rgba(var(--brand-rgb), .07), transparent 72%);
  transition: opacity 620ms var(--motion-ease);
}
.card:hover { border-color: rgba(var(--brand-rgb), .24); box-shadow: var(--sh-2); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--text-soft); font-size: .96rem; }

.ico {
  width: 58px; height: 58px; border-radius: 18px; margin-bottom: 22px;
  display: grid; place-items: center; color: var(--brand);
  background: linear-gradient(145deg, rgba(var(--brand-rgb), .13), rgba(var(--brand-rgb), .05));
  border: 1px solid rgba(var(--brand-rgb), .14);
  transition: background var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease);
}
.ico svg { width: 27px; height: 27px; }
.card:hover .ico { background: linear-gradient(145deg, var(--brand), var(--brand-light)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(var(--brand-rgb), .26); }

/* Numeral fantasma: peso editorial sin ocupar lugar */
.ghost-num {
  position: absolute; top: -16px; right: 8px; z-index: -1;
  font-family: "Fraunces", Georgia, serif; font-size: 7rem; font-weight: 600; line-height: 1;
  color: rgba(var(--brand-rgb), .06); letter-spacing: -.05em; pointer-events: none;
}

/* =============================================================== Destinos */

.destinos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.destino {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; color: #fff; background: var(--ink-900);
  border: 1px solid rgba(255,255,255,.1);
  transition: box-shadow var(--motion-slow) var(--motion-ease), border-color var(--motion-slow) var(--motion-ease);
}
.destino:hover { box-shadow: 0 30px 70px rgba(0,0,0,.42); border-color: rgba(255,255,255,.26); }
.destino-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 1.6s var(--motion-ease);
}
.destino picture { position: absolute; inset: 0; }
.destino:hover .destino-art { transform: scale(1.045); }
.destino::after {   /* el velo que deja leer el texto sobre la foto */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top,
      rgba(3,12,30,.96) 0%,
      rgba(3,12,30,.9)  24%,
      rgba(3,12,30,.5)  44%,
      rgba(3,12,30,.08) 68%,
      rgba(3,12,30,.34) 100%),
    linear-gradient(to top, rgba(var(--brand-rgb), .2) 0%, transparent 46%);
  transition: opacity var(--motion-slow) var(--motion-ease);
}
.destino:hover::after { opacity: .86; }
.destino-flag {
  position: absolute; top: 26px; left: 32px; z-index: 1;
  display: inline-flex; align-items: center; gap: .5em;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(4,20,47,.56); border: 1px solid rgba(255,255,255,.22);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.destino-body { position: relative; z-index: 1; }
.destino h3 { color: #fff; margin-bottom: .4em; }
.destino p { margin: 0 0 18px; color: #CADCF7; font-size: .93rem; }
.destino-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.destino-chips span {
  padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); color: #E4EEFC;
}

/* ================================================================ Proceso */

.pasos { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 60px; }
.pasos::before {   /* la línea que une los cuatro pasos */
  content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, rgba(var(--brand-rgb), .3), rgba(var(--mint-rgb), .55));
}
.paso { position: relative; text-align: center; padding: 0 8px; }
.paso i {
  position: relative; z-index: 1;
  width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; font-weight: 600;
  color: #fff; background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  box-shadow: 0 0 0 9px var(--paper), 0 10px 26px rgba(var(--brand-rgb), .3);
  transition: transform var(--motion-base) var(--motion-ease);
}
.band-soft .paso i { box-shadow: 0 0 0 9px var(--paper-soft), 0 10px 26px rgba(var(--brand-rgb), .3); }
.paso:last-child i { background: linear-gradient(145deg, var(--mint), #16A661); color: var(--mint-deep); }
.paso:hover i { transform: scale(1.035); }
.paso h3 { font-size: 1.12rem; margin-bottom: .45em; }
.paso p { margin: 0; font-size: .92rem; color: var(--text-soft); }

/* ============================================================== Servicios */

.serv::after {   /* filete superior que se tiñe al pasar el mouse */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--mint));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--motion-slow) var(--motion-ease);
}
.serv:hover::after { transform: scaleX(1); }
.serv ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.serv li { display: flex; gap: 9px; font-size: .88rem; color: var(--text-soft); align-items: flex-start; }
.serv li svg { width: 15px; height: 15px; flex: none; margin-top: 5px; color: var(--mint); }

/* ========================================================= Casos de éxito */

.testi-stage { display: grid; }
.testi-slide { grid-area: 1 / 1; opacity: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; pointer-events: none; }
.testi-slide[data-active="true"] { pointer-events: auto; }
.testi {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 34px 30px; border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.testi::before {
  content: "\201C"; position: absolute; top: 2px; right: 24px;
  font-family: "Fraunces", Georgia, serif; font-size: 6rem; line-height: 1;
  color: rgba(255,255,255,.1); pointer-events: none;
}
.stars { color: var(--gold); letter-spacing: .14em; font-size: .88rem; margin: 0; }
.testi blockquote { margin: 0; font-size: .98rem; color: #DCE9FB; line-height: 1.68; }
.testi figcaption { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 6px; }
.testi-av {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: .92rem; font-weight: 800; color: var(--ink-900);
  background: linear-gradient(140deg, #9CC4FF, var(--mint));
  box-shadow: 0 0 0 1px rgba(255,255,255,.2);
}
.testi figcaption b { display: block; font-size: .95rem; color: #fff; font-weight: 700; letter-spacing: -.01em; }
.testi figcaption small { display: block; color: var(--on-dark-mute); font-size: .79rem; }

.testi-ctrl { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.testi-count { font-family: "Fraunces", Georgia, serif; font-size: 1.1rem; color: #fff; min-width: 78px; text-align: center; letter-spacing: .04em; }
.testi-bars { display: flex; gap: 9px; }
.testi-bar { width: 52px; height: 3px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.2); overflow: hidden; }
.testi-bar i { display: block; height: 100%; width: 0; background: var(--mint); }

/* ============================================================== Preguntas */

.faq { max-width: 880px; margin: 50px auto 0; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--paper-line); border-radius: var(--r); background: var(--card);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: border-color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}
.faq-item.open { border-color: rgba(var(--brand-rgb), .4); box-shadow: var(--sh-2); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 18px;
  padding: 24px 28px; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 1.02rem; font-weight: 700; letter-spacing: -.015em;
  text-align: left; color: var(--text);
  transition: color var(--motion-fast) var(--motion-ease);
}
.faq-q:hover { color: var(--brand); }
.faq-n {
  width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center;
  font-family: "Fraunces", Georgia, serif; font-size: .88rem; font-weight: 600;
  background: rgba(var(--brand-rgb), .09); color: var(--brand);
  transition: background var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease);
}
.faq-item.open .faq-n { background: var(--brand); color: #fff; }
.faq-q .txt { flex: 1; }
.faq-sign { flex: none; width: 24px; height: 24px; position: relative; }
.faq-sign::before, .faq-sign::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: var(--brand); transform: translate(-50%, -50%);
  transition: transform var(--motion-base) var(--motion-ease), opacity var(--motion-base) var(--motion-ease);
}
.faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-sign::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.faq-a { height: 0; overflow: hidden; }
.faq-a > div { padding: 0 28px 26px 78px; color: var(--text-soft); font-size: .97rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* ================================================================ Agendar */

.contacto { display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: start; }
.contacto-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contacto-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 17px 20px; border-radius: var(--r);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  transition: background var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease);
}
.contacto-list li:hover { background: rgba(255,255,255,.1); border-color: rgba(var(--mint-rgb), .34); }
.contacto-list i {
  width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: rgba(var(--mint-rgb), .14); border: 1px solid rgba(var(--mint-rgb), .3); color: var(--mint);
}
.contacto-list svg { width: 20px; height: 20px; }
.contacto-list small { display: block; font-size: .71rem; font-weight: 700; color: var(--on-dark-mute); letter-spacing: .14em; text-transform: uppercase; }
.contacto-list a, .contacto-list b { font-size: 1rem; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.contacto-list a:hover { color: var(--mint); }

.form-card { position: relative; background: #fff; border-radius: var(--r-xl); padding: 38px; box-shadow: var(--sh-3); color: var(--text); }
.form-card h3 { margin-bottom: .3em; }
.form-card > p:first-of-type { color: var(--text-soft); font-size: .94rem; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1.6px solid var(--paper-line); border-radius: var(--r-sm);
  background: #fff; color: var(--text); caret-color: var(--text);
  font: inherit; font-size: .96rem;
  transition: border-color var(--motion-fast) var(--motion-ease), background var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease);
}
.field textarea { resize: vertical; min-height: 94px; }
.field input::placeholder, .field textarea::placeholder { color: #9CABC4; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #F8FBFF; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12);
}
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.field-count { font-size: .76rem; font-weight: 700; color: #9CABC4; transition: color var(--motion-fast) var(--motion-ease); }
.field-count.full { color: var(--brand); }
.field-hint { font-size: .78rem; color: var(--text-mute); }
.field-error { font-size: .82rem; font-weight: 600; color: #C62828; min-height: 1.2em; margin: 0 0 10px; }

.form-card input:-webkit-autofill, .form-card input:-webkit-autofill:hover,
.form-card input:-webkit-autofill:focus, .form-card input:autofill {
  -webkit-text-fill-color: var(--text); caret-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px #fff inset; box-shadow: 0 0 0 1000px #fff inset;
  border-color: var(--paper-line); transition: background-color 9999s ease-out 0s;
}
.form-card input:-webkit-autofill:focus, .form-card input:autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #F8FBFF inset; box-shadow: 0 0 0 1000px #F8FBFF inset;
  border-color: var(--brand);
}
.form-card .btn { width: 100%; }
.form-note { font-size: .8rem; color: var(--text-mute); margin: 16px 0 0; text-align: center; }
.form-note a { color: var(--brand); }

/* ==================================================================== Pie */

.pre-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-900); }
.pre-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
  padding: 48px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.pre-footer h3 { margin: 0; color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.pre-footer p { margin: 7px 0 0; color: var(--on-dark-mute); font-size: .94rem; }

.site-footer { background: var(--ink-900); color: var(--on-dark-soft); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 46px; }
.site-footer h4 { color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer p { font-size: .93rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a, .footer-links span { text-decoration: none; font-size: .93rem; transition: color var(--motion-fast) var(--motion-ease); }
.footer-links a:hover { color: var(--mint); }

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff;
  transition: background var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) var(--motion-ease);
}
.socials a:hover { background: rgba(var(--mint-rgb), .2); border-color: rgba(var(--mint-rgb), .5); }
.socials svg { width: 20px; height: 20px; }

.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: .84rem; color: var(--on-dark-mute);
}
.footer-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(var(--mint-rgb), .6); text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--mint); }

/* ============================================================== Flotantes */

.scroll-top {
  position: fixed; bottom: 34px; right: 34px; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1.6px solid var(--paper-line); background: #fff; color: var(--brand);
  box-shadow: var(--sh-2);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity var(--motion-base) var(--motion-ease), transform var(--motion-base) var(--motion-ease),
              border-color var(--motion-fast) var(--motion-ease), background var(--motion-base) var(--motion-ease);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-2px); border-color: rgba(var(--brand-rgb), .55); background: #F6FAFF; }
.scroll-top:active { transform: translateY(0); transition-duration: 110ms; }
.scroll-top svg { width: 20px; height: 20px; }

.wa-float {
  position: fixed; bottom: 34px; left: 34px; z-index: 40;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 13px 22px 13px 15px; border-radius: 999px; text-decoration: none;
  background: #25D366; color: #06321C; font-size: .93rem; font-weight: 700;
  box-shadow: 0 14px 36px rgba(37, 211, 102, .38);
  transition: filter var(--motion-fast) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}
.wa-float:hover { filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(255,255,255,.34) inset, 0 0 30px rgba(37,211,102,.5), 0 20px 44px rgba(6,30,74,.28); }
.wa-float svg { width: 24px; height: 24px; flex: none; }

/* ================================================================= Reveal */

.reveal {
  opacity: var(--reveal-opacity, 0);
  transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 30px), 0);
  transition: opacity var(--motion-slow) var(--motion-ease), transform var(--motion-slow) var(--motion-ease);
}
.reveal.in { --reveal-opacity: 1; --reveal-y: 0px; }
.reveal[data-reveal-from] { transition: opacity var(--motion-base) var(--motion-ease); }
.d1 { transition-delay: 90ms; } .d2 { transition-delay: 180ms; } .d3 { transition-delay: 270ms; }

/* ============================================================= Responsive */

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .about { grid-template-columns: 1fr; gap: 54px; }
  .about-media::before { inset: 18px -14px -18px 14px; }
  .about-badge { left: 16px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .contacto { grid-template-columns: 1fr; gap: 44px; }
  .testi-slide { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: repeat(2, 1fr); row-gap: 46px; }
  .pasos::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero-grid { padding-bottom: 56px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(3)::before { display: none; }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); }

  .nav-toggle { display: inline-flex; }
  .header-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 20px 22px 28px; background: var(--paper);
    border-bottom: 1px solid var(--paper-line); box-shadow: var(--sh-2);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity var(--motion-slow) var(--motion-ease), transform var(--motion-slow) var(--motion-ease), visibility var(--motion-slow);
  }
  .header-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .header-nav a { padding: 15px 16px; font-size: 1rem; }
  .header-nav a::after { display: none; }
  .header-nav a.btn { margin: 14px 0 0; width: 100%; }

  .g3, .g4, .destinos { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr; gap: 34px; margin-top: 44px; }
  .paso { display: grid; grid-template-columns: 62px 1fr; gap: 20px; text-align: left; align-items: start; }
  .paso i { margin: 0; }
  .destino { min-height: 370px; }
  .about-media::before { display: none; }
  .about-badge { position: static; margin-top: 16px; max-width: none; }
  .faq-a > div { padding-left: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .pre-footer .wrap { flex-direction: column; align-items: flex-start; }
  .wa-float { left: 20px; bottom: 20px; padding: 14px; }
  .wa-float span { display: none; }
  .scroll-top { right: 20px; bottom: 20px; }
}

/* ============================================= Páginas legales (internas) */

.legal-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 60px;
  background: linear-gradient(168deg, #0B2E73, var(--ink-900)); color: #fff;
}
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); }
.legal-hero p { color: var(--on-dark-soft); margin: 0; }
.legal-body { padding: 70px 0 96px; }
.legal-body .wrap { max-width: 840px; }
.legal-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-top: 2.2em; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body ul { padding-left: 1.25em; color: var(--text-soft); }
.legal-body li { margin-bottom: .55em; }
.legal-body p { color: var(--text-soft); }
.legal-note {
  margin-top: 44px; padding: 22px 26px; border-radius: var(--r);
  background: var(--paper-soft); border: 1px solid var(--paper-line); font-size: .92rem;
}

/* =================================================== Movimiento reducido */

/* «Menos movimiento»: lo decide el sistema del visitante (prefers-reduced-motion) o el
   interruptor del pie (guardado en el navegador). Un guion en el <head> pone la clase
   .sin-mov en <html> antes del primer pintado. :where() deja la especificidad en cero,
   igual que cuando esto eran reglas de @media. */
:where(html.sin-mov) {
  scroll-behavior: auto;
}
/* Se apaga lo que se MUEVE solo: bucles, giros y desplazamientos. */
:where(html.sin-mov) *, :where(html.sin-mov) *::before, :where(html.sin-mov) *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  /* Pero el color y la opacidad siguen cambiando, apenas más rápido:
     sin esto cada hover «se teletransporta» y el sitio se siente roto. */
  transition-duration: 220ms !important;
}
/* Aparecer al bajar: con «menos movimiento» no se desplaza, pero SÍ se desvanece (opacidad);
   quitarlo del todo dejaba la página sin vida para quien lo tiene activado. */
:where(html.sin-mov) .reveal { transform: none !important; }
:where(html.sin-mov) .arc { stroke-dashoffset: 0; opacity: 1; }
:where(html.sin-mov) .pp-seal, :where(html.sin-mov) .escribiendo i { animation: none; }
:where(html.sin-mov) .destino:hover .destino-art, :where(html.sin-mov) .paso:hover i { transform: none; }
:where(html.sin-mov) .burbuja { transform: none !important; }

/* ======================================== FRANJA: atención — chat animado */

.atn { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }

.chip-mono {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 7px 16px; border-radius: 999px; margin: 0 0 22px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(var(--mint-rgb), .34);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #BFE8D4;
}
.chip-mono svg { width: 14px; height: 14px; color: var(--mint); }

.atn-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 32px 0; }
.atn-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; border-radius: var(--r);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  transition: background var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease);
}
.atn-card:hover, .atn-card.hot { background: rgba(var(--mint-rgb), .08); border-color: rgba(var(--mint-rgb), .46); }
.atn-card i {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #CBE0FF;
  transition: background var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease);
}
.atn-card:hover i, .atn-card.hot i { background: rgba(var(--mint-rgb), .2); color: var(--mint); }
.atn-card svg { width: 19px; height: 19px; }
.atn-card b { display: block; font-size: .94rem; font-weight: 700; color: #fff; letter-spacing: -.012em; }
.atn-card small { display: block; font-size: .8rem; color: var(--on-dark-mute); line-height: 1.5; }

.atn-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.atn-actions .nota { display: inline-flex; align-items: center; gap: .5em; font-size: .83rem; color: var(--on-dark-mute); }
.atn-actions .nota svg { width: 16px; height: 16px; color: var(--mint); }

/* --- El teléfono --- */
.fono-wrap { position: relative; display: flex; justify-content: center; }
.fono-wrap::before {
  content: ""; position: absolute; inset: -8% -4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--mint-rgb), .22), transparent 66%); filter: blur(42px);
}
.fono {
  position: relative; width: 340px; max-width: 100%;
  background: #080C14; border: 7px solid #1A2130; border-radius: 46px;
  box-shadow: 0 40px 90px rgba(0,0,0,.52), 0 0 0 1px rgba(255,255,255,.1);
  padding: 11px; overflow: hidden;
}
.fono-in {
  background: #0D131E; border: 1px solid rgba(255,255,255,.08); border-radius: 36px;
  overflow: hidden; display: flex; flex-direction: column; height: 646px;
}

.fono-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 20px 8px; background: #070A11; color: #8FA3C2;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .66rem;
}
.fono-bar b { color: #fff; font-weight: 700; }
.fono-notch { width: 76px; height: 15px; border-radius: 999px; background: #121929; }
.fono-bar .sig { display: inline-flex; align-items: center; gap: 5px; }
.fono-bar .sig svg { width: 12px; height: 12px; }
.fono-bar .bat { width: 17px; height: 9px; border: 1px solid #8FA3C2; border-radius: 2px; padding: 1px; }
.fono-bar .bat i { display: block; height: 100%; width: 82%; background: #fff; border-radius: 1px; }

.fono-head {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 16px; background: #141C2A; border-bottom: 1px solid rgba(255,255,255,.08);
}
.fono-av { position: relative; width: 38px; height: 38px; flex: none; }
.fono-av svg { width: 38px; height: 38px; border-radius: 50%; }
.fono-av::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--mint); border: 2px solid #141C2A;
}
.fono-head .who { min-width: 0; flex: 1; }
.fono-head .who b { display: flex; align-items: center; gap: 7px; font-size: .86rem; color: #fff; font-weight: 700; letter-spacing: -.01em; }
.fono-head .vf {
  padding: 2px 7px; border-radius: 5px; font-size: .55rem; font-weight: 800; letter-spacing: .1em;
  background: rgba(var(--brand-rgb), .3); color: #9CC4FF; border: 1px solid rgba(156,196,255,.3);
}
.fono-head .who small { display: flex; align-items: center; gap: 5px; font-size: .71rem; color: #7E95B8; }
.fono-head .who small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.fono-head .call { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #9CC4FF; }
.fono-head .call svg { width: 15px; height: 15px; }

.fono-chat {
  flex: 1; min-height: 0; padding: 16px 14px;
  display: flex; flex-direction: column; gap: 11px;
  overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: none; -ms-overflow-style: none;
}
.fono-chat::-webkit-scrollbar { display: none; }

.fono-day {
  align-self: center; padding: 4px 13px; border-radius: 999px;
  background: rgba(255,255,255,.06); color: #7E95B8;
  font-family: ui-monospace, Consolas, monospace; font-size: .58rem; letter-spacing: .12em;
}
.burbuja {
  max-width: 85%; padding: 11px 14px; border-radius: 16px;
  font-size: .82rem; line-height: 1.55;
  opacity: 0; transform: translateY(10px) scale(.97);
  transition: opacity 420ms var(--motion-ease), transform 420ms var(--motion-ease);
}
.burbuja.in { opacity: 1; transform: none; }
.burbuja time { display: block; margin-top: 5px; font-size: .6rem; opacity: .7; }
.b-out { align-self: flex-end; background: #1E66D6; color: #fff; border-bottom-right-radius: 5px; }
.b-in  { align-self: flex-start; background: #1B2535; color: #D8E6FB; border: 1px solid rgba(255,255,255,.07); border-bottom-left-radius: 5px; }
.b-in time { color: #7E95B8; }

.escribiendo {
  align-self: flex-start; display: none; align-items: center; gap: 5px;
  padding: 12px 15px; border-radius: 16px; border-bottom-left-radius: 5px;
  background: #1B2535; border: 1px solid rgba(255,255,255,.07);
  opacity: 0; transition: opacity 260ms var(--motion-ease);
}
.escribiendo.in { display: flex; opacity: 1; }
.escribiendo i { width: 6px; height: 6px; border-radius: 50%; background: #7E95B8; animation: pulso 1.3s ease-in-out infinite; }
.escribiendo i:nth-child(2) { animation-delay: .18s; }
.escribiendo i:nth-child(3) { animation-delay: .36s; }
@keyframes pulso { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.fono-rapidas { padding: 0 14px 10px; opacity: 0; transition: opacity 420ms var(--motion-ease); }
.fono-rapidas.in { opacity: 1; }
.fono-rapidas p {
  margin: 0 0 8px; font-family: ui-monospace, Consolas, monospace;
  font-size: .57rem; letter-spacing: .14em; color: #6F86A8; text-transform: uppercase;
}
.fono-rapidas div { display: flex; flex-wrap: wrap; gap: 7px; }
.fono-rapidas span {
  padding: 7px 12px; border-radius: 9px; font-size: .71rem; font-weight: 600;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #BCD2F0;
}
.fono-rapidas span:first-child { background: rgba(var(--mint-rgb), .14); border-color: rgba(var(--mint-rgb), .38); color: #8FE6B8; }

.fono-input {
  display: flex; align-items: center; gap: 9px; padding: 11px 13px 14px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.fono-input span {
  flex: 1; padding: 10px 15px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  font-size: .76rem; color: #6F86A8;
}
.fono-input b { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #25D366; color: #06321C; }
.fono-input svg { width: 17px; height: 17px; }

@media (max-width: 1100px) {
  .atn { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 880px) {
  .atn-cards { grid-template-columns: 1fr; }
  .fono { width: 320px; }
  .fono-in { height: 600px; }
}
:where(html.sin-mov) .burbuja { opacity: 1; transform: none; }
:where(html.sin-mov) .fono-rapidas { opacity: 1; }
:where(html.sin-mov) .escribiendo { display: none; }

/* El menú entra en una sola línea hasta que ya no cabe, y ahí pasa a hamburguesa */
@media (max-width: 1280px) {
  .header-nav a { padding: 9px 10px; font-size: .875rem; }
  .header-nav a::after { left: 10px; right: 10px; }
  .header-nav a.btn { padding: 13px 22px; margin-left: 8px; }
}
@media (max-width: 1024px) and (min-width: 881px) {
  .nav-toggle { display: inline-flex; }
  .header-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 20px 22px 28px; background: var(--paper);
    border-bottom: 1px solid var(--paper-line); box-shadow: var(--sh-2);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity var(--motion-slow) var(--motion-ease), transform var(--motion-slow) var(--motion-ease), visibility var(--motion-slow);
  }
  .header-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .header-nav a { padding: 15px 16px; font-size: 1rem; }
  .header-nav a::after { display: none; }
  .header-nav a.btn { margin: 14px 0 0; width: 100%; }
}

/* ================================ El formulario, con cara de formulario */

.form-card {
  position: relative; isolation: isolate; overflow: hidden;
  background: #fff; border-radius: var(--r-xl); padding: 34px;
  box-shadow: var(--sh-3); color: var(--text);
}
.form-card::before {   /* filete de marca arriba */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--mint));
}
.form-card::after {    /* mancha de color detrás del encabezado */
  content: ""; position: absolute; top: -140px; right: -120px; width: 320px; height: 320px;
  z-index: -1; border-radius: 50%; filter: blur(50px);
  background: radial-gradient(circle, rgba(var(--brand-rgb), .11), transparent 70%);
}

.fc-top { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; }
.fc-marca { width: 46px; height: 46px; flex: none; }
.fc-marca svg { width: 46px; height: 46px; }
.fc-top h3 { margin: 0 0 2px; font-size: 1.32rem; }
.fc-top p { margin: 0; font-size: .87rem; color: var(--text-mute); }
.fc-libre {
  margin-left: auto; flex: none; padding: 6px 13px; border-radius: 999px;
  background: rgba(var(--mint-rgb), .14); border: 1px solid rgba(var(--mint-rgb), .36);
  color: #0E7A4A; font-size: .73rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}

/* Elección por fichas: sin el desplegable gris del navegador */
.fc-grupo { border: 0; padding: 0; margin: 0 0 22px; }
.fc-grupo legend { padding: 0; margin-bottom: 11px; font-size: .85rem; font-weight: 700; letter-spacing: -.01em; }
.fichas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.ficha { position: relative; display: block; cursor: pointer; }
.ficha input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.ficha-cara {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 82px; padding: 12px 8px; border-radius: var(--r-sm); text-align: center;
  background: #F6F9FE; border: 1.6px solid var(--paper-line);
  font-size: .79rem; font-weight: 600; line-height: 1.25; color: var(--text-soft);
  transition: background var(--motion-base) var(--motion-ease),
              border-color var(--motion-base) var(--motion-ease),
              color var(--motion-base) var(--motion-ease),
              box-shadow var(--motion-base) var(--motion-ease);
}
.ficha-cara b { font-size: 1.22rem; line-height: 1; font-weight: 400; }
.ficha:hover .ficha-cara { border-color: rgba(var(--brand-rgb), .32); background: #F1F6FE; }
.ficha input:checked + .ficha-cara {
  background: rgba(var(--brand-rgb), .07);
  border-color: var(--brand); color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .1);
}
.ficha input:focus-visible + .ficha-cara { outline: 3px solid var(--mint); outline-offset: 2px; }

/* Campos con su icono adentro */
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.field .opt { font-weight: 500; color: var(--text-mute); font-size: .78rem; }

.campo {
  display: flex; align-items: center; gap: 10px;
  padding: 0 15px; border-radius: var(--r-sm);
  background: #F8FAFE; border: 1.6px solid var(--paper-line);
  transition: border-color var(--motion-base) var(--motion-ease),
              background var(--motion-base) var(--motion-ease),
              box-shadow var(--motion-base) var(--motion-ease);
}
.campo > svg { width: 18px; height: 18px; flex: none; color: var(--text-mute); transition: color var(--motion-base) var(--motion-ease); }
.campo-pre {
  flex: none; padding-right: 11px; margin-right: 1px;
  border-right: 1px solid var(--paper-line);
  font-size: .9rem; font-weight: 700; color: var(--text-mute);
  transition: color var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease);
}
.campo input, .campo textarea {
  flex: 1; width: 100%; padding: 14px 0; border: 0; background: transparent;
  color: var(--text); caret-color: var(--brand); font: inherit; font-size: .96rem;
}
.campo input:focus, .campo textarea:focus { outline: none; }
.campo input::placeholder, .campo textarea::placeholder { color: #9CABC4; }
.campo-area { padding: 4px 15px; }
.campo-area textarea { resize: vertical; min-height: 92px; padding: 13px 0; line-height: 1.6; }

.campo:focus-within {
  background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .11);
}
.campo:focus-within > svg, .campo:focus-within .campo-pre { color: var(--brand); }
.campo:focus-within .campo-pre { border-color: rgba(var(--brand-rgb), .3); }

/* Autofill: nunca el azul del navegador */
.form-card input:-webkit-autofill, .form-card input:-webkit-autofill:hover,
.form-card input:-webkit-autofill:focus, .form-card input:autofill {
  -webkit-text-fill-color: var(--text); caret-color: var(--brand);
  -webkit-box-shadow: 0 0 0 1000px #F8FAFE inset; box-shadow: 0 0 0 1000px #F8FAFE inset;
  border-radius: 0; transition: background-color 9999s ease-out 0s;
}
.campo:focus-within input:-webkit-autofill, .campo:focus-within input:autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset; box-shadow: 0 0 0 1000px #fff inset;
}

.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.field-count { font-size: .76rem; font-weight: 700; color: #9CABC4; transition: color var(--motion-fast) var(--motion-ease); }
.field-count.full { color: var(--brand); }
.field-hint { font-size: .78rem; color: var(--text-mute); }
.field-error { font-size: .82rem; font-weight: 600; color: #C62828; min-height: 1.2em; margin: 0 0 10px; }

.form-card .btn { width: 100%; }
.fc-sellos {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
}
.fc-sellos li { display: inline-flex; align-items: center; gap: 7px; font-size: .79rem; color: var(--text-mute); }
.fc-sellos svg { width: 15px; height: 15px; color: var(--mint); }
.form-note { font-size: .79rem; color: var(--text-mute); margin: 12px 0 0; text-align: center; }
.form-note a { color: var(--brand); }

@media (max-width: 520px) {
  .form-card { padding: 26px 20px; }
  .fichas { grid-template-columns: repeat(2, 1fr); }
  .fc-top { flex-wrap: wrap; }
  .fc-libre { margin-left: 0; }
}

/* ============================ La barra de escritura del teléfono, viva */

.fono-caja {
  flex: 1; min-width: 0; display: flex; align-items: center;
  padding: 10px 15px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: border-color var(--motion-base) var(--motion-ease), background var(--motion-base) var(--motion-ease);
}
.fono-campo {
  position: relative; flex: 1; min-width: 0;
  font-size: .76rem; line-height: 1.4; color: #DCE9FB;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: rtl; text-align: left;
}
.fono-campo:empty::before { content: attr(data-vacio); color: #6F86A8; direction: ltr; }
.fono-campo.activo::after {
  content: ""; display: inline-block; width: 1.5px; height: 1em;
  margin-left: 2px; vertical-align: -2px; background: var(--mint);
  animation: cursor 1s steps(1) infinite;
}
@keyframes cursor { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.fono-caja:has(.fono-campo.activo) { border-color: rgba(var(--mint-rgb), .38); background: rgba(255,255,255,.08); }

.fono-enviar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: rgba(37, 211, 102, .32); color: rgba(6,50,28,.5);
  transition: background var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}
.fono-enviar.listo { background: #25D366; color: #06321C; box-shadow: 0 0 18px rgba(37,211,102,.4); }
.fono-enviar svg { width: 17px; height: 17px; }

/* Código de país en vez de bandera emoji: igual en Windows, Mac y Android */
.destino-flag i {
  font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .06em;
  padding: 3px 6px; border-radius: 5px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.2);
}
.ficha-cara b.cod {
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; line-height: 1;
  padding: 5px 9px; border-radius: 7px;
  background: rgba(var(--brand-rgb), .1); color: var(--brand);
  transition: background var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease);
}
.ficha input:checked + .ficha-cara b.cod { background: var(--brand); color: #fff; }

/* Rendimiento — efectos pesados detrás de la cortina.
   Los desenfoques de 90 px, el grano (feTurbulence), el vidrio esmerilado y el trazo
   animado de los arcos son lo más caro de pintar. Mientras el preloader tapa la pantalla
   no se ven, pero igual retrasaban el primer cuadro. Se mantienen apagados y sitio.js
   añade body.efectos cuando la cortina empieza a cerrarse (620 ms antes de abrirse).
   Sólo la portada lleva .con-cortina: las páginas legales no tienen preloader. */
body.con-cortina:not(.efectos) { --grain: none; }
body.con-cortina:not(.efectos) *,
body.con-cortina:not(.efectos) *::before,
body.con-cortina:not(.efectos) *::after {
  filter: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
body.con-cortina:not(.efectos) .arc { animation: none; }

/* ============================================== FRANJA: Instagram (perfil) */

.ig { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(40px, 6vw, 84px); align-items: center; }

.ig-card {
  width: 100%; max-width: 560px; justify-self: center; overflow: hidden;
  background: #0A0E16; color: #E6EDF9;
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
}
.ig-bar {
  display: flex; align-items: center; gap: 7px; padding: 13px 18px;
  background: #070A11; border-bottom: 1px solid rgba(255,255,255,.07);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .66rem; font-weight: 700; letter-spacing: .1em; color: #7E92B4;
}
.ig-bar i { display: block; width: 10px; height: 10px; border-radius: 50%; }
.ig-bar i:nth-child(1) { background: #FF5F57; }
.ig-bar i:nth-child(2) { background: #FEBC2E; }
.ig-bar i:nth-child(3) { background: #28C840; }
.ig-bar span { margin-left: 8px; }

.ig-head { display: flex; align-items: center; gap: 20px; padding: 26px 24px 10px; }
.ig-avatar {
  flex: none; width: 86px; height: 86px; padding: 3px; border-radius: 50%;
  background: conic-gradient(from 200deg, #F9B84A, #E4407A, #8A3CE0, #3E86F5, #F9B84A);
}
.ig-avatar span { display: block; width: 100%; height: 100%; padding: 3px; border-radius: 50%; background: #0A0E16; }
.ig-avatar svg { width: 100%; height: 100%; border-radius: 50%; }
.ig-id b { display: block; font-size: 1.14rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; color: #fff; }
.ig-id small { display: block; font-size: .82rem; color: #8FA3C2; }
.ig-id p { margin: 10px 0 0; font-size: .86rem; line-height: 1.55; color: #C7D4EA; }

.ig-dest {
  list-style: none; margin: 0; padding: 20px 24px 22px;
  display: flex; justify-content: space-between; gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ig-dest li { display: grid; justify-items: center; gap: 9px; font-size: .7rem; font-weight: 600; color: #9FB2D2; }
.ig-dest i {
  width: clamp(48px, 11vw, 60px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  background: #121A28; border: 1.6px solid rgba(255,255,255,.18); color: var(--mint);
  transition: border-color var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}
.ig-dest svg { width: 40%; height: 40%; }
.ig-dest li:hover i { border-color: #E4407A; color: #fff; box-shadow: 0 0 0 3px rgba(228,64,122,.18), 0 0 22px rgba(138,60,224,.35); }

.ig-tab { display: flex; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.07); }
.ig-tab span {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 8px; margin-bottom: -1px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff;
  border-bottom: 2px solid var(--mint);
}
.ig-tab svg { width: 14px; height: 14px; }

.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; }
.ig-tile { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; background: #101826; }
.ig-tile img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.02);
  filter: grayscale(1) brightness(.74);
  transition: filter var(--motion-slow) var(--motion-ease), transform var(--motion-slow) var(--motion-ease);
}
.ig-tile:hover img { filter: grayscale(0) brightness(1); transform: scale(1.07); }
.ig-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 10px 9px;
  font-size: .7rem; font-weight: 700; letter-spacing: .02em; color: #fff;
  background: linear-gradient(transparent, rgba(4, 10, 24, .84));
}
.ig-tile-marca { display: grid; place-items: center; background: linear-gradient(150deg, #0F2C66, #04142F); }
.ig-tile-marca svg { width: 44%; height: auto; opacity: .9; transition: opacity var(--motion-base) var(--motion-ease); }
.ig-tile-marca:hover svg { opacity: 1; }

.ig-lista { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 16px; }
.ig-lista li { display: flex; align-items: flex-start; gap: 14px; }
.ig-lista i {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 13px;
  background: rgba(var(--brand-rgb), .1); color: var(--brand);
}
.ig-lista svg { width: 20px; height: 20px; }
.ig-lista b { display: block; font-size: .98rem; font-weight: 700; letter-spacing: -.012em; color: var(--text); line-height: 1.35; }
.ig-lista small { display: block; font-size: .88rem; color: var(--text-soft); line-height: 1.55; }

/* ============================ PIE: el logotipo grande que se enciende como un foco */

.foco {
  --mx: 50%; --my: 50%; --r: 1px; --lit: 0;
  position: relative; container-type: inline-size;
  margin-top: 72px; padding: 6px 0 4px;
  cursor: default; -webkit-user-select: none; user-select: none;
}
.foco-marca { display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); }
/* --mono y --fs los fija sitio.js midiendo el texto real, para que el logotipo llene
   siempre el ancho exacto con cualquier tipografía; estos valores sólo cubren el
   instante antes de que el guion corra. */
.foco-mono { width: var(--mono, clamp(64px, 19vw, 280px)); height: auto; flex: none; }
.foco-palabras {
  display: flex; flex-direction: column; flex: none; margin: 0; padding: .04em 0;
  font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 700;
  text-transform: uppercase; line-height: .88; letter-spacing: -.03em; white-space: nowrap;
  font-size: var(--fs, clamp(2.4rem, 11vw, 10.5rem));
}
@supports (width: 1cqw) {
  .foco-marca { gap: 3cqw; }
  .foco-mono { width: var(--mono, 27cqw); }
  .foco-palabras { font-size: var(--fs, 19.5cqw); }
}

/* Apagado: el logotipo grabado, apenas visible sobre el azul oscuro */
.foco-base .foco-mono circle { fill: rgba(124,154,208,.06); stroke: rgba(124,154,208,.2); stroke-width: 1.2; }
.foco-base .foco-mono path { fill: rgba(124,154,208,.2); }
.foco-base .foco-palabras {
  color: transparent; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.2px rgba(124,154,208,.2);
  background: linear-gradient(180deg, rgba(124,154,208,.13), rgba(124,154,208,.02));
  -webkit-background-clip: text; background-clip: text;
}

/* Encendido: la misma composición, a todo color, sólo donde llega el haz */
.foco-lit {
  position: absolute; left: 0; right: 0; top: 6px; pointer-events: none;
  opacity: var(--lit);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.84) 32%, rgba(0,0,0,.3) 66%, transparent 100%);
          mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.84) 32%, rgba(0,0,0,.3) 66%, transparent 100%);
}
.foco-lit .foco-mono circle { fill: #fff; }
.foco-lit .foco-mono path { fill: #0A3161; }
.foco-lit .foco-palabras {
  color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(104deg, #fff 4%, #D8E8FF 30%, var(--brand-light) 66%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text;
}
/* El resplandor del foco sobre la superficie, un poco más ancho que el haz */
.foco-halo {
  position: absolute; inset: -60px -40px; pointer-events: none; opacity: var(--lit);
  background: radial-gradient(circle calc(var(--r) * 1.8) at calc(var(--mx) + 40px) calc(var(--my) + 60px),
              rgba(62,134,245,.26), rgba(53,208,127,.06) 50%, transparent 74%);
}
.foco + .footer-bottom { margin-top: 30px; }
.site-footer { overflow: hidden; }   /* el resplandor no debe asomar fuera de la pantalla */

/* ====================================================== MOVIMIENTO E INTERACCIÓN
   Se apaga con «reducir movimiento» lo que se mueve SOLO (cinta, cursor, respiración).
   Lo que responde al cursor o al scroll se queda: es manipulación directa. */

/* Portada: una luz persigue al cursor; el mapa de vuelos se desplaza apenas (sitio.js) */
.hero-luz {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(circle 440px at var(--lx, 50%) var(--ly, 40%),
              rgba(62,134,245,.3), rgba(53,208,127,.08) 56%, transparent 76%);
  transition: opacity 700ms var(--motion-ease);
}
.hero.con-luz .hero-luz { opacity: 1; }
.hero-map { will-change: translate; }
.hero-stat b { font-variant-numeric: tabular-nums; }

/* Portada: el destino se escribe y se borra */
.hero-rota {
  margin: -10px 0 28px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-mute);
}
.hero-rota .rota { display: inline-block; min-width: 13.5ch; color: var(--mint); }
.hero-rota .rota::after {
  content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px;
  vertical-align: -2px; background: var(--mint); animation: cursor 1s steps(1) infinite;
}

/* Cinta en movimiento entre la portada y «Nosotros» */
.ticker { position: relative; overflow: hidden; background: var(--ink-900); border-block: 1px solid rgba(255,255,255,.07); padding: 17px 0; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 96px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0;  background: linear-gradient(90deg,  var(--ink-900), transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, var(--ink-900), transparent); }
.ticker-pista { display: flex; width: max-content; animation: ticker 52s linear infinite; }
.ticker:hover .ticker-pista { animation-play-state: paused; }
.ticker-grupo { display: flex; flex: none; align-items: center; }
.ticker-grupo span {
  display: inline-flex; align-items: center; gap: 22px; padding-left: 22px; white-space: nowrap;
  font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #BFD5F6;
}
.ticker-grupo span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); opacity: .8; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Inclinación 3D con brillo (pasaporte y destinos). Con la propiedad individual `rotate`
   no se pisa el transform que ya usa el reveal. */
.hero-grid, .destinos { perspective: 1400px; }
[data-tilt] { rotate: var(--rot, none); }
.destino[data-tilt] {
  transition: opacity var(--motion-slow) var(--motion-ease), transform var(--motion-slow) var(--motion-ease),
              rotate 320ms var(--motion-ease), box-shadow var(--motion-slow) var(--motion-ease),
              border-color var(--motion-slow) var(--motion-ease);
}
.destino.d1[data-tilt] { transition-delay:  90ms,  90ms, 0ms, 0ms, 0ms; }
.destino.d2[data-tilt] { transition-delay: 180ms, 180ms, 0ms, 0ms, 0ms; }
.reveal.passport[data-tilt] { transition: opacity var(--motion-base) var(--motion-ease), rotate 320ms var(--motion-ease); }
.brillo {
  position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(circle 300px at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.2), transparent 62%);
  transition: opacity 400ms var(--motion-ease);
}
[data-tilt]:hover .brillo { opacity: 1; }

/* Servicios: el resplandor interior sigue al cursor */
.card::before {
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, -10%), rgba(var(--brand-rgb), .11), transparent 70%);
}

/* Botones principales: se acercan un poco al cursor */
.btn[data-magnet] {
  translate: var(--tx, 0px) var(--ty, 0px);
  transition: translate 280ms var(--motion-ease), background var(--motion-base) var(--motion-ease),
              box-shadow var(--motion-base) var(--motion-ease), filter var(--motion-fast) var(--motion-ease),
              color var(--motion-fast) var(--motion-ease);
}

/* Proceso: la línea se llena con el scroll y cada paso se enciende al llegar */
.pasos::after {
  content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; border-radius: 2px;
  transform-origin: left center; transform: scaleX(var(--prog, 0));
  background: linear-gradient(90deg, var(--brand-light), var(--mint));
  box-shadow: 0 0 14px rgba(var(--mint-rgb), .55);
}
.paso i { transition: transform var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease); }
.paso.activo i { transform: scale(1.1); box-shadow: 0 0 0 9px var(--paper), 0 0 0 11px rgba(var(--mint-rgb), .5), 0 14px 30px rgba(var(--brand-rgb), .38); }
.paso h3 { transition: color var(--motion-base) var(--motion-ease); }
.paso.activo h3 { color: var(--brand); }

/* Formulario: la barra sube con cada dato y el botón respira al completarse */
.fc-prog { height: 3px; margin: -10px 0 22px; border-radius: 999px; background: var(--paper-line); overflow: hidden; }
.fc-prog i {
  display: block; height: 100%; transform-origin: left center; transform: scaleX(var(--p, .33));
  background: linear-gradient(90deg, var(--brand-light), var(--mint));
  transition: transform var(--motion-base) var(--motion-ease);
}
.fc-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-ok { min-height: 1.2em; margin: 12px 0 0; font-size: .85rem; font-weight: 600; color: #0E7A45; text-align: center; }
.form-card .btn.armado { animation: respira 2.6s ease-in-out infinite; }
@keyframes respira {
  0%, 100% { box-shadow: var(--sh-mint); }
  50%      { box-shadow: 0 0 0 6px rgba(var(--mint-rgb), .2), 0 14px 40px rgba(var(--mint-rgb), .5); }
}

@media (max-width: 1100px) { .pasos::after { display: none; } }
@media (max-width: 880px)  { .ticker { padding: 13px 0; } .ticker-grupo span { font-size: .7rem; } .hero-rota { font-size: .72rem; } }
:where(html.sin-mov) .ticker-pista { animation: none; }
:where(html.sin-mov) .hero-rota .rota::after { animation: none; }
:where(html.sin-mov) .form-card .btn.armado { animation: none; box-shadow: 0 0 0 5px rgba(var(--mint-rgb), .2), var(--sh-mint); }
/* Todo lo del foco lo mueve el guion cuadro a cuadro. Con «reducir movimiento» la regla
   global le da 220 ms a TODA propiedad (incluido el tamaño de letra), y eso falsea la
   medición del ajuste: aquí no hay transiciones. */
.foco, .foco * { transition: none !important; }
/* Dos reglas !important de igual peso: gana la que va después. La global de arriba (:where) pesa 0,
   así que esta gana siempre; se deja escrito para que nadie la cambie sin saberlo. */

@media (max-width: 1100px) {
  .ig { grid-template-columns: 1fr; }
  .ig-texto { order: -1; max-width: 640px; }
  .ig-card { max-width: 520px; }
}
@media (max-width: 880px) {
  .foco { margin-top: 48px; }
  .ig-head { gap: 16px; padding: 22px 18px 8px; }
  .ig-avatar { width: 72px; height: 72px; }
  .ig-dest { padding: 16px 18px 18px; }
}
:where(html.sin-mov) .ig-tile:hover img { transform: scale(1.02); }

/* Interruptor de animaciones (pie): pausar / activar */
.mov-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .8rem; font-weight: 600; color: var(--on-dark-soft);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  transition: background var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease);
}
.mov-btn:hover, .mov-btn:focus-visible { background: rgba(var(--mint-rgb), .16); border-color: rgba(var(--mint-rgb), .5); color: #fff; }
.mov-btn svg { width: 14px; height: 14px; flex: none; }
.mov-btn .i-play { display: none; }
html.sin-mov .mov-btn .i-pausa { display: none; }
html.sin-mov .mov-btn .i-play { display: inline; }

/* ================================================== MÁS INTERACCIÓN (2.ª tanda) */

/* Palabras que se iluminan al bajar (data-llenar): sólo cambia la opacidad */
.pal { opacity: .26; transition: opacity 380ms var(--motion-ease); }
.pal.on { opacity: 1; }

/* Palabra clave subrayada con un trazo que se dibuja */
h2 .grad, h2 .grad-ink, h1 .grad { position: relative; }
h2 .grad::after, h2 .grad-ink::after, h1 .grad::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.05em; height: .07em; min-height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, var(--brand-light), var(--mint));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 900ms var(--motion-ease) 350ms;
}
.reveal.in h2 .grad::after, .reveal.in h2 .grad-ink::after, .reveal.in .grad::after, .reveal.in .grad-ink::after,
body.efectos h1 .grad::after { transform: scaleX(1); }

/* Servicios: las marcas se dibujan en cascada y el ícono reacciona */
.serv li svg path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 600ms var(--motion-ease); }
.serv.in li svg path { stroke-dashoffset: 0; }
.serv.in li:nth-child(1) svg path { transition-delay: 450ms; }
.serv.in li:nth-child(2) svg path { transition-delay: 600ms; }
.serv.in li:nth-child(3) svg path { transition-delay: 750ms; }
.serv.in li:nth-child(4) svg path { transition-delay: 900ms; }
.ico svg { transition: transform 500ms var(--motion-ease); }
.card:hover .ico svg { transform: rotate(-8deg) scale(1.14); }
:where(html.sin-mov) .card:hover .ico svg { transform: none; }

/* Destinos: las etiquetas suben en cascada y aparece «Consultar mi caso» */
.destino-chips span { transition: transform 500ms var(--motion-ease), background 300ms var(--motion-ease); }
.destino:hover .destino-chips span { transform: translateY(-3px); background: rgba(255,255,255,.2); }
.destino:hover .destino-chips span:nth-child(2) { transition-delay: 40ms; }
.destino:hover .destino-chips span:nth-child(3) { transition-delay: 80ms; }
.destino:hover .destino-chips span:nth-child(4) { transition-delay: 120ms; }
.destino:hover .destino-chips span:nth-child(5) { transition-delay: 160ms; }
:where(html.sin-mov) .destino:hover .destino-chips span { transform: none; }
.destino-cta {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  padding: 11px 20px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .86rem; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32);
  transition: background var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease);
}
.destino-cta svg { width: 16px; height: 16px; transition: transform var(--motion-base) var(--motion-ease); }
.destino-cta:hover, .destino-cta:focus-visible { background: var(--mint); border-color: var(--mint); color: var(--mint-deep); }
.destino-cta:hover svg { transform: translateX(4px); }

/* Botones: onda al pulsar */
.btn { overflow: hidden; }
.onda {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: rgba(255,255,255,.42); transform: scale(0); animation: onda 650ms ease-out forwards;
}
@keyframes onda { to { transform: scale(1); opacity: 0; } }

/* WhatsApp flotante: un latido suave que invita */
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px; z-index: -1;
  animation: latido 2.8s ease-out infinite;
}
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70%, 100% { box-shadow: 0 0 0 20px rgba(37,211,102,0); } }
:where(html.sin-mov) .wa-float::before { animation: none; }

/* Preguntas: buscador */
.faq-busca {
  position: relative; max-width: 880px; margin: 44px auto 0; display: flex; align-items: center; gap: 12px;
  padding: 4px 22px; background: #fff; border: 1.6px solid var(--paper-line); border-radius: 999px; box-shadow: var(--sh-1);
  transition: border-color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}
.faq-busca:focus-within { border-color: rgba(var(--brand-rgb), .5); box-shadow: 0 0 0 5px rgba(var(--brand-rgb), .1), var(--sh-2); }
.faq-busca svg { width: 20px; height: 20px; flex: none; color: var(--brand); }
.faq-busca input { flex: 1; min-width: 0; padding: 15px 0; border: 0; outline: 0; background: none; font: inherit; font-size: 1rem; color: var(--text); }
.faq-res { flex: none; font-size: .8rem; font-weight: 600; color: var(--text-mute); }
.faq-busca + .faq { margin-top: 22px; }
.faq-item[hidden] { display: none; }

/* Encuentra tu ruta: el evaluador de tres pasos */
.ruta { position: relative; max-width: 880px; margin: 48px auto 0; padding: 30px 34px 34px; background: #fff; border: 1px solid var(--paper-line); border-radius: var(--r-xl); box-shadow: var(--sh-3); }
.ruta-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; margin-bottom: 10px; }
.ruta-paso { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.ruta-atras { padding: 5px 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: .85rem; font-weight: 600; color: var(--text-soft); cursor: pointer; transition: color var(--motion-fast) var(--motion-ease), background var(--motion-fast) var(--motion-ease); }
.ruta-atras:hover, .ruta-atras:focus-visible { color: var(--brand); background: rgba(var(--brand-rgb), .07); }
.ruta-prog { height: 4px; margin-bottom: 26px; border-radius: 99px; background: var(--paper-line); overflow: hidden; }
.ruta-prog i { display: block; height: 100%; transform-origin: left center; transform: scaleX(var(--rp, .33)); background: linear-gradient(90deg, var(--brand-light), var(--mint)); transition: transform var(--motion-base) var(--motion-ease); }
.ruta-cuerpo { transition: opacity 240ms var(--motion-ease), transform 240ms var(--motion-ease); }
.ruta-cuerpo.sale { opacity: 0; transform: translateY(8px); }
.ruta-q { margin: 0 0 22px; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; outline: 0; }
.ruta-ops { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ruta-op {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 18px 20px; text-align: left; cursor: pointer;
  font: inherit; font-size: .98rem; font-weight: 700; color: var(--text); letter-spacing: -.01em;
  background: var(--paper); border: 1.6px solid var(--paper-line); border-radius: var(--r);
  transition: border-color var(--motion-base) var(--motion-ease), background var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}
.ruta-op i {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px;
  font-style: normal; font-size: .78rem; font-weight: 800; letter-spacing: .06em;
  background: rgba(var(--brand-rgb), .1); color: var(--brand);
  transition: background var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease);
}
.ruta-op svg { width: 22px; height: 22px; }
.ruta-op:hover, .ruta-op:focus-visible { border-color: rgba(var(--brand-rgb), .5); background: #fff; box-shadow: var(--sh-2); }
.ruta-op:hover i, .ruta-op:focus-visible i { background: var(--brand); color: #fff; }
.ruta-op.sel { border-color: var(--mint); background: rgba(var(--mint-rgb), .1); }
.ruta-op.sel i { background: var(--mint); color: var(--mint-deep); }
.ruta-res h3 { margin: 0 0 14px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.ruta-sel { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ruta-sel span { padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--brand); background: rgba(var(--brand-rgb), .09); border: 1px solid rgba(var(--brand-rgb), .16); }
.ruta-lista { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.ruta-lista li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-soft); font-size: .98rem; line-height: 1.6; }
.ruta-lista i { flex: none; width: 26px; height: 26px; margin-top: 1px; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--mint-rgb), .18); color: #0E7A45; }
.ruta-lista svg { width: 14px; height: 14px; }
.ruta-acciones { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ruta-reiniciar { padding: 8px 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: .88rem; font-weight: 600; color: var(--text-soft); cursor: pointer; }
.ruta-reiniciar:hover, .ruta-reiniciar:focus-visible { color: var(--brand); text-decoration: underline; }
.ruta-nota { margin: 18px 0 0; font-size: .8rem; color: var(--text-mute); }

/* Puntos laterales: dónde estás y a dónde ir */
.puntos { position: fixed; right: 18px; top: 50%; z-index: 45; display: none; flex-direction: column; gap: 4px; transform: translateY(-50%); }
@media (min-width: 1360px) { .puntos { display: flex; } }
.puntos button { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.puntos i { width: 9px; height: 9px; border-radius: 50%; background: rgba(110,135,185,.55); box-shadow: 0 0 0 1.5px rgba(255,255,255,.55); transition: transform var(--motion-base) var(--motion-ease), background var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease); }
.puntos button.on i { background: var(--mint); transform: scale(1.5); box-shadow: 0 0 0 4px rgba(var(--mint-rgb), .28); }
.puntos span { position: absolute; right: 32px; padding: 5px 11px; border-radius: 8px; background: var(--ink-900); color: #fff; font-size: .72rem; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity 250ms var(--motion-ease), transform 250ms var(--motion-ease); }
.puntos button:hover span, .puntos button:focus-visible span { opacity: 1; transform: none; }

/* Aro que acompaña al cursor (sólo con ratón) */
.aro {
  position: fixed; left: 0; top: 0; z-index: 150; width: 36px; height: 36px; pointer-events: none; border-radius: 50%;
  border: 1.5px solid rgba(62,134,245,.75); background: rgba(62,134,245,.05); opacity: 0;
  transition: opacity 300ms var(--motion-ease), width 300ms var(--motion-ease), height 300ms var(--motion-ease), margin 300ms var(--motion-ease), background 300ms var(--motion-ease), border-color 300ms var(--motion-ease);
}
.aro.on { opacity: 1; }
.aro.grande { width: 64px; height: 64px; margin: -14px 0 0 -14px; background: rgba(62,134,245,.12); border-color: rgba(53,208,127,.9); }

/* Las columnas de la portada se pueden achicar: la línea de código del pasaporte no se parte y,
   sin esto, obligaba a toda la columna a medir 362 px en un celular de 327 px útiles. */
.hero-grid > * { min-width: 0; }
@media (max-width: 480px) { .hero-chip { font-size: .72rem; padding: 7px 12px 7px 8px; white-space: nowrap; } .hero-chip .dots span:nth-child(3) { margin-right: 7px; } }
.pp-mrz { max-width: 100%; text-overflow: clip; }
@media (max-width: 880px) { .ruta { padding: 22px 18px 26px; } .ruta-op { padding: 15px 16px; } .faq-res { display: none; } }

/* La foto de la abogada viene con fondo blanco de estudio: se apoya sobre un
   panel con el azul de la marca para que no flote sobre el blanco de la página. */
.about-media picture {
  display: block; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(168deg, #E8F0FC 0%, #F6F9FE 52%, #EDF4FD 100%);
  box-shadow: var(--sh-3), inset 0 0 0 1px rgba(var(--brand-rgb), .07);
}
.about-media img { box-shadow: none; mix-blend-mode: multiply; }
