/* ===========================
   CSS Variables
   =========================== */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent: #00d4aa;
  --accent-hover: #00b892;
}

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Grain/noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

/* ===========================
   Layout
   =========================== */
.container,
.container--wide {
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.container       { max-width: 800px; }
.container--wide { max-width: 900px; }

section {
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  section {
    padding: 56px 0;
  }
  #cta-final    { padding-bottom: 32px; }
  #testimonials { padding-top: 24px; }
}


/* ===========================
   Typography
   =========================== */
h1 {
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(19px, 3vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: clamp(17px, 1.8vw, 20px);
}

/* ===========================
   Scroll animations
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===========================
   Buttons CTA — Shiny
   =========================== */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}

@property --gradient-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

.btn-cta {
  --shiny-cta-bg: #011a16;
  --shiny-cta-bg-subtle: #033028;
  --shiny-cta-fg: #ffffff;
  --shiny-cta-highlight: #00d4aa;
  --shiny-cta-highlight-subtle: #80ffe8;
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --shadow-size: 2px;
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);

  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  display: inline-block;
  appearance: none;
  -webkit-appearance: none;
  padding: 20px 52px;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--shiny-cta-fg);
  text-decoration: none;
  white-space: nowrap;
  min-height: 62px;
  background:
    linear-gradient(135deg, #041f1a, #010f0c) padding-box,
    conic-gradient(
      from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent,
      var(--shiny-cta-highlight) var(--gradient-percent),
      var(--gradient-shine) calc(var(--gradient-percent) * 2),
      var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
      transparent calc(var(--gradient-percent) * 4)
    ) border-box;
  box-shadow:
    inset 0 0 0 1px var(--shiny-cta-bg-subtle),
    0 0 0 0 rgba(0, 212, 170, 0);
  transition:
    --gradient-angle-offset var(--transition),
    --gradient-percent var(--transition),
    --gradient-shine var(--transition),
    box-shadow 0.4s ease,
    transform 0.3s ease;
  animation:
    var(--animation) var(--duration),
    var(--animation) calc(var(--duration) / 0.4) reverse paused;
  animation-composition: add;
}

.btn-cta:active {
  transform: translateY(1px);
}

/* Top highlight line — efecto cristal */
.btn-cta::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  border-radius: 0 0 4px 4px;
  z-index: 1;
}

/* Inner glow — aparece en hover */
.btn-cta::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(0, 212, 170,0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.btn-cta span {
  position: relative;
  z-index: 1;
}

.btn-cta:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);
  box-shadow:
    inset 0 0 0 1px var(--shiny-cta-bg-subtle),
    0 0 32px -4px rgba(0, 212, 170, 0.35),
    0 8px 24px -8px rgba(0, 212, 170, 0.2);
  transform: translateY(-2px);
}

.btn-cta:is(:hover, :focus-visible),
.btn-cta:is(:hover, :focus-visible)::before {
  animation-play-state: running;
}

.btn-cta:is(:hover, :focus-visible)::after {
  opacity: 1;
}

.btn-cta--large {
  font-size: 20px;
  padding: 26px 88px;
  min-height: 76px;
  min-width: 340px;
  letter-spacing: 0.01em;
}

@media (max-width: 480px) {
  .btn-cta--large {
    min-width: 0;
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@keyframes gradient-angle {
  to { --gradient-angle: 360deg; }
}

/* ===========================
   Label overline
   =========================== */
.overline {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}


/* ===========================
   SECTION 1: HERO
   =========================== */
#hero {
  padding-top: 64px;
  padding-bottom: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  #hero {
    padding-top: 72px;
    padding-bottom: 64px;
  }
}

#hero h1 {
  color: #ffffff;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 auto 28px;
}

.hero-static {
  color: #ffffff;
  font-weight: 300;
}

#rotating-word {
  color: var(--accent);
  font-weight: 800;
  display: inline-block;
}

/* Salida: sube y desaparece — ease-in rápido */
#rotating-word.word-exiting {
  transition: opacity 0.28s ease-in, transform 0.28s ease-in;
  opacity: 0;
  transform: translateY(-22px);
}

/* Pre-entrada: posicionado abajo sin transición */
#rotating-word.word-pre-enter {
  opacity: 0;
  transform: translateY(22px);
  transition: none;
}

