/* ══════════════════════════════════════════════════
   RESET 22 — LANDING PAGE STYLES
   Studio 22 · Tlaxcala · 2026
   ══════════════════════════════════════════════════ */

/* ── BRAND FONTS ── */
@font-face {
  font-family: 'Chillax';
  src: url('fonts/chillax/Chillax-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Chillax';
  src: url('fonts/chillax/Chillax-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Chillax';
  src: url('fonts/chillax/Chillax-Bold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Chillax';
  src: url('fonts/chillax/Chillax-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'AkzidenzGrotesk';
  src: url('fonts/Akzidenz-grotesk-black 2.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Fix #1 — overflow-x en body solo no funciona en iOS Safari.
   Se necesita en html también para bloquear scroll horizontal en todos los browsers. */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Mobile: agranda toda la tipografía un 5% (solo texto, sin alterar el layout) */
@media (max-width: 639px) {
  html {
    -webkit-text-size-adjust: 105%;
    -moz-text-size-adjust: 105%;
    text-size-adjust: 105%;
  }
}
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--marfil);
  color: var(--grafito);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Ensure body never exceeds viewport width */
  max-width: 100vw;
}

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  /* Acento — CTA y elementos activos de Pasaporte únicamente */
  --naranja:    #C8731E;
  --naranja-d:  #A35A10;
  --naranja-l:  #F0D4B2;
  --naranja-ll: #FBF4EC;
  /* Principal — identidad visual, fondos selectos, estructura */
  --sage:       #8B8E76;
  --sage-d:     #6B6E5A;
  --sage-l:     #E8E9E1;
  --sage-ll:    #F2F3EE;
  /* Contraste y autoridad — encabezados sobre fondos claros, bloques oscuros */
  --navy:       #092640;
  /* Soporte — cero fricción con la lectura */
  --marfil:     #FDFBF7;   /* fondo dominante — blanco roto texturizado */
  --grafito:    #2C302E;   /* texto de cuerpo — párrafos largos */
  --borde:      #E2E4DC;   /* divisores ultra-atenuados */
  --negro:      #2C302E;   /* alias semántico = grafito */
  --blanco:     #FDFBF7;   /* alias semántico = marfil */
  --gris:       #6B6560;
  --gris-l:     #F0EDE8;
  --tierra:     #69604E;
}

/* ── TYPOGRAPHY SCALE ── */
.hero-headline {
  font-family: 'Chillax', sans-serif;
  font-size: clamp(38px, 5.8vw, 78px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.section-headline {
  font-family: 'Chillax', sans-serif;
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.sub-headline {
  font-family: 'Chillax', sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.008em;
  color: var(--navy);
}
.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.font-akz {
  font-family: 'AkzidenzGrotesk', 'Chillax', sans-serif;
}

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--naranja);
  /* Fix #2 — contain:layout impide que el ticker inline-flex expanda
     el scroll-width reportado al browser más allá de este contenedor. */
  overflow: hidden;
  contain: layout;
  white-space: nowrap;
  position: relative;
  max-width: 100%;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: ticker 28s linear infinite;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}
.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

/* ── NAV ── */
.nav-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--negro);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.nav-link:hover { opacity: 1; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--naranja);
  color: white;
  font-family: 'Chillax', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
  flex-shrink: 0;
}
.btn-primary:hover { background: var(--naranja-d); transform: translateY(-2px); }

.btn-primary-lg {
  padding: 17px 36px;
  font-size: 16px;
}

/* Chips de servicios incluidos en el hero — tono wellness (sage) */
.hero-chip {
  display: inline-flex;
  align-items: center;
  background: var(--sage-ll);
  color: var(--sage-d);
  border: 1px solid var(--sage-l);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .hero-chip { font-size: 11px; padding: 4px 10px; }
}

/* Chips del kit de Cielo Índigo — tinte índigo */
.indigo-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(99, 102, 181, 0.1);
  color: #3a3d77;
  border: 1px solid rgba(99, 102, 181, 0.25);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  font-family: 'Chillax', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.28);
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.06); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--negro);
  font-family: 'Chillax', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,0.15);
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-dark:hover { border-color: var(--naranja); color: var(--naranja); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  font-family: 'Chillax', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-whatsapp:hover { opacity: 0.88; transform: translateY(-2px); }

/* ── SECTION HELPERS ── */
.section-pad    { padding: 88px 24px; }
.section-pad-sm { padding: 56px 24px; }
.container-lg   { max-width: 1280px; margin: 0 auto; }
@media (min-width: 640px)  {
  .section-pad    { padding: 112px 40px; }
  .section-pad-sm { padding: 64px 40px; }
}
@media (min-width: 1024px) {
  .section-pad    { padding: 128px 64px; }
  .section-pad-sm { padding: 80px 64px; }
}

/* ── HERO ── */
.hero-bg {
  background: linear-gradient(140deg, #4e5143 0%, #6B6E5A 35%, #8B8E76 75%, #9a9d84 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}
.hero-accent { color: var(--naranja); }
.hero-body {
  font-size: 17px;
  color: rgba(255,255,255,0.84);
  line-height: 1.8;
  max-width: 520px;
}
.hero-body strong { color: #fff; font-weight: 600; }

/* Hero card (right side) — cream floats sobre el hero sage */
.hero-card {
  background: linear-gradient(155deg, #FEFCF8 0%, #FDFBF7 60%, #F8F5EF 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(139,142,118,0.18);
  box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.1);
}
.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(253,251,247,0) 0%,
    rgba(253,251,247,0) 55%,
    rgba(253,251,247,0.65) 82%,
    rgba(253,251,247,0.97) 100%
  );
  z-index: 1;
}
.hero-card-content {
  position: relative;
  z-index: 2;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  flex: 1;
}
.hero-card-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
}
.hero-card-bottom {
  text-align: center;
  margin-top: auto;
  padding-top: 20px;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.09);
  margin-top: 36px;
}
.hero-stat-num {
  font-size: 32px;
  font-weight: 700;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}
