/* ==========================================================================
   Luciana Bravo · Sin Máscaras — css/home-v6.css   (portada, octubre 2026)

   Capa de diseño SOLO para index.html (se carga después de styles.css).
   No toca app.html, admin ni las landings, que siguen con styles.css tal cual.

   · Paleta actual (tinta, papel, oro) con un ritmo más dinámico de
     referencia «tonyrobbins.com»: hero en tarjeta, bloques oscuros/claros,
     botones píldora, tarjetas grandes y movimiento con propósito.
   · Títulos: Cormorant Garamond · Texto: Fira Sans.
   · Tipografía y espaciado fluidos (clamp): la página es «líquida» de
     320 px a pantallas 4K, sin saltos bruscos entre breakpoints.
   · Accesibilidad: foco visible, objetivos táctiles ≥ 44 px, contraste AA,
     prefers-reduced-motion / reduced-transparency / contrast.
   ========================================================================== */

:root {
  --ink: #0d0c0a;
  --ink-2: #17140f;
  --ink-soft: #3a352d;
  --paper: #fcfaf7;
  --paper-2: #f5efe5;
  --paper-3: #ebe2d2;
  --gold: #b08d57;
  --gold-bright: #d4a53c;
  --gold-text: #6f552d;        /* oro legible sobre papel (contraste AA) */
  --muted: #5e584e;
  --wa: #25d366;
  --wa-ink: #05361b;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: clamp(24px, 3vw, 40px);

  --gutter: clamp(16px, 4vw, 40px);
  --space-section: clamp(72px, 9vw, 136px);
  --nav-h: 72px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-1: 0 1px 2px rgba(13, 12, 10, .05), 0 10px 30px -12px rgba(13, 12, 10, .16);
  --shadow-2: 0 40px 80px -28px rgba(13, 12, 10, .45);
}

/* ── 1. Base fluida ─────────────────────────────────────────────────────── */
/* 16 px en teléfonos → 20 px en escritorio, respetando el tamaño de letra
   que el usuario configure en su navegador (porcentajes, no píxeles). */
html {
  font-size: clamp(100%, 0.9rem + 0.4vw, 125%);
  scroll-padding-top: calc(var(--marquee-h, 34px) + var(--nav-h));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.overlay-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6, .font-serif, .logo { font-family: var(--font-display); }
h1, h2 {
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 1.4rem + 4.6vw, 5rem); }
h2 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.15; text-wrap: balance; }
h2 em, h1 em, h3 em { font-style: italic; color: var(--gold-text); font-weight: 600; }
p { font-size: 1rem; line-height: 1.68; text-wrap: pretty; }

/* Elementos que styles.css fijaba en DM Sans pasan a Fira Sans */
.marquee-group span, .chatbot-input-row input, .footer-v2, .dropdown-books a,
.btn-comunidad, .btn-wa-enviar, .chat-msg, .chat-options button, .cookie-banner,
input, select, textarea, button { font-family: var(--font-body); }

.container {
  max-width: clamp(1240px, 72vw, 1360px);
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter) !important;
}
.section {
  min-height: 0 !important;
  display: block !important;
  padding: var(--space-section) 0 !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-body) !important;
  font-weight: 600;
  font-size: .72rem;
  line-height: 1.4;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-text);
  opacity: 1;
  margin-bottom: 1rem;
}

/* Foco visible y coherente (teclado) */
:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 5000;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* Mantener seleccionable el texto de los campos (styles.css bloquea la selección) */
.quiz input, .quiz select { -webkit-user-select: text; user-select: text; }

