/* Esfera de alta relojería: laca negra, oro aplicado, un minutero y la hora de Nueva York.
   Dos tintas para todo: negro y oro. Nada va en cajas: el rango lo dan la escala y la luz. */

@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fuentes/bodoni-moda-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('fuentes/bodoni-moda-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fuentes/schibsted-grotesk-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('fuentes/schibsted-grotesk-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Azeret Mono';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fuentes/azeret-mono-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  /* laca */
  --lacquer: #080605;
  --lacquer-2: #0e0b08;
  --lacquer-3: #17120c;
  /* tinta */
  --ivory: #f2eadb;
  --ivory-2: #c4b8a1;
  --ivory-3: #95886f;
  /* oro aplicado */
  --gold: #e2b04a;
  --gold-hi: #f7e2a8;
  --gold-md: #c08f30;
  --gold-lo: #7a5418;
  --on-gold: #140d03;
  --on-gold-2: #3a2808;
  --hair: rgba(226, 176, 74, 0.36);
  --hair-soft: rgba(226, 176, 74, 0.16);

  --f-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', 'Times New Roman', serif;
  --f-body: 'Schibsted Grotesk', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --f-mono: 'Azeret Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --gutter: clamp(16px, 4.2vw, 64px);
  --measure: 60ch;
  --section: clamp(96px, 12vw, 168px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-base: 300ms;
  --t-slow: 700ms;
  /* Profundidad: sombra larga con desplazamiento, cálida pero no un halo. */
  --lift: 0 22px 44px -22px rgba(0, 0, 0, 0.9), 0 10px 26px -14px rgba(226, 176, 74, 0.42);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--lacquer);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--gold-lo) var(--lacquer);
  scrollbar-width: thin;
}
@media (max-width: 760px) { html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret, .guilloche { animation: none !important; }
}

body {
  margin: 0;
  background: var(--lacquer);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden; overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Superficies del navegador, también en dos tintas. */
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 1.5px solid var(--gold-hi); outline-offset: 4px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--lacquer); }
::-webkit-scrollbar-thumb { background: var(--gold-lo); border: 3px solid var(--lacquer); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-md); }
a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: var(--hair); transition: color var(--t-fast), text-decoration-color var(--t-fast); }
a:hover { color: var(--gold-hi); text-decoration-color: currentColor; }
img, svg, canvas { display: block; max-width: 100%; }
strong { font-weight: 650; color: var(--ivory); }
p { margin: 0; }

.skip { position: absolute; left: var(--gutter); top: -200px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a[target="_blank"]::after { content: " (se abre en otra pestaña)"; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.measure { max-width: var(--measure); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.muted { color: var(--ivory-2); }
.small { font-size: 0.9375rem; }

/* ---------- Tipografía ---------- */
h1, h2, h3, .figure, .figure-xl {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums;
  margin: 0;
  color: var(--ivory);
  text-wrap: balance;
}
h1 { font-weight: 640; font-size: clamp(3.1rem, 8.4vw, 7.6rem); line-height: 0.86; letter-spacing: -0.028em; font-variation-settings: 'opsz' 96; }
h2 { font-weight: 600; font-size: clamp(2.35rem, 5.2vw, 4.5rem); line-height: 0.96; letter-spacing: -0.02em; font-variation-settings: 'opsz' 80; }
h3 { font-weight: 600; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.12; letter-spacing: -0.01em; font-variation-settings: 'opsz' 28; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
.lede { font-size: clamp(1.12rem, 1.45vw, 1.32rem); line-height: 1.5; color: var(--ivory-2); max-width: var(--measure); }
.lede strong { color: var(--ivory); }

/* ---------- Controles ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  font-family: var(--f-body); font-weight: 650; font-size: 1.02rem; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; border: 0; border-radius: 999px;
  white-space: nowrap;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), background var(--t-fast), color var(--t-fast);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.92rem; }
.btn-lg { min-height: 64px; padding: 0 34px; font-size: 1.1rem; }
/* Losa de oro: metal cepillado; al pasar, un brillo de laca la cruza una vez; al apretar, se invierte. */
.btn-gold {
  color: var(--on-gold);
  background: linear-gradient(180deg, #f9e7b2 0%, #e9bd5c 34%, #d6a240 62%, #b5842a 100%);
  box-shadow: var(--lift), inset 0 1px 0 rgba(255, 252, 240, 0.7), inset 0 -1px 0 rgba(70, 44, 6, 0.35);
}
.btn-gold::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.65) 48%, transparent 66%);
  transform: translateX(-120%);
}
.btn-gold:hover { transform: translateY(-2px); color: var(--on-gold); }
.btn-gold:hover::before { transform: translateX(120%); transition: transform 900ms var(--ease-out); }
.btn-gold:active { background: var(--on-gold); color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); transform: none; transition-duration: 60ms; }
.btn-line { color: var(--ivory); background: transparent; box-shadow: inset 0 0 0 1px rgba(226, 176, 74, 0.62); }
.btn-line:hover { color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-hi); transform: translateY(-2px); }
.btn-line:active { background: var(--gold); color: var(--on-gold); transform: none; transition-duration: 60ms; }
.btn-ink { color: var(--gold-hi); background: var(--on-gold); box-shadow: 0 18px 34px -20px rgba(20, 13, 3, 0.8); }
.btn-ink:hover { transform: translateY(-2px); color: var(--gold-hi); }
.btn-ink:active { background: transparent; color: var(--on-gold); box-shadow: inset 0 0 0 1.5px var(--on-gold); transform: none; }
.btn-ink-line { color: var(--on-gold); background: transparent; box-shadow: inset 0 0 0 1.5px var(--on-gold); }
.btn-ink-line:hover { transform: translateY(-2px); color: var(--on-gold); }
.btn-ink-line:active { background: var(--on-gold); color: var(--gold-hi); transform: none; }
.btn[hidden] { display: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--gold); }
/* Enlace de filete: texto con un tramo de minutero debajo; sin caja. */
.rule-link { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 2px; color: var(--ivory); font-weight: 650; text-decoration: none; white-space: nowrap; }
.rule-link::before { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 6px; pointer-events: none;
  background-image: linear-gradient(var(--gold), var(--gold)), repeating-linear-gradient(90deg, rgba(226, 176, 74, 0.6) 0 1px, transparent 1px 8px);
  background-size: 100% 1px, 100% 5px; background-position: 0 100%, 0 0; background-repeat: no-repeat; transform-origin: left; transition: transform var(--t-base) var(--ease-out); }
