/* ============================================================
   DARIAS — styles.css
   Mobile-first. Breakpoints probados: 320/375/390/414/768/1024/1280/1440/1920
   ============================================================ */

:root{
  /* Color — identidad real DARIAS: negro carbón + dorado premium */
  --black:        #060605;
  --black-2:      #0b0a08;
  --card:         #121110;
  --card-2:       #171512;
  --border-gold:  rgba(212,175,55,.20);
  --gold:         #D4AF37;
  --gold-light:   #F2D06B;
  --gold-dark:    #9c7a1e;
  --white:        #F7F5EF;
  --white-dim:    rgba(247,245,239,.68);
  --white-faint:  rgba(247,245,239,.10);
  --green:        #3ecf7a;
  --red:          #e5484d;

  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Exo 2', sans-serif;

  --max-w: 1320px;
  --radius: 14px;
  --radius-sm: 8px;

  --header-h: 72px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top: var(--header-h); }
body{
  margin:0; background:var(--black); color:var(--white);
  font-family:var(--font-body); line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
ul,ol{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; }

.wrap{ max-width:var(--max-w); margin:0 auto; padding:0 20px; }
.wrap.narrow{ max-width:760px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* ── Marca sol (elemento firma) ───────────────────────────── */
.sun-mark{
  display:inline-block; width:10px; height:10px; border-radius:50%;
  background:var(--gold); margin-right:8px; position:relative;
}
.sun-mark::before{
  content:''; position:absolute; inset:-6px;
  background:
    radial-gradient(circle at 50% 0%, var(--gold) 0 2px, transparent 2.5px),
    radial-gradient(circle at 100% 50%, var(--gold) 0 2px, transparent 2.5px),
    radial-gradient(circle at 50% 100%, var(--gold) 0 2px, transparent 2.5px),
    radial-gradient(circle at 0% 50%, var(--gold) 0 2px, transparent 2.5px);
  opacity:.6;
}

/* ── Tipografía ───────────────────────────────────────────── */
.eyebrow{
  font-family:var(--font-display); font-weight:700; letter-spacing:2.5px;
  font-size:.72rem; color:var(--gold-light); text-transform:uppercase;
  display:flex; align-items:center; margin:0 0 12px;
}
.eyebrow-center{ justify-content:center; }
.h2{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(1.6rem, 4.2vw, 2.6rem);
  line-height:1.15; margin:0 0 16px; letter-spacing:.5px;
}
.h2.center{ text-align:center; }
.lead{
  font-size:clamp(.95rem, 1.6vw, 1.08rem); color:var(--white-dim);
  max-width:640px; margin:0;
}
.lead.center{ margin-inline:auto; text-align:center; }

/* ── Botones (44px táctil mínimo) ─────────────────────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:48px; padding:13px 26px; border-radius:999px;
  font-family:var(--font-display); font-weight:700; font-size:.92rem;
  letter-spacing:.5px; text-decoration:none; border:none; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn-gold{
  background:linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color:#080602;
}
.btn-gold:hover{ transform:translateY(-2px); box-shadow:0 10px 26px rgba(212,175,55,.28); }
.btn-ghost{
  background:transparent; border:1.5px solid var(--border-gold); color:var(--white);
}
.btn-ghost:hover{ border-color:var(--gold); background:rgba(212,175,55,.06); }
.btn-lg{ padding:16px 32px; font-size:1rem; }
.btn-sm{ padding:9px 18px; font-size:.78rem; min-height:38px; }
.btn.full{ width:100%; }
.btn-icon{
  background:none; border:none; color:var(--white-dim); font-size:1.1rem;
  cursor:pointer; width:44px; height:44px; display:flex; align-items:center; justify-content:center;
}

/* ── HEADER ───────────────────────────────────────────────── */
.site-header{
  position:sticky; top:0; z-index:200; height:var(--header-h);
  background:rgba(6,6,5,.85); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border-gold);
}
.header-inner{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.logo{ display:flex; align-items:center; gap:10px; text-decoration:none; flex-shrink:0; }
.logo-mark{ width:32px; height:32px; }
.logo-text{ font-family:var(--font-display); font-weight:700; font-size:1.25rem; letter-spacing:2px; color:var(--white); }

.main-nav{ display:none; gap:28px; }
.main-nav a{
  font-family:var(--font-display); font-weight:600; font-size:.88rem;
  letter-spacing:.5px; text-decoration:none; color:var(--white-dim);
  transition:color .15s;
}
.main-nav a:hover{ color:var(--gold-light); }
.nav-cta{ display:none; }

.hamburger{
  width:44px; height:44px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:5px; background:none; border:none; cursor:pointer; flex-shrink:0;
}
.hamburger span{ width:22px; height:2px; background:var(--gold); transition:transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (min-width: 900px){
  .main-nav{ display:flex; }
  .nav-cta{ display:inline-flex; }
  .hamburger{ display:none; }
}
@media (max-width: 899px){
  .main-nav{
    position:fixed; top:var(--header-h); left:0; right:0; bottom:0;
    background:var(--black-2); flex-direction:column; align-items:center; justify-content:center;
    gap:30px; transform:translateX(100%); transition:transform .3s ease; z-index:190;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ font-size:1.3rem; }
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero{ position:relative; padding:44px 0 56px; overflow:hidden; }
.hero-glow{
  position:absolute; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(ellipse 60% 45% at 78% 12%, rgba(212,175,55,.16), transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 90%, rgba(212,175,55,.08), transparent 60%);
}
.hero-inner{ position:relative; z-index:1; display:flex; flex-direction:column; gap:36px; }
.hero-title{
  font-family:var(--font-display); font-weight:700; margin:0 0 18px;
  font-size:clamp(2rem, 7vw, 3.4rem); line-height:1.08; letter-spacing:.5px;
}
.hero-title .line{ display:block; }
.hero-title .line-gold{ color:var(--gold-light); }
.hero-title em{ font-style:normal; }
.hero-sub{ font-size:clamp(.95rem, 1.8vw, 1.05rem); color:var(--white-dim); max-width:520px; margin:0 0 20px; }

.hero-pillars{ display:flex; flex-wrap:wrap; gap:10px 22px; margin:0 0 18px; }
.hero-pillars li{
  font-family:var(--font-display); font-weight:600; font-size:.85rem; color:var(--white);
  display:flex; align-items:center; gap:7px;
}
.hero-pillars li::before{ content:'✓'; color:var(--gold); font-weight:700; }

.hero-formats{ font-size:.82rem; color:var(--white-dim); margin:0 0 26px; }

.hero-ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:22px; }

.hero-schedule{ display:flex; flex-wrap:wrap; gap:14px 22px; }
.hero-schedule span{
  display:flex; align-items:center; gap:7px; font-family:var(--font-display);
  font-weight:600; font-size:.78rem; letter-spacing:.5px; color:var(--white-dim);
}
.ic{ width:16px; height:16px; fill:none; stroke:var(--gold); stroke-width:1.8; }

.hero-visual{ position:relative; }
.hero-visual picture, .hero-visual img{
  border-radius:var(--radius); border:1px solid var(--border-gold);
  width:100%; aspect-ratio:1/1; object-fit:cover;
}

@media (min-width: 1024px){
  .hero-inner{ flex-direction:row; align-items:center; gap:48px; }
  .hero-content{ flex:1 1 54%; }
  .hero-visual{ flex:1 1 46%; }
}

/* ── SECCIONES GENERALES ──────────────────────────────────── */
.section{ padding:clamp(48px,7vw,88px) 0; }
.section-tight{ padding:clamp(32px,5vw,56px) 0; }
.section-alt{ background:var(--black-2); }
.section-dark{ background:var(--card); border-top:1px solid var(--border-gold); border-bottom:1px solid var(--border-gold); }
.section-head{ text-align:left; margin-bottom:clamp(28px,4vw,44px); max-width:680px; }

/* ── TARJETAS ─────────────────────────────────────────────── */
.card-grid{ display:grid; gap:18px; grid-template-columns:1fr; }
.card{
  background:var(--card); border:1px solid var(--border-gold); border-radius:var(--radius);
  padding:26px 22px; transition:transform .2s ease, border-color .2s ease;
}
.card:hover{ transform:translateY(-4px); border-color:var(--gold); }
.card-icon{
  width:52px; height:52px; border-radius:50%; background:rgba(212,175,55,.1);
  border:1px solid var(--border-gold); display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; margin-bottom:16px;
}
.card h3{ font-family:var(--font-display); font-size:1.08rem; margin:0 0 8px; letter-spacing:.3px; }
.card p{ font-size:.88rem; color:var(--white-dim); margin:0; }

@media (min-width:640px){ .card-grid-3{ grid-template-columns:repeat(2,1fr); } .card-grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .card-grid-3{ grid-template-columns:repeat(3,1fr); } .card-grid-4{ grid-template-columns:repeat(4,1fr); } }

/* ── RECURSOS ─────────────────────────────────────────────── */
.resource-row{ display:flex; flex-direction:column; gap:14px; }
.resource-item{
  display:flex; align-items:center; gap:14px; background:var(--card);
  border:1px solid var(--border-gold); border-radius:var(--radius-sm); padding:16px 20px;
  font-family:var(--font-display); font-weight:600; letter-spacing:.5px; font-size:.95rem;
}
.resource-ic{ font-size:1.5rem; }
@media (min-width:768px){ .resource-row{ flex-direction:row; } .resource-item{ flex:1; justify-content:center; } }

/* ── TRANSICIÓN ───────────────────────────────────────────── */
.transition-inner{ display:flex; flex-direction:column; gap:28px; }
.transition-copy .btn{ margin-top:10px; }
@media (min-width:1024px){
  .transition-inner{ flex-direction:row; align-items:center; gap:52px; }
  .yt-lite, .transition-copy{ flex:1; }
}

/* ── PASOS (secuencia real → numeración justificada) ─────── */
.steps{ display:grid; grid-template-columns:1fr; gap:28px; counter-reset:step; position:relative; }
.step{ text-align:center; position:relative; }
.step-num{
  display:block; font-family:var(--font-display); font-weight:700; font-size:.72rem;
  letter-spacing:2px; color:var(--gold-dark); margin-bottom:8px;
}
.step-ic{
  display:flex; align-items:center; justify-content:center; width:64px; height:64px;
  border-radius:50%; background:var(--card); border:1.5px solid var(--gold); margin:0 auto 14px;
  font-size:1.7rem;
}
.step h3{ font-family:var(--font-display); font-size:1rem; margin:0 0 6px; }
.step p{ font-size:.84rem; color:var(--white-dim); margin:0; max-width:220px; margin-inline:auto; }

@media (min-width:900px){
  .steps{ grid-template-columns:repeat(5,1fr); }
  .steps::before{
    content:''; position:absolute; top:32px; left:10%; right:10%; height:1px;
    background:linear-gradient(90deg, transparent, var(--border-gold) 15%, var(--border-gold) 85%, transparent);
    z-index:0;
  }
}

/* ── MASTERCLASS ──────────────────────────────────────────── */
.masterclass-card{
  background:var(--black-2); border:1px solid var(--border-gold); border-radius:var(--radius);
  padding:clamp(22px,4vw,36px); margin-top:24px;
}
.mc-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:26px; }
.mc-item{ display:flex; flex-direction:column; gap:4px; text-align:center; }
.mc-label{ font-size:.68rem; color:var(--white-dim); text-transform:uppercase; letter-spacing:1.5px; }
.mc-value{ font-family:var(--font-display); font-weight:700; font-size:1rem; color:var(--gold-light); }
@media (min-width:640px){ .mc-row{ grid-template-columns:repeat(4,1fr); } }

/* ── ESTADO EN VIVO DE LA MASTERCLASS ──────────────────────── */
.live-status{
  margin-top:24px; padding-top:22px; border-top:1px solid var(--border-gold);
  text-align:center;
}
.live-label{
  font-family:var(--font-display); font-weight:700; font-size:.9rem;
  letter-spacing:1px; color:var(--gold-light); margin:0 0 4px;
}
.live-when{ font-size:.88rem; color:var(--white-dim); margin:0 0 16px; }

/* ── RECORDATORIO POR NOTIFICACIÓN ─────────────────────────── */
.reminder-box{
  margin-top:18px; padding-top:18px; border-top:1px dashed var(--border-gold);
  text-align:center;
}
.reminder-box p{ font-size:.85rem; color:var(--white-dim); margin:0 0 10px; }
.reminder-note{ font-size:.76rem; color:var(--white-dim); margin:8px 0 0 !important; opacity:.75; }

/* ── CONFIANZA ────────────────────────────────────────────── */
.trust-row{ display:flex; flex-direction:column; gap:12px; margin-top:22px; }
.trust-item{
  display:flex; align-items:center; gap:12px; font-family:var(--font-display); font-weight:600;
  font-size:.92rem; background:var(--card); border:1px solid var(--border-gold); border-radius:var(--radius-sm);
  padding:14px 18px;
}
.trust-ic{ font-size:1.3rem; }
@media (min-width:640px){ .trust-row{ flex-direction:row; } .trust-item{ flex:1; } }

/* ── TESTIMONIOS ──────────────────────────────────────────── */
.testimonial{
  background:var(--card); border:1px solid var(--border-gold); border-radius:var(--radius);
  padding:26px 22px; margin:0; text-align:center;
}
.testimonial-photo{ width:64px; height:64px; border-radius:50%; object-fit:cover; margin:0 auto 14px; border:2px solid var(--gold); }
.testimonial blockquote{ margin:0 0 12px; font-size:.9rem; color:var(--white-dim); font-style:italic; }
.testimonial figcaption{ font-family:var(--font-display); font-weight:700; font-size:.82rem; color:var(--gold-light); }
.testimonial-note{ text-align:center; font-size:.78rem; color:var(--white-dim); margin-top:22px; }

/* ── CTA FINAL ────────────────────────────────────────────── */
.cta-final{ position:relative; text-align:center; overflow:hidden; }
.cta-sub{ font-family:var(--font-display); font-weight:600; font-size:1.1rem; color:var(--white); margin:0 0 4px; }
.cta-tagline{ font-family:var(--font-display); font-weight:700; color:var(--gold-light); letter-spacing:1px; margin:0 0 26px; font-size:clamp(.95rem,2vw,1.2rem); }
.cta-schedule{ margin-top:18px; font-size:.8rem; color:var(--white-dim); letter-spacing:.5px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer{ background:var(--black-2); border-top:1px solid var(--border-gold); padding:48px 0 20px; }
.footer-inner{ display:flex; flex-direction:column; gap:32px; }
.footer-brand p{ font-size:.82rem; color:var(--white-dim); margin:10px 0 0; }
.footer-links{ display:flex; flex-direction:column; gap:12px; }
.footer-links a{ font-size:.86rem; color:var(--white-dim); text-decoration:none; }
.footer-links a:hover{ color:var(--gold-light); }
.footer-social{ display:flex; gap:16px; flex-wrap:wrap; }
.footer-social a{ font-size:.82rem; color:var(--white-dim); text-decoration:none; }
.footer-social a:hover{ color:var(--gold-light); }
.footer-legal{ text-align:center; font-size:.72rem; color:var(--white-dim); opacity:.6; margin:32px 0 0; padding:0 20px; }
@media (min-width:768px){ .footer-inner{ flex-direction:row; justify-content:space-between; } }

/* ── STICKY CTA MÓVIL ─────────────────────────────────────── */
.sticky-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:150; padding:10px 14px;
  background:rgba(6,6,5,.92); backdrop-filter:blur(10px); border-top:1px solid var(--border-gold);
  padding-bottom:calc(10px + env(safe-area-inset-bottom));
  transform:translateY(0); transition:transform .3s ease;
}
.sticky-cta.hide{ transform:translateY(120%); }
@media (min-width:900px){ .sticky-cta{ display:none; } }

/* ── VIDEO YOUTUBE (carga liviana) ─────────────────────────── */
.yt-lite{
  position:relative; border-radius:var(--radius); overflow:hidden; border:1px solid var(--border-gold);
  aspect-ratio:16/10; cursor:pointer; background:#000;
}
.yt-lite img{ width:100%; height:100%; object-fit:cover; opacity:.75; }
.yt-play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:64px; height:64px; border-radius:50%; background:rgba(212,175,55,.92); border:none;
  color:#080602; font-size:1.3rem; cursor:pointer; display:flex; align-items:center; justify-content:center;
  padding-left:4px; transition:transform .2s;
}
.yt-lite:hover .yt-play{ transform:translate(-50%,-50%) scale(1.08); }
.yt-lite iframe{ position:absolute; inset:0; width:100%; height:100%; border:none; }

/* ── AVISO DE ACTIVIDAD RECIENTE (estilo Provely) ─────────── */
.social-proof{
  position:fixed; left:14px; bottom:14px; z-index:140; max-width:300px;
  background:var(--card); border:1px solid var(--border-gold); border-radius:12px;
  padding:12px 14px; display:flex; align-items:center; gap:10px;
  box-shadow:0 10px 30px rgba(0,0,0,.5);
  transform:translateY(120%); opacity:0; transition:transform .4s ease, opacity .4s ease;
}
.social-proof.show{ transform:translateY(0); opacity:1; }
.sp-avatar{
  width:36px; height:36px; border-radius:50%; background:rgba(212,175,55,.12);
  border:1px solid var(--border-gold); display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; flex-shrink:0;
}
.sp-text{ font-size:.8rem; line-height:1.35; }
.sp-text strong{ display:block; color:var(--white); }
.sp-text span{ color:var(--white-dim); }
.sp-close{ background:none; border:none; color:var(--white-dim); cursor:pointer; font-size:.9rem; flex-shrink:0; padding:4px; }
@media (max-width:640px){ .social-proof{ bottom:76px; } } /* no tapar el CTA sticky móvil */

/* ── CARRUSEL DE TESTIMONIOS (vanilla JS, mismo efecto que Slick sin el peso de jQuery) ── */
.testimonial-carousel{ position:relative; overflow:hidden; }
.tc-track{ display:flex; transition:transform .4s ease; }
.tc-track .testimonial{ flex:0 0 100%; }
.tc-dots{ display:flex; justify-content:center; gap:8px; margin-top:18px; }
.tc-dot{ width:9px; height:9px; border-radius:50%; background:var(--white-faint); border:none; cursor:pointer; padding:0; }
.tc-dot.active{ background:var(--gold); }
@media (min-width:1024px){
  .tc-track .testimonial{ flex:0 0 33.333%; }
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ── UTILIDADES DE ORIENTACIÓN / PANTALLAS GRANDES ───────── */
@media (min-width:1440px){ .wrap{ padding:0 32px; } }
@media (orientation: landscape) and (max-height: 480px){
  .hero{ padding:24px 0 32px; }
  .sticky-cta{ display:none; }
}