/* Entrada: spring con overshoot — imita framer-motion stiffness:50 */
#rotating-word.word-entering {
  transition: opacity 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 1;
  transform: translateY(0);
}

#hero .hero-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.65;
  letter-spacing: -0.015em;
}

/* Video placeholder */
.hero-video-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto 28px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  accent-color: #00d4aa;
}


/* Unmute overlay — dark dim over the whole video */
.hero-unmute-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.60);
}

.hero-unmute-overlay.hidden {
  display: none;
}

/* Green card — same tilt effect as for-who-card */
.hero-unmute-card {
  position: relative;
  background: rgba(0, 212, 170, 0.62);
  border: none;
  border-radius: 18px;
  width: 84%;
  aspect-ratio: 16 / 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) scale3d(1,1,1);
  transition: transform 0.08s linear;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

/* Spotlight highlight that follows mouse */
.hero-unmute-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.25), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.hero-unmute-card.tilt-active::before {
  opacity: 1;
}

.hero-vol-icon,
.hero-unmute-label,
.hero-unmute-cta {
  position: relative;
  z-index: 1;
}

/* Animated volume waves */
.hero-vol-icon {
  width: 56px;
  height: 56px;
  color: #0a0a0a;
}

@keyframes vol-seq {
  0%, 100% { opacity: 0; }
  10%, 20% { opacity: 1; }
  30%      { opacity: 0; }
}

.vol-w2 { opacity: 0; animation: vol-seq 1.4s ease-in-out infinite 0s; }
.vol-w3 { opacity: 0; animation: vol-seq 1.4s ease-in-out infinite 0.35s; }

.hero-unmute-label {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0,0,0,0.72);
  text-align: center;
}

.hero-unmute-cta {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #0a0a0a;
  text-align: center;
}

/* Pause overlay — centered play circle */
.hero-pause-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.40);
}

.hero-pause-overlay.hidden { display: none; }

.hero-pause-card {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.90);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) scale3d(1,1,1);
  transition: transform 0.08s linear;
  overflow: hidden;
}

.hero-pause-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(255,255,255,0.30), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hero-pause-card.tilt-active::before { opacity: 1; }

.hero-pause-card svg {
  width: 30px;
  height: 30px;
  color: #0a0a0a;
  margin-left: 4px;
  position: relative;
  z-index: 1;
}

/* Reference video — vertical unmute card & pause overlay */
.ref-unmute-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.60);
}
.ref-unmute-overlay.hidden { display: none; }

.ref-unmute-card {
  position: relative;
  background: rgba(0,212,170,0.62);
  border: none;
  border-radius: 18px;
  width: 80%;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) scale3d(1,1,1);
  transition: transform 0.08s linear;
  overflow: hidden;
  backdrop-filter: blur(2px);
}
.ref-unmute-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(255,255,255,0.25), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.ref-unmute-card.tilt-active::before { opacity: 1; }
.ref-unmute-card .hero-vol-icon,
.ref-unmute-card .hero-unmute-label,
.ref-unmute-card .hero-unmute-cta { position: relative; z-index: 1; }
.ref-unmute-card .hero-unmute-label { font-size: 11px; padding: 0 12px; }
.ref-unmute-card .hero-unmute-cta  { font-size: 14px; padding: 0 12px; }

.ref-pause-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.40);
}
.ref-pause-overlay.hidden { display: none; }

/* ===========================
   SECTION 2: SOCIAL PROOF
   =========================== */
#social-proof {
  text-align: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
  margin: 48px 0;
}

