/* ===================================================================
   GLOW & FLOW CLUB — Sistema de diseño
   Rojo y rosa tomados directamente del logo. Tipografía editorial.
   Motivo de firma: el "boleto de evento" (ticket stub) — cupo limitado,
   perforación central, sello diagonal AGOTADO cuando se cierra la venta.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;1,9..144,500;1,9..144,600&family=Work+Sans:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root{
  --red: #E01D29;
  --red-deep: #B8121D;
  --blush: #FFD4D8;
  --cream: #FFF7F1;
  --ink: #241012;
  --gold: #C9A24B;
  --line: rgba(36,16,18,0.12);

  --display: 'Fraunces', serif;
  --body: 'Work Sans', sans-serif;
  --mono: 'Space Mono', monospace;

  --radius: 2px;
  --container: 1080px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{
  overflow-x: hidden;
  max-width: 100%;
  touch-action: pan-y;
}
body{
  margin:0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-x: none;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
.wrap{ max-width: var(--container); margin:0 auto; padding: 0 24px; width: 100%; }

h1,h2,h3{ font-family: var(--display); font-weight: 600; margin:0; letter-spacing: -0.01em; }

.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- Botones ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  padding: 17px 32px;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  cursor:pointer;
  text-decoration:none;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  letter-spacing: 0.01em;
}
.btn-primary{
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}
.btn-primary:hover{ transform: translateY(-2px); background: var(--red-deep); border-color: var(--red-deep); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover{ background: var(--ink); color: var(--cream); }
.btn-disabled{
  background: var(--ink);
  border-color: var(--ink);
  color: var(--blush);
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header{
  padding: 22px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand img{ height: 46px; width:auto; border-radius: 6px; }
.brand-text{ font-family: var(--display); font-weight:600; font-size: 19px; color: var(--ink); }
.brand-text span{ display:block; font-family: var(--mono); font-size: 10px; letter-spacing:.18em; color: var(--red); }
.header-cta{ font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }

/* ---------- Hero (home) ---------- */
.hero{
  position: relative;
  background: var(--red);
  color: var(--cream);
  overflow:hidden;
  padding: 88px 0 96px;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 14% 22%, rgba(255,212,216,.18), transparent 40%),
    radial-gradient(circle at 86% 78%, rgba(255,212,216,.14), transparent 38%);
  pointer-events:none;
}
.hero-inner{ position:relative; max-width: 760px; }
.hero h1{
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.03;
  color: var(--cream);
  margin: 18px 0 22px;
}
.hero h1 em{ font-style: italic; color: var(--blush); }
.hero p.lede{
  font-size: 19px;
  max-width: 520px;
  color: var(--blush);
  margin-bottom: 34px;
}
.hero .eyebrow{ color: var(--blush); opacity:.85; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero .btn-primary{ background: var(--cream); color: var(--red); border-color: var(--cream); }
.hero .btn-primary:hover{ background: var(--blush); border-color: var(--blush); }
.hero .btn-ghost{ border-color: var(--blush); color: var(--blush); }
.hero .btn-ghost:hover{ background: var(--blush); color: var(--red); }

/* ---------- Section shell ---------- */
section{ padding: 88px 0; }
.section-head{ max-width: 620px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(28px, 4vw, 40px); margin-top: 10px; }
.section-head p{ color: rgba(36,16,18,.7); font-size: 17px; margin-top: 12px; }

/* ---------- Timeline de sesiones (histórico) ----------
   El numerado aquí SÍ es información real: son sesiones mensuales en orden. */
.timeline{ border-top: 1px solid var(--line); }
.timeline-row{
  display:grid;
  grid-template-columns: 90px 1fr auto;
  align-items:center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
a.timeline-row{
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  transition: background .15s ease, padding-left .15s ease;
}
a.timeline-row:hover{
  background: var(--blush);
  padding-left: 12px;
  padding-right: 12px;
  margin: 0 -12px;
  border-radius: 6px;
}
.timeline-row .t-index{
  font-family: var(--mono);
  font-size: 13px;
  color: var(--red);
}
.timeline-row .t-name{ font-family: var(--display); font-size: 22px; font-weight: 500; }
.timeline-row .t-date{ font-family: var(--mono); font-size: 13px; color: rgba(36,16,18,.55); margin-top:4px; }
.tag{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 20px;
  white-space:nowrap;
}
.tag-done{ background: rgba(36,16,18,.07); color: rgba(36,16,18,.55); }
.tag-live{ background: var(--red); color: var(--cream); }
.tag-soon{ background: var(--blush); color: var(--red-deep); }

/* ---------- Ticket stub (elemento de firma) ---------- */
.ticket{
  position: relative;
  display:grid;
  grid-template-columns: 1.5fr 1fr;
  background: var(--ink);
  color: var(--cream);
  border-radius: 10px;
  overflow: visible;
  isolation: isolate;
}
.ticket-main{ padding: 44px 40px; }
.ticket-stub{
  padding: 44px 32px;
  background: var(--red);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap: 6px;
  border-radius: 0 10px 10px 0;
}
/* perforación entre las dos mitades */
.ticket::before{
  content:"";
  position:absolute;
  top:0; bottom:0;
  left: 60%;
  width: 0;
  border-left: 2px dashed rgba(255,247,241,.35);
  z-index: 2;
}
.ticket::after{
  content:"";
  position:absolute;
  left: calc(60% - 11px);
  top:-11px;
  width:22px; height:22px;
  background: var(--cream);
  border-radius:50%;
  z-index:3;
  box-shadow: 0 0 0 0;
}
.ticket-notch-bottom{
  position:absolute;
  left: calc(60% - 11px);
  bottom:-11px;
  width:22px; height:22px;
  background: var(--cream);
  border-radius:50%;
  z-index:3;
}
.ticket .eyebrow{ color: var(--blush); }
.ticket-main h3{ font-size: 30px; color: var(--cream); margin: 14px 0 10px; }
.ticket-main p{ color: rgba(255,247,241,.75); font-size: 15.5px; max-width: 420px; }
.ticket-meta{ display:flex; gap:28px; margin-top: 26px; flex-wrap:wrap; }
.ticket-meta div span{ display:block; font-family: var(--mono); font-size: 11px; letter-spacing:.08em; color: var(--blush); text-transform:uppercase; }
.ticket-meta div strong{ font-family: var(--display); font-size: 17px; font-weight:500; }

.countdown{ display:flex; gap: 14px; }
.countdown .cd-box{ text-align:center; }
.countdown .cd-num{
  font-family: var(--mono);
  font-size: 34px;
  font-weight:700;
  background: rgba(255,247,241,.14);
  border-radius: 6px;
  padding: 10px 12px;
  min-width: 56px;
}
.countdown .cd-label{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-top: 6px;
  opacity:.85;
}
.ticket-stub .btn{ width:100%; margin-top: 18px; }
.ticket-stub .btn-primary{ background: var(--cream); color: var(--red-deep); border-color: var(--cream); }
.ticket-stub .btn-primary:hover{ background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* sello AGOTADO */
.stamp{
  position:absolute;
  top: 38px; right: -6px;
  font-family: var(--mono);
  font-weight:700;
  font-size: 15px;
  letter-spacing:.14em;
  color: var(--blush);
  border: 2px solid var(--blush);
  padding: 8px 18px;
  transform: rotate(9deg);
  border-radius: 4px;
  opacity: .92;
  z-index: 4;
}
.ticket.is-agotado .ticket-stub{ background: #3a1216; }
.ticket.is-agotado .ticket-meta strong{ opacity:.6; }

/* ---------- Galería ---------- */
.gallery{ display:grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gallery figure{ margin:0; border-radius: 6px; overflow:hidden; aspect-ratio: 4/5; background: var(--blush); }
.gallery img, .gallery video{ width:100%; height:100%; object-fit:cover; }
.gallery figure.wide{ grid-column: span 2; aspect-ratio: 8/5; }

/* ---------- Franja de confianza ---------- */
.founder{ background: var(--cream); }
.founder-card{
  display:flex;
  align-items:center;
  gap: 48px;
  background: var(--ink);
  border-radius: 6px;
  padding: 48px;
}
.founder-photo{
  flex: 0 0 auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--blush);
  box-shadow: 0 0 0 8px rgba(255,212,216,0.12);
}
.founder-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.founder-copy{ color: var(--cream); }
.founder-copy .eyebrow{ color: var(--blush); }
.founder-copy h2{ font-size: clamp(24px, 3.4vw, 32px); margin: 10px 0 14px; color: var(--cream); }
.founder-copy p{ color: rgba(255,247,241,.78); font-size: 16px; max-width: 480px; line-height:1.6; }
.founder-copy .founder-name{ font-family: var(--display); font-size: 20px; color: var(--cream); margin-top:18px; }
.founder-copy .founder-role{ font-family: var(--mono); font-size: 12px; letter-spacing:.08em; color: var(--blush); text-transform:uppercase; margin-top:2px; }
.founder-copy .btn-ghost{ border-color: var(--blush); color: var(--blush); margin-top:22px; display:inline-flex; }
.founder-copy .btn-ghost:hover{ background: var(--blush); color: var(--ink); }
@media (max-width: 720px){
  .founder-card{ flex-direction:column; text-align:center; padding: 36px 28px; }
  .founder-copy p{ max-width:none; }
}

.trust{ background: var(--blush); }
.trust .wrap{ display:flex; flex-wrap:wrap; gap: 40px; justify-content:space-between; align-items:center; }
.trust-item{ font-family: var(--display); font-size: 15px; }
.trust-item strong{ display:block; font-size: 30px; font-family: var(--mono); color: var(--red-deep); }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary{ cursor:pointer; font-family: var(--display); font-size: 19px; font-weight:500; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; font-family: var(--mono); font-size:22px; color: var(--red); }
.faq-item[open] summary::after{ content:'−'; }
.faq-item p{ margin-top: 12px; color: rgba(36,16,18,.72); max-width: 640px; }

/* ---------- Footer ---------- */
footer{ background: var(--ink); color: var(--blush); padding: 56px 0 34px; }
footer .wrap{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; }
footer .brand-text{ color: var(--cream); }
.footer-links{ display:flex; gap:22px; font-family: var(--mono); font-size: 13px; }
.footer-links a{ text-decoration:none; opacity:.85; }
.footer-links a:hover{ opacity:1; }
.footer-bottom{ margin-top: 40px; font-family: var(--mono); font-size: 11.5px; opacity:.55; }

/* ---------- WhatsApp flotante ---------- */
.wa-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  transition: transform .18s ease;
  text-decoration:none;
}
.wa-float:hover{ transform: scale(1.08); }
.wa-float svg{ width: 30px; height:30px; }
.wa-pulse{
  position:absolute; inset:0;
  border-radius:50%;
  background: #25D366;
  animation: wa-pulse 2.2s ease-out infinite;
  z-index:-1;
}
@keyframes wa-pulse{
  0%{ transform: scale(1); opacity:.6; }
  100%{ transform: scale(1.9); opacity:0; }
}

/* ---------- Pop-up de acceso anticipado ---------- */
.lead-overlay{
  position: fixed; inset:0; z-index: 1000;
  background: rgba(36,16,18,.55);
  display:flex; align-items:center; justify-content:center;
  padding: 20px;
  opacity:0; visibility:hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.lead-overlay.is-open{ opacity:1; visibility:visible; }
.lead-modal{
  position:relative;
  background: var(--cream);
  border-radius: 10px;
  max-width: 440px;
  width:100%;
  padding: 40px 34px;
  transform: translateY(14px) scale(.98);
  transition: transform .25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.lead-overlay.is-open .lead-modal{ transform: translateY(0) scale(1); }
.lead-close{
  position:absolute; top:14px; right:14px;
  width:32px; height:32px; border-radius:50%;
  border:none; background:transparent; color: rgba(36,16,18,.5);
  font-size:16px; cursor:pointer;
}
.lead-close:hover{ background: var(--blush); color: var(--red-deep); }
.lead-modal h3{ font-size: 26px; margin: 10px 0 12px; }
.lead-modal p{ color: rgba(36,16,18,.7); font-size: 15px; margin-bottom: 22px; }
.lead-modal form label{
  display:block; font-family: var(--mono); font-size: 11px; text-transform:uppercase;
  letter-spacing:.05em; color: rgba(36,16,18,.55); margin-top:14px; margin-bottom:6px;
}
.lead-modal form input{
  width:100%; padding: 13px 14px; border:1.5px solid var(--line); border-radius:6px;
  font-family: var(--body); font-size:15px; background:#fff;
}
.lead-modal form input:focus{ outline:2px solid var(--red); outline-offset:1px; }
.lead-submit{ width:100%; margin-top:22px; }
.lead-skip{
  display:block; width:100%; text-align:center; margin-top:14px;
  background:none; border:none; color: rgba(36,16,18,.5); font-size:13px;
  text-decoration:underline; cursor:pointer;
}
.lead-error{ color: var(--red-deep); font-size:13px; margin-top:10px; margin-bottom:0; }
#leadStepSuccess .btn{ width:100%; }
@media (prefers-reduced-motion: reduce){
  .lead-overlay, .lead-modal{ transition:none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .ticket{ grid-template-columns: 1fr; }
  .ticket::before, .ticket::after, .ticket-notch-bottom{ display:none; }
  .ticket-stub{ border-radius: 0 0 10px 10px; }
  .gallery{ grid-template-columns: repeat(2,1fr); }
  .gallery figure.wide{ grid-column: span 2; }
  .timeline-row{ grid-template-columns: 50px 1fr; }
  .timeline-row .tag{ grid-column: 2; justify-self:start; margin-top:6px; }
  .trust .wrap{ justify-content:flex-start; }
}
@media (prefers-reduced-motion: reduce){
  .wa-pulse{ animation: none; }
  .btn, .wa-float{ transition:none; }
}
