/* =========================================================
   Happy Zone Academy · Estilos
   ========================================================= */
:root {
  --pink: #FF5C8A;
  --pink-600: #E8436F;
  --pink-100: #FFE3EC;
  --pink-50: #FFF1F5;
  --coral: #FF8A5B;
  --sun: #FFC94A;
  --sun-100: #FFF3D1;
  --mint: #2EC4A6;
  --mint-100: #DDF7F0;
  --lilac: #9B7BFF;
  --lilac-100: #EEE8FF;
  --sky: #5B8CFF;
  --ink: #2A1E3B;
  --ink-2: #514565;
  --muted: #7C7189;
  --line: #EFE4E8;
  --bg: #FFF9F6;
  --surface: #FFFFFF;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow-sm: 0 2px 8px rgba(42, 30, 59, .06);
  --shadow: 0 10px 30px -10px rgba(42, 30, 59, .18);
  --shadow-lg: 0 30px 60px -20px rgba(42, 30, 59, .28);
  --font-display: 'Fraunces', Georgia, serif;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--pink); color: #fff; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.accent { color: var(--pink); font-style: italic; }
.squiggle { position: relative; white-space: nowrap; }
.squiggle::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 8 Q 15 2 30 7 T 60 7 T 90 7 T 118 6' fill='none' stroke='%23FFC94A' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--pink-600);
  background: var(--pink-50); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow.mint { color: #138A73; background: var(--mint-100); }
.eyebrow.lilac { color: #6B4FD8; background: var(--lilac-100); }
.eyebrow.sun { color: #A26B00; background: var(--sun-100); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap; position: relative;
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 10px 24px -8px rgba(255, 92, 138, .7), inset 0 -3px 0 rgba(0,0,0,.08); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(255, 92, 138, .8), inset 0 -3px 0 rgba(0,0,0,.08); background: var(--pink-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 18px 32px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { color: var(--pink-600); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); transition: .2s;
}
.icon-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--pink); color: #fff; font-size: .72rem; font-weight: 800; border-radius: 999px;
  display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 50% { transform: scale(1.4); } }

/* ---------- Promo + Header ---------- */
.promo-bar {
  background: var(--ink); color: #fff; text-align: center; font-size: .88rem; padding: 9px 16px;
}
.code-chip {
  background: var(--sun); color: var(--ink); font-weight: 800; padding: 2px 10px; border-radius: 6px;
  letter-spacing: .06em; font-size: .82rem; margin-left: 4px; border: 1.5px dashed rgba(42,30,59,.4);
}
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 249, 246, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow .3s;
}
.site-header.scrolled .logo-img { height: 64px; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(42,30,59,.3); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-img { height: 76px; width: auto; display: block; transition: transform .4s var(--ease), height .3s var(--ease); filter: drop-shadow(0 4px 10px rgba(42,30,59,.12)); }
.logo:hover .logo-img { transform: rotate(-3deg) scale(1.04); }
.logo-footer { background: #fff; border-radius: 24px; padding: 12px 18px; display: inline-block; width: fit-content; }
.logo-footer .logo-img { height: 92px; width: 124px; filter: none; }
.cert-logo { height: clamp(56px, 11vw, 110px); width: auto; margin-bottom: 2%; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: .2s; }
.main-nav a:hover { color: var(--ink); background: rgba(42,30,59,.05); }
.main-nav a.active { color: var(--pink-600); background: var(--pink-50); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

/* ---------- Secciones genéricas ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.12rem; color: var(--ink-2); margin-top: 16px; }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.split-head .section-head { margin-bottom: 0; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ---------- HERO ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; }
.hero-blob.b1 { width: 520px; height: 520px; background: #FFD0DE; top: -120px; right: -100px; }
.hero-blob.b2 { width: 380px; height: 380px; background: #FFF0C2; bottom: -80px; left: -120px; }
.hero-blob.b3 { width: 300px; height: 300px; background: #E2DAFF; top: 40%; right: 30%; opacity: .4; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-proof { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--bg); margin-left: -10px;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .85rem;
}
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--sun); letter-spacing: 2px; font-size: 1rem; }
.hero-proof small { display: block; color: var(--muted); font-size: .85rem; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.hero-card-main {
  position: absolute; inset: 0 8% 8% 0; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-lg);
  transform: rotate(-2deg); animation: floaty 7s ease-in-out infinite;
}
.hero-card-main svg { width: 100%; height: 100%; }
.hero-card-main .play-overlay {
  position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 16px 18px; border-radius: 20px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px); display: flex; align-items: center; gap: 14px;
}
.play-dot { width: 46px; height: 46px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; flex: none; box-shadow: 0 0 0 0 rgba(255,92,138,.5); animation: pulse 2.2s infinite; }
.play-dot svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(255,92,138,0); } 100% { box-shadow: 0 0 0 0 rgba(255,92,138,0); } }
.play-overlay b { display: block; font-size: .95rem; }
.play-overlay small { color: var(--muted); font-size: .8rem; }
.progress-mini { height: 6px; background: var(--pink-100); border-radius: 9px; margin-top: 6px; overflow: hidden; }
.progress-mini i { display: block; height: 100%; width: 64%; background: var(--pink); border-radius: 9px; }
.float-chip {
  position: absolute; background: var(--surface); border-radius: 20px; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 600; z-index: 2;
}
.float-chip .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; font-size: 1.15rem; }
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: .76rem; }
.fc1 { top: 8%; right: -2%; animation: floaty 6s ease-in-out infinite .5s; }
.fc2 { bottom: 0; right: 4%; animation: floaty 6.5s ease-in-out infinite 1s; }
.fc3 { top: 44%; left: -8%; animation: floaty 7.5s ease-in-out infinite 1.5s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--pink); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 0 -20px; box-shadow: var(--shadow); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee span::after { content: '✦'; color: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--surface); border-radius: var(--radius); padding: 32px; position: relative; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num { font-family: var(--font-display); font-size: 4rem; line-height: 1; font-weight: 800; color: var(--pink-100); position: absolute; top: 20px; right: 28px; }
.step .ic-lg { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px; }
.step .ic-lg svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; font-family: var(--font); font-weight: 800; }
.step p { color: var(--ink-2); margin: 0; }

/* ---------- Course cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.ccard {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative;
}
.ccard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ccard-art { aspect-ratio: 4/3; position: relative; overflow: hidden; }
.ccard-art svg { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.ccard:hover .ccard-art svg { transform: scale(1.06); }
.ccard-badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; z-index: 1; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(6px); letter-spacing: .02em;
}
.tag.hot { background: var(--ink); color: #fff; }
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.tag.presencial .dot { background: var(--coral); }
.tag.kit .dot { background: var(--sun); }
.ccard-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ccard-body h3 { font-size: 1.22rem; font-weight: 800; margin-bottom: 8px; line-height: 1.25; }
.ccard-body p { color: var(--ink-2); font-size: .94rem; margin-bottom: 16px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.ccard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.price { font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; }
.price s { font-size: .85rem; color: var(--muted); font-weight: 600; margin-left: 6px; }
.price small { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; }
.add-btn {
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center;
  transition: transform .3s var(--ease), background .2s; flex: none;
}
.add-btn:hover { background: var(--pink); transform: rotate(90deg); }
.add-btn.added { background: var(--mint); transform: none; }
.add-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--ink); }
.rating::before { content: '★'; color: var(--sun); }

/* ---------- Spotlight ---------- */
.spotlight {
  background: var(--ink); color: #fff; border-radius: 48px; padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden;
}
.spotlight::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(255,92,138,.45), transparent 70%); top: -200px; right: -100px; }
.spotlight > * { position: relative; }
.spotlight .eyebrow { background: rgba(255,255,255,.1); color: var(--sun); }
.spotlight p { color: rgba(255,255,255,.75); }
.spot-video { border-radius: 28px; overflow: hidden; aspect-ratio: 16/11; position: relative; cursor: pointer; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.spot-video svg { width: 100%; height: 100%; }
.spot-video .big-play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  transition: transform .3s var(--ease); box-shadow: 0 0 0 12px rgba(255,255,255,.25);
}
.spot-video:hover .big-play { transform: scale(1.1); }
.big-play svg { width: 30px; height: 30px; fill: var(--pink); margin-left: 5px; }
.spot-video .free-label { position: absolute; top: 18px; left: 18px; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ''; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.check-list.two { grid-template-columns: 1fr 1fr; }
.spot-price { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.spot-price .price { font-size: 2rem; }
.spot-price .price s { color: rgba(255,255,255,.5); }

/* ---------- Diferenciadores ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento > div { border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; min-height: 220px; display: flex; flex-direction: column; }
.bento h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; font-family: var(--font); }
.bento p { margin: 0; color: var(--ink-2); }
.bento .b-lg { grid-column: span 3; }
.bento .b-md { grid-column: span 2; }
.bento .b-pink { background: var(--pink-50); }
.bento .b-sun { background: var(--sun-100); }
.bento .b-mint { background: var(--mint-100); }
.bento .b-lilac { background: var(--lilac-100); }
.bento .b-ink { background: var(--ink); color: #fff; }
.bento .b-ink p { color: rgba(255,255,255,.75); }
.bento .big-num { font-family: var(--font-display); font-size: 3.6rem; font-weight: 800; line-height: 1; margin-bottom: 10px; }
.bento .deco { position: absolute; right: -10px; bottom: -10px; width: 140px; opacity: .9; }
.bento .b-icon { font-size: 2rem; margin-bottom: 14px; }

/* ---------- Quiz banner ---------- */
.quiz-banner {
  border-radius: 40px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
  background: linear-gradient(135deg, #FFE08A, #FFC94A 50%, #FFAB5B); position: relative; overflow: hidden;
}
.quiz-banner h2 { margin-bottom: 14px; }
.quiz-banner p { font-size: 1.1rem; color: var(--ink-2); }
.quiz-bubbles { display: grid; gap: 10px; }
.quiz-bubbles span { background: rgba(255,255,255,.7); padding: 12px 18px; border-radius: 18px 18px 18px 4px; font-weight: 600; width: fit-content; box-shadow: var(--shadow-sm); }
.quiz-bubbles span:nth-child(2) { margin-left: auto; border-radius: 18px 18px 4px 18px; background: var(--ink); color: #fff; }

/* ---------- Testimonios ---------- */
.testis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.testi { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.testi:nth-child(even) { transform: translateY(28px); }
.testi blockquote { margin: 0 0 20px; font-size: 1.02rem; line-height: 1.55; flex: 1; }
.testi blockquote::before { content: '“'; font-family: var(--font-display); font-size: 4rem; line-height: .6; color: var(--pink); display: block; margin-bottom: 8px; }
.testi footer { display: flex; align-items: center; gap: 12px; }
.testi .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.testi b { display: block; font-size: .95rem; }
.testi small { color: var(--muted); font-size: .8rem; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line);
  transition: .3s var(--ease); display: flex; flex-direction: column;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc .svc-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; }
.svc .svc-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.svc p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.svc .svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.svc .svc-foot b { font-size: 1.2rem; }
.svc .svc-foot small { color: var(--muted); font-weight: 600; }

.salon-strip { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.salon-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.salon-photos > div { border-radius: 28px; overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow); }
.salon-photos > div:nth-child(2) { margin-top: 48px; }
.salon-photos svg { width: 100%; height: 100%; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; gap: 16px; }
.post-card .pc-art { border-radius: 24px; overflow: hidden; aspect-ratio: 16/11; }
.post-card .pc-art svg { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.post-card:hover .pc-art svg { transform: scale(1.05); }
.post-card h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.3; transition: color .2s; }
.post-card:hover h3 { color: var(--pink-600); }
.post-card p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.post-meta { font-size: .8rem; color: var(--muted); font-weight: 600; display: flex; gap: 10px; align-items: center; }
.post-meta .tag { background: var(--pink-50); color: var(--pink-600); }
.article { font-size: 1.12rem; line-height: 1.8; }
.article h2 { font-family: var(--font-display); font-size: 1.7rem; margin: 1.8em 0 .6em; }
.article-hero { border-radius: 36px; overflow: hidden; aspect-ratio: 21/9; margin: 32px 0 48px; }
.article-hero svg { width: 100%; height: 100%; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 20px; border: 1px solid var(--line); padding: 0 24px; transition: .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; font-weight: 400; color: var(--pink); transition: transform .3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 22px; margin: 0; }

/* ---------- Lead magnet ---------- */
.lead {
  border-radius: 40px; background: var(--pink); color: #fff; padding: clamp(32px, 5vw, 60px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.lead::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255,255,255,.1); right: -120px; top: -140px; }
.lead p { color: rgba(255,255,255,.88); font-size: 1.1rem; }
.lead form { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 999px; position: relative; z-index: 1; }
.lead input { flex: 1; border: 0; outline: 0; padding: 0 18px; min-width: 0; background: transparent; color: var(--ink); }

/* ---------- Page header ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero p { font-size: 1.15rem; color: var(--ink-2); max-width: 620px; margin-top: 16px; }
.crumbs { font-size: .85rem; color: var(--muted); font-weight: 600; margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--pink-600); }

/* ---------- Catálogo ---------- */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem; background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line); transition: .2s;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip.active { background: var(--ink); color: #fff; box-shadow: none; }
.chip .n { opacity: .55; margin-left: 4px; font-weight: 600; }
.search { position: relative; }
.search input { padding: 12px 18px 12px 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); width: 260px; outline: 0; transition: .2s; }
.search input:focus { border-color: var(--ink); }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .big { font-size: 3rem; margin-bottom: 8px; }

/* ---------- Detalle curso ---------- */
.course-hero { padding: 40px 0 60px; background: linear-gradient(180deg, var(--pink-50), transparent); }
.course-layout { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.course-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin: 10px 0 18px; }
.course-hero .lead-text { font-size: 1.2rem; color: var(--ink-2); max-width: 620px; }
.course-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.course-stats span { background: var(--surface); padding: 9px 14px; border-radius: 999px; font-size: .88rem; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; box-shadow: var(--shadow-sm); }
.buybox {
  background: var(--surface); border-radius: 32px; box-shadow: var(--shadow-lg); overflow: hidden; position: sticky; top: calc(var(--header-h) + 20px);
}
.buybox-art { aspect-ratio: 16/10; position: relative; cursor: pointer; }
.buybox-art svg { width: 100%; height: 100%; }
.buybox-art .big-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.3); transition: .3s; }
.buybox-art:hover .big-play { transform: scale(1.1); }
.buybox-art .free-label { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; }
.buybox-body { padding: 26px; }
.buybox .price { font-size: 2.3rem; }
.buybox .save { display: inline-block; background: var(--mint-100); color: #0E7C67; font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.buybox-actions { display: grid; gap: 10px; margin: 20px 0; }
.buybox ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.buybox ul li { display: flex; gap: 10px; }
.buybox ul svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--pink); stroke-width: 2; margin-top: 2px; }
.guarantee { display: flex; gap: 12px; align-items: center; background: var(--sun-100); border-radius: 16px; padding: 14px; font-size: .85rem; margin-top: 18px; }
.guarantee b { display: block; }
.session-pick { display: grid; gap: 8px; margin-top: 16px; }
.session-opt {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: .2s; font-size: .92rem;
}
.session-opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.session-opt.active { box-shadow: inset 0 0 0 2px var(--pink); background: var(--pink-50); }
.session-opt.full { opacity: .45; pointer-events: none; }
.session-opt b { display: block; }
.session-opt small { color: var(--muted); }
.seats { font-size: .78rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: var(--mint-100); color: #0E7C67; white-space: nowrap; }
.seats.low { background: #FFE7DC; color: #C24A1A; }

.c-section { margin-top: 56px; }
.c-section h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 22px; }
.learn-box { background: var(--surface); border-radius: 28px; padding: 30px; border: 1px solid var(--line); }
.curriculum { display: grid; gap: 12px; }
.module { background: var(--surface); border-radius: 22px; border: 1px solid var(--line); overflow: hidden; }
.module summary { list-style: none; padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 800; }
.module summary::-webkit-details-marker { display: none; }
.module summary small { color: var(--muted); font-weight: 600; }
.module summary .chev { transition: transform .3s; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.module[open] summary .chev { transform: rotate(180deg); }
.lesson-row { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-top: 1px solid var(--line); font-size: .95rem; }
.lesson-row .l-ic { width: 32px; height: 32px; border-radius: 10px; background: var(--pink-50); display: grid; place-items: center; flex: none; }
.lesson-row .l-ic svg { width: 14px; height: 14px; fill: var(--pink); }
.lesson-row .l-ic.lock svg { fill: none; stroke: var(--muted); stroke-width: 2; }
.lesson-row .l-ic.lock { background: #F5F0F2; }
.lesson-row span.t { flex: 1; }
.lesson-row .preview { font-size: .8rem; font-weight: 800; color: var(--pink-600); }
.lesson-row small { color: var(--muted); font-weight: 600; }
.instructor { display: flex; gap: 24px; align-items: center; background: var(--lilac-100); border-radius: 28px; padding: 28px; }
.instructor .ins-av { width: 96px; height: 96px; border-radius: 28px; overflow: hidden; flex: none; }
.review-summary { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; background: var(--surface); border-radius: 28px; padding: 28px; border: 1px solid var(--line); }
.review-summary .big { font-family: var(--font-display); font-size: 4rem; font-weight: 800; line-height: 1; }
.bars { display: grid; gap: 8px; }
.bars div { display: grid; grid-template-columns: 30px 1fr 40px; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); font-weight: 600; }
.bars i { display: block; height: 8px; background: var(--line); border-radius: 9px; overflow: hidden; }
.bars i b { display: block; height: 100%; background: var(--sun); border-radius: 9px; }

.mobile-buy { display: none; }

/* ---------- Drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(42,30,59,.4); backdrop-filter: blur(4px); z-index: 90; opacity: 0; pointer-events: none; transition: .3s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); z-index: 100;
  transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--font-display); font-size: 1.6rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item .ci-art { width: 76px; height: 64px; border-radius: 14px; overflow: hidden; flex: none; }
.cart-item .ci-art svg { width: 100%; height: 100%; }
.cart-item .ci-info { flex: 1; min-width: 0; }
.cart-item b { display: block; font-size: .95rem; line-height: 1.3; }
.cart-item small { color: var(--muted); font-size: .8rem; display: block; }
.cart-item .ci-price { font-weight: 800; }
.qty { display: inline-flex; align-items: center; gap: 2px; background: var(--surface); border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); margin-top: 6px; }
.qty button { width: 28px; height: 28px; font-weight: 800; }
.qty span { min-width: 20px; text-align: center; font-weight: 700; font-size: .88rem; }
.remove { color: var(--muted); font-size: .78rem; font-weight: 700; margin-top: 4px; }
.remove:hover { color: var(--pink-600); }
.totals { display: grid; gap: 6px; margin-bottom: 16px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.25rem; font-weight: 800; padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 4px; }
.totals .disc { color: #0E7C67; font-weight: 700; }
.upsell { background: var(--sun-100); border-radius: 18px; padding: 14px; display: flex; gap: 12px; align-items: center; margin-top: 16px; font-size: .88rem; }
.upsell .ci-art { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: none; }
.upsell .ci-art svg { width: 100%; height: 100%; }
.upsell div { flex: 1; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(42,30,59,.55); backdrop-filter: blur(6px); }
.modal-card {
  position: relative; background: var(--bg); border-radius: 32px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.97); transition: transform .4s var(--ease);
}
.modal.open .modal-card { transform: none; }
.modal-card.wide { width: min(900px, 100%); }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 3; }
.modal-pad { padding: 36px; }
.modal-video { background: #000; aspect-ratio: 16/9; }
.modal-video video { width: 100%; height: 100%; }

/* Quiz */
.quiz-progress { display: flex; gap: 6px; margin-bottom: 24px; }
.quiz-progress i { flex: 1; height: 6px; border-radius: 9px; background: var(--line); transition: .4s; }
.quiz-progress i.on { background: var(--pink); }
.quiz-q { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 22px; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt {
  text-align: left; padding: 16px 20px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line);
  font-weight: 700; transition: .2s; display: flex; justify-content: space-between; align-items: center;
}
.quiz-opt:hover { box-shadow: inset 0 0 0 2px var(--pink); transform: translateX(4px); }
.quiz-opt::after { content: '→'; color: var(--pink); opacity: 0; transition: .2s; }
.quiz-opt:hover::after { opacity: 1; }
.quiz-result { text-align: center; }
.quiz-result .ccard { text-align: left; margin: 20px 0; }

/* ---------- Formularios ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface);
  outline: 0; transition: border .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-50); }
.field.err input, .field.err select, .field.err textarea { border-color: #E5484D; }
.field .hint { font-size: .78rem; color: var(--muted); }
.field .err-msg { font-size: .78rem; color: #E5484D; font-weight: 600; display: none; }
.field.err .err-msg { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--pink); margin-top: 2px; flex: none; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.panel { background: var(--surface); border-radius: 28px; padding: 30px; border: 1px solid var(--line); }
.panel + .panel { margin-top: 20px; }
.panel h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.panel h3 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.pay-m {
  padding: 16px 12px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--line); text-align: center; font-weight: 700; font-size: .9rem;
  display: grid; gap: 6px; justify-items: center; transition: .2s; background: var(--surface);
}
.pay-m svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pay-m.active { box-shadow: inset 0 0 0 2px var(--pink); background: var(--pink-50); color: var(--pink-600); }
.card-preview {
  aspect-ratio: 1.6; max-width: 360px; border-radius: 22px; padding: 24px; color: #fff; margin: 0 auto 24px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--ink), #5B3C7A 60%, var(--pink)); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; justify-content: space-between;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.card-preview::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); right: -60px; top: -80px; }
.card-preview .chip-el { width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #FFE08A, #D9A63A); }
.card-preview .num { font-size: 1.25rem; letter-spacing: .12em; }
.card-preview .row { display: flex; justify-content: space-between; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.card-preview .row small { display: block; opacity: .6; font-size: .62rem; }
.card-preview .brand { position: absolute; top: 22px; right: 24px; font-family: var(--font); font-weight: 800; font-style: italic; font-size: 1.1rem; }
.oxxo-box, .spei-box { background: var(--bg); border-radius: 18px; padding: 20px; font-size: .95rem; }
.summary-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.summary-item .ci-art { width: 56px; height: 48px; border-radius: 12px; overflow: hidden; flex: none; }
.summary-item .ci-art svg { width: 100%; height: 100%; }
.summary-item div { flex: 1; font-size: .9rem; line-height: 1.3; }
.summary-item small { color: var(--muted); display: block; }
.coupon { display: flex; gap: 8px; margin: 16px 0; }
.coupon input { flex: 1; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed var(--line); text-transform: uppercase; outline: 0; background: var(--bg); min-width: 0; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8rem; color: var(--muted); margin-top: 14px; }
.secure svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.processing { text-align: center; padding: 48px 24px; }
.spinner.sm { width: 18px; height: 18px; border-width: 3px; margin: 0; display: inline-block; vertical-align: middle; }
.spinner { width: 56px; height: 56px; border-radius: 50%; border: 5px solid var(--pink-100); border-top-color: var(--pink); animation: spin 1s linear infinite; margin: 0 auto 20px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Success ---------- */
.success { text-align: center; padding: 40px 0 20px; }
.success .check-big {
  width: 96px; height: 96px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; margin: 0 auto 24px;
  animation: pop .6s var(--ease); box-shadow: 0 0 0 14px var(--mint-100);
}
.success .check-big svg { width: 48px; height: 48px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .3s forwards; }
@keyframes pop { from { transform: scale(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
.order-box { background: var(--surface); border-radius: 24px; border: 1px solid var(--line); padding: 24px; text-align: left; max-width: 560px; margin: 32px auto; }
.order-box .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .95rem; border-bottom: 1px dashed var(--line); }
.order-box .row:last-child { border: 0; }

/* ---------- Dashboard / Mis cursos ---------- */
.dash-hero { background: var(--ink); color: #fff; border-radius: 40px; padding: clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.dash-hero::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,201,74,.35), transparent 70%); right: -60px; top: -100px; }
.dash-hero p { color: rgba(255,255,255,.7); margin: 8px 0 0; }
.dash-stats { display: flex; gap: 12px; position: relative; z-index: 1; flex-wrap: wrap; }
.dash-stats div { background: rgba(255,255,255,.08); border-radius: 20px; padding: 16px 22px; min-width: 120px; }
.dash-stats b { font-family: var(--font-display); font-size: 2rem; display: block; line-height: 1; }
.dash-stats small { color: rgba(255,255,255,.65); font-size: .8rem; }
.tabs { display: flex; gap: 6px; margin: 32px 0 24px; background: var(--surface); padding: 6px; border-radius: 999px; width: fit-content; box-shadow: inset 0 0 0 1.5px var(--line); flex-wrap: wrap; }
.tabs button { padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem; transition: .2s; }
.tabs button.active { background: var(--ink); color: #fff; }
.my-course { display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: center; background: var(--surface); border-radius: 28px; padding: 16px; border: 1px solid var(--line); transition: .3s; }
.my-course + .my-course { margin-top: 14px; }
.my-course:hover { box-shadow: var(--shadow); }
.my-course .mc-art { aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; }
.my-course .mc-art svg { width: 100%; height: 100%; }
.my-course h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.prog { height: 10px; background: var(--pink-50); border-radius: 9px; overflow: hidden; margin: 10px 0 6px; max-width: 420px; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--coral)); border-radius: 9px; transition: width .8s var(--ease); }
.my-course small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.booking { display: flex; gap: 18px; align-items: center; background: var(--surface); border-radius: 22px; padding: 18px 20px; border: 1px solid var(--line); }
.booking + .booking { margin-top: 12px; }
.booking .date-badge { width: 64px; text-align: center; border-radius: 16px; background: var(--pink-50); padding: 8px 0; flex: none; }
.booking .date-badge b { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--pink-600); }
.booking .date-badge small { font-size: .72rem; font-weight: 800; text-transform: uppercase; color: var(--pink-600); }
.booking div.info { flex: 1; }
.booking div.info small { color: var(--muted); display: block; }

/* ---------- Player ---------- */
.player-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 0; min-height: calc(100vh - var(--header-h)); background: #160F21; color: #fff; }
.player-main { padding: 28px; }
.player-main .crumbs { color: rgba(255,255,255,.5); }
.video-box { background: #000; border-radius: 24px; overflow: hidden; aspect-ratio: 16/9; position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.video-box video { width: 100%; height: 100%; }
.player-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.player-info h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.player-info p { color: rgba(255,255,255,.6); margin: 6px 0 0; }
.player-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.player-tabs { display: flex; gap: 6px; margin: 32px 0 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.player-tabs button { padding: 12px 16px; font-weight: 700; color: rgba(255,255,255,.55); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.player-tabs button.active { color: #fff; border-color: var(--pink); }
.player-pane { color: rgba(255,255,255,.8); max-width: 760px; }
.player-pane textarea { width: 100%; min-height: 160px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px; color: #fff; outline: 0; resize: vertical; }
.player-pane textarea:focus { border-color: var(--pink); }
.resource { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border-radius: 16px; padding: 14px 16px; margin-bottom: 10px; }
.resource .r-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,92,138,.2); color: var(--pink); display: grid; place-items: center; font-weight: 800; font-size: .72rem; }
.resource div { flex: 1; }
.resource small { color: rgba(255,255,255,.5); display: block; }
.player-side { background: #1F162D; border-left: 1px solid rgba(255,255,255,.06); max-height: calc(100vh - var(--header-h)); overflow-y: auto; position: sticky; top: var(--header-h); }
.side-head { padding: 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.side-head b { font-size: 1.05rem; }
.side-head .prog { background: rgba(255,255,255,.1); max-width: none; }
.side-head small { color: rgba(255,255,255,.55); font-size: .82rem; }
.side-mod { padding: 16px 24px 6px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.side-lesson { display: flex; gap: 12px; align-items: center; padding: 12px 24px; font-size: .92rem; color: rgba(255,255,255,.8); transition: background .2s; width: 100%; text-align: left; }
.side-lesson:hover { background: rgba(255,255,255,.04); }
.side-lesson.current { background: rgba(255,92,138,.14); color: #fff; box-shadow: inset 3px 0 0 var(--pink); }
.side-lesson .ck { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); flex: none; display: grid; place-items: center; }
.side-lesson .ck.done { background: var(--mint); border-color: var(--mint); }
.side-lesson .ck svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3; }
.side-lesson span.t { flex: 1; line-height: 1.35; }
.side-lesson small { color: rgba(255,255,255,.4); font-size: .78rem; }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.cert-ready { margin: 16px 24px 24px; background: linear-gradient(135deg, var(--sun), var(--coral)); color: var(--ink); border-radius: 20px; padding: 18px; }
.cert-ready b { display: block; margin-bottom: 4px; }

/* ---------- Certificado ---------- */
.cert {
  max-width: 980px; margin: 0 auto; aspect-ratio: 1.414; background: #fff; border-radius: 12px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6%;
}
.cert::before { content: ''; position: absolute; inset: 18px; border: 2px solid var(--pink-100); border-radius: 6px; }
.cert::after { content: ''; position: absolute; inset: 26px; border: 1px dashed var(--pink); border-radius: 4px; opacity: .4; }
.cert .c-blob { position: absolute; border-radius: 50%; }
.cert .eyebrow { margin-bottom: 8px; }
.cert h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 3rem); margin: 6px 0; }
.cert .name { font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 6vw, 4.4rem); color: var(--pink); margin: 2% 0; line-height: 1.1; }
.cert p { max-width: 560px; color: var(--ink-2); font-size: clamp(.8rem, 1.6vw, 1.05rem); }
.cert .sig { display: flex; gap: 12%; margin-top: 4%; width: 70%; justify-content: center; font-size: clamp(.7rem, 1.4vw, .9rem); }
.cert .sig div { border-top: 1.5px solid var(--ink); padding-top: 8px; min-width: 180px; }
.cert .seal { position: absolute; right: 7%; bottom: 9%; width: 13%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 800; font-size: clamp(.5rem, 1vw, .8rem); line-height: 1.2; transform: rotate(-12deg); box-shadow: 0 0 0 6px var(--sun-100); }

/* ---------- Agenda ---------- */
.agenda { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.svc-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.branch-pick { grid-template-columns: 1fr 1fr; }
.svc-opt { text-align: left; padding: 16px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); transition: .2s; }
.svc-opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.svc-opt.active { box-shadow: inset 0 0 0 2px var(--pink); background: var(--pink-50); }
.svc-opt b { display: block; font-size: .95rem; line-height: 1.3; }
.svc-opt small { color: var(--muted); font-weight: 600; }
.cal { background: var(--surface); border-radius: 24px; padding: 20px; border: 1px solid var(--line); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-head b { font-size: 1.1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: .74rem; font-weight: 800; color: var(--muted); padding: 6px 0; text-transform: uppercase; }
.cal-day { aspect-ratio: 1; border-radius: 14px; font-weight: 700; display: grid; place-items: center; transition: .15s; font-size: .95rem; position: relative; }
.cal-day:hover:not([disabled]) { background: var(--pink-50); }
.cal-day[disabled] { color: #CFC6CF; cursor: default; }
.cal-day.today::after { content: ''; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--pink); }
.cal-day.sel { background: var(--pink); color: #fff; }
.cal-day.sel::after { background: #fff; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot { padding: 11px 0; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: .9rem; background: var(--surface); transition: .15s; }
.slot:hover:not([disabled]) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.slot.sel { background: var(--ink); color: #fff; box-shadow: none; }
.slot[disabled] { color: #CFC6CF; text-decoration: line-through; cursor: default; }
.agenda-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.agenda-summary .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; gap: 10px; }
.agenda-summary .row span:first-child { color: var(--muted); }
.agenda-summary .row span:last-child { font-weight: 700; text-align: right; }
.walkin { background: var(--mint-100); border-radius: 18px; padding: 14px 16px; font-size: .88rem; margin-top: 16px; color: #0E5E4F; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; background: var(--surface); border-radius: 22px; padding: 20px; border: 1px solid var(--line); transition: .2s; }
a.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-card .cc-ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.contact-card .cc-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card small { color: var(--muted); display: block; font-size: .82rem; }
.map { border-radius: 28px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); background: var(--pink-50); }
.map iframe { width: 100%; height: 100%; border: 0; }
.branch .map { margin-bottom: 14px; }
.hours div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-art { border-radius: 40px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-lg); transform: rotate(2deg); }
.about-art svg { width: 100%; height: 100%; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { border-radius: 28px; padding: 28px; }
.value .v-ic { font-size: 2rem; margin-bottom: 12px; }
.value h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; font-family: var(--font); }
.value p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.timeline { display: grid; gap: 0; border-left: 2px dashed var(--pink-100); margin-left: 12px; }
.timeline div { padding: 0 0 28px 32px; position: relative; }
.timeline div::before { content: ''; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 5px var(--pink-50); }
.timeline b { display: block; font-size: 1.05rem; }
.timeline span { color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 72px 0 28px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: rgba(255,255,255,.65); margin: 18px 0; max-width: 340px; font-size: .94rem; }
.site-footer h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 16px; }
.site-footer .footer-grid > div > a { display: block; color: rgba(255,255,255,.75); padding: 5px 0; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: .94rem; margin-bottom: 10px; }
.muted-light { color: rgba(255,255,255,.5); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--pink); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; font-size: .84rem; color: rgba(255,255,255,.5); }

/* ---------- WhatsApp + Toast ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; background: #25D366; color: #fff; border-radius: 999px; height: 58px; padding: 0 18px;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); font-weight: 700; transition: .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; }
.toast-wrap { position: fixed; bottom: 24px; left: 50%; translate: -50% 0; z-index: 300; display: grid; gap: 8px; justify-items: center; width: min(420px, calc(100% - 32px)); }
.toast { background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .94rem; display: flex; gap: 10px; align-items: center; animation: toastIn .4s var(--ease); }
.toast.out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Gift card visual ---------- */
.gift-note { background: var(--lilac-100); border-radius: 18px; padding: 16px; margin-top: 14px; display: none; }
.gift-note.show { display: grid; gap: 12px; }

/* ---------- Responsive ---------- */
/* Foto subida en lugar de la ilustración */
.art-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Panel de administración ---------- */
.admin { display: grid; grid-template-columns: 230px 1fr; gap: 32px; align-items: start; }
.admin-nav { position: sticky; top: calc(var(--header-h, 80px) + 16px); display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 14px; }
.admin-nav b { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px 4px; }
.admin-nav button { display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 10px 12px; border-radius: 14px; font-weight: 600; font-size: .93rem; transition: .15s; }
.admin-nav button:hover { background: var(--pink-50); }
.admin-nav button.active { background: var(--ink); color: #fff; }
.admin-nav .n { background: var(--pink); color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 8px; font-weight: 800; }
.admin-main { min-width: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-head p { margin: 6px 0 0; max-width: 60ch; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.admin-day { font-size: .95rem; font-weight: 800; margin: 22px 0 10px; color: var(--ink-2); text-transform: capitalize; }
.booking.off { opacity: .55; }
.admin-people { margin: 8px 0 0; padding-left: 18px; font-size: .9rem; }
.admin-past { margin-top: 28px; }
.admin-past summary { cursor: pointer; font-weight: 700; margin-bottom: 12px; }
.admin-list { display: grid; gap: 10px; }
.admin-row { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; }
.admin-row .info { flex: 1; min-width: 0; }
.admin-row .info small { display: block; color: var(--muted); }
.admin-row .order { display: grid; gap: 2px; }
.admin-row .order button, .admin-module-head button, .admin-lesson .btns button { width: 28px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: .85rem; }
.admin-row .order button:disabled, .admin-module-head button:disabled, .admin-lesson .btns button:disabled { opacity: .3; }
.admin-form h3 { margin-bottom: 18px; }
.admin-form [hidden] { display: none !important; }
.admin-form .check { align-items: center; }
.admin-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.admin-slots label { display: grid; gap: 4px; font-size: .85rem; font-weight: 700; }
.admin-slots input, .admin-module input, .admin-lesson input { padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-weight: 500; width: 100%; }
.admin-art { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: start; }
.admin-art-prev { border-radius: 20px; overflow: hidden; aspect-ratio: 1; }
.admin-art input[type=color] { height: 46px; padding: 4px; }
.admin-photo { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.admin-photo .hint:empty { display: none; }
.admin-lesson .vid progress, .admin-photo progress { width: 140px; height: 8px; vertical-align: middle; accent-color: var(--pink); }
.admin-modules { display: grid; gap: 14px; justify-items: start; }
.admin-module { width: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: grid; gap: 8px; background: var(--bg); }
.admin-module-head { display: flex; gap: 6px; align-items: center; }
.admin-module-head input { font-weight: 700; }
.admin-lesson { display: grid; grid-template-columns: 1fr 100px auto auto; gap: 8px; align-items: center; }
.admin-lesson .btns { display: flex; gap: 4px; }
.admin-lesson input[type=checkbox] { width: 20px; height: 20px; padding: 0; }
.admin-lesson .check { font-size: .85rem; white-space: nowrap; }
.admin-lesson .vid { grid-column: 1 / -1; margin-top: -4px; font-size: .75rem; }
.admin-module .link { justify-self: start; font-size: .9rem; }
@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; gap: 16px; }
  .admin-nav { position: static; display: flex; overflow-x: auto; padding: 8px; border-radius: 18px; }
  .admin-nav b { display: none; }
  .admin-nav button { white-space: nowrap; flex: none; }
}
@media (max-width: 640px) {
  .admin-lesson { grid-template-columns: 1fr 80px; }
  .admin-lesson .check, .admin-lesson .btns { grid-column: span 1; }
  .admin-art { grid-template-columns: 1fr; }
  .admin-art-prev { max-width: 160px; }
  .admin-row { flex-wrap: wrap; }
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 16px; gap: 4px;
    box-shadow: var(--shadow); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .3s var(--ease); margin: 0;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .testis { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .course-layout, .checkout { grid-template-columns: 1fr 360px; gap: 32px; }
  .player-wrap { grid-template-columns: 1fr 320px; }
}
@media (max-width: 900px) {
  .hero-grid, .spotlight, .quiz-banner, .lead, .salon-strip, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .b-lg, .bento .b-md { grid-column: span 1; }
  .bento .b-lg:first-child { grid-column: span 2; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .course-layout, .checkout, .agenda { grid-template-columns: 1fr; }
  .buybox, .agenda-summary { position: static; }
  .player-wrap { grid-template-columns: 1fr; }
  .player-side { position: static; max-height: none; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .my-course { grid-template-columns: 140px 1fr; }
  .my-course > :last-child { grid-column: 1 / -1; }
  .svc-pick { grid-template-columns: 1fr 1fr; }
  .review-summary { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 74px; --radius: 22px; }
  .hide-sm { display: none !important; }
  .logo-img, .site-header.scrolled .logo-img { height: 60px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 40px; height: 40px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .fc3 { left: -2%; } .fc1 { right: 0; }
  .float-chip { padding: 10px 12px; font-size: .8rem; }
  .testis, .services-grid, .values, .footer-grid, .form-grid, .check-list.two { grid-template-columns: 1fr; }
  .testi:nth-child(even) { transform: none; }
  .bento { grid-template-columns: 1fr; }
  .bento .b-lg:first-child { grid-column: span 1; }
  .pay-methods { grid-template-columns: 1fr 1fr 1fr; }
  .pay-m { font-size: .78rem; padding: 12px 6px; }
  .search input { width: 100%; }
  .search { width: 100%; }
  .modal-pad { padding: 28px 22px; }
  .lead form { flex-direction: column; border-radius: 24px; }
  .lead input { padding: 12px 14px; }
  .wa-float span { display: none; }
  .wa-float { width: 58px; padding: 0; justify-content: center; }
  .instructor { flex-direction: column; text-align: center; }
  .marquee span { font-size: 1.2rem; }
  .my-course { grid-template-columns: 1fr; }
  .salon-photos > div:nth-child(2) { margin-top: 24px; }
  .cert .sig div { min-width: 0; flex: 1; }
  .mobile-buy {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 55; background: var(--surface); padding: 12px 16px;
    box-shadow: 0 -10px 30px -10px rgba(42,30,59,.2); align-items: center; justify-content: space-between; gap: 12px;
  }
  .course-page .wa-float, body.has-mobile-buy .wa-float { bottom: 86px; }
  .player-main { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .promo-bar, .site-header, .site-footer, .wa-float, .no-print, .toast-wrap { display: none !important; }
  body { background: #fff; }
  .cert { box-shadow: none; max-width: none; width: 100%; }
  @page { size: landscape; margin: 0; }
}