@media (min-width: 600px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.metric-number {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric-label-top {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

.metric-label-bottom {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* Testimonials placeholder */
.testimonials-placeholder {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 32px;
  background-color: #1a1a1a;
  border-radius: 12px;
  border: 1px solid #222;
  text-align: center;
}

.testimonials-placeholder p {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ===========================
   SECTION 3: OUTCOMES
   =========================== */
#outcomes {
  text-align: center;
}

#outcomes h2 {
  margin-bottom: 48px;
}

.outcomes-card-wrap {
  max-width: 560px;
  margin: 0 auto 40px;
  text-align: left;
}

.outcomes-disclaimer {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* ===========================
   Outcomes tilt card
   =========================== */
.for-who-card {
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: default;
}

.for-who-card.tilt-active {
  will-change: transform;
}

/* TiltCard spotlight — follows cursor via --mouse-x/y set in JS */
.for-who-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.for-who-card.yes::before {
  background: radial-gradient(
    380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 212, 170, 0.13) 0%,
    transparent 40%
  );
}

.for-who-card.tilt-active::before {
  opacity: 1;
}

.for-who-card.yes {
  background: rgba(0, 212, 170, 0.04);
  border: 1px solid rgba(0, 212, 170, 0.13);
  box-shadow: inset 0 1px 0 0 rgba(0, 212, 170, 0.35);
}

/* List */
.fw-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.fw-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fw-item:first-child { padding-top: 0; }
.fw-item:last-child  { border-bottom: none; padding-bottom: 0; }

/* Icon circle */
.fw-icon-wrap {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 170, 0.12);
  color: var(--accent);
}

/* Item text */
.fw-item > span:last-child {
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--text-primary);
}

/* ===========================
   SECTION 7: FAQ
   =========================== */
#faq {
  text-align: center;
}

#faq h2 {
  margin-bottom: 56px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #1e1e1e;
}

.faq-item:first-child {
  border-top: 1px solid #1e1e1e;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--text-secondary);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.2s ease;
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
}

.faq-item.open .faq-icon svg {
  color: var(--accent);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.35s ease;
}

.faq-answer-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom 0.35s ease;
}

.faq-answer-inner p {
  font-size: 18px;
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer-inner {
  padding-bottom: 28px;
}

/* ===========================
   SECTION 5: FINAL CTA
   =========================== */
#cta-final {
  text-align: center;
  padding-bottom: 28px;
}

#cta-final h2 {
  font-size: clamp(28px, 4.8vw, 52px);
  margin-bottom: 20px;
}

#cta-final .cta-subtitle {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

/* Scarcity line */
.scarcity-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

.scarcity-note strong {
  color: var(--accent);
  font-weight: 700;
}

.scarcity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===========================
   SECTION 6: TESTIMONIOS (Stagger)
   =========================== */
#testimonials {
  overflow: hidden;
  padding-top: 28px;
}

#testimonials h2 {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials-video {
  margin-bottom: 48px;
  display: flex;
  justify-content: center;
}
.video-ref-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.video-ref-wrap video {
  display: block;
  height: min(440px, 52vh);
  width: auto;
  aspect-ratio: 9 / 16;
}
.video-ref-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
  border: none;
  cursor: pointer;
  transition: opacity 0.25s, background 0.25s;
  padding: 0;
}
.video-ref-play:hover {
  background: rgba(0,0,0,0.28);
}
.video-ref-play-inner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.video-ref-play:hover .video-ref-play-inner {
  transform: scale(1.1);
  background: rgba(255,255,255,0.28);
}
.video-ref-play svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  margin-left: 3px;
}
.video-ref-play.hidden {
  opacity: 0;
  pointer-events: none;
}

.stagger-stage {
  position: relative;
  height: 360px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-bottom: 60px;
}

.stagger-track {
  position: relative;
  width: 100%;
  height: 300px;
}

.stagger-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  padding: 28px 24px 24px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  clip-path: polygon(0% 0%, calc(100% - 44px) 0%, 100% 44px, 100% 100%, 0% 100%);
  cursor: pointer;
  transition: transform 0.52s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.52s ease,
              background 0.4s ease;
  will-change: transform, opacity;
  user-select: none;
}

.stagger-card--active {
  background: var(--accent);
  border-color: transparent;
  cursor: default;
}

.stagger-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 63px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  transform-origin: right top;
  transform: rotate(45deg) translateX(1px);
  pointer-events: none;
}

.stagger-card--active .stagger-corner {
  background: rgba(0, 0, 0, 0.18);
}

.stagger-quote {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.stagger-card--active .stagger-quote {
  color: #0a0a0a;
}

.stagger-by {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stagger-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.12);
}

.stagger-card--active .stagger-avatar {
  border-color: rgba(0,0,0,0.15);
}