/* ── 2. Botones píldora ─────────────────────────────────────────────────── */
.btn-v6 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: .85em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 .95rem/1.15 var(--font-body);
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: var(--gold);
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-v6 .arrow { display: inline-block; transition: transform .25s var(--ease-out); }
.btn-v6:hover { transform: translateY(-2px); }
.btn-v6:hover .arrow { transform: translateX(4px); }
.btn-v6:active { transform: scale(.97); transition-duration: .08s; }
.btn-v6[disabled] { opacity: .38; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-v6--gold {
  background: linear-gradient(135deg, #e0bd72 0%, var(--gold) 55%, #9a7744 100%);
  color: var(--ink);
  box-shadow: 0 10px 26px -12px rgba(176, 141, 87, .8);
}
.btn-v6--gold:hover { box-shadow: 0 18px 36px -14px rgba(176, 141, 87, .9); }
.btn-v6--ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-v6--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-v6--dark { background: var(--ink); color: #fff; }
.btn-v6--dark:hover { background: #000; box-shadow: 0 16px 34px -16px rgba(13, 12, 10, .7); }
.btn-v6--line { background: transparent; color: var(--ink); border-color: rgba(13, 12, 10, .22); }
.btn-v6--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-v6--wa { background: var(--wa); color: var(--wa-ink); }
.btn-v6--wa:hover { background: #1fbe5a; box-shadow: 0 16px 34px -16px rgba(37, 211, 102, .8); }

/* Botones heredados de la portada, alineados al nuevo estilo */
.btn-gold, .btn-hero-gold {
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  min-height: 48px;
}

/* ── 3. Navegación ──────────────────────────────────────────────────────── */
.main-nav { background: rgba(13, 12, 10, .86) !important; }
.main-nav.scrolled { background: rgba(13, 12, 10, .94) !important; }
.nav-container {
  max-width: 1320px;
  padding: 14px var(--gutter);
  gap: 18px;
}
.logo {
  color: #fff !important;
  text-decoration: none;
  font-size: clamp(1.05rem, .9rem + .5vw, 1.35rem);
  letter-spacing: .14em;
  white-space: nowrap;
}
.nav-links { gap: clamp(16px, 2vw, 30px); margin-left: auto; }
.nav-links a { font-size: .68rem; letter-spacing: .14em; white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1180px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .6rem; letter-spacing: .08em; }
  .nav-login { padding: 6px 12px !important; }
  .logo { font-size: 1rem; letter-spacing: .1em; }
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1.1em;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 600 .74rem/1 var(--font-body);
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s, transform .25s var(--ease-out);
}
.nav-cta:hover { background: var(--gold-bright); transform: translateY(-1px); }
@media (max-width: 900px) {
  .nav-cta { margin-left: auto; min-height: 38px; font-size: .78rem; }
  .mobile-menu-btn { display: inline-flex !important; align-items: center; justify-content: center; }
}
@media (max-width: 380px) {
  .nav-container { gap: 8px; padding-left: 14px; padding-right: 10px; }
  .nav-cta { padding: 0 .75em; font-size: .72rem; }
  .logo { letter-spacing: .06em; font-size: 1rem; }
  .mobile-menu-btn { width: 40px !important; }
}

/* ── 4. HERO en tarjeta ─────────────────────────────────────────────────── */
.hx {
  position: relative;
  padding: calc(var(--marquee-h, 34px) + var(--nav-h) + 6px) clamp(8px, 1.4vw, 22px) 0;
  background: var(--paper);
}
.hx-card {
  position: relative;
  isolation: isolate;
  max-width: 1600px;
  margin: 0 auto;
  min-height: min(84svh, 880px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  border-radius: var(--r-xl);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(90% 80% at 82% 30%, rgba(212, 165, 60, .30), rgba(212, 165, 60, 0) 60%),
    radial-gradient(70% 70% at 0% 100%, rgba(176, 141, 87, .18), rgba(176, 141, 87, 0) 60%),
    linear-gradient(155deg, #1f1a12 0%, #110f0b 48%, #0b0a08 100%);
}
/* grano sutil para dar materia al fondo */
.hx-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .14;
  background-image: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hx-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(40px, 6vw, 96px) clamp(22px, 5vw, 80px);
  min-width: 0;
}
.hx-eyebrow { color: var(--gold-bright); margin-bottom: 1.4rem; }
.hx-eyebrow .mask-ornament { color: var(--gold-bright); }
.hx-title {
  color: #fff !important;
  font-size: clamp(2.9rem, 1.2rem + 4.9vw, 5.4rem) !important;
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0 0 .4em;
}
.hx-title .hx-line { display: block; }
.hx-title em { color: var(--gold-bright); font-style: italic; }
.hx .hero-slideshow {
  color: rgba(255, 255, 255, .8);
  max-width: 33em;
  min-height: 4.4em;
}
.hx .hero-slide {
  font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem);
  line-height: 1.55;
}
.hx .hero-slide strong { color: #fff; font-weight: 500; }
.hx-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3vw, 34px); }
.hx-test {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 14px;
  padding: 0;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .82);
  font: 500 .9rem/1.3 var(--font-body);
  text-decoration: underline;
  text-decoration-color: rgba(212, 165, 60, .6);
  text-underline-offset: 5px;
  cursor: pointer;
}
.hx-test:hover { color: #fff; text-decoration-color: var(--gold-bright); }
.hx-test-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(212, 165, 60, .6);
  animation: hx-ping 2.4s var(--ease-out) infinite;
}
@keyframes hx-ping {
  0% { box-shadow: 0 0 0 0 rgba(212, 165, 60, .55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(212, 165, 60, 0); }
}
.hx-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: clamp(26px, 4vw, 48px) 0 0;
}
.hx-pillars li {
  font-size: .74rem;
  letter-spacing: .06em;
  padding: .5em 1em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .78);
}
.hx-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
/* halo dorado detrás de Luciana */
.hx-figure::before,
.hx-figure::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hx-figure::before {
  width: 84%;
  background: radial-gradient(circle, rgba(212, 165, 60, .38) 0%, rgba(212, 165, 60, .08) 45%, rgba(212, 165, 60, 0) 70%);
}
.hx-figure::after {
  width: 70%;
  border: 1px solid rgba(212, 165, 60, .28);
}
.hx-figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 680px);
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45));
  will-change: transform;
}
.hx-badge {
  position: absolute;
  z-index: 2;
  left: clamp(8px, 4%, 40px);
  bottom: clamp(18px, 12%, 110px);
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(13, 12, 10, .5);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1rem, .9rem + .4vw, 1.25rem);
  line-height: 1.25;
  color: #fff;
}