.rule-link svg { width: 18px; height: 18px; color: var(--gold); transition: transform var(--t-base) var(--ease-out); }
.rule-link:hover { color: var(--gold-hi); }
.rule-link:hover svg { transform: translate(2px, -2px); }
.rule-link:active { color: var(--gold); }
.nowrap { white-space: nowrap; }
.phone { display: inline-flex; align-items: center; min-height: 44px; font-variant-numeric: tabular-nums; }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Cabecera ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.top.is-scrolled { background: rgba(8, 6, 5, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--hair-soft); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 44px; color: var(--gold); text-decoration: none; }
.brand .seal { width: 40px; height: 40px; flex: none; }
.brand .seal text { font-family: var(--f-display); font-style: italic; }
.brand span { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em; color: var(--ivory); white-space: nowrap; font-variation-settings: 'opsz' 28; }
.top nav .rule-link { min-height: 44px; }
@media (max-width: 420px) { .brand span { display: none; } }

/* ---------- Portada ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  overflow: hidden; overflow: clip;
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero-light {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 52% at var(--sx, 72%) var(--sy, 46%), rgba(226, 176, 74, 0.16), transparent 72%),
    radial-gradient(60% 50% at 10% 110%, rgba(122, 84, 24, 0.22), transparent 70%);
}
/* Sin WebGL: una esfera de oro pintada con luz, concéntrica con el minutero. */
.hero.no-webgl .hero-light::before {
  content: ''; position: absolute; border-radius: 50%;
  width: calc(var(--dr, 30vh) * 2 / 1.32); height: calc(var(--dr, 30vh) * 2 / 1.32);
  left: calc(var(--dx, 72vw) - var(--dr, 30vh) / 1.32); top: calc(var(--dy, 46vh) - var(--dr, 30vh) / 1.32);
  background:
    radial-gradient(circle at 36% 28%, #fff6d8 0, #f2cf7a 9%, transparent 30%),
    radial-gradient(circle at 50% 62%, #e2b04a 0, #b9862e 46%, #6e4a15 74%, #2a1b06 100%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
/* El minutero: lo coloca main.js alrededor de la esfera; su aguja avanza con el scroll. */
.dial {
  position: absolute; z-index: 0; pointer-events: none;
  left: calc(var(--dx, 72vw) - var(--dr, 30vh)); top: calc(var(--dy, 46vh) - var(--dr, 30vh));
  width: calc(var(--dr, 30vh) * 2); height: calc(var(--dr, 30vh) * 2);
  max-width: none; overflow: visible;
  opacity: 0; transition: opacity 1.2s var(--ease-out);
}
.dial.is-set { opacity: 1; }
.dial-ring { fill: none; stroke: var(--hair); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dial-ring-in { stroke: var(--hair-soft); }
.dial-ticks line { stroke: rgba(226, 176, 74, 0.5); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dial-ticks line.is-hour { stroke: var(--gold); stroke-width: 2; }
.dial-ticks text { fill: var(--ivory-2); font-family: var(--f-mono); font-size: 15px; letter-spacing: 0.04em; }
.dial-hand { transform-origin: 500px 500px; transform: rotate(var(--hand, 0deg)); }
.dial-hand line { stroke: var(--gold-hi); stroke-width: 2; vector-effect: non-scaling-stroke; }
.dial-hand circle { fill: var(--gold-hi); }

.hero-grid { position: relative; z-index: 1; display: grid; align-items: end; padding: calc(96px + 3vh) 0 clamp(36px, 6vh, 72px); }
.hero-copy { max-width: min(52vw, 760px); }
.hero h1 { margin-bottom: clamp(20px, 3vh, 30px); }
.hero h1 .line { display: block; white-space: nowrap; }
.hero .lede { margin-bottom: clamp(26px, 4vh, 40px); max-width: 46ch; }
html.hero-wait:not(.reduced) :is(.hero h1 .line, .hero .lede, .hero .actions) { opacity: 0; }

.clock { position: relative; z-index: 1; border-top: 1px solid var(--hair-soft); background: linear-gradient(180deg, rgba(8, 6, 5, 0.4), var(--lacquer)); }
.clock-row { display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: center; justify-content: space-between; padding: 16px 0; color: var(--ivory-2); font-size: 0.9rem; }
.clock-row p { display: block; }
.clock-now { display: flex !important; align-items: center; gap: 10px; }
.clock-row p + p::before { content: ''; display: inline-block; vertical-align: middle; margin-right: 12px; width: 5px; height: 5px; background: var(--gold); transform: translateY(-1px) rotate(45deg); }
.clock-now { color: var(--ivory); }
.clock-label { color: var(--gold); font-weight: 650; }
.clock-time { font-size: 1.05rem; color: var(--ivory); min-width: 8ch; }
.caret { width: 8px; height: 1.1em; background: var(--gold); animation: caret 1.1s steps(2, end) 4; } /* parpadea ~4 s y queda fijo (WCAG 2.2.2) */
.reduced .caret { animation: none; }
.bar[inert] { pointer-events: none; }
@keyframes caret { 50% { opacity: 0; } }

@media (max-width: 760px) {
  .hero-grid { padding-top: calc(64px + 30vh); }
  h1 { font-size: 2.75rem; }
  .clock-row, .foot, .legal, .cert figcaption, .course, .incl span, .pamm-figures dt { font-size: 1rem; }
  .hero-copy { max-width: none; text-shadow: 0 2px 26px rgba(8, 6, 5, 0.95); }
  .hero .actions .btn { width: 100%; }
  .clock-row { justify-content: flex-start; }
  .clock-row p:nth-child(3) { display: none; }
}

/* ---------- Secciones ---------- */
section { position: relative; }
.sec { padding-block: var(--section); }
.sec-head { max-width: 920px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head h2 { margin-bottom: clamp(18px, 2.4vw, 28px); }

/* Prueba: la cuenta, enmarcada en un rosetón de certificado */
.proof { overflow: hidden; overflow: clip; }
.proof-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.figure-xl { font-weight: 700; font-size: clamp(2.5rem, 13vw, 7rem); line-height: 0.86; letter-spacing: -0.03em; color: var(--gold); font-variation-settings: 'opsz' 96; white-space: nowrap; }
.figure-xl i { font-style: normal; font-family: var(--f-body); font-weight: 300; font-size: 0.62em; vertical-align: 0.18em; margin-right: 0.04em; }
.figure-xl span:not(.sr) { font-family: var(--f-body); font-weight: 650; font-size: max(0.9rem, 0.2em); letter-spacing: 0.08em; color: var(--gold-md); vertical-align: 0.9em; margin-left: 0.2em; }
.figure-note { margin: 14px 0 clamp(32px, 4vw, 52px); color: var(--ivory-2); font-size: 1rem; }
.proof-copy h2 { margin-bottom: 20px; }
.facts { margin: clamp(30px, 4vw, 44px) 0 30px; display: grid; gap: 0; }
/* Minutero: el filete de la esfera estructura toda la página. Las listas cierran con el mismo minutero, mirando hacia arriba. */
.facts, .inside-list, .incl, .faq-list { position: relative; padding-bottom: 1px; }
.facts::after, .inside-list::after, .incl::after, .faq-list::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; pointer-events: none; background-image: linear-gradient(var(--hair), var(--hair)), repeating-linear-gradient(90deg, rgba(226, 176, 74, 0.42) 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, rgba(226, 176, 74, 0.7) 0 1px, transparent 1px 60px); background-size: 100% 1px, 100% 5px, 100% 9px; background-position: 0 100%, 0 100%, 0 100%; background-repeat: no-repeat; }
.facts div, .steps li, .inside-list li, .incl li, .faq-list details {
  border-top: 0 !important;
  background-image: linear-gradient(var(--hair), var(--hair)), repeating-linear-gradient(90deg, rgba(226, 176, 74, 0.42) 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, rgba(226, 176, 74, 0.7) 0 1px, transparent 1px 60px);
  background-size: 100% 1px, 100% 5px, 100% 9px; background-position: 0 0, 0 0, 0 0; background-repeat: no-repeat;
}
.steps-ink li { background-image: linear-gradient(rgba(20, 13, 3, 0.55), rgba(20, 13, 3, 0.55)), repeating-linear-gradient(90deg, rgba(20, 13, 3, 0.4) 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, rgba(20, 13, 3, 0.7) 0 1px, transparent 1px 60px); }
.facts div { padding: 22px 0 18px; }

.facts dt { font-weight: 650; font-size: 1.08rem; }
.facts dd { margin: 4px 0 0; color: var(--ivory-2); }
.cert { position: relative; margin: 0; display: grid; justify-items: center; gap: 28px; }
.cert-stage { position: relative; width: 100%; display: grid; place-items: center; padding-block: clamp(80px, 11vw, 170px); }
.guilloche { position: absolute; z-index: 0; left: 50%; top: 50%; width: min(118%, 640px); aspect-ratio: 1; transform: translate(-50%, -50%); color: var(--gold); opacity: 0.4; pointer-events: none; overflow: visible; animation: turn 240s linear infinite; will-change: transform; }
.reduced .guilloche { animation: none; }
@keyframes turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
.guilloche path, .guilloche circle { fill: none; stroke: currentColor; vector-effect: non-scaling-stroke; }
.cert-frame { position: relative; z-index: 1; display: block; width: min(100%, 520px); padding: 10px; background: var(--lacquer); box-shadow: inset 0 0 0 1px var(--hair), 0 40px 80px -40px rgba(0, 0, 0, 0.95); border-radius: 4px; transition: transform var(--t-slow) var(--ease-out); }
.cert-frame:hover { transform: translateY(-4px); }
.cert-frame img { width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 2px; background: #f2f2f2; }
.cert figcaption { position: relative; z-index: 1; width: min(100%, 520px); display: grid; gap: 18px; justify-items: start; color: var(--ivory-2); font-size: 0.95rem; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }

/* La rutina como minutero */
.day { background: linear-gradient(180deg, var(--lacquer) 0%, var(--lacquer-2) 100%); }
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); position: relative; }
.track::before {
  content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 14px; pointer-events: none;
  background:
    linear-gradient(var(--hair), var(--hair)) left 7px / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(226, 176, 74, 0.45) 0 1px, transparent 1px 12px) left 2px / 100% 11px no-repeat;
}
.track li { position: relative; padding-top: 48px; }
.track li::before { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: var(--lacquer); border: 1px solid var(--gold); transform: rotate(45deg); }
.track li.is-mark::before { background: var(--gold); box-shadow: 0 0 0 6px var(--lacquer), 0 0 0 7px var(--hair); }
.track h3 { margin-bottom: 10px; }
.track p { color: var(--ivory-2); }
.day-close { margin-top: clamp(48px, 7vw, 88px); max-width: 780px; }
@media (max-width: 900px) {
  .track { grid-template-columns: 1fr; gap: 34px; padding-left: 34px; }
  .track::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: var(--hair); }
  .track li { padding-top: 0; }
  .track li::before { left: -34px; top: 8px; }
}

/* Cómo entrar: números romanos de esfera */
.vip { background: radial-gradient(45% 40% at 86% 22%, rgba(226, 176, 74, 0.1), transparent 60%), var(--lacquer-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 5vw, 64px); max-width: 980px; }
.steps li { display: grid; grid-template-columns: clamp(76px, 10vw, 132px) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; padding-top: clamp(28px, 3vw, 40px); }
.steps li > div { min-width: 0; }
@media (max-width: 480px) { .steps li { grid-template-columns: 1fr; gap: 6px; } .step-n { font-size: 2.6rem; } .steps .btn { white-space: normal; max-width: 100%; text-align: center; } }
.step-n { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: 0.8; color: var(--gold); font-variation-settings: 'opsz' 96; }
.steps h3 { margin: 4px 0 10px; }
.steps p { color: var(--ivory-2); max-width: 58ch; }
.steps p strong { color: var(--ivory); }
.steps .actions { margin-top: 18px; }
.vip-foot { margin-top: clamp(48px, 6vw, 80px); }

/* Adentro */
.inside-list { list-style: none; margin: 0 0 clamp(40px, 5vw, 64px); padding: 0; max-width: 1080px; }
.inside-list li { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.26; color: var(--ivory-2); padding: clamp(22px, 2.6vw, 32px) 0 clamp(18px, 2.4vw, 28px); font-variation-settings: 'opsz' 48; }

.inside-list strong { font-style: normal; font-weight: 600; color: var(--gold); }
.inside-text p + p { margin-top: 1em; }
.inside-text .actions { margin-top: 28px; }

/* Sobre mí: retrato en dos tintas */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.portrait { margin: 0; position: relative; }
.portrait::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--hair); pointer-events: none; }
.portrait img { position: relative; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; filter: url(#duo) contrast(1.05); }
.about-text h2 { margin-bottom: 24px; }
.about-text .lede { margin-bottom: 1.2em; }
.about-text p + p { margin-top: 1em; }
.live { display: flex; gap: 14px; align-items: baseline; margin-top: 30px !important; padding-top: 26px; background-image: linear-gradient(var(--hair), var(--hair)), repeating-linear-gradient(90deg, rgba(226, 176, 74, 0.42) 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, rgba(226, 176, 74, 0.7) 0 1px, transparent 1px 60px); background-size: 100% 1px, 100% 5px, 100% 9px; background-repeat: no-repeat; }
.live-dot { flex: none; width: 8px; height: 8px; background: var(--gold); transform: translateY(-2px) rotate(45deg); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 520px; margin-left: 14px; } }

/* PAMM: el único campo de oro macizo, impreso en tinta negra */
.pamm {
  color: var(--on-gold);
  background-color: #e2b04a;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px),
    linear-gradient(118deg, #d8a64a 0%, #ecc771 32%, #f3d688 46%, #e4b75e 62%, #d5a043 100%);
}
.pamm h2, .pamm h3, .pamm strong { color: var(--on-gold); }
.pamm h2 em { color: var(--on-gold); }
.pamm h2 { font-variation-settings: 'opsz' 28; }
.pamm h3 { font-variation-settings: 'opsz' 10; font-weight: 650; }
.pamm .step-n { font-variation-settings: 'opsz' 28; }
.pamm .lede, .pamm p, .pamm dt { color: var(--on-gold-2); }
.pamm a:not(.btn), .pamm a:not(.btn):hover { color: var(--on-gold); text-decoration-color: rgba(20, 13, 3, 0.5); }
.pamm a:not(.btn):hover { text-decoration-color: var(--on-gold); }
.pamm ::selection { background: var(--on-gold); color: var(--gold-hi); }
.pamm :focus-visible { outline-color: var(--on-gold); }
.pamm-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin: 0 0 clamp(56px, 7vw, 100px); }
.pamm-figures > div { display: flex; flex-direction: column; padding-top: 22px; background-image: linear-gradient(rgba(20, 13, 3, 0.7), rgba(20, 13, 3, 0.7)), repeating-linear-gradient(90deg, rgba(20, 13, 3, 0.45) 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, rgba(20, 13, 3, 0.8) 0 1px, transparent 1px 60px); background-size: 100% 1.5px, 100% 5px, 100% 9px; background-repeat: no-repeat; }
.pamm-figures dd { order: -1; }
.pamm-figures dd { margin: 0 0 12px; font-weight: 700; font-size: clamp(3.4rem, 6.4vw, 6rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--on-gold); font-variation-settings: 'opsz' 96; }
.pamm-figures dd small { font-family: var(--f-body); font-weight: 650; font-size: max(1rem, 0.24em); letter-spacing: 0.06em; color: var(--on-gold-2); }
.pamm-figures dt { font-size: 0.98rem; max-width: 34ch; }
.steps-ink .step-n { color: var(--on-gold); }
.steps-ink p { color: var(--on-gold-2); }
.pamm-foot { margin-top: clamp(44px, 5vw, 64px); }
@media (max-width: 760px) { .pamm-figures { grid-template-columns: 1fr; } }

/* Formación */
.member { background: radial-gradient(40% 40% at 14% 78%, rgba(226, 176, 74, 0.09), transparent 60%), var(--lacquer); }
.member-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.member-grid h2 { margin-bottom: 22px; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 8px; }
.price .figure { font-weight: 700; font-size: clamp(3.6rem, 7vw, 6.2rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--gold); font-variation-settings: 'opsz' 96; }
.price span:last-child { color: var(--ivory-2); }
.member-grid .actions { margin-top: 28px; }
.incl { list-style: none; margin: 0; padding: 0; }
.incl li { position: relative; padding: 22px 0 18px 30px; }

.incl li::before { content: ''; position: absolute; left: 2px; top: 27px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.incl strong, .incl span { display: block; }
.incl span { color: var(--ivory-2); font-size: 0.97rem; margin-top: 2px; }
.course { margin-top: 32px; color: var(--ivory-2); font-size: 0.97rem; max-width: 58ch; }
.course p { margin-bottom: 14px; }
@media (max-width: 900px) { .member-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq-list summary { padding-top: 26px !important; }

.faq-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 22px; gap: 20px; align-items: center; padding: 22px 0; font-weight: 650; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.3; transition: color var(--t-fast); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-hi); }
.plus { position: relative; width: 22px; height: 22px; }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--gold); transform: translate(-50%, -50%); transition: transform var(--t-base) var(--ease-out); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 42px 26px 0; color: var(--ivory-2); max-width: var(--measure); }
.faq-a p + p { margin-top: 0.8em; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .sec-head { position: static; margin-bottom: 24px; } }