.stagger-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.stagger-card--active .stagger-name {
  color: #0a0a0a;
}

.stagger-role {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

.stagger-card--active .stagger-role {
  color: rgba(0, 0, 0, 0.55);
}

.stagger-controls {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.stagger-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.stagger-btn:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 170, 0.1);
  color: var(--accent);
  transform: scale(1.08);
}

/* Light mode overrides */
[data-theme="light"] .stagger-card {
  background: var(--bg-secondary);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .stagger-card--active {
  background: var(--accent);
  border-color: transparent;
}

[data-theme="light"] .stagger-btn {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .stagger-btn:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 170, 0.08);
}

/* Mobile: hide outer cards, show only center */
@media (max-width: 767px) {
  .stagger-track {
    height: 280px;
  }
  .stagger-stage {
    height: 340px;
  }
  .stagger-card {
    width: 280px;
  }
}


/* ===========================
   Background Pattern
   =========================== */
#bg-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Corner glow: radial vignette desde top-left */
.bg-corner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 100% at 0% 0%, rgb(46, 46, 46) 0%, rgb(0, 0, 0) 100%);
  -webkit-mask-image: radial-gradient(125% 100% at 0% 0%, rgb(0,0,0) 0%, rgba(0,0,0,0.224) 88.29%, rgba(0,0,0,0) 100%);
  mask-image:         radial-gradient(125% 100% at 0% 0%, rgb(0,0,0) 0%, rgba(0,0,0,0.224) 88.29%, rgba(0,0,0,0) 100%);
}

/* Diagonal streaks en teal accent */
.bg-streak {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background: linear-gradient(rgb(0, 212, 170) 0%, rgba(0, 212, 170, 0) 100%);
  transform: skewX(45deg);
}

.bg-streak-1 {
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgb(0,0,0) 20%, rgba(0,0,0,0) 36%, rgb(0,0,0) 55%, rgba(0,0,0,0.13) 67%, rgb(0,0,0) 78%, rgba(0,0,0,0) 97%);
  mask-image:         linear-gradient(90deg, rgba(0,0,0,0) 0%, rgb(0,0,0) 20%, rgba(0,0,0,0) 36%, rgb(0,0,0) 55%, rgba(0,0,0,0.13) 67%, rgb(0,0,0) 78%, rgba(0,0,0,0) 97%);
}

.bg-streak-2 {
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 11%, rgb(0,0,0) 25%, rgba(0,0,0,0.55) 41%, rgba(0,0,0,0.13) 67%, rgb(0,0,0) 78%, rgba(0,0,0,0) 97%);
  mask-image:         linear-gradient(90deg, rgba(0,0,0,0) 11%, rgb(0,0,0) 25%, rgba(0,0,0,0.55) 41%, rgba(0,0,0,0.13) 67%, rgb(0,0,0) 78%, rgba(0,0,0,0) 97%);
}

.bg-streak-3 {
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 9%, rgb(0,0,0) 20%, rgba(0,0,0,0.55) 28%, rgba(0,0,0,0.424) 40%, rgb(0,0,0) 48%, rgba(0,0,0,0.267) 54%, rgba(0,0,0,0.13) 78%, rgb(0,0,0) 88%, rgba(0,0,0,0) 97%);
  mask-image:         linear-gradient(90deg, rgba(0,0,0,0) 9%, rgb(0,0,0) 20%, rgba(0,0,0,0.55) 28%, rgba(0,0,0,0.424) 40%, rgb(0,0,0) 48%, rgba(0,0,0,0.267) 54%, rgba(0,0,0,0.13) 78%, rgb(0,0,0) 88%, rgba(0,0,0,0) 97%);
}

.bg-streak-4 {
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgb(0,0,0) 17%, rgba(0,0,0,0.55) 26%, rgb(0,0,0) 35%, rgba(0,0,0,0) 47%, rgba(0,0,0,0.13) 69%, rgb(0,0,0) 79%, rgba(0,0,0,0) 97%);
  mask-image:         linear-gradient(90deg, rgba(0,0,0,0) 0%, rgb(0,0,0) 17%, rgba(0,0,0,0.55) 26%, rgb(0,0,0) 35%, rgba(0,0,0,0) 47%, rgba(0,0,0,0.13) 69%, rgb(0,0,0) 79%, rgba(0,0,0,0) 97%);
}