.hero-stat-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-top: 4px;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--navy);
  padding: 44px 24px;
}
.stats-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 640px)  { .stats-bar-inner { grid-template-columns: repeat(4, 1fr); } }
.stat-big-num {
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  color: white;
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
}
.stat-big-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-top: 8px;
}

/* ── SAGE SECTION (info sections) ── */
.sage-section { background: var(--sage); }
.sage-section .section-headline { color: var(--negro); }
.sage-section .sub-headline      { color: var(--negro); }
.sage-section .eyebrow           { color: white; }

/* ── METODO SECTION ── */
.metodo-section { background: var(--sage-ll); }

/* ── FASES V2 — Cards blancas con top accent ── */
.fase-card-v2 {
  background: white;
  border-radius: 28px;
  border: 1px solid var(--borde);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 18px rgba(9,38,64,0.05);
  transition: box-shadow 0.25s, transform 0.25s;
}
.fase-card-v2:hover {
  box-shadow: 0 18px 48px rgba(9,38,64,0.12);
  transform: translateY(-4px);
}

/* Barra de color superior */
.fase-v2-cap {
  height: 5px;
  width: 100%;
  flex-shrink: 0;
}
.cap-s1 { background: var(--navy); }
.cap-s2 { background: var(--sage-d); }
.cap-s3 { background: var(--naranja); }

/* Body interno */
.fase-v2-body {
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Eyebrow semana */
.fase-v2-semana {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 10px;
}
.fase-v2-semana--naranja { color: var(--naranja); }

/* Nombre / título */
.fase-v2-nombre {
  font-family: 'Chillax', sans-serif;
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 16px;
}

/* Descripción */
.fase-v2-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gris);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--borde);
}

/* Lista de ítems */
.fase-v2-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.fase-v2-items li {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
  color: var(--negro);
}
.fase-v2-items li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
  margin-top: 5px;
}
.fase-v2-items--naranja li::before { background: var(--naranja); }

/* ── NSDR STRIP ── */
.nsdr-strip {
  border-radius: 24px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background: white;
  border: 1px solid var(--borde);
  box-shadow: 0 4px 20px rgba(9,38,64,0.06);
}
@media (min-width: 768px) {
  .nsdr-strip { grid-template-columns: 1fr 1fr; align-items: center; }
}
.nsdr-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.nsdr-stat {
  background: var(--sage-ll);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
}
.nsdr-stat--wide { grid-column: 1 / -1; }
.nsdr-stat-num {
  font-family: 'Chillax', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--naranja);
  line-height: 1;
  margin-bottom: 4px;
}
.nsdr-stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(9,38,64,0.45);
}

/* ── VALUE TABLE / INCLUYE ── */
.incluye-box {
  background: var(--marfil);
  border: 1px solid var(--borde);
  border-radius: 28px;
  padding: 44px;
}
@media (min-width: 640px) { .incluye-box { padding: 52px; } }
.vs-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--borde);
}
.vs-item:last-child { border-bottom: none; }
.vs-check {
  width: 24px; height: 24px;
  background: var(--naranja);
  border-radius: 50%;
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.vs-precio {
  font-size: 13px;
  font-weight: 500;
  color: var(--gris);
  text-decoration: line-through;
  opacity: 0.5;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
  padding-left: 16px;
  margin-left: auto;
}

/* ── PASAPORTE INFO CARD (header "¿Cómo funciona?") ── */
.pasaporte-info-card {
  background: var(--sage-l);
  border-radius: 24px;
  padding: 36px 32px;
}
.pasaporte-info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-d);
  margin-bottom: 20px;
}
.pasaporte-info-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(9,38,64,0.75);
}
.pasaporte-regla {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--negro);
  border-left: 3px solid var(--naranja);
  padding-left: 14px;
  margin: 0;
}

/* ── PASSPORT COMPONENT ── */
.passport-card {
  background: var(--marfil);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--sage-l);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.passport-card:hover { transform: translateY(-4px); }
.passport-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--borde);
}
.passport-header.week1 { background: var(--naranja); }
.passport-header.week2 { background: var(--sage); }
.passport-header.week3 { background: var(--navy); }
.passport-body { padding: 24px; }
.stamp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.stamp {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.15s, background 0.2s;
}
.stamp:hover { transform: scale(1.1); }
.stamp.empty  { border-color: var(--borde); color: rgba(0,0,0,0.18); background: transparent; }
.stamp.done   { border-style: solid; border-color: var(--naranja); background: var(--naranja-ll); color: var(--naranja); font-size: 13px; }
.stamp.bonus  { border-style: solid; border-color: var(--sage); background: var(--sage-ll); color: var(--sage-d); font-size: 13px; }
.stamp.locked { border-style: dashed; border-color: rgba(200,115,30,0.3); color: var(--naranja-l); }
.stamp-label {
  font-size: 11px;
  color: var(--gris);
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.4;
}

/* ── TIMELINE / CALENDAR ── */
/* ── CALENDARIO DE TRANSFORMACIÓN ── */
.cal-section { background: var(--sage-ll); }

/* Timeline container — mobile: single col / desktop: alternating */
.cal-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Vertical line — visible only on desktop */
.cal-timeline::before {
  content: '';
  display: none;
  position: absolute;
  left: 50%;
  top: 16px;
  bottom: 16px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--naranja), var(--sage-l) 80%, transparent);
  border-radius: 2px;
  z-index: 0;
}
@media (min-width: 768px) { .cal-timeline::before { display: block; } }

/* Each event row */
.cal-item {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding-bottom: 32px;
  position: relative;
}
/* Mobile: left dot column + card */
.cal-item .cal-axis {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 36px;
  padding-top: 18px;
  position: relative;
}
/* Vertical connector on mobile */
.cal-item .cal-axis::after {
  content: '';
  position: absolute;
  top: 36px;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--borde);
}
.cal-item:last-child .cal-axis::after { display: none; }

.cal-item .cal-card-wrap { flex: 1; padding-left: 16px; }
.cal-item .cal-spacer    { display: none; }