/* Cierre */
.close { text-align: center; overflow: hidden; overflow: clip; padding-bottom: calc(var(--section) + clamp(140px, 20vw, 280px)); background: radial-gradient(60% 50% at 50% 100%, rgba(226, 176, 74, 0.18), transparent 70%), var(--lacquer); }
.close-canvas { position: absolute; left: 0; right: 0; bottom: 0; top: auto; z-index: 0; width: 100%; height: 58%; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%); mask-image: linear-gradient(180deg, transparent 0%, #000 34%); }
.close.no-webgl .close-canvas { display: none; }
.close-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 26px; }
.close h2 { font-size: clamp(2.8rem, 7vw, 6rem); max-width: 14ch; line-height: 1.04; }
.close .lede { margin-inline: auto; text-shadow: 0 2px 20px rgba(8, 6, 5, 0.9); }
.close .actions { justify-content: center; }

/* Aviso y pie */
.legal { border-top: 1px solid var(--hair-soft); padding: 52px 0; color: var(--ivory-2); font-size: 0.9375rem; line-height: 1.6; }
.legal p { max-width: 92ch; }
.legal p + p { margin-top: 0.8em; }
.legal strong { color: var(--ivory-2); }
footer { padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair-soft); }
.foot { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; color: var(--ivory-3); font-size: 0.9rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot a { color: var(--ivory-2); text-decoration: none; display: inline-block; padding: 12px 0; }
.foot a:hover { color: var(--gold-hi); }

/* Barra fija en el teléfono */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 6, 5, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--hair-soft); transform: translateY(110%); transition: transform var(--t-base) var(--ease-out); }
.bar .btn { width: 100%; min-height: 52px; }
.bar.is-on { transform: none; }
@media (max-width: 760px) { .bar { display: block; } body { padding-bottom: 76px; } }