.bg-streak-5 {
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgb(0,0,0) 20%, rgba(0,0,0,0.55) 27%, rgb(0,0,0) 42%, rgba(0,0,0,0) 48%, rgba(0,0,0,0.13) 67%, rgb(0,0,0) 74%, rgb(0,0,0) 82%, rgba(0,0,0,0.47) 88%, rgba(0,0,0,0) 97%);
  mask-image:         linear-gradient(90deg, rgba(0,0,0,0) 0%, rgb(0,0,0) 20%, rgba(0,0,0,0.55) 27%, rgb(0,0,0) 42%, rgba(0,0,0,0) 48%, rgba(0,0,0,0.13) 67%, rgb(0,0,0) 74%, rgb(0,0,0) 82%, rgba(0,0,0,0.47) 88%, rgba(0,0,0,0) 97%);
}

/* Dot grid */
.bg-dots {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.6) 1px, transparent 0);
  background-size: 20px 20px;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  border-top: 1px dotted #1a1a1a;
  padding: 48px 24px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: transparent;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.2s cubic-bezier(0.25,1,0.5,1), box-shadow 0.25s ease;
}

.footer-icon:hover {
  transform: scale(1.12);
}

/* Per-brand border tint */
.footer-icon--email     { border-color: rgba(0,212,170,0.25); }
.footer-icon--instagram { border-color: rgba(225,48,108,0.25); }
.footer-icon--facebook  { border-color: rgba(24,119,242,0.25); }
.footer-icon--tiktok    { border-color: rgba(238,29,82,0.25); }
.footer-icon--linkedin  { border-color: rgba(0,119,181,0.25); }
.footer-icon--youtube   { border-color: rgba(255,0,0,0.25); }

/* Hover: stronger border + matching glow */
.footer-icon--email:hover     { box-shadow: 0 0 14px rgba(0,212,170,0.35);  border-color: rgba(0,212,170,0.6); }
.footer-icon--instagram:hover { box-shadow: 0 0 14px rgba(225,48,108,0.35); border-color: rgba(225,48,108,0.6); }
.footer-icon--facebook:hover  { box-shadow: 0 0 14px rgba(24,119,242,0.35); border-color: rgba(24,119,242,0.6); }
.footer-icon--tiktok:hover    { box-shadow: 0 0 14px rgba(238,29,82,0.35);  border-color: rgba(238,29,82,0.6); }
.footer-icon--linkedin:hover  { box-shadow: 0 0 14px rgba(0,119,181,0.35);  border-color: rgba(0,119,181,0.6); }
.footer-icon--youtube:hover   { box-shadow: 0 0 14px rgba(255,0,0,0.35);    border-color: rgba(255,0,0,0.6); }

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal a {
  font-size: 12px;
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #a0a0a0;
}

.footer-sep {
  font-size: 12px;
  color: #444444;
}

.footer-copy {
  font-size: 12px;
  color: #666666;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.65;
  padding-top: 8px;
}

/* ===========================
   Theme Toggle — Pill Switch
   =========================== */
/* Theme toggle — discreet fixed chip, top-right */
#theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  user-select: none;
  padding: 5px;
  border-radius: 14px;
  background: transparent;
  transition: background 0.2s ease;
}

#theme-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
}

[data-theme="light"] #theme-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Hide native checkbox */
#theme-checkbox {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  -webkit-appearance: none;
  appearance: none;
}

/* Track — the pill container */
.toggle-track {
  display: inline-block;
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Checked = light mode — track turns accent */
#theme-checkbox:checked + .toggle-track {
  background: rgba(0, 212, 170, 0.18);
  border-color: rgba(0, 212, 170, 0.38);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.08);
}

/* Thumb — the sliding circle */
.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.25s cubic-bezier(0.25, 1, 0.5, 1), background 0.25s ease;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 1px 2px rgba(0, 0, 0, 0.18);
  color: #666;
}

/* Thumb slides right when checked */
#theme-checkbox:checked + .toggle-track .toggle-thumb {
  left: calc(44px - 18px - 4px);
  background: #0f0f0f;
  color: var(--accent);
}