/* Desktop: 3-col alternating layout */
@media (min-width: 768px) {
  .cal-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: start;
    gap: 0;
    padding-bottom: 48px;
  }
  .cal-item .cal-axis {
    width: 80px;
    padding-top: 22px;
    align-items: center;
    z-index: 1;
  }
  .cal-item .cal-axis::after { display: none; }
  .cal-item .cal-spacer { display: block; }
  /* Default (odd): card left, spacer right */
  .cal-item .cal-card-wrap { grid-column: 1; padding-left: 0; padding-right: 24px; }
  .cal-item .cal-axis      { grid-column: 2; }
  .cal-item .cal-spacer    { grid-column: 3; }
  /* Even items: spacer left, card right */
  .cal-item.cal-item--right .cal-spacer    { grid-column: 1; }
  .cal-item.cal-item--right .cal-axis      { grid-column: 2; }
  .cal-item.cal-item--right .cal-card-wrap { grid-column: 3; padding-right: 0; padding-left: 24px; }
}

/* Dot */
.cal-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--sage);
  box-shadow: 0 0 0 3px var(--sage-ll);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.cal-dot--naranja {
  background: var(--naranja);
  border-color: var(--naranja);
  box-shadow: 0 0 0 4px rgba(200,115,30,0.15);
  width: 18px;
  height: 18px;
}

/* Card */
.cal-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--borde);
  padding: 24px;
  box-shadow: 0 2px 16px rgba(9,38,64,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.cal-card:hover {
  box-shadow: 0 8px 32px rgba(9,38,64,0.11);
  transform: translateY(-2px);
}
.cal-card--featured { border-color: rgba(200,115,30,0.25); }

/* Date pill */
.cal-date-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--gris-l);
  color: var(--gris);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.cal-date-pill--naranja {
  background: var(--naranja-ll);
  color: var(--naranja-d);
}

/* Title */
.cal-title {
  font-family: 'Chillax', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  line-height: 1.2;
}

/* Detail rows */
.cal-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cal-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gris);
}
.cal-row strong { color: var(--negro); }
.cal-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; line-height: 1; }

/* Co-branding — evento en alianza con Liverpool */
.cal-alianza {
  font-size: 12px;
  line-height: 1.4;
  color: var(--gris);
  margin: -6px 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--borde);
}
.cal-alianza strong { color: #c71f7e; font-weight: 700; }

/* Masaje grid */
.cal-masaje-grid {
  background: var(--sage-ll);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal-masaje-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gris);
}
.cal-masaje-row span:first-child { font-weight: 600; color: var(--negro); }
.cal-masaje-row span:last-child  { color: var(--tierra); }

/* Add to calendar */
.cal-add-wrap { position: relative; }
.cal-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Chillax', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--sage-ll);
  border: 1px solid var(--borde);
  border-radius: 100px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.cal-add-btn:hover { background: var(--sage-l); border-color: var(--sage); }
.cal-add-btn[aria-expanded="true"] {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.cal-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  /* Fix #3 — left:0 en mobile puede desbordarse por la derecha.
     Usamos right:0 para anclar al borde derecho del botón en pantallas estrechas. */
  right: 0;
  background: white;
  border: 1px solid var(--borde);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(9,38,64,0.14);
  overflow: hidden;
  min-width: 200px;
  /* Garantiza que nunca sea más ancho que la tarjeta contenedora */
  max-width: calc(100vw - 48px);
  z-index: 50;
}
.cal-menu.is-open { display: block; }
.cal-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  font-family: 'Chillax', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--negro);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
}
.cal-menu-item:hover { background: var(--sage-ll); }
.cal-menu-item + .cal-menu-item { border-top: 1px solid var(--borde); }

/* Keep old timeline classes (used elsewhere if any) */
.timeline-wrap { position: relative; padding-left: 36px; }
.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--naranja), var(--sage-l));
  border-radius: 2px;
}
@media (min-width: 768px) {
  .timeline-wrap { padding-left: 0; }
  .timeline-wrap::before { display: none; }
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-dot {
  position: absolute; left: -28px; top: 5px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--naranja);
  background: var(--naranja); z-index: 1;
}
.timeline-dot.sage-dot { background: var(--sage); box-shadow: 0 0 0 2px var(--sage); }
@media (min-width: 768px) { .timeline-dot { display: none; } }
.timeline-desktop { display: none; }
@media (min-width: 768px) {
  .timeline-desktop { display: block; }
  .timeline-mobile  { display: none; }
}

/* ── HORARIOS TABLES ── */
.horarios-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
.horarios-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.horarios-table thead th {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 13px 14px;
  text-align: center;
}
.horarios-table thead th:first-child { text-align: left; padding-left: 20px; border-radius: 16px 0 0 0; }
.horarios-table thead th:last-child  { border-radius: 0 16px 0 0; }
.horarios-table tbody td {
  padding: 11px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 13px;
  color: var(--gris);
  background: white;
}
.horarios-table tbody td:first-child {
  text-align: left;
  padding-left: 20px;
  font-weight: 600;
  color: var(--negro);
  font-size: 14px;
}
.horarios-table tbody tr:last-child td { border-bottom: none; }
.horarios-table tbody tr:last-child td:first-child  { border-radius: 0 0 0 16px; }
.horarios-table tbody tr:last-child td:last-child   { border-radius: 0 0 16px 0; }
.horarios-table tbody tr:hover td { background: var(--naranja-ll); }
.coach-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}
.coach-tag.orange { background: var(--naranja-ll); color: var(--naranja-d); border: 1px solid var(--naranja-l); }
.coach-tag.sage   { background: var(--sage-ll);    color: var(--sage-d);    border: 1px solid var(--sage-l); }
.coach-tag.navy   { background: rgba(9,38,64,0.07); color: var(--navy); border: 1px solid rgba(9,38,64,0.15); }
.coach-tag.empty  { color: rgba(0,0,0,0.15); font-weight: 400; font-size: 16px; }

/* ── MASAJES TABLE ── */
.masajes-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
}
.masajes-table thead th {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
}
.masajes-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 15px;
  color: var(--tierra);
  background: white;
}
.masajes-table tbody td:first-child { font-weight: 700; color: var(--negro); }
.masajes-table tbody tr:last-child td { border-bottom: none; }