/* Revelados: el estado inicial lo pone el JS, así que sin JS todo se ve. */
.reduced [data-reveal] { opacity: 1 !important; transform: none !important; }

/* Modo captura (solo para screenshots de página completa) */
html.capture .top { position: absolute; }
html.capture .bar { display: none; }
html.capture .faq-grid .sec-head { position: static; }

/* ======================= Versión 3: el canal acompaña el scroll ======================= */
.stage { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 370px); gap: clamp(40px, 6vw, 110px); align-items: start; }
.stage-copy { min-width: 0; }
.stage-copy .sec { padding-block: clamp(80px, 10vw, 140px); }
.stage-copy .sec + .sec { padding-top: clamp(40px, 6vw, 80px); }
.stage-phone { position: sticky; top: max(90px, calc(50vh - 330px)); align-self: start; margin-block: clamp(80px, 10vw, 140px); }
.chapter .cert { margin-top: clamp(40px, 6vw, 72px); }

/* El teléfono */
.device { position: relative; padding: 12px; border-radius: 40px; background: linear-gradient(160deg, #1d1710, #090705 55%); box-shadow: inset 0 0 0 1px rgba(226, 176, 74, 0.45), inset 0 0 0 5px #050403, 0 60px 90px -50px rgba(0, 0, 0, 0.95), 0 30px 60px -40px rgba(226, 176, 74, 0.35); }
.device::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; transform: translateX(-50%); border-radius: 20px; background: #050403; z-index: 2; }
.phone-screen { position: relative; display: flex; flex-direction: column; min-height: min(620px, 72vh); border-radius: 30px; overflow: hidden; background: radial-gradient(120% 60% at 50% 0%, #17120c, var(--lacquer-2) 60%); }
.phone-head { display: flex; align-items: center; gap: 12px; padding: 54px 18px 14px; background-image: linear-gradient(var(--hair), var(--hair)), repeating-linear-gradient(90deg, rgba(226, 176, 74, 0.4) 0 1px, transparent 1px 12px); background-size: 100% 1px, 100% 5px; background-position: 0 100%, 0 100%; background-repeat: no-repeat; }
.ava { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-style: italic; font-weight: 600; color: var(--on-gold); background: linear-gradient(150deg, #f7e2a8, #e2b04a 45%, #a87a26); }
.phone-title b { display: block; font-size: 0.95rem; }
.phone-title span { display: block; font-size: 0.78rem; color: var(--ivory-3); }
.phone-feed { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 18px 14px; }
.msg { max-width: 88%; padding: 11px 14px 12px; border-radius: 16px 16px 16px 4px; background: #17120c; box-shadow: inset 0 0 0 1px var(--hair-soft); font-size: 0.9rem; line-height: 1.5; color: var(--ivory-2); }
.msg b { color: var(--gold); font-weight: 650; }
.msg-me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: #2a1f0d; color: var(--ivory); }
.redact { display: inline-block; vertical-align: middle; height: 0.75em; margin-top: 6px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-md)); }
.phone-note { padding: 12px 16px 18px; font-size: 0.78rem; color: var(--ivory-3); text-align: center; }

/* Rutina en vertical dentro de la columna */
.track-v { grid-template-columns: 1fr; gap: 34px; padding-left: 34px; }
.track-v::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: var(--hair); }
.track-v li { padding-top: 0; }
.track-v li::before { left: -34px; top: 8px; }

/* Brokers: tres placas sobre el minutero, cada una con su acción */
.brokers { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); }
.brokers li { padding-top: 0; background-image: linear-gradient(var(--hair), var(--hair)), repeating-linear-gradient(90deg, rgba(226, 176, 74, 0.42) 0 1px, transparent 1px 12px); background-size: 100% 1px, 100% 5px; background-repeat: no-repeat; }
.broker { display: grid; gap: 16px; align-content: start; padding: 26px 0 8px; min-height: 44px; color: var(--gold); text-decoration: none; }

.broker-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--ivory); font-weight: 650; font-size: 0.95rem; padding-bottom: 6px; background-image: linear-gradient(var(--hair), var(--hair)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; justify-self: start; }
.broker-cta .ico { width: 16px; height: 16px; color: var(--gold); transition: transform var(--t-base) var(--ease-out); }
.broker:hover .broker-logo { color: var(--gold-hi); transform: translateY(-2px); }
.broker:hover .broker-cta { color: var(--gold-hi); background-image: linear-gradient(var(--gold-hi), var(--gold-hi)); }
.broker:hover .ico { transform: translate(2px, -2px); }
.broker:active .broker-cta { color: var(--gold); }
.brokers-ink { margin: 0 0 clamp(48px, 6vw, 80px); }
.brokers-ink li { background-image: linear-gradient(rgba(20, 13, 3, 0.7), rgba(20, 13, 3, 0.7)), repeating-linear-gradient(90deg, rgba(20, 13, 3, 0.45) 0 1px, transparent 1px 12px); }
.brokers-ink .broker, .brokers-ink .broker-logo, .brokers-ink .broker-cta, .brokers-ink .ico { color: var(--on-gold); }
.brokers-ink .broker-cta { background-image: linear-gradient(rgba(20, 13, 3, 0.6), rgba(20, 13, 3, 0.6)); }
.pamm .brokers-ink .broker:hover .broker-logo, .pamm .brokers-ink .broker:hover .broker-cta { color: var(--on-gold); }
.brokers-row { width: min(100%, 720px); margin: 8px auto 0; text-align: left; }
.brokers-row .broker { justify-items: center; text-align: center; }
.brokers-row .broker-cta { justify-self: center; font-size: 0.88rem; color: var(--ivory-2); }

@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; gap: 0; }
  .stage-phone { display: none; }
}
@media (max-width: 640px) {
  .brokers { grid-template-columns: 1fr; }
  .broker { grid-template-columns: 1fr auto; align-items: center; padding: 20px 0 14px; }
  .broker-cta { justify-self: end; }
  .brokers-row .broker { grid-template-columns: 1fr; justify-items: center; }
  .brokers-row .broker-cta { justify-self: center; }
}