/* Entrada del hero: las líneas suben en cascada */
@media (prefers-reduced-motion: no-preference) {
  .hx-eyebrow, .hx-title .hx-line, .hx .hero-slideshow, .hx-ctas, .hx-test, .hx-pillars {
    animation: hx-rise .9s var(--ease-out) both;
  }
  .hx-title .hx-line:nth-child(1) { animation-delay: .08s; }
  .hx-title .hx-line:nth-child(2) { animation-delay: .18s; }
  .hx .hero-slideshow { animation-delay: .3s; }
  .hx-ctas { animation-delay: .4s; }
  .hx-test { animation-delay: .48s; }
  .hx-pillars { animation-delay: .56s; }
  .hx-figure img { animation: hx-reveal 1.2s var(--ease-out) .1s both; }
  .hx-badge { animation: hx-rise .9s var(--ease-out) .7s both; }
}
@keyframes hx-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes hx-reveal {
  from { opacity: 0; transform: translateY(26px) scale(1.04); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hx-card { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hx-copy { padding: clamp(36px, 9vw, 64px) clamp(18px, 6vw, 48px) 8px; }
  .hx-eyebrow { justify-content: center; letter-spacing: .18em; }
  .hx .hero-slideshow { margin-inline: auto; }
  .hx-ctas { justify-content: center; }
  .hx-ctas .btn-v6 { flex: 1 1 240px; max-width: 420px; }
  .hx-pillars { justify-content: center; }
  .hx-figure { padding-top: 8px; }
  .hx-figure img { width: min(88%, 460px); }
  .hx-badge { left: 50%; transform: translateX(-50%); bottom: 18px; white-space: nowrap; font-size: 1rem; }
  .hx-badge br { display: none; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hx-badge { animation-name: hx-rise-c; }
  @keyframes hx-rise-c {
    from { opacity: 0; transform: translate(-50%, 18px); }
    to { opacity: 1; transform: translateX(-50%); }
  }
}
@media (max-width: 420px) {
  .hx-pillars li:nth-child(n+4) { display: none; }
}

/* ── 5. Sobre mí ────────────────────────────────────────────────────────── */
.about-v6 .about-grid { gap: clamp(32px, 6vw, 88px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.about-v6 .about-img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 35%, rgba(212, 165, 60, .32), rgba(212, 165, 60, 0) 70%),
    linear-gradient(160deg, #241e15 0%, #0d0c0a 100%);
  box-shadow: var(--shadow-2);
}
.about-v6 .about-img img {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 0 !important;
  transition: transform 1.2s var(--ease-out);
}
.about-v6 .about-img:hover img { transform: scale(1.03); }
.about-title { margin-bottom: .5em; }
.about-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink); font-weight: 500; }
.about-copy p:not(.eyebrow):not(.about-lead) { color: var(--ink-soft); }
.about-creds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.about-creds li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid rgba(13, 12, 10, .07);
}
.about-creds strong { font: 600 1.9rem/1 var(--font-display); color: var(--gold-text); }
.about-creds span { font-size: .78rem; line-height: 1.35; color: var(--muted); }
@media (max-width: 768px) {
  .about-v6 .about-grid { grid-template-columns: 1fr; }
  .about-v6 .about-img { max-width: 520px; width: 100%; margin: 0 auto; aspect-ratio: 1 / 1; }
}
@media (max-width: 420px) {
  .about-creds { grid-template-columns: 1fr; }
  .about-creds li { flex-direction: row; align-items: baseline; gap: 10px; }
}

/* ── 6. Videos de YouTube ligeros (miniatura + play) ───────────────────── */
.yt-facade { position: relative; overflow: hidden; background: #000; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}
.yt-poster[hidden] { display: none; }
.yt-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease-out), opacity .3s;
}
.yt-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55) 100%);
}
.yt-poster:hover img { transform: scale(1.035); }
.yt-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: clamp(58px, 7vw, 88px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .16), 0 18px 40px -10px rgba(0, 0, 0, .6);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.yt-play svg { width: 34%; margin-left: 7%; fill: var(--ink); }
.yt-poster:hover .yt-play { transform: translate(-50%, -50%) scale(1.07); box-shadow: 0 0 0 14px rgba(255, 255, 255, .18), 0 18px 40px -10px rgba(0, 0, 0, .6); }
.yt-poster:active .yt-play { transform: translate(-50%, -50%) scale(.96); }
.yt-label {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 14px;
  color: #fff;
  font: 500 .8rem/1.2 var(--font-body);
  letter-spacing: .04em;
}