/* ── PRICING CARDS ── */
/* ── PRICING CARDS v2 ── */
.precio-card {
  border-radius: 28px;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.precio-card:hover { transform: translateY(-3px); }

.precio-member {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.1);
}
.precio-normal {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.1);
}
.precio-early {
  background: var(--marfil);
  border: 1.5px solid var(--naranja);
  box-shadow: 0 18px 56px rgba(9,38,64,0.22);
}

.precio-monto {
  font-size: clamp(48px, 4.8vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 6px;
}

/* Buttons */
.precio-card-btn {
  display: block;
  text-align: center;
  border-radius: 100px;
  padding: 14px 20px;
  font-family: 'Chillax', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: auto;
}
.precio-card-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.precio-btn--early   { background: var(--naranja); color: white; }
.precio-btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.2);
}
.precio-btn--outline:hover { color: white; border-color: rgba(255,255,255,0.45); }

/* Info boxes inside cards */
.precios-info-box {
  border-radius: 14px;
  padding: 14px 16px;
}
.precios-info-box--dark  { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); }
.precios-info-box--light { background: rgba(9,38,64,0.06);     border: 1px solid rgba(9,38,64,0.1); }

/* Badge on early card */
.badge-early {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--naranja);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  align-self: flex-start;
}
.badge-early .live-dot { color: white; }

/* "Recomendado" diagonal ribbon */
.recomendado-ribbon {
  position: absolute;
  top: 20px;
  right: -28px;
  width: 120px;
  background: var(--naranja);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 5px 0;
  transform: rotate(35deg);
  transform-origin: center center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ── FAQ ACCORDION ── */
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--negro);
  gap: 20px;
  transition: color 0.2s;
  user-select: none;
}
.faq-question:hover { color: var(--naranja); }
.faq-icon {
  width: 30px; height: 30px;
  background: var(--gris-l);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 300;
  color: var(--gris);
  line-height: 1;
  transition: background 0.2s, transform 0.3s, color 0.2s;
}
.faq-item.open .faq-icon {
  background: var(--naranja-ll);
  color: var(--naranja);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-answer { max-height: 800px; }
.faq-answer-inner {
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--gris);
}
.faq-answer-inner strong { color: var(--negro); font-weight: 600; }
.faq-answer-inner a { color: var(--naranja); font-weight: 600; text-decoration: none; }

/* ── QUOTE BLOCK ── */
.quote-block {
  background: var(--sage-ll);
  border-left: 4px solid var(--sage);
  border-radius: 28px;
  padding: 44px 44px 40px;
  position: relative;
}
.quote-mark {
  font-family: 'AkzidenzGrotesk', 'Chillax', sans-serif;
  font-size: 80px;
  color: var(--sage-l);
  line-height: 0.8;
  position: absolute;
  top: 20px;
  left: 24px;
}
.quote-text {
  font-family: 'AkzidenzGrotesk', 'Chillax', sans-serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.75;
  color: var(--tierra);
  position: relative;
  z-index: 1;
  padding-top: 22px;
}

/* ── EMPATÍA — tarjeta flotante que rompe el eje de un visual dominante ── */
.empatia-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}
@media (min-width: 768px) {
  .empatia-block { grid-template-columns: 40% 60%; }
}

/* Tarjeta minimalista flotante */
.empatia-visual { order: -1; }     /* móvil: imagen arriba, tarjeta encima */
.empatia-card {
  position: relative;
  z-index: 2;
  background: var(--marfil);
  border: 1px solid var(--borde);
  border-radius: 28px;
  padding: 32px 26px;
  box-shadow: 0 24px 64px rgba(9,38,64,0.16);
  margin: 24px 0 0;                /* móvil: separada de la imagen, sin encimar */
}
@media (min-width: 768px) {
  .empatia-visual { order: 0; }
  .empatia-card {
    margin: 0 -64px 0 0;           /* desktop: rompe el eje de la imagen */
    align-self: center;
    padding: 48px 44px;
  }
}

/* Visual dominante — placeholder con overlay suave.
   Sustituye la variable --empatia-photo por una foto real cuando exista:
   .empatia-visual { background-image: url('figures/...jpg'); } */
.empatia-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.empatia-visual img {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;          /* coincide con la foto: sin recorte del texto */
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 56px rgba(9,38,64,0.2);
  display: block;
}

/* ── FAQ — panel marfil limpio alineado a la derecha ── */
.faq-panel {
  background: var(--marfil);
  border: 1px solid var(--borde);
  border-radius: 28px;
  padding: 16px 32px;
  box-shadow: 0 10px 44px rgba(9,38,64,0.05);
}
@media (min-width: 768px) { .faq-panel { padding: 20px 44px; } }
.faq-panel .faq-item:last-child { border-bottom: none; }

/* ── TEAM CARDS ── */
.team-card {
  background: var(--marfil);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--borde);
  transition: box-shadow 0.2s, transform 0.2s;
}
.team-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