.chapter { overflow-x: hidden; overflow-x: clip; }
.chapter .guilloche { width: min(110%, 600px); }

.pamm .steps p strong, .pamm .lede strong { color: var(--on-gold); }
.broker-cta { white-space: nowrap; }
html.capture .stage-phone { position: relative; top: auto; }

.chapter h2 { margin-bottom: clamp(18px, 2.4vw, 28px); }

/* ---------- Ronda de correcciones v3 ---------- */
[hidden] { display: none !important; }

/* Logos: caja de alto fijo (los CTAs comparten línea base) y peso óptico parejo */
.broker-box { display: flex; align-items: center; height: 34px; }
.broker-logo { display: block; width: auto; height: 24px; flex: none; overflow: visible; transition: color var(--t-fast), transform var(--t-base) var(--ease-out); }
.broker-valetax .broker-logo { height: 20px; }
.broker-vantage .broker-logo { height: 28px; }
.broker-ultima .broker-logo { height: 26px; }
.brokers-ink .broker-box { height: 42px; }
.brokers-ink .broker-valetax .broker-logo { height: 25px; }
.brokers-ink .broker-vantage .broker-logo { height: 35px; }
.brokers-ink .broker-ultima .broker-logo { height: 33px; }
.steps-ink .brokers-ink { margin: 24px 0 0; }