/* ── 7. Video de bienvenida + reproductor flotante ─────────────────────── */
.vx { background: var(--paper-2); z-index: auto !important; }
/* Nada por encima del reproductor puede llevar transform: rompería position:fixed */
.vx-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.vx h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); }
.vx-copy p:not(.eyebrow) { color: var(--ink-soft); max-width: 30em; }
.vx-copy .btn-v6 { margin-top: 10px; }
.vx-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #241e15, #0d0c0a);
}
.vx-player {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--shadow-2);
}
.vx-bar { display: none; }

.vx-player.is-floating {
  --fw: clamp(220px, 22vw, 320px);
  position: fixed;
  inset: auto;
  right: 30px;
  bottom: calc(30px + 60px + 16px + env(safe-area-inset-bottom, 0px));
  width: var(--fw);
  height: auto;
  aspect-ratio: 16 / 9;
  z-index: 1490;
  border-radius: 16px;
  box-shadow: 0 28px 60px -14px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1);
  transition: opacity .25s ease, transform .25s var(--ease-out), width .45s var(--ease-out);
}
.vx-player.is-floating.is-playing { --fw: clamp(300px, 32vw, 480px); }
.vx-player.is-floating .yt-label { font-size: .72rem; left: 12px; bottom: 10px; }
.vx-player.is-floating .yt-play { width: 52px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .16); }
.vx-player.is-floating .vx-bar {
  display: flex;
  gap: 6px;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
}
.vx-btn {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(13, 12, 10, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease-out);
}
.vx-btn::before { content: ''; position: absolute; inset: -6px; } /* área táctil ≥ 44 px */
.vx-btn:hover { background: #000; transform: scale(1.06); }
body.chat-open .vx-player.is-floating { opacity: 0; transform: translateY(14px); pointer-events: none; }

@media (max-width: 900px) {
  .vx-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .vx-player.is-floating {
    --fw: min(56vw, 240px);
    right: 14px;
    bottom: calc(14px + 60px + 12px + env(safe-area-inset-bottom, 0px));
  }
  .vx-player.is-floating.is-playing { --fw: calc(100vw - 28px); }
}

/* ── 8. ¿Por qué cada vez más personas dejan el alcohol? ───────────────── */
.why {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(60% 70% at 85% 60%, rgba(212, 165, 60, .22), rgba(212, 165, 60, 0) 65%),
    linear-gradient(170deg, #15120d 0%, var(--ink) 70%);
  padding-bottom: 0 !important;
}
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.why-copy { padding-bottom: var(--space-section); }
.why .eyebrow { color: var(--gold-bright); }
.why h2 { color: #fff; }
.why h2 em { color: var(--gold-bright); }
.why-answer {
  font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
  max-width: 36em;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(22px, 3vw, 36px) 0;
}
.why-card {
  padding: 20px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  transition: transform .35s var(--ease-out), border-color .35s;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(212, 165, 60, .5); }
.why-ico { display: block; width: 28px; height: 28px; color: var(--gold-bright); margin-bottom: 12px; }
.why-ico svg { width: 100%; height: 100%; }
.why-card h3 { font-size: 1.4rem; color: #fff; margin: 0 0 .25em; }
.why-card p { font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .7); margin: 0; }
.why-claim {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.15rem);
  line-height: 1.2;
  color: rgba(255, 255, 255, .9);
  border-left: 2px solid var(--gold-bright);
  padding-left: 20px;
  margin: 0 0 28px;
}
.why-claim strong { color: var(--gold-bright); font-weight: 600; }
.why-figure { position: relative; margin: 0; align-self: end; }
.why-figure::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 92%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 165, 60, .3), rgba(212, 165, 60, 0) 68%);
}
.why-figure img {
  position: relative;
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-copy { padding-bottom: 0; }
  .why-figure img { width: min(80%, 420px); }
}
@media (max-width: 560px) {
  .why-cards { grid-template-columns: 1fr; }
  .why-card { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; align-items: start; }
  .why-ico { grid-row: span 2; margin: 2px 0 0; }
}