/* Icon transitions inside thumb */
.toggle-thumb .icon-sun,
.toggle-thumb .icon-moon {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Unchecked (dark mode): sun visible */
.toggle-thumb .icon-sun  { opacity: 1; transform: scale(1); }
.toggle-thumb .icon-moon { opacity: 0; transform: scale(0.5); }

/* Checked (light mode): moon visible */
#theme-checkbox:checked + .toggle-track .toggle-thumb .icon-sun  { opacity: 0; transform: scale(0.5); }
#theme-checkbox:checked + .toggle-track .toggle-thumb .icon-moon { opacity: 1; transform: scale(1); }

/* Hover lift */
#theme-toggle:hover .toggle-track { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
#theme-toggle:hover .toggle-thumb { transform: scale(1.06); }

/* Light mode track when unchecked (brief state on load) */
[data-theme="light"] .toggle-track {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

/* ===========================
   Light Mode
   =========================== */


[data-theme="light"] {
  --bg-primary: #f6f5f3;
  --bg-secondary: #eceae7;
  --text-primary: #0f0f0f;
  --text-secondary: #555555;
  --text-muted: #909090;
}

/* Hero text (hardcoded white → dark) */
[data-theme="light"] #hero h1,
[data-theme="light"] .hero-static { color: #0f0f0f; }

/* Video & testimonials placeholders */
[data-theme="light"] .testimonials-placeholder {
  background-color: #e8e6e1;
  border-color: #d0cdc7;
}

/* FAQ borders & icon */
[data-theme="light"] .faq-item        { border-color: #d8d5d0; }
[data-theme="light"] .faq-item:first-child { border-top-color: #d8d5d0; }
[data-theme="light"] .faq-icon        { border-color: #ccc9c3; }


[data-theme="light"] .fw-item {
  border-bottom-color: rgba(0, 0, 0, 0.07);
}

/* Footer */
[data-theme="light"] footer          { border-top-color: #d8d5d0; }
[data-theme="light"] .footer-icon     { border-color: rgba(0,0,0,0.1); opacity: 0.88; }
[data-theme="light"] .footer-icon:hover { opacity: 1; }
[data-theme="light"] .footer-legal a { color: #888888; }
[data-theme="light"] .footer-legal a:hover { color: #555555; }
[data-theme="light"] .footer-sep     { color: #c0bdb7; }
[data-theme="light"] .footer-copy    { color: #888888; }

/* Background pattern — adapt for light */
[data-theme="light"] .bg-corner-glow {
  background: radial-gradient(100% 100% at 0% 0%, rgb(215, 212, 205) 0%, rgba(246, 245, 243, 0) 100%);
}
[data-theme="light"] .bg-streak      { opacity: 0.07; }
[data-theme="light"] .bg-dots {
  opacity: 0.1;
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.55) 1px, transparent 0);
}

/* ===========================
   Disclaimer section
   =========================== */
#disclaimer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
}
#disclaimer p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
[data-theme="light"] #disclaimer { border-top-color: rgba(0,0,0,0.07); }

/* ===========================
   Legal pages
   =========================== */
.legal-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.legal-back {
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.legal-back:hover { opacity: 0.75; }
.legal-brand {
  color: var(--text-muted);
  font-size: 15px;
}
.legal-content {
  padding-top: 56px;
  padding-bottom: 80px;
}
.legal-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.legal-date {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 48px;
}
.legal-content h2 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-content a { color: var(--accent); }
.legal-content strong { color: var(--text-primary); font-weight: 600; }
.legal-footer-simple {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  position: relative;
  z-index: 1;
}
[data-theme="light"] .legal-nav { border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .legal-footer-simple { border-top-color: rgba(0,0,0,0.08); }

/* ===========================
   QUIZ OVERLAY
   =========================== */
#quiz-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #0a0a0a;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

#quiz-overlay.quiz-open {
  opacity: 1;
  pointer-events: auto;
}

/* Progress bar */
.quiz-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.06);
  z-index: 2010;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Chrome / nav buttons */
.quiz-back-btn {
  position: fixed;
  top: 18px;
  left: 16px;
  z-index: 2010;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.quiz-back-btn:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.quiz-close-btn {
  position: fixed;
  top: 14px;
  right: 60px;
  z-index: 2010;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.quiz-close-btn:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.08);
}

/* Slides container */
.quiz-slides {
  max-width: 620px;
  margin: 0 auto;
  padding: 88px 24px 64px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Booking: fullscreen — no scroll on overlay, slides fill entire viewport */
#quiz-overlay:has(.quiz-booking) { overflow: hidden; }

.quiz-slides:has(.quiz-booking) {
  max-width: 100%;
  padding: 0;
  height: 100vh;
  height: 100dvh;
  min-height: unset;
  justify-content: flex-start;
  overflow: hidden;
}

.quiz-slides:has(.quiz-booking) > .quiz-slide {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quiz-slide { width: 100%; }

/* Question layout */
.quiz-step-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.quiz-question {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}

/* Options */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  width: 100%;
  background: transparent;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 16px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.quiz-option:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: rgba(0,212,170,0.05);
  transform: translateX(4px);
}

.quiz-option--selected {
  border-color: var(--accent) !important;
  color: var(--text-primary) !important;
  background: rgba(0,212,170,0.08) !important;
}

.quiz-option-text { flex: 1; }

.quiz-option-arrow {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.quiz-option:hover .quiz-option-arrow,
.quiz-option--selected .quiz-option-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* Textarea */
.quiz-textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 16px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.7;
  resize: none;
  min-height: 130px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease;
}

.quiz-textarea::placeholder { color: var(--text-muted); }
.quiz-textarea:focus { outline: none; border-color: var(--accent); }
.quiz-input-error { border-color: #ff5555 !important; }

.quiz-next-btn {
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  border-radius: 10px;
  padding: 15px 32px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quiz-next-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Contact step (name + email) */
.quiz-contact-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 20px;
}

.quiz-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quiz-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 16px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.quiz-input::placeholder { color: var(--text-muted); }
.quiz-input:focus { outline: none; border-color: var(--accent); }

.quiz-field-error {
  font-size: 12px;
  color: #ff5555;
  padding-left: 4px;
  min-height: 16px;
}

.quiz-contact-error {
  margin-top: 12px;
  font-size: 13px;
  color: #ff5555;
  text-align: center;
}

.quiz-next-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Special screens (exit / thankyou) */
.quiz-screen-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quiz-screen-icon {
  font-size: 36px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.quiz-screen-icon--success { color: var(--accent); }

.quiz-screen-text {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 36px;
}

.quiz-screen-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.quiz-accent-btn {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}

.quiz-accent-btn:hover { background: var(--accent-hover); }

.quiz-ghost-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s ease;
}

.quiz-ghost-btn:hover { color: var(--text-primary); }

/* Booking screen — Calendly fills the full overlay */
.quiz-booking {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

.quiz-calendly {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

/* Iframe injected by Calendly fills the full container */
.quiz-calendly iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block;
}

/* Loading spinner while Calendly iframe hasn't loaded yet */
.quiz-calendly:empty::before {
  content: '';
  position: absolute;
  top: calc(50% - 14px);
  left: calc(50% - 14px);
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255,255,255,0.08);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: cal-spin 0.8s linear infinite;
}

.quiz-calendly:empty::after {
  content: 'Cargando calendario…';
  position: absolute;
  top: calc(50% + 26px);
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}

@keyframes cal-spin {
  to { transform: rotate(360deg); }
}

/* Light mode */
[data-theme="light"] #quiz-overlay { background: var(--bg-primary); }

[data-theme="light"] .quiz-option {
  border-color: #d8d5d0;
  color: var(--text-secondary);
}

[data-theme="light"] .quiz-option:hover {
  border-color: var(--accent);
  background: rgba(0,212,170,0.06);
  color: var(--text-primary);
}

[data-theme="light"] .quiz-textarea,
[data-theme="light"] .quiz-input {
  border-color: #d8d5d0;
  background: rgba(0,0,0,0.02);
}

[data-theme="light"] .quiz-progress-bar { background: rgba(0,0,0,0.06); }

[data-theme="light"] .quiz-back-btn:hover  { background: rgba(0,0,0,0.05); }
[data-theme="light"] .quiz-close-btn:hover { background: rgba(0,0,0,0.06); }