/* Teléfono: tope al alto de la ventana; los mensajes nuevos empujan a los viejos hacia arriba */
.stage-phone .device { max-height: calc(100vh - max(90px, calc(50vh - 330px)) - 24px); max-height: calc(100svh - max(90px, calc(50vh - 330px)) - 24px); display: flex; }
.stage-phone .phone-screen { flex: 1; min-height: 0; height: auto; }
.phone-screen { min-height: 0; }
.stage-phone .phone-screen { min-height: min(620px, calc(100svh - 160px)); }
.phone-feed { min-height: 0; overflow: hidden; }
html.feed-on .stage-phone .phone-feed .msg { max-height: 0; opacity: 0; padding-block: 0; margin-top: -10px; overflow: hidden; transform: translateY(10px); transition: max-height 560ms var(--ease-out), opacity 420ms var(--ease-out) 120ms, padding 560ms var(--ease-out), margin 560ms var(--ease-out), transform 560ms var(--ease-out); }
html.feed-on .stage-phone .phone-feed .msg.is-in { max-height: 240px; opacity: 1; padding-block: 11px 12px; margin-top: 0; transform: none; }

/* Señal con etiquetas reales: solo los valores van tapados */
.sig { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(226, 176, 74, 0.22); }
.sig > span:first-child { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.02em; color: var(--ivory-2); }
.sig .redact { margin-top: 0; height: 0.85em; }
.sig-tag { display: block; margin-top: 8px; font-size: 0.72rem; color: var(--ivory-3); }