/* ── 9. Método ──────────────────────────────────────────────────────────── */
.metodo-v6 { background: var(--paper) !important; padding-bottom: clamp(40px, 5vw, 72px) !important; }
.metodo-v6 .text-center { max-width: 760px; margin-inline: auto; }
.metodo-sub { color: var(--ink-soft); }
.metodo-hint { display: block; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.phase-nav { gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(24px, 3vw, 40px); }
.phase-card { min-height: clamp(260px, 24vw, 320px); }
.phase-card:focus-visible { outline: none; }
.phase-card:focus-visible .phase-card-inner { transform: rotateY(180deg); }
.phase-card:focus-visible .phase-card-front,
.phase-card:focus-visible .phase-card-back { box-shadow: 0 0 0 3px var(--gold-bright); }
.phase-card-front, .phase-card-back {
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-1) !important;
}
.phase-card-front p:first-child {
  font: 600 .72rem/1 var(--font-body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.phase-card-front h3 { font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem) !important; }
.phase-card-back h4 { font-size: 1.35rem !important; line-height: 1.2; }
.phase-card-back p { font-size: .92rem !important; line-height: 1.55; }

/* ── 10. Programas y precios ───────────────────────────────────────────── */
.plans { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%) !important; }
.plans-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.plans-head h2 { margin: 0; max-width: 14em; }
.cur-box { max-width: 360px; }
.cur-switch {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(13, 12, 10, .1);
  box-shadow: var(--shadow-1);
}
.cur-switch[hidden] { display: none; }
.cur-switch button {
  min-height: 40px;
  padding: 0 1.1em;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 .8rem/1 var(--font-body);
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.cur-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cur-note { font-size: .78rem; line-height: 1.5; color: var(--muted); margin: 10px 0 0; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}
.plan, .mini {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--r-lg);
  border: 1px solid rgba(13, 12, 10, .08);
  background: #fff;
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.plan { padding: clamp(24px, 2.4vw, 36px); }
.plan:hover, .mini:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 60px -28px rgba(13, 12, 10, .35);
  border-color: rgba(176, 141, 87, .45);
}
.plan--feature {
  color: #fff;
  border-color: rgba(212, 165, 60, .45);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(212, 165, 60, .22), rgba(212, 165, 60, 0) 60%),
    linear-gradient(165deg, #1e1912 0%, #0d0c0a 75%);
}
.plan-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: .45em .95em;
  border-radius: 999px;
  background: var(--gold-bright);
  color: var(--ink);
  font: 700 .62rem/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.plan-tag--line { background: transparent; color: var(--gold-text); border: 1px solid rgba(176, 141, 87, .5); }
.plan-kicker {
  font: 600 .7rem/1.4 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 .7rem;
  padding-right: 92px;
}
.plan--feature .plan-kicker { color: var(--gold-bright); }
.plan h3, .mini h3 { font-size: clamp(1.7rem, 1.35rem + 1vw, 2.2rem); line-height: 1.05; margin: 0 0 .35em; }
.plan--feature h3 { color: #fff; }
.plan-desc { font-size: .92rem; line-height: 1.55; color: var(--muted); margin: 0; }
.plan--feature .plan-desc { color: rgba(255, 255, 255, .72); }
.plan-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid rgba(13, 12, 10, .08);
}
.plan--feature .plan-price { border-top-color: rgba(255, 255, 255, .12); }
.plan-price .amount {
  font: 600 clamp(2.2rem, 1.7rem + 1.5vw, 3rem)/1 var(--font-display);
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums tabular-nums;
}
.plan--feature .plan-price .amount { color: var(--gold-bright); }
.plan-price .per { font-size: .8rem; color: var(--muted); }
.plan-price .alt { font-size: .78rem; color: var(--muted); }
.plan-price .alt:empty { display: none; }
.plan--feature .plan-price .per, .plan--feature .plan-price .alt { color: rgba(255, 255, 255, .62); }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: .9rem; line-height: 1.45; }
.plan li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0c0a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan .btn-v6, .mini .btn-v6 { margin-top: auto; width: 100%; font-size: .88rem; padding-inline: 1.1em; }
.plan-sub {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plan-sub:hover { color: var(--ink); }

.plans-sub-head { text-align: center; margin: clamp(48px, 6vw, 80px) auto clamp(20px, 2.4vw, 32px); max-width: 640px; }
.plans-sub-head h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem); margin-bottom: .3em; }
.plans-sub-head p { color: var(--muted); margin: 0; }
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.mini { padding: clamp(22px, 2vw, 30px); background: var(--paper); }
.mini h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); }
.mini .plan-kicker { padding-right: 0; }
.mini .plan-price .amount { font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem); }

/* Entrada escalonada de tarjetas. Se usa la propiedad «translate» (y no
   «transform») para que la elevación al pasar el cursor siga siendo ágil. */
.plan-grid.fade-in, .mini-grid.fade-in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .plan-grid > *, .mini-grid > * {
    opacity: 0;
    translate: 0 28px;
    transition: opacity .9s var(--ease-out), translate .9s var(--ease-out),
                transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  }
  .plan-grid.visible > *, .mini-grid.visible > * { opacity: 1; translate: none; }
  .plan-grid > :nth-child(2), .mini-grid > :nth-child(2) { transition-delay: .09s, .09s, 0s, 0s, 0s; }
  .plan-grid > :nth-child(3), .mini-grid > :nth-child(3) { transition-delay: .18s, .18s, 0s, 0s, 0s; }
}

@media (max-width: 1000px) and (min-width: 641px) {
  .plan-grid, .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan--feature { grid-column: 1 / -1; }
  .mini:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .plan-grid, .mini-grid { grid-template-columns: 1fr; }
  .plans-head { align-items: flex-start; }
}