/* Team photo */
.team-photo-wrap { margin-bottom: 20px; }
.team-photo-placeholder,
.team-photo-wrap img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.team-photo-placeholder {
  background: var(--gris-l);
  border: 2px dashed rgba(0,0,0,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}
.team-photo-placeholder::after {
  content: 'FOTO';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(0,0,0,0.18);
}
.team-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.team-tag.cycling { background: var(--naranja-ll); color: var(--naranja-d); border: 1px solid var(--naranja-l); }
.team-tag.yoga    { background: var(--sage-ll);    color: var(--sage-d);    border: 1px solid var(--sage-l); }
.team-tag.pilates { background: rgba(9,38,64,0.07); color: var(--navy);    border: 1px solid rgba(9,38,64,0.15); }
.team-tag.nutri   { background: var(--gris-l);     color: var(--tierra);   border: 1px solid rgba(0,0,0,0.1); }

/* ── TEAM V2 — photo cards con reveal ── */
.team-section-v2 { background: var(--navy); }

.team-grid-v2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
/* 2 por fila en móvil; la última fila se centra sola */
.team-grid-v2 > .team-card-v2 { flex: 0 1 calc((100% - 12px) / 2); }
@media (min-width: 640px)  {
  .team-grid-v2 { gap: 16px; }
  .team-grid-v2 > .team-card-v2 { flex-basis: calc((100% - 16px) / 2); }
}
@media (min-width: 1024px) {
  .team-grid-v2 { gap: 20px; }
  /* 3 por fila en escritorio */
  .team-grid-v2 > .team-card-v2 { flex-basis: calc((100% - 40px) / 3); }
}

/* Card wrapper */
.team-card-v2 {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  /* Fix: Safari WebKit bug — overflow:hidden + border-radius doesn't clip
     transformed children. isolation:isolate + translateZ(0) forces correct clipping. */
  isolation: isolate;
  transform: translateZ(0);
  cursor: pointer;
  aspect-ratio: 3 / 4;
  background: #1a2535;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.team-card-v2:focus-visible { box-shadow: 0 0 0 3px var(--naranja); }

/* Photo area */
.team-img-v2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.team-img-v2 img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(20%);
  transition: transform 0.4s ease, filter 0.3s;
}
.team-card-v2:hover .team-img-v2 img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* Placeholder gradient por persona */
.team-initials-v2 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Chillax', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}
.team-img--ian     { background: linear-gradient(160deg, #1c3a5e 0%, #0e2035 100%); }
.team-img--karen   { background: linear-gradient(160deg, #2e3a28 0%, #182012 100%); }
.team-img--mony    { background: linear-gradient(160deg, #2d3528 0%, #181e12 100%); }
.team-img--esteph  { background: linear-gradient(160deg, #1a2840 0%, #0d1520 100%); }
.team-img--suany   { background: linear-gradient(160deg, #3a2d1a 0%, #1e170a 100%); }
.team-img--cynthia { background: linear-gradient(160deg, #28222d 0%, #13101a 100%); }
.team-img--laura   { background: linear-gradient(160deg, #2a2418 0%, #15110a 100%); }
.team-img--paty    { background: linear-gradient(160deg, #1c2a3a 0%, #0c1520 100%); }

/* Always-visible bottom bar with name + role */
.team-footer-v2 {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 48px 16px 16px;
  background: linear-gradient(to top, rgba(5,14,25,0.92) 0%, transparent 100%);
  z-index: 2;
  transition: opacity 0.25s;
}
.team-card-v2.is-open .team-footer-v2 { opacity: 0; pointer-events: none; }

.team-footer-info { min-width: 0; }
.team-name-v2 {
  font-family: 'Chillax', sans-serif;
  font-size: clamp(13px, 2vw, 19px);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-role-v2 {
  font-size: clamp(9px, 1.2vw, 12px);
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* "+" button */
.team-plus-v2 {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: white;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s, background 0.2s;
}
.team-card-v2:hover .team-plus-v2 { background: var(--naranja); color: white; }

/* Reveal panel — slides up on open */
.team-panel-v2 {
  position: absolute;
  inset: 0;
  background: rgba(9,38,64,0.96);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 14px;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  z-index: 3;
  border-radius: inherit;
  overflow-y: auto;          /* bio largo scrollable en tarjetas pequeñas */
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 640px) {
  .team-panel-v2 { padding: 24px 20px; }
}
.team-card-v2.is-open .team-panel-v2 { transform: translateY(0); }

/* Panel content */
.team-panel-tag-v2 {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;   /* reducido para no desbordar en mobile */
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 10px;
  align-self: flex-start;
  max-width: 100%;
  white-space: normal;       /* permite wrap en tarjetas estrechas */
  word-break: break-word;
  line-height: 1.4;
}
.cycling-tag { background: var(--naranja-ll); color: var(--naranja-d); }
.yoga-tag    { background: var(--sage-ll);    color: var(--sage-d); }
.pilates-tag { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); }
.nutri-tag   { background: var(--gris-l);     color: var(--tierra); }
.psico-tag   { background: rgba(139,142,118,0.2); color: var(--sage-l); }
.direccion-tag { background: rgba(200,148,58,0.16); color: #E6BE7E; border: 1px solid rgba(200,148,58,0.3); }

.team-panel-name-v2 {
  font-family: 'Chillax', sans-serif;
  font-size: clamp(15px, 2.2vw, 22px);
  font-weight: 700;
  color: white;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.team-panel-bio-v2 {
  font-size: clamp(11px, 1.3vw, 14px);
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

/* Close hint — corner X icon when open */
.team-card-v2.is-open::after {
  content: '×';
  position: absolute;
  top: 12px; right: 14px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  z-index: 4;
  pointer-events: none;
}

/* Mobile: área táctil mínima 36px y fondo más visible */
@media (max-width: 639px) {
  .team-card-v2.is-open::after {
    top: 10px; right: 10px;
    width: 36px; height: 36px;
    font-size: 22px;
    line-height: 36px;
    background: rgba(255,255,255,0.2);
  }
}

/* ── Separador de estatus — Dirección del programa ── */
.team-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 680px;
  margin: 44px auto 32px;
}
@media (min-width: 1024px) { .team-divider { margin: 56px auto 40px; } }
.team-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(200,148,58,0.45),
    transparent
  );
}
.team-divider-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-size: clamp(10px, 1.3vw, 12px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E6BE7E;
  white-space: nowrap;
}
.team-divider-label svg { flex-shrink: 0; }

/* ── Cards de dirección — estatus elevado ── */
.team-grid-v2--direccion {
  max-width: 620px;
  margin: 0 auto;
}
/* Desktop: tarjetas de dirección al 80% del ancho de una tarjeta normal */
@media (min-width: 1024px) {
  .team-grid-v2--direccion { max-width: none; }
  .team-grid-v2--direccion > .team-card-v2 {
    flex: 0 0 calc(((100% - 40px) / 3) * 0.8);
  }
}
.team-card-v2--direccion {
  box-shadow: 0 0 0 1.5px rgba(200,148,58,0.5),
              0 16px 44px rgba(0,0,0,0.32);
}
.team-card-v2--direccion .team-plus-v2 { color: #A35A10; }
.team-card-v2--direccion:hover .team-plus-v2 {
  background: #C8943A;
  color: #15110a;
}
.team-card-v2--direccion .team-panel-v2 {
  background: rgba(20,28,42,0.97);
}
/* Roles de dirección: que respiren en 2 líneas, sin cortarse con ellipsis */
.team-card-v2--direccion .team-name-v2,
.team-card-v2--direccion .team-role-v2 {
  white-space: normal;
  overflow: visible;
}

/* ── Mobile: separador + cards de dirección ── */
@media (max-width: 639px) {
  .team-divider {
    gap: 10px;
    margin: 30px auto 22px;
    padding: 0 4px;
  }
  .team-divider-label {
    letter-spacing: 0.08em;
    font-size: 9.5px;
    white-space: normal;     /* permite 2 líneas en vez de desbordar */
    text-align: center;
    line-height: 1.35;
  }
  .team-divider-label svg { width: 11px; height: 11px; }
  /* La fila de dirección ocupa el ancho disponible y queda centrada */
  .team-grid-v2--direccion { max-width: 420px; }
}

/* ── DIFF SECTION ── */
.diff-card {
  border-radius: 24px;
  padding: 40px;
}
.diff-card.no  { background: var(--marfil); border: 1px solid var(--borde); }
.diff-card.yes { background: var(--sage-d); }
.diff-card ul  { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.diff-card ul li {
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.diff-card.no  li { color: var(--gris); }
.diff-card.yes li { color: rgba(255,255,255,0.88); }
.diff-card.no  li::before { content: '✕'; font-size: 11px; color: var(--gris); opacity: 0.3; flex-shrink: 0; margin-top: 3px; }
.diff-card.yes li::before { content: '✓'; font-size: 13px; color: white; font-weight: 700; flex-shrink: 0; }

/* ── BRAND LOGOS ── */
/* ── MARCAS ALIADAS — carrusel infinito de logos (mobile-first) ── */
.brands-marquee {
  overflow: hidden;
  width: 100%;
  /* Difuminado suave en los extremos */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  padding: 8px 0;
}
.brands-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: max-content;
  animation: brands-scroll 36s linear infinite;
}
@media (min-width: 640px) { .brands-track { gap: 16px; } }

/* Pausa al pasar el cursor o al tocar */
.brands-marquee:hover .brands-track,
.brands-marquee:active .brands-track { animation-play-state: paused; }

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* avanza exactamente un set */
}
@media (prefers-reduced-motion: reduce) {
  .brands-track { animation: none; }
}

.brand-card {
  flex: 0 0 auto;
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(9,38,64,0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
@media (min-width: 1024px) { .brand-card { width: 180px; padding: 26px 22px; } }

/* Solo las clicables (enlaces a IG) reaccionan al toque */
a.brand-card:hover,
a.brand-card:active {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(9,38,64,0.12);
  border-color: var(--sage);
}

.brand-card img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (min-width: 1024px) { .brand-card img { height: 60px; } }

/* ── CTA CUPO CARD ── */
.cupo-card {
  background: var(--marfil);
  border-radius: 24px;
  padding: 44px;
  border: 1px solid var(--borde);
}
.cupo-num {
  font-size: 96px;
  font-weight: 700;
  color: var(--naranja);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.5; }
}
.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  animation: pulseDot 1.8s ease-in-out infinite;
  background: currentColor;
}

/* ── SCHEDULE TABS ── */
.sched-container {
  background: var(--gris-l);
  border: 1px solid var(--borde);
  border-radius: 20px;
  padding: 16px;
}
@media (min-width: 640px) { .sched-container { padding: 24px; border-radius: 24px; } }
@media (min-width: 768px) { .sched-container { padding: 32px; } }

/* Tab nav — full width on mobile so buttons fill the bar */
.sched-tabs-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 5px;
  background: white;
  border: 1px solid var(--borde);
  border-radius: 14px;
  width: 100%;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
@media (min-width: 640px) {
  .sched-tabs-nav {
    width: fit-content;
    display: flex;
    margin-bottom: 20px;
  }
}
.sched-tab-btn {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gris);
  cursor: pointer;
  transition: all 0.22s;
  border: none;
  background: transparent;
  font-family: 'Chillax', sans-serif;
  white-space: nowrap;
  text-align: center;
  letter-spacing: 0.01em;
}
@media (min-width: 640px) {
  .sched-tab-btn { padding: 9px 20px; font-size: 14px; flex-shrink: 0; }
}
.sched-tab-btn.active {
  background: var(--navy);
  color: white;
  box-shadow: 0 2px 10px rgba(9,38,64,0.25);
}
.sched-tab-btn:hover:not(.active) { color: var(--negro); background: rgba(0,0,0,0.04); }

/* Panel card */
.sched-card {
  background: white;
  border: 1px solid var(--borde);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
@media (min-width: 640px) { .sched-card { border-radius: 18px; padding: 20px; } }
@media (min-width: 768px) { .sched-card { padding: 28px; } }

.sched-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--borde);
}
.sched-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 3px;
  line-height: 1.2;
}
@media (min-width: 640px) { .sched-card-title { font-size: 18px; } }
.sched-card-sub {
  font-size: 12px;
  color: var(--gris);
  line-height: 1.5;
}
@media (min-width: 640px) { .sched-card-sub { font-size: 13px; } }
.sched-card-sub strong { color: var(--negro); }

.sched-footnote {
  font-size: 11px;
  color: var(--gris);
  margin-top: 12px;
  opacity: 0.7;
}

/* ── Mobile slot view (< 640px) ── */
.sched-table-view  { display: none; }
.sched-mobile-view { display: block; }
@media (min-width: 640px) {
  .sched-table-view  { display: block; }
  .sched-mobile-view { display: none; }
}

/* slot = una franja horaria */
.sched-slot {
  border-bottom: 1px solid var(--borde);
  padding: 12px 0;
}
.sched-slot:last-child { border-bottom: none; padding-bottom: 0; }
.sched-slot:first-child { padding-top: 0; }

.sched-slot-time {
  font-size: 13px;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.sched-slot-rows { display: flex; flex-direction: column; gap: 6px; }

.sched-slot-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sched-slot-days {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sched-day-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(0,0,0,0.05);
  color: var(--gris);
  border: 1px solid rgba(0,0,0,0.09);
  letter-spacing: 0.02em;
}

/* ── legacy aliases (unused but kept for safety) ── */
.tabs-nav { display: none; }
.tab-btn  { display: none; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.3s ease; }

/* ── MINI CTA STRIP — mobile-first ── */
.mini-cta-strip {
  background: var(--sage-d);
  padding: 14px 20px;
}
@media (min-width: 640px)  { .mini-cta-strip { padding: 20px 40px; } }
@media (min-width: 1024px) { .mini-cta-strip { padding: 20px 56px; } }

/* BASE (mobile): fila horizontal — info izquierda, botón derecha */
.mini-cta-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Bloque de texto: columna apilada en mobile */
.mini-cta-left {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* Dot de live — oculto en mobile; se muestra en desktop */
.mini-cta-left .live-dot { display: none; }

/* Título del strip — truncado en una línea en mobile */
.mini-cta-left > .font-bold {
  font-size: 12px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.3;
  opacity: 0.75;
}

/* Precio / monto — protagonista visual en mobile */
.mini-cta-amount {
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}

/* Sub-texto — oculto en mobile */
.mini-cta-sub {
  display: none;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Wrapper del botón (botón + micro-copy de confianza) */
.mini-cta-strip-inner > div:last-child {
  flex-shrink: 0;
  align-items: flex-end;
}
/* Botón — compacto en mobile, no ocupa todo el ancho.
   Selector de descendente: el botón va anidado dentro del wrapper. */
.mini-cta-strip .btn-primary {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 13px;
  padding: 11px 16px;
}
/* Micro-copy de confianza — oculto en mobile (ilegible sobre sage y satura) */
.mini-cta-strip-inner > div:last-child > span {
  display: none;
  color: rgba(255, 255, 255, 0.6) !important;
}

/* ── DESKTOP (640px+): fila expandida con contexto completo ── */
@media (min-width: 640px) {
  .mini-cta-strip-inner { gap: 16px; }

  .mini-cta-left {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    overflow: visible;
  }
  .mini-cta-left .live-dot  { display: inline-block; }
  .mini-cta-left > .font-bold {
    font-size: inherit;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    opacity: 1;
  }
  .mini-cta-amount { font-size: 28px; }
  .mini-cta-sub    { display: inline; }

  .mini-cta-strip .btn-primary {
    font-size: 15px;
    padding: 14px 28px;
  }
  .mini-cta-strip-inner > div:last-child > span { display: block; }
}

/* ── SPONSORS SECTION ── */
.sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  background: linear-gradient(135deg, #ffffff 0%, #fdeef6 100%);
  border-radius: 16px;
  border: 1.5px solid #e89cc5;
  box-shadow: 0 8px 28px rgba(199, 31, 126, 0.18);
}
.sponsor-name {
  font-family: 'AkzidenzGrotesk', 'Chillax', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--negro);
  letter-spacing: -0.02em;
}
.sponsor-city {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  background: #d6308c;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ── MISC ── */
.divider { border: none; border-top: 1px solid rgba(0,0,0,0.07); }
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;   /* evita que el texto parta en dos líneas */
}
.pill-tag.naranja-outline {
  background: var(--naranja-ll);
  border: 1px solid var(--naranja-l);
  color: var(--naranja);
}
.pill-tag.white-outline {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
}
.pill-tag.sage-outline {
  background: rgba(139,142,118,0.12);
  border: 1px solid rgba(139,142,118,0.3);
  color: var(--sage-d);
}
.pill-tag.navy-outline {
  background: rgba(9,38,64,0.07);
  border: 1px solid rgba(9,38,64,0.18);
  color: var(--navy);
}

/* ── FOOTER ── */
.footer-bg {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
  height: 28px;
  width: auto;
  filter: invert(1) brightness(2);
  mix-blend-mode: screen;
  opacity: 0.6;
}

/* ── STICKY CTA BAR (mobile-first) ── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.09);
  /* padding-bottom empuja el contenido sobre la home indicator / gesture bar.
     El error anterior aplicaba env() al padding-TOP (3-valor: top | h | bottom). */
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  transform: translateY(calc(100% + env(safe-area-inset-bottom, 0px)));
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.28);
  /* Fuerza compositing propio — evita el "float" en Chrome Android
     cuando el dynamic toolbar cambia el visual viewport */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.sticky-cta.visible {
  transform: translateY(0);
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px 14px;
  max-width: 640px;
  margin: 0 auto;
}
.sticky-cta-text {
  min-width: 0;
}
.sticky-cta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  display: block;
  margin-bottom: 2px;
  white-space: nowrap;
}
.sticky-cta-price {
  font-size: 20px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.sticky-cta-price span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0;
  margin-left: 4px;
}
.sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--naranja);
  color: white;
  font-family: 'Chillax', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s;
}
.sticky-cta-btn:active { background: var(--naranja-d); }

/* Evitar que el último contenido quede oculto bajo la barra */
/* Reserva el espacio del sticky bar dentro del footer (navy),
   para que no aparezca una franja marfil del fondo del body. */
body.sticky-visible .footer-bg {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

/* ── RESPONSIVE: HIDE DESKTOP ONLY ── */
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .hide-desktop { display: none !important; } }

/* ══════════════════════════════════════════════════
   MOBILE FIXES — viewport ≤ 639px
   ══════════════════════════════════════════════════ */
@media (max-width: 639px) {

  /* ── Legibilidad base: leading holgado y mínimo 14px para texto corrido ── */
  body { line-height: 1.7; }
  p, li { font-size: 14px; line-height: 1.7; }

  /* Bio del equipo: clamp resuelve a ~11px en móvil — se sube al mínimo */
  .team-panel-bio-v2 { font-size: 14px; line-height: 1.65; }

  /* ── Padding vertical: reducir en mobile para mantener ritmo ─────── */
  .section-pad    { padding: 40px 16px; }
  .section-pad-sm { padding: 24px 16px; }

  /* ── Fases: padding interno compacto para evitar ruptura de listas ── */
  .fase-v2-body { padding: 20px 16px; }

  /* ── Botones: prevenir desbordamiento horizontal ────────────────── */

  /* Todos los botones primarios permiten text wrap en mobile y
     ceden en flex-row si el espacio es insuficiente */
  .btn-primary {
    white-space: normal;
    word-break: break-word;
    flex-shrink: 1;
  }

  /* El modificador -lg usa padding de escritorio; lo reducimos */
  .btn-primary-lg {
    padding: 14px 24px;
    font-size: 15px;
  }

  /* Botones outline también deben poder wrappear */
  .btn-outline-white,
  .btn-outline-dark {
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
  }

  /* ── CTAs de sección: apilados en columna full-width en mobile ───── */

  /* El contenedor del Hero y CTA Final pasan a columna en mobile */
  .hero-cta-group,
  .cta-final-group {
    flex-direction: column;
  }

  /* Botones y su wrapper ocupan el 100% del ancho */
  .hero-cta-group > *,
  .cta-final-group > * {
    width: 100%;
  }

  /* Los botones dentro se centran y ocupan ancho completo */
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline-dark,
  .hero-cta-group .btn-outline-white,
  .cta-final-group .btn-primary,
  .cta-final-group .btn-outline-white {
    width: 100%;
    justify-content: center;
  }

  /* ── Reducción de padding en contenedores de escritorio ──────────── */

  .incluye-box         { padding: 22px 16px; }
  .cupo-card           { padding: 28px 20px; }
  .precio-card         { padding: 24px 20px; }
  .pasaporte-info-card { padding: 24px 18px; }
  .quote-block         { padding: 26px 20px 20px; }
  .nsdr-strip          { padding: 22px 16px; }
  .diff-card           { padding: 26px 20px; }

  /* ── Hero card: reducir min-height en mobile ─────────────────────── */
  .hero-card { min-height: 280px; }

  /* ── pill-tag: permitir wrap en pills con texto largo ────────────── */
  .pill-tag {
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    text-align: center;
    /* line-height suaviza el salto de línea */
    line-height: 1.5;
  }

  /* ── Sticky CTA: proporcionar correcto en pantallas pequeñas ─────── */

  /* Reducir padding interno para ganar espacio */
  .sticky-cta-inner {
    padding: 10px 16px 12px;
    gap: 10px;
  }

  /* Label superior: ocultar — prioridad al precio y al botón */
  .sticky-cta-label {
    display: none;
  }

  /* Precio: reducir tamaño y ocultar el sub-texto secundario */
  .sticky-cta-price {
    font-size: 17px;
  }
  .sticky-cta-price span {
    display: none;
  }

  /* Botón: reducir para que no ocupe más de 40% del ancho disponible */
  .sticky-cta-btn {
    padding: 10px 14px;
    font-size: 13px;
    gap: 5px;
  }
  /* Ocultar el SVG de WhatsApp en pantallas muy estrechas — solo texto */
  .sticky-cta-btn svg {
    display: none;
  }
}

/* ── PC: sección de premios más grande y protagónica ── */
@media (min-width: 1024px) {
  /* Dar más ancho al panel de premios frente al copy */
  .hero-grid {
    grid-template-columns: 1fr 1.22fr;
  }

  /* Encabezado del bloque más llamativo */
  .premios-panel { gap: 16px; }
  .premios-panel .eyebrow { font-size: 12px; letter-spacing: 0.18em; }
  /* "El Gran Premio" + título Liverpool (únicos font-display del panel) */
  .premios-panel .font-display.font-bold {
    font-size: 1.4rem !important;
  }

  /* Mosaico — tarjetas más grandes y aireadas */
  .premios-mosaic { gap: 14px !important; }
  .premios-mosaic > div { min-height: 150px !important; }
  /* Liverpool (destacada) + Silky Body: las dos primeras, más altas */
  .premios-mosaic > div:nth-child(1),
  .premios-mosaic > div:nth-child(2) { min-height: 250px !important; }
  /* Cielo Índigo: banner ancho, logo mayor (la altura la define el contenido) */
  .premios-mosaic > div:nth-child(6) img { height: 66px !important; }

  /* Logos más grandes dentro del mosaico */
  .premios-mosaic > div:nth-child(1) img { height: 48px !important; }  /* Liverpool */
  .premios-mosaic > div:nth-child(2) img { height: 58px !important; }  /* Silky Body */
  .premios-mosaic > div:nth-child(3) img { height: 17px !important; }  /* Studio 22 */
  .premios-mosaic > div:nth-child(4) img { height: 50px !important; }  /* Shanti */

  /* Strip inferior con más aire y logos más grandes */
  .premios-strip { gap: 14px !important; }
  .premios-strip > div { padding: 14px 14px !important; }
  .premios-strip img { height: 38px !important; }
}

/* ── Mobile: alargar las cajas de premios para que entren los logos ── */
@media (max-width: 639px) {
  /* Tarjetas medianas (Studio 22, Shanti, Policlínica): más altas para que
     el logo de arriba no se encime con el texto de abajo */
  .premios-mosaic > div:nth-child(3),
  .premios-mosaic > div:nth-child(4),
  .premios-mosaic > div:nth-child(5) {
    min-height: 150px !important;
  }

  /* Strip inferior: apilar logo arriba y texto abajo, con más altura,
     para que el texto use todo el ancho y no se corte */
  .premios-strip > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: 124px;
  }

  /* Descripciones: un punto más compactas y que el texto largo envuelva
     en vez de cortarse (p. ej. "Radiofrecuencia") */
  .premios-mosaic .text-xs,
  .premios-strip .text-xs {
    font-size: 11px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}