/* El teléfono una vez en el móvil, estático, con los cinco mensajes */
.device-inline { display: none; }
@media (max-width: 900px) {
  .device-inline { display: block; width: min(330px, 86vw); margin: 8px auto clamp(40px, 8vw, 64px); }
  .device-static .phone-screen { min-height: 0; }
}
@media (max-width: 640px) {
  .brokers-ink .broker { grid-template-columns: 1fr; gap: 12px; }
  .brokers-ink .broker-cta { justify-self: start; }
}

/* Texto de lectura ≥16 px en el teléfono (al final para que gane la cascada) */
@media (max-width: 760px) {
  .clock-row, .foot, .legal, .cert figcaption, .course, .incl span, .pamm-figures dt, .figure-note, .msg, .broker-cta, .brokers-row .broker-cta, .small, .vip-foot { font-size: 1rem; }
  .sig > span:first-child { font-size: 0.875rem; }
  .sig-tag, .phone-note, .phone-title span { font-size: 0.85rem; }
}

.phone-feed .msg { flex-shrink: 0; }
.sig > span:first-child { white-space: nowrap; }
.device-static .msg { max-width: 94%; }
@media (max-width: 760px) { .sig > span:first-child { font-size: 0.8rem; } }

.stage-phone .phone-feed { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 46px); mask-image: linear-gradient(180deg, transparent 0, #000 46px); padding-top: 28px; }

/* El teléfono arranca a la altura del contenido y nunca supera la ventana: el mensaje que llega siempre queda a la vista. */
.stage-phone { margin-top: clamp(24px, 3vw, 48px); }
.stage-phone .device { max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); }
.stage-phone .phone-screen { min-height: min(560px, calc(100svh - 170px)); }
.broker-vantage .broker-logo { position: relative; top: 2px; }

/* ---------- Experiencia y señal real ---------- */
.years { display: flex; align-items: center; gap: 18px; margin: 6px 0 26px; padding: 14px 0 16px; background-image: linear-gradient(var(--hair), var(--hair)), repeating-linear-gradient(90deg, rgba(226, 176, 74, 0.42) 0 1px, transparent 1px 12px); background-size: 100% 1px, 100% 5px; background-repeat: no-repeat; background-position: 0 100%, 0 100%; }
.years .figure { font-weight: 700; font-size: clamp(4rem, 7vw, 6rem); line-height: 0.85; letter-spacing: -0.03em; color: var(--gold); font-variation-settings: 'opsz' 96; }
.years-copy { font-size: 1.12rem; line-height: 1.4; color: var(--ivory-2); max-width: 30ch; text-wrap: balance; }
.years-copy strong { display: block; color: var(--ivory); font-size: 1.25rem; }

.real-signal { margin: clamp(40px, 6vw, 72px) 0; display: grid; grid-template-columns: minmax(0, 487px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.real-signal picture { display: block; position: relative; }
.real-signal img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--hair), 0 40px 80px -40px rgba(0, 0, 0, 0.95), 0 20px 50px -30px rgba(226, 176, 74, 0.35); }
.real-signal figcaption h3 { margin-bottom: 10px; }
.real-signal figcaption p { color: var(--ivory-2); }
.real-signal figcaption p + p { margin-top: 10px; }
.real-note { font-size: 0.92rem; color: var(--ivory-3) !important; }
@media (max-width: 1100px) { .real-signal { grid-template-columns: 1fr; } .real-signal picture { max-width: 487px; } }
@media (max-width: 760px) { .real-note { font-size: 1rem; } }

/* ---------- Grupo abierto de Telegram ---------- */
@property --tg-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes tg-spin { to { --tg-ang: 360deg; } }
@keyframes tg-float { 50% { transform: translateY(-4px); } }