/* ── 11. Testimonios ───────────────────────────────────────────────────── */
.testi-v6 { background: var(--ink) !important; }
.testi-v6 h2 em { color: var(--gold-bright); }
.testi-v6 .eyebrow { color: var(--gold-bright) !important; }
.testi-v6 .testimonial-card { border-radius: var(--r-md); background: #1b1813; }
.testi-v6 .test-text { font-size: .95rem; color: rgba(255, 255, 255, .8); }
.testi-v6 .carousel-arrow { width: 48px; height: 48px; border-radius: 50%; }
@media (max-width: 600px) {
  .testi-v6 .carousel-container::before, .testi-v6 .carousel-container::after { width: 28px; }
}

/* ── 12. Empieza Hoy tu Transformación ─────────────────────────────────── */
.start { background: var(--paper) !important; }
.anchor-alias { position: absolute; top: 0; }
.start-card {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .3);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45);
  background:
    radial-gradient(70% 60% at 0% 100%, rgba(212, 165, 60, .2), rgba(212, 165, 60, 0) 65%),
    linear-gradient(145deg, #1a1815 0%, #0d0c0a 100%);
}
.start-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100%;
}
.start-media::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 90%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 165, 60, .32), rgba(212, 165, 60, 0) 68%);
}
.start-media img { position: relative; width: 100%; max-width: 520px; height: auto; display: block; }
.start-body { padding: clamp(28px, 4vw, 60px) clamp(16px, 3.4vw, 52px); min-width: 0; }
.start-head { text-align: left; margin-bottom: clamp(20px, 2.6vw, 32px); }
.start-head .eyebrow { color: var(--gold-bright); }
.start-head h2 { color: #fff; margin: 0 0 .4em; }
.start-head h2 em { color: var(--gold-bright); }
.start-head p { color: rgba(255, 255, 255, .82); font-size: 1rem; max-width: 40em; }
.start-head strong { color: var(--gold-bright); font-weight: 600; }
.start .form-container {
  max-width: none !important;
  padding: clamp(22px, 3vw, 40px) clamp(16px, 2.6vw, 32px) clamp(18px, 2.4vw, 28px) !important;
  border-radius: var(--r-md) !important;
  min-height: 380px !important;
}
.start .form-group label { font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); line-height: 1.25; }
.start select, .start input[type="text"], .start input[type="email"], .start input[type="tel"], .start input[type="number"] {
  min-height: 48px;
  font-size: 1rem;
  border-radius: 12px;
}
@media (max-width: 900px) {
  .start-card { grid-template-columns: 1fr; }
  .start-media { max-height: 320px; overflow: hidden; }
  .start-media img { max-width: 300px; }
  .start-head { text-align: center; }
  .start-head p { margin-inline: auto; }
}

/* ── 13. Preguntas frecuentes ──────────────────────────────────────────── */
.faq-v6 .faq-accordion { max-width: 880px; }
.faq-v6 .eyebrow { color: var(--ink) !important; opacity: 1 !important; }
.faq-v6 .faq-question {
  min-height: 56px;
  padding: 18px 6px;
  font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem);
  line-height: 1.3;
  gap: 16px;
}
.faq-v6 .faq-question:hover { color: #fff; }
.faq-v6 .faq-answer p { font-size: 1rem; line-height: 1.65; }
.faq-v6 .faq-icon { flex: none; }
.faq-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ── 14. Podcast «Mi Vida Sin Máscaras» (sobre el footer) ──────────────── */
.pod {
  color: #fff;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(212, 165, 60, .16), rgba(212, 165, 60, 0) 60%),
    linear-gradient(180deg, #16130e 0%, #0f0d0a 100%);
  padding-bottom: clamp(56px, 7vw, 96px) !important;
}
.pod .eyebrow { color: var(--gold-bright); }
.pod-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.pod-head h2 { color: #fff; margin: 0 0 .25em; }
.pod-head h2 em { color: var(--gold-bright); }
.pod-head p:not(.eyebrow) { color: rgba(255, 255, 255, .72); max-width: 34em; margin: 0; }
.pod-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  padding: clamp(10px, 1.2vw, 16px);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}
.pod-frame { aspect-ratio: 16 / 9; border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.pod-meta { padding: 8px clamp(8px, 1.6vw, 20px) 8px 0; min-width: 0; }
.pod-badge {
  display: inline-block;
  padding: .45em .95em;
  border-radius: 999px;
  background: var(--gold-bright);
  color: var(--ink);
  font: 700 .64rem/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pod-meta h3 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.5rem); line-height: 1.08; margin: .5em 0 .35em; }
.pod-meta time { display: block; color: rgba(255, 255, 255, .6); font-size: .85rem; }
.pod-yt-link, .pod-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  margin-right: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-bright);
  font: 500 .88rem var(--font-body);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.pod-sub {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin: clamp(32px, 4vw, 52px) 0 16px;
}
.pod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
.pod-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 10px 10px 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .03);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform .35s var(--ease-out), background-color .35s, border-color .35s;
}
.pod-card[hidden] { display: none; }
.pod-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .06); border-color: rgba(212, 165, 60, .35); }
.pod-card[aria-current="true"] { border-color: var(--gold-bright); background: rgba(212, 165, 60, .08); }
.pod-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.pod-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease-out); }
.pod-card:hover .pod-thumb img { transform: scale(1.05); }
.pod-mini-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230d0c0a'%3E%3Cpath d='M8 5.5v13a1 1 0 0 0 1.5.86l10.4-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5z'/%3E%3C/svg%3E") 58% 50% / 15px no-repeat;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .6);
  transition: transform .3s var(--ease-out);
}
.pod-card:hover .pod-mini-play { transform: scale(1.08); }
.pod-ep { padding: 0 6px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); }
.pod-t {
  padding: 0 6px;
  font: 500 .98rem/1.35 var(--font-body);
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pod-more-wrap { display: flex; justify-content: center; margin-top: clamp(22px, 3vw, 34px); }
.pod-more-wrap[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .pod-card.is-new { animation: hx-rise .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms); }
}
@media (max-width: 900px) {
  .pod-feature { grid-template-columns: 1fr; }
  .pod-meta { padding: 4px 8px 10px; }
}
@media (max-width: 640px) {
  .pod-grid { grid-template-columns: 1fr; }
  .pod-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 10px; }
  .pod-thumb { flex: 0 0 42%; }
  .pod-card .pod-ep, .pod-card .pod-t { flex: 1 1 50%; padding: 0; }
  .pod-card { display: grid; grid-template-columns: 42% 1fr; grid-template-rows: auto 1fr; }
  .pod-thumb { grid-row: 1 / span 2; }
  .pod-ep { align-self: end; }
  .pod-t { align-self: start; font-size: .92rem; -webkit-line-clamp: 3; }
  .pod-mini-play { width: 30px; height: 30px; background-size: 12px; right: 6px; bottom: 6px; }
}

/* ── 15. Footer ────────────────────────────────────────────────────────── */
.footer-v2 { border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-v2 .footer-cta-btn.btn-v6 { padding: .85em 1.6em; font-size: .9rem; letter-spacing: .02em; }

/* ── 16. Test de Autoconciencia ────────────────────────────────────────── */
.quiz {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: clamp(0px, 2.4vw, 28px);
  background: rgba(13, 12, 10, .6);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease-out), visibility 0s linear .35s;
}
.quiz.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-out); }
.quiz-panel {
  position: relative;
  width: min(820px, 100%);
  max-height: min(92dvh, 920px);
  overflow: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .6);
  transform: translateY(26px) scale(.98);
  transition: transform .5s var(--ease-out);
}
.quiz.is-open .quiz-panel { transform: none; }
.quiz-top {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px clamp(18px, 3.4vw, 36px);
  background: rgba(252, 250, 247, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13, 12, 10, .07);
}
.quiz-brand { font: 700 .95rem/1 var(--font-display); letter-spacing: .16em; }
.quiz-top-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: auto; }
.quiz-close {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(13, 12, 10, .14);
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease-out);
}
.quiz-close:hover { background: var(--ink); color: #fff; }
.quiz-body { padding: clamp(24px, 4vw, 48px) clamp(18px, 4vw, 48px) clamp(28px, 4vw, 44px); flex: 1; }

.quiz-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: center; }
.quiz-intro-media {
  position: relative;
  align-self: stretch;
  border-radius: var(--r-md);
  overflow: hidden;
  background: radial-gradient(80% 60% at 50% 40%, rgba(212, 165, 60, .35), rgba(212, 165, 60, 0) 70%), linear-gradient(160deg, #241e15, #0d0c0a);
  min-height: 300px;
}
.quiz-intro-media img { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.quiz-step-label {
  font: 600 .72rem/1.4 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.quiz-q {
  font: 600 clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem)/1.05 var(--font-display);
  letter-spacing: -.01em;
  margin: 0 0 18px;
  outline: none;
  text-wrap: balance;
}
.quiz-lead { font-size: 1.02rem; color: var(--ink-soft); margin: 0 0 22px; }
.quiz-hint { font-size: .88rem; color: var(--muted); margin: -8px 0 18px; }
.quiz-fine { font-size: .78rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }

.quiz-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: clamp(20px, 3vw, 30px); }
.quiz-progress span { position: relative; height: 4px; border-radius: 4px; background: rgba(13, 12, 10, .1); overflow: hidden; }
.quiz-progress span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.quiz-progress span.done::after { transform: scaleX(1); }

.quiz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quiz-options.one-col { grid-template-columns: 1fr; }
.quiz-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(13, 12, 10, .14);
  background: #fff;
  color: var(--ink);
  font: 500 .98rem/1.35 var(--font-body);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .2s, box-shadow .2s, transform .15s var(--ease-out), background-color .2s;
}
.quiz-opt:hover { border-color: rgba(13, 12, 10, .4); }
.quiz-opt:active { transform: scale(.985); }
.quiz-opt .tick {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 12, 10, .3);
  transition: background-color .2s, border-color .2s;
}
.quiz-opt.is-multi .tick { border-radius: 6px; }
.quiz-opt[aria-pressed="true"], .quiz-opt[aria-checked="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  background: #fffdf9;
}
.quiz-opt[aria-pressed="true"] .tick, .quiz-opt[aria-checked="true"] .tick { background: var(--ink); border-color: var(--ink); }
.quiz-opt[aria-checked="true"] .tick::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.quiz-opt[aria-pressed="true"] .tick::after {
  content: '';
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.quiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.quiz-back, .quiz-link {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 .9rem var(--font-body);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.quiz-link { min-height: 0; font-size: inherit; color: inherit; }
.quiz-back:hover, .quiz-link:hover { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .quiz-stage { animation: quiz-in .45s var(--ease-out) both; }
  .quiz-stage[data-dir="-1"] { animation-name: quiz-in-back; }
}
@keyframes quiz-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes quiz-in-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

.quiz-rec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  color: #fff;
  background: radial-gradient(90% 90% at 100% 0%, rgba(212, 165, 60, .25), rgba(212, 165, 60, 0) 60%), linear-gradient(160deg, #1e1912, #0d0c0a);
  margin-bottom: 22px;
}
.quiz-rec-k { font: 600 .66rem/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); }
.quiz-rec-n { font: 600 1.45rem/1.15 var(--font-display); }
.quiz-rec-p { font-size: .85rem; color: rgba(255, 255, 255, .72); }
.quiz-form { padding: clamp(18px, 2.6vw, 28px); border-radius: var(--r-md); background: #fff; border: 1px solid rgba(13, 12, 10, .08); }
.quiz-form-t { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); margin: 0 0 4px; }
.quiz-form-s { font-size: .86rem; color: var(--muted); margin: 0 0 16px; }
.quiz-field { display: block; margin-bottom: 14px; }
.quiz-field > span:first-child { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 6px; }
.quiz-field input, .quiz-field select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(13, 12, 10, .2);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem; /* ≥16 px: iOS no hace zoom al enfocar */
}
.quiz-field input:focus, .quiz-field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(212, 165, 60, .45); }
.quiz-phone { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 8px; }
.quiz-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.quiz-error { color: #a1271b; font-size: .86rem; font-weight: 500; margin: 0 0 12px; }
.quiz-send { width: 100%; min-height: 56px; font-size: 1rem; }
.quiz-done { text-align: center; padding: 20px 0; }
.quiz-done-ico {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--wa-ink);
  font-size: 30px;
  font-weight: 700;
}
.quiz-desk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
.quiz-desk-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid rgba(13, 12, 10, .08);
}
.quiz-desk-opt h3 { font-size: 1.4rem; margin: 0; }
.quiz-desk-opt p { font-size: .88rem; color: var(--muted); margin: 0 0 6px; }
.quiz-desk-n {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}
.quiz-qr {
  width: min(100%, 260px);
  aspect-ratio: 1;
  margin: 4px auto 0;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(13, 12, 10, .1);
}
.quiz-qr svg { width: 100%; height: 100%; display: block; }
.quiz-qr-load { font-size: .8rem; color: var(--muted); text-align: center; }
.quiz-web { margin-top: 10px; font-size: .82rem; color: var(--muted); text-align: center; }