/* El botón: losa de laca con un borde de oro que gira despacio y el avión en una medalla dorada. */
.btn-tg {
  --tg-ang: 0deg;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 0 26px 0 10px; border-radius: 999px;
  font-family: var(--f-body); font-weight: 700; font-size: 1.08rem; letter-spacing: 0.005em; color: var(--ivory); text-decoration: none; white-space: nowrap;
  background:
    linear-gradient(180deg, #1c1610, #0b0907) padding-box,
    conic-gradient(from var(--tg-ang), #7a5418, #f7e2a8 12%, #e2b04a 22%, #7a5418 40%, #3a2808 55%, #e2b04a 72%, #f7e2a8 82%, #7a5418) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.95), 0 12px 30px -16px rgba(226, 176, 74, 0.5);
  animation: tg-spin 5s linear infinite;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), color var(--t-fast);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn-tg .tg-plane { flex: none; width: 44px; height: 44px; padding: 11px 12px 11px 10px; border-radius: 50%; color: var(--on-gold); background: linear-gradient(150deg, #f9e7b2, #e2b04a 48%, #b5842a); box-shadow: inset 0 1px 0 rgba(255, 252, 240, 0.7), 0 6px 14px -6px rgba(226, 176, 74, 0.6); transition: transform var(--t-base) var(--ease-out); }
.btn-tg .tg-arrow { flex: none; width: 20px; height: 20px; color: var(--gold); transition: transform var(--t-base) var(--ease-out); }
.btn-tg:hover { transform: translateY(-2px); color: var(--gold-hi); box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.95), 0 16px 38px -16px rgba(226, 176, 74, 0.7); }
.btn-tg:hover .tg-plane { transform: translate(2px, -2px) rotate(-8deg); }
.btn-tg:hover .tg-arrow { transform: translateX(4px); }
.btn-tg:active { transform: none; background: linear-gradient(180deg, #e2b04a, #c08f30) padding-box, linear-gradient(#e2b04a, #e2b04a) border-box; color: var(--on-gold); }
.btn-tg:active .tg-arrow { color: var(--on-gold); }

/* La franja debajo de la portada */
.tg-band { position: relative; padding-block: clamp(36px, 5vw, 56px); background: radial-gradient(60% 120% at 82% 50%, rgba(226, 176, 74, 0.12), transparent 70%), var(--lacquer-2);
  background-image: radial-gradient(60% 120% at 82% 50%, rgba(226, 176, 74, 0.12), transparent 70%), linear-gradient(var(--hair), var(--hair)), repeating-linear-gradient(90deg, rgba(226, 176, 74, 0.4) 0 1px, transparent 1px 12px);
  background-size: auto, 100% 1px, 100% 5px; background-position: 0 0, 0 100%, 0 100%; background-repeat: no-repeat; }
.tg-band-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 40px); align-items: center; }
.tg-medal { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: var(--on-gold); background: linear-gradient(150deg, #f9e7b2, #e2b04a 48%, #a87a26); box-shadow: 0 0 0 1px var(--lacquer-2), 0 0 0 7px rgba(226, 176, 74, 0.18), 0 18px 40px -18px rgba(226, 176, 74, 0.7); animation: tg-float 4s var(--ease-out) infinite; }
.tg-medal svg { width: 38px; height: 38px; transform: translateX(-2px); }
.tg-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 8px; }
.tg-copy p { color: var(--ivory-2); max-width: 60ch; }
@media (max-width: 900px) {
  .tg-band-inner { grid-template-columns: auto minmax(0, 1fr); }
  .tg-band .btn-tg { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 520px) {
  .tg-band-inner { grid-template-columns: 1fr; }
  .tg-medal { width: 60px; height: 60px; }
  .tg-medal svg { width: 30px; height: 30px; }
  .tg-band .btn-tg, .close .btn-tg { width: 100%; justify-content: flex-start; }
  .btn-tg .tg-arrow { margin-left: auto; }
}

/* Cabecera: el acceso compacto */
.top nav { display: flex; align-items: center; gap: 18px; }
.tg-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 6px; border-radius: 999px; color: var(--ivory); font-weight: 650; font-size: 0.92rem; text-decoration: none; white-space: nowrap; border: 1px solid rgba(226, 176, 74, 0.55); background: rgba(8, 6, 5, 0.4); transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-base) var(--ease-out); }
.tg-chip .tg-plane { width: 32px; height: 32px; padding: 8px 9px 8px 7px; border-radius: 50%; color: var(--on-gold); background: linear-gradient(150deg, #f9e7b2, #e2b04a 48%, #b5842a); }
.tg-chip:hover { color: var(--gold-hi); border-color: var(--gold-hi); transform: translateY(-1px); }
@media (max-width: 560px) { .nav-vip { display: none; } }

/* Barra fija del teléfono: WhatsApp + Telegram */
.bar { display: none; }
@media (max-width: 760px) {
  .bar { display: flex; gap: 10px; align-items: center; }
  .bar .btn { flex: 1; width: auto; }
}
.tg-round { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--on-gold); background: linear-gradient(150deg, #f9e7b2, #e2b04a 48%, #b5842a); box-shadow: inset 0 1px 0 rgba(255, 252, 240, 0.7), 0 10px 22px -12px rgba(226, 176, 74, 0.7); }
.tg-round .tg-plane { width: 26px; height: 26px; transform: translateX(-1px); }

.close .btn-tg { min-height: 64px; }

@media (prefers-reduced-motion: reduce) { .btn-tg, .tg-medal { animation: none !important; } }
.reduced .btn-tg, .reduced .tg-medal { animation: none; }