@media (max-width: 640px) {
  .quiz { padding: 0; place-items: stretch; }
  .quiz-panel { width: 100%; max-height: none; height: 100dvh; border-radius: 0; }
  .quiz-top-label { display: none; }
  .quiz-intro { grid-template-columns: 1fr; }
  .quiz-intro-media { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-desk-grid { grid-template-columns: 1fr; }
  .quiz-phone { grid-template-columns: minmax(0, 130px) minmax(0, 1fr); }
}

/* ── 17. Capas flotantes: sin choques en pantallas pequeñas ────────────── */
@media (max-width: 600px) {
  .chatbot-wrapper { right: 14px !important; bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important; }
  #back-to-top { left: 14px !important; bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ── 18. Preferencias del sistema ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .hx-test-dot { animation: none; }
  .btn-v6, .plan, .mini, .pod-card, .why-card, .yt-poster img, .about-v6 .about-img img { transition: none !important; }
  .quiz-panel { transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .hx-badge, .quiz-top, .vx-btn, .btn-v6--ghost { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hx-badge { background: #15120d; }
  .quiz { background: rgba(13, 12, 10, .9); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .plan, .mini, .quiz-opt, .why-card, .pod-card { border-color: currentColor; }
  .eyebrow, .plan-kicker { color: var(--ink); }
  .why .eyebrow, .pod .eyebrow, .start-head .eyebrow, .hx-eyebrow { color: #fff; }
}
@media (forced-colors: active) {
  .btn-v6, .quiz-opt, .plan, .mini { border: 1px solid CanvasText; }
}
@media print {
  .top-marquee, .main-nav, .quiz, .chatbot-wrapper, #back-to-top, .cookie-banner, #exit-popup, .vx-bar { display: none !important; }
  .hx { padding-top: 0; }
}
