*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --mclaren:#FF5500;--mclaren-light:#FF7733;--mclaren-dark:#CC4400;
  --mclaren-pale:#FFF3F0;--mclaren-soft:#FFE0D6;
  --pastel-white:#FAFAFA;--pastel-white-warm:#FDFBF8;--pastel-white-soft:#F5F5F5;
  --ink:#1A1A1A;--ink-mid:#4A4A4A;--ink-soft:#7A7A7A;
  --paper:#FFFFFF;--paper-warm:#FDFBF8;--white:#FAFAFA;
  --border:#E8E0D8;--border-soft:#F0E8E0;
  --radius:12px;--radius-lg:18px;--radius-xl:24px;
  --shadow:0 2px 16px rgba(255,85,0,0.15);
  --shadow-lg:0 8px 40px rgba(255,85,0,0.2);
}
html,body,#root{height:100%;font-family:'DM Sans',sans-serif;background:var(--pastel-white);color:var(--ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body{overflow-x:hidden}
button{cursor:pointer;border:none;background:none;font-family:inherit}
input{font-family:inherit}
a{text-decoration:none;color:inherit}
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}

@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.6}}
@keyframes floatY{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes drawLine{from{width:0}to{width:100%}}
@keyframes glowPulse{0%,100%{box-shadow:0 0 20px rgba(255,85,0,0.3)}50%{box-shadow:0 0 40px rgba(255,85,0,0.6)}}
.fade-in{animation:fadeIn 0.4s ease forwards}
.fade-up{animation:fadeUp 0.6s ease forwards}

.landing{overflow-x:hidden;background:var(--pastel-white)}

.landing-nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  height:80px;padding:0 2rem;
  display:flex;align-items:center;justify-content:space-between;
  background:linear-gradient(135deg, #1a0000 0%, #000000 50%, #2a0a0a 80%, #FF073A 150%);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,85,0,0.2);
}
.nav-logo{display:flex;align-items:center;gap:0.75rem;height:100%}
.nav-logo img{display:block}
.nav-explora{position:relative}
.nav-explora-btn{background:none;border:none;font-size:1rem;font-weight:500;color:#fff;cursor:pointer;padding:0.5rem 0.75rem;border-radius:8px;transition:all 0.2s}
.nav-explora-btn:hover{background:rgba(255,85,0,0.1);color:#FF5500}
.nav-explora-menu{position:absolute;top:100%;left:0;min-width:160px;background:#fff;border-radius:12px;box-shadow:0 8px 32px rgba(0,0,0,0.12);padding:0.5rem;z-index:200;margin-top:4px;border:1px solid rgba(0,0,0,0.06)}
.nav-explora-item{display:block;width:100%;text-align:left;padding:0.6rem 1rem;border:none;background:none;font-size:0.95rem;color:#1A1A1A;border-radius:8px;cursor:pointer;transition:all 0.15s}
.nav-explora-item:hover{background:rgba(255,85,0,0.08);color:#FF5500}
.nav-search-btn{background:none;border:none;cursor:pointer;color:#1A1A1A;padding:0.5rem;border-radius:8px;display:flex;align-items:center;transition:all 0.2s}
.nav-search-btn:hover{background:rgba(255,85,0,0.1);color:#FF5500}
.nav-search{display:flex;align-items:center;background:rgba(255,255,255,0.08);border-radius:8px;padding:0.4rem 0.75rem;gap:0.5rem;transition:all 0.2s;border:1px solid transparent}
.nav-search:focus-within{background:#fff;border-color:rgba(255,85,0,0.3);box-shadow:0 0 0 3px rgba(255,85,0,0.08)}
.nav-search-icon{flex-shrink:0;color:rgba(255,255,255,0.6)}
.nav-search-input{border:none;background:none;outline:none;font-size:0.9rem;color:#fff;width:140px;max-width:140px}
.nav-search-input::placeholder{color:rgba(255,255,255,0.45)}
.nav-search-clear{background:none;border:none;cursor:pointer;font-size:0.8rem;color:rgba(26,26,26,0.4);padding:2px 4px;border-radius:4px;line-height:1}
.nav-search-clear:hover{color:#FF5500;background:rgba(255,85,0,0.1)}
.recetas-sidebar{width:240px;flex-shrink:0;padding:2rem 1.5rem;border-right:1px solid rgba(0,0,0,0.06);background:#fafafa}
.recetas-sidebar-title{font-family:'Cormorant Garamond',serif;font-size:1.1rem;font-weight:600;color:#1A1A1A;margin:0 0 1rem 0}
.recetas-sidebar-item{display:flex;align-items:center;gap:0.6rem;width:100%;padding:0.55rem 0.75rem;border:none;background:none;border-radius:8px;font-size:0.88rem;color:rgba(26,26,26,0.75);cursor:pointer;transition:all 0.15s;text-align:left;margin-bottom:2px}
.recetas-sidebar-item:hover{background:rgba(255,85,0,0.06);color:#FF5500}
.recetas-sidebar-item.active{background:rgba(255,85,0,0.1);color:#FF5500;font-weight:600}
.recetas-sidebar-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
@media(max-width:768px){.recetas-sidebar{display:none}}
.nav-logo-img{width:40px;height:40px;border-radius:10px;overflow:hidden;flex-shrink:0;border:1.5px solid rgba(255,85,0,0.25)}
.nav-logo-img img{width:100%;height:100%;object-fit:cover;object-position:center 15%}
.nav-logo-text{font-family:'Cormorant Garamond',serif;font-size:1.1rem;font-weight:600;color:#FF5500;line-height:1.2}
.nav-logo-sub{font-size:0.7rem;color:rgba(26,26,26,0.5);font-weight:400;letter-spacing:0.08em;text-transform:uppercase}
.nav-btn{
  padding:0.65rem 1.5rem;border-radius:50px;
  font-size:0.85rem;font-weight:500;letter-spacing:0.03em;transition:all 0.2s;
  border:1.5px solid rgba(255,255,255,0.3);color:rgba(255,255,255,0.9);
}
.nav-btn:hover{background:rgba(255,85,0,0.08);border-color:rgba(255,85,0,0.5);color:#FF5500}
.nav-btn.solid{background:linear-gradient(135deg,#FF5500,#FF7733);border-color:#FF5500;margin-left:0.5rem;color:white;font-weight:500;box-shadow:0 4px 20px rgba(255,85,0,0.4)}
.nav-btn.solid:hover{transform:translateY(-1px);box-shadow:0 6px 28px rgba(255,85,0,0.5)}

.hero{
  min-height:100vh;position:relative;display:flex;align-items:center;
  background:#0d0d0d;
  overflow:hidden;
}
.hero-bg-img{
  position:absolute;inset:0;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:50% 35%;
  opacity:1;z-index:0;
  transition:none;
}
/* Slide track: tira de imágenes que se desplaza */
.hero-slide-track{
  position:absolute;
  inset:0;
  display:flex;
  width:100%;
  height:100%;
  z-index:0;
  will-change:transform;
}
.hero-slide-item{
  position:relative !important;
  inset:auto !important;
  flex:0 0 100%;
  width:100%;
  height:100%;
  background-size:cover;
  background-repeat:no-repeat;
  min-height:100vh;
}
/* Dots indicadores */
.hero-dots{
  position:absolute;
  bottom:2rem;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:0.55rem;
  z-index:10;
  align-items:center;
}
.hero-dot{
  width:28px;
  height:4px;
  border-radius:99px;
  background:rgba(255,255,255,0.35);
  border:none;
  cursor:pointer;
  padding:0;
  transition:background 0.3s, width 0.35s cubic-bezier(0.4,0,0.2,1);
  outline:none;
}
.hero-dot:hover{
  background:rgba(255,255,255,0.6);
}
.hero-dot-active{
  width:52px;
  background:#FF5500;
}
.hero-bg-gradient{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.3) 100%);
}
.hero-pattern{display:none}
.hero-content{
  position:relative;z-index:2;padding:8rem 1rem 5rem;
  max-width:1200px;margin:0 auto;width:100%;
  display:flex;align-items:center;justify-content:space-between;gap:3rem;
}
@media(max-width:900px){
  .hero-content{text-align:center}
  .hero-left{width:100%}
  .hero-desc{margin:0 auto 2.5rem}
}
.hero-badge{
  display:inline-flex;align-items:center;gap:0.5rem;
  padding:0.4rem 1rem;border-radius:50px;
  background:rgba(255,85,0,0.25);border:1px solid rgba(255,85,0,0.5);
  font-size:0.75rem;letter-spacing:0.1em;text-transform:uppercase;color:#fff;
  margin-bottom:1.5rem;
}
.hero-badge::before{content:'\2726';font-size:0.6rem;color:#FF5500}
.hero-title{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.8rem,5vw,4.2rem);
  font-weight:400;color:#fff;line-height:1.1;letter-spacing:-0.02em;
  margin-bottom:1rem;
}
.hero-title em{font-style:italic;color:#FF5500}
.hero-title strong{font-weight:600;display:block}
.hero-desc{
  font-size:1.05rem;color:rgba(255,255,255,0.8);line-height:1.8;
  max-width:480px;margin-bottom:2.5rem;font-weight:400;
}
@media(max-width:900px){.hero-desc{margin:0 auto 2.5rem}}
.hero-cta-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
@media(max-width:900px){.hero-cta-row{justify-content:center}}
.cta-primary{
  padding:1rem 2.25rem;background:linear-gradient(135deg,#FF5500,#FF7733);
  color:white;border-radius:50px;font-size:1rem;font-weight:500;letter-spacing:0.03em;
  transition:all 0.25s;box-shadow:0 4px 24px rgba(255,85,0,0.45);
}
.cta-primary:hover{transform:translateY(-2px);box-shadow:0 8px 36px rgba(255,85,0,0.6)}
.cta-secondary{
  padding:1rem 2rem;border:1.5px solid rgba(26,26,26,0.35);color:#1A1A1A;
  border-radius:50px;font-size:0.95rem;transition:all 0.2s;
}
.cta-secondary:hover{border-color:rgba(255,85,0,0.6);color:#FF5500;background:rgba(255,85,0,0.08)}
.hero-trust{
  margin-top:2rem;display:flex;align-items:center;gap:1rem;
  font-size:0.8rem;color:rgba(255,255,255,0.7);
}
@media(max-width:900px){.hero-trust{justify-content:center}}
.hero-trust-dots{display:flex;gap:0.25rem}
.hero-trust-dots span{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#FF5500,#FF7733);border:2px solid rgba(255,85,0,0.6);display:inline-block}

.hero-right{
  flex-shrink:0;width:520px;position:relative;
  display:flex;align-items:center;justify-content:center;
}
@media(max-width:900px){
  .hero-right{
    display:flex;
    width:100%;
    max-width:380px;
    margin:2rem auto 0;
  }
}

.hero-photo-mobile{display:none}

/* Large stories bubble in hero-right */
.hero-stories-large{
  display:flex;flex-direction:column;align-items:center;gap:1rem;
  animation:heroStoriesFloat 7s ease-in-out infinite;
}
@keyframes heroStoriesFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-14px)}
}
.stories-bubble-btn-large{
  width:360px;height:360px;border-radius:50%;
  padding:6px;
  cursor:pointer;
  border:none;
  background:linear-gradient(135deg,#FF5500,#FF8C42,#FFD24C,#FF5500);
  background-size:300% 300%;
  animation:storiesGradientRotate 3s linear infinite;
  display:flex;align-items:center;justify-content:center;
  transition:transform 0.2s;
  box-shadow:0 8px 60px rgba(255,85,0,0.5),0 0 80px rgba(255,85,0,0.2);
}
@keyframes storiesGradientRotate{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
.stories-bubble-btn-large:hover{transform:scale(1.04)}
.stories-bubble-btn-large.is-seen{
  background:rgba(255,255,255,0.25);
  box-shadow:none;
}
.stories-bubble-inner-large{
  width:100%;height:100%;border-radius:50%;
  background:#0d0d0d;
  padding:6px;
  display:flex;align-items:center;justify-content:center;
}
.stories-bubble-inner-large img{
  width:100%;height:100%;border-radius:50%;
  object-fit:cover;display:block;
}
.stories-bubble-label-large{
  font-size:1.1rem;font-weight:700;color:#fff;
  text-shadow:0 2px 8px rgba(0,0,0,0.7);
  letter-spacing:0.05em;
  text-transform:uppercase;
}
@media(max-width:900px){
  .stories-bubble-btn-large{width:220px;height:220px}
  .stories-bubble-label-large{font-size:0.9rem}
}
@media(max-width:480px){
  .stories-bubble-btn-large{width:170px;height:170px}
}

/* ============================================================
   STORIES BUBBLE — botón circular tipo Instagram en el Hero
   ============================================================ */
.stories-bubble-wrap{
  position:absolute;
  top:9rem;
  left:50%;
  transform:translateX(-50%);
  z-index:5;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.5rem;
}
@media(max-width:900px){
  .stories-bubble-wrap{top:7.5rem}
}
.stories-bubble-btn{
  width:92px;height:92px;border-radius:50%;
  padding:3px;
  cursor:pointer;
  border:none;
  background:linear-gradient(135deg,#FF5500,#FF8C42,#FFD24C,#FF5500);
  display:flex;align-items:center;justify-content:center;
  transition:transform 0.2s;
  box-shadow:0 4px 20px rgba(255,85,0,0.35);
}
.stories-bubble-btn:hover{transform:scale(1.05)}
.stories-bubble-btn.is-seen{
  background:rgba(255,255,255,0.25);
  box-shadow:none;
}
.stories-bubble-inner{
  width:100%;height:100%;border-radius:50%;
  background:#0d0d0d;
  padding:3px;
  display:flex;align-items:center;justify-content:center;
}
.stories-bubble-inner img{
  width:100%;height:100%;border-radius:50%;
  object-fit:cover;display:block;
}
@keyframes storyHeartPop{
  0%{opacity:0;transform:translate(-50%,-50%) scale(0.3)}
  40%{opacity:1;transform:translate(-50%,-50%) scale(1.2)}
  70%{opacity:1;transform:translate(-50%,-50%) scale(1)}
  100%{opacity:0;transform:translate(-50%,-50%) scale(0.8)}
}
.stories-bubble-label{
  font-size:0.78rem;font-weight:600;color:#fff;
  text-shadow:0 1px 4px rgba(0,0,0,0.6);
  letter-spacing:0.02em;
}
@media(max-width:480px){
  .stories-bubble-btn{width:78px;height:78px}
}

.doctor-card{
  position:relative;border-radius:20px;overflow:hidden;
  background:transparent;
  border:1px solid rgba(255,85,0,0.25);
  padding:0;animation:floatY 6s ease-in-out infinite;
  box-shadow:0 0 30px rgba(255,85,0,0.15);
}
.doctor-img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block;border-radius:20px;opacity:1}

.float-el{
  position:absolute;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(255,85,0,0.2),transparent);
}
.float-el-1{width:300px;height:300px;top:-100px;right:-80px;animation:floatY 8s ease-in-out infinite}
.float-el-2{width:200px;height:200px;bottom:-60px;left:-60px;animation:floatY 10s ease-in-out infinite reverse}

.section-chikung{
  background:var(--pastel-white-soft);padding:6rem 2rem;position:relative;overflow:hidden;
}
.section-chikung::before{
  content:'\6c14';position:absolute;right:-2rem;top:50%;transform:translateY(-50%);
  font-size:20rem;color:rgba(255,85,0,0.04);font-family:'Cormorant Garamond',serif;
  line-height:1;pointer-events:none;user-select:none;
}
.section-inner{max-width:1100px;margin:0 auto}
.section-eyebrow{color:#FF5500;
  font-size:0.75rem;letter-spacing:0.15em;text-transform:uppercase;
  color:#FF5500;font-weight:600;margin-bottom:0.75rem;
}
.section-title{
  font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,3.5vw,3rem);
  font-weight:500;color:#1A1A1A;line-height:1.15;margin-bottom:1.25rem;
}
.section-lead{font-size:1rem;color:#5A5A5A;line-height:1.8;max-width:560px;margin-bottom:3rem}

.chikung-grid{display:grid;grid-template-columns:1fr;gap:2rem;align-items:start}
@media(max-width:768px){.chikung-grid{grid-template-columns:1fr}}
@media(max-width:768px){.bio-info-grid{grid-template-columns:1fr !important;gap:2rem !important}}

.chikung-pillars{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(max-width:500px){.chikung-pillars{grid-template-columns:1fr}}
.pillar-card{
  background:var(--pastel-white);border-radius:16px;padding:1.5rem;
  border:1px solid var(--border);transition:all 0.2s;
}
.pillar-card:hover{border-color:#FF5500;transform:translateY(-2px);box-shadow:var(--shadow)}
.pillar-icon{font-size:1.75rem;margin-bottom:0.75rem}
.pillar-title{font-size:0.9rem;font-weight:600;color:var(--ink);margin-bottom:0.35rem}
.pillar-desc{font-size:0.8rem;color:var(--ink-soft);line-height:1.6}
.pillar-card-img{padding:0;overflow:hidden}
.pillar-card-img .pillar-desc{padding:0.85rem 1rem 1rem;font-size:0.78rem}
.pillar-img-wrap{position:relative;width:100%;height:320px;overflow:hidden;border-radius:16px 16px 0 0}
.pillar-img{width:100%;height:100%;object-fit:cover;object-position:center 30%;display:block;transition:transform 0.35s ease}
.pillar-card-img:hover .pillar-img{transform:scale(1.05)}
.pillar-img-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,0.72) 0%,rgba(0,0,0,0.15) 60%,transparent 100%)}
.pillar-img-title{position:absolute;bottom:0.7rem;left:0.9rem;right:0.9rem;font-size:0.95rem;font-weight:700;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,0.5);letter-spacing:0.01em}

.chikung-visual{position:relative}
.chikung-img-wrap{
  border-radius:20px;overflow:hidden;aspect-ratio:4/5;
  box-shadow:0 20px 60px rgba(0,0,0,0.15);position:relative;
}
.chikung-img-wrap img{width:100%;height:100%;object-fit:cover}
.chikung-img-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(0,0,0,0.6) 0%,transparent 50%);
}
.chikung-quote{
  position:absolute;bottom:1.5rem;left:1.5rem;right:1.5rem;
  color:white;font-family:'Cormorant Garamond',serif;font-style:italic;
  font-size:1.1rem;line-height:1.5;
}
.chikung-quote::before{content:'"';font-size:3rem;line-height:0.5;opacity:0.4;display:block;margin-bottom:0.5rem}

.benefits-strip{
  background:var(--pastel-white-soft);
  padding:0;
}
.benefits-grid{
  max-width:100%;margin:0 auto;
  display:grid;grid-template-columns:repeat(4,1fr);gap:0;
}
@media(max-width:900px){.benefits-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:500px){.benefits-grid{grid-template-columns:1fr;gap:0.75rem}}
.benefit-img{width:100%;height:450px;display:block;border-radius:0;object-fit:cover}

.section-doctor{padding:6rem 2rem;background:var(--pastel-white)}
.doctor-bio-grid{
  max-width:1100px;margin:0 auto;
  display:grid;grid-template-columns:auto 1fr;gap:4rem;align-items:center;
}
@media(max-width:768px){.doctor-bio-grid{grid-template-columns:1fr;text-align:center}}
.doctor-photo-circle{
  width:220px;height:220px;border-radius:50%;overflow:hidden;flex-shrink:0;
  border:4px solid var(--mclaren-soft);box-shadow:0 0 0 8px var(--mclaren-pale);
}
@media(max-width:768px){.doctor-photo-circle{margin:0 auto}}
.doctor-photo-circle img{width:100%;height:100%;object-fit:cover;object-position:center 15%}
.doctor-bio-name{font-family:'Cormorant Garamond',serif;font-size:2rem;color:var(--ink);font-weight:600;margin-bottom:0.25rem}
.doctor-bio-title{font-size:0.85rem;color:#FF5500;font-weight:500;letter-spacing:0.05em;text-transform:uppercase;margin-bottom:1.25rem}
.doctor-bio-text{font-size:0.95rem;color:var(--ink-mid);line-height:1.8;margin-bottom:1.5rem}
.doctor-credentials{display:flex;flex-wrap:wrap;gap:0.75rem}
@media(max-width:768px){.doctor-credentials{justify-content:center}}
.credential-tag{
  padding:0.4rem 1rem;border-radius:50px;font-size:0.78rem;
  background:var(--mclaren-pale);color:#FF5500;border:1px solid rgba(255,85,0,0.3);font-weight:500;
}

.section-cta{
  padding:6rem 2rem;text-align:center;
  background-image:url("/assets/cta-bg.png");
  background-color:var(--pastel-white-soft);
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  position:relative;overflow:hidden;
}
.section-cta::before{
  content:'';position:absolute;inset:0;
  background:rgba(255,255,255,0.15);
}
.section-cta-inner{position:relative;z-index:1;max-width:600px;margin:0 auto}
.section-cta-title{
  font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,4vw,3rem);
  color:#1A1A1A;font-weight:500;margin-bottom:1rem;line-height:1.2;
}
.section-cta-desc{font-size:1rem;color:rgba(26,26,26,0.6);line-height:1.7;margin-bottom:2.5rem}
.cta-row{display:flex;flex-direction:column;align-items:center;gap:1rem}
.cta-big{
  padding:1.15rem 3rem;background:linear-gradient(135deg,#FF5500,#FF7733);
  color:white;border-radius:50px;font-size:1.05rem;font-weight:500;
  transition:all 0.25s;box-shadow:0 6px 30px rgba(255,85,0,0.5);
  animation:glowPulse 3s ease-in-out infinite;
}
.cta-big:hover{transform:translateY(-2px);box-shadow:0 12px 40px rgba(255,85,0,0.7)}
.cta-note{font-size:0.8rem;color:rgba(26,26,26,0.35)}

/* ── Juego Fullscreen ── */
.juego-fullscreen-btn { display: inline-flex; }
body.modo-juego-fullscreen .juego-container { position:fixed !important; top:0 !important; left:0 !important; width:100vw !important; height:100dvh !important; z-index:9999 !important; border-radius:0 !important; margin:0 !important; overflow:hidden !important; background:#1a0000 !important; }
body.modo-juego-fullscreen .juego-container iframe { width:100vw !important; height:100dvh !important; min-height:auto !important; border-radius:0 !important; }
body.modo-juego-fullscreen .juego-container > div:first-child { display:none !important; }
body.modo-juego-fullscreen .juego-fullscreen-btn { position:fixed !important; top:10px !important; right:10px !important; z-index:10000 !important; background:rgba(255,85,0,0.4) !important; border-color:#FF5500 !important; }

.landing-footer{
  background:#0d0d14;padding:2rem;text-align:center;
  font-size:0.8rem;color:rgba(255,255,255,0.65);
}
.landing-footer a{color:#FF8A65;text-decoration:underline;text-underline-offset:3px}

.login-page{
  min-height:100vh;display:flex;align-items:center;justify-content:center;
  background:url('https://nzetliggmfhqairvbriw.supabase.co/storage/v1/object/public/Kitchen%20School/imagen_2026-06-03_142714257.png') center/cover no-repeat;
  background-color:var(--pastel-white-soft);padding:2rem;position:relative;overflow:hidden;
}
.login-page::after{
  content:'';position:absolute;inset:0;
  background:rgba(255,255,255,0.72);
}
.login-card{
  background:var(--paper);border-radius:var(--radius-xl);padding:3rem 2.5rem;
  width:100%;max-width:440px;box-shadow:0 8px 60px rgba(0,0,0,0.1);position:relative;z-index:1;
  animation:fadeIn 0.5s ease;border:1px solid var(--border);
}
.login-logo{text-align:center;margin-bottom:2rem}
.login-logo-mark{
  width:72px;height:72px;border-radius:50%;overflow:hidden;
  margin:0 auto 1rem;box-shadow:0 4px 20px rgba(255,85,0,0.3);
}
.login-logo-mark img{width:100%;height:100%;object-fit:cover}
.login-title{font-family:'Cormorant Garamond',serif;font-size:1.6rem;font-weight:600;color:var(--ink);line-height:1.2}
.login-subtitle{font-size:0.85rem;color:var(--ink-soft);margin-top:0.3rem}
.form-group{margin-bottom:1.25rem}
.form-label{display:block;font-size:0.8rem;font-weight:500;color:var(--ink-mid);margin-bottom:0.5rem;text-transform:uppercase;letter-spacing:0.05em}
.form-input{
  width:100%;padding:0.85rem 1rem;border:1.5px solid var(--border);
  border-radius:var(--radius);font-size:0.95rem;color:var(--ink);
  background:var(--pastel-white);transition:all 0.2s;outline:none;
}
.form-input:focus{border-color:#FF5500;background:var(--paper);box-shadow:0 0 0 3px rgba(255,85,0,0.2)}
.btn-primary{
  width:100%;padding:1rem;background:linear-gradient(135deg,#FF5500,#FF7733);
  color:white;border-radius:var(--radius);font-size:1rem;font-weight:500;
  transition:all 0.2s;letter-spacing:0.02em;
}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(255,85,0,0.35)}
.btn-primary:active{transform:translateY(0)}
.form-toggle{text-align:center;margin-top:1.5rem;font-size:0.9rem;color:var(--ink-soft)}
.form-toggle button{color:#FF5500;font-weight:500;text-decoration:underline;text-underline-offset:3px}
.divider{display:flex;align-items:center;gap:1rem;margin:1.5rem 0;color:var(--ink-soft);font-size:0.8rem}
.divider::before,.divider::after{content:'';flex:1;height:1px;background:var(--border)}
.btn-back-landing{
  display:flex;align-items:center;gap:0.4rem;
  font-size:0.8rem;color:rgba(26,26,26,0.6);margin-bottom:1rem;
  position:relative;z-index:2;padding:0.5rem;border-radius:8px;transition:all 0.2s;
}
.btn-back-landing:hover{color:#1A1A1A;background:rgba(255,85,0,0.1)}
.error-msg{color:#e53e3e;font-size:0.82rem;margin-top:0.5rem;display:flex;align-items:center;gap:0.3rem}

.app-layout{display:flex;height:100vh;overflow:hidden;background:var(--pastel-white);background-size:cover;background-position:center;background-attachment:fixed}
.topbar{
  position:fixed;top:0;left:0;right:0;
  height:calc(60px + env(safe-area-inset-top, 0px));
  background:var(--paper);border-bottom:1px solid var(--border);
  display:flex;align-items:center;padding:env(safe-area-inset-top, 0px) 1.5rem 0;
  z-index:100;gap:1rem;
}
.topbar-logo{color:#FF5500;font-family:'Cormorant Garamond',serif;font-size:1.2rem;font-weight:600;display:flex;align-items:center;gap:0.5rem}
.topbar-logo-mark{width:32px;height:32px;border-radius:8px;overflow:hidden;flex-shrink:0}
.topbar-logo-mark img{width:100%;height:100%;object-fit:cover;object-position:center 15%;border-radius:8px}
.topbar-right{margin-left:auto;display:flex;align-items:center;gap:0.75rem;overflow-x:auto;flex-shrink:0;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}
.topbar-right::-webkit-scrollbar{display:none}
.topbar-user{display:flex;align-items:center;gap:0.5rem;font-size:0.85rem;color:var(--ink-mid)}
.topbar-avatar{width:32px;height:32px;background:linear-gradient(135deg,#FF5500,#FF7733);border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-size:0.8rem;font-weight:600}
.btn-logout{font-size:0.8rem;color:var(--ink-mid);padding:0.4rem 0.75rem;border-radius:8px;border:1px solid var(--border);transition:all 0.15s}
.btn-logout:hover{background:var(--mclaren-pale);color:#FF5500}
.hamburger{display:none;padding:0.5rem;border-radius:8px;color:var(--ink-mid)}
@media(max-width:768px){.hamburger{display:flex;align-items:center;justify-content:center}.topbar-user span{display:none}}
.sidebar{
  width:300px;flex-shrink:0;background:var(--paper);border-right:1px solid var(--border);
  margin-top:calc(60px + env(safe-area-inset-top, 0px));
  height:calc(100vh - 60px - env(safe-area-inset-top, 0px));
  overflow-y:auto;transition:transform 0.3s ease;
}
@media(max-width:768px){
  .sidebar{position:fixed;left:0;top:60px;bottom:0;z-index:90;transform:translateX(-100%)}
  .sidebar.open{transform:translateX(0)}
  .sidebar-overlay{position:fixed;inset:0;top:60px;background:rgba(0,0,0,0.4);z-index:89;display:none}
  .sidebar-overlay.open{display:block}
}
.sidebar-header{padding:1.25rem 1.25rem 0.75rem;border-bottom:1px solid var(--border)}
.sidebar-course-title{font-family:'Cormorant Garamond',serif;font-size:1.05rem;font-weight:600;color:var(--ink);line-height:1.3}
.sidebar-course-sub{font-size:0.75rem;color:var(--ink-soft);margin-top:0.2rem}
.progress-bar-wrap{margin-top:0.75rem}
.progress-label{display:flex;justify-content:space-between;font-size:0.75rem;color:var(--ink-soft);margin-bottom:0.4rem}
.progress-bar{height:4px;background:var(--border);border-radius:2px;overflow:hidden}
.progress-fill{height:100%;background:linear-gradient(90deg,#FF5500,#FF7733);border-radius:2px;transition:width 0.6s ease}
.module-list{padding:0.75rem 0}
.module-item{border-bottom:1px solid var(--border)}
.module-header{display:flex;align-items:center;gap:0.75rem;padding:0.9rem 1.25rem;cursor:pointer;transition:background 0.15s;user-select:none}
.module-header:hover{background:var(--mclaren-pale)}
.module-icon{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:0.9rem;flex-shrink:0}
.module-icon.locked{background:var(--border);color:var(--ink-soft)}
.module-icon.unlocked{background:rgba(255,85,0,0.15);color:#FF5500}
.module-icon.done{background:#FF5500;color:white}
.module-title-wrap{flex:1;min-width:0}
.module-title{font-size:0.85rem;font-weight:500;color:var(--ink);line-height:1.3}
.module-meta{font-size:0.72rem;color:var(--ink-soft);margin-top:0.15rem}
.module-chevron{font-size:0.75rem;color:var(--ink-soft);transition:transform 0.2s;flex-shrink:0}
.lesson-list{background:var(--pastel-white-soft);padding:0.25rem 0}
.lesson-item{display:flex;align-items:center;gap:0.6rem;padding:0.65rem 1.25rem 0.65rem 1.75rem;cursor:pointer;transition:background 0.15s}
.lesson-item:hover:not(.locked-lesson){background:var(--mclaren-pale)}
.lesson-item.active{background:var(--mclaren-pale)}
.lesson-item.locked-lesson{cursor:default;opacity:0.7}
.lesson-thumb{width:34px;height:22px;border-radius:4px;background:var(--border);flex-shrink:0;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center}
.lesson-thumb svg{opacity:0.5}
.lesson-thumb.locked-thumb{background:var(--mclaren-pale)}
.lesson-info{flex:1;min-width:0}
.lesson-name{font-size:0.8rem;color:var(--ink-mid);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lesson-item.active .lesson-name{color:#FF5500;font-weight:500}
.lesson-duration{font-size:0.7rem;color:var(--ink-soft)}
.lock-icon{color:var(--ink-soft);font-size:0.75rem;flex-shrink:0}
.main-content{flex:1;margin-top:calc(60px + env(safe-area-inset-top, 0px));overflow-y:auto;padding:2rem;margin-left:300px;width:calc(100% - 300px)}
@media(max-width:768px){.main-content{margin-left:0;width:100%}}
@media(max-width:768px){.main-content{padding:1rem}.main-content > .video-container{padding:0}}
@media(max-width:480px){.main-content{padding:0.75rem}.main-content > .video-container{padding:0}}
.video-container{max-width:900px;width:100%;margin:0 auto}
@media(max-width:600px){.video-container{max-width:100%;width:100%}}
.video-player-wrap{width:100%;aspect-ratio:16/9;border-radius:var(--radius-lg);overflow:hidden;background:#000;position:relative;box-shadow:var(--shadow-lg)}
@media(max-width:480px){.video-player-wrap{aspect-ratio:16/9;max-height:55vh}}
.video-player-wrap.game-wrap{aspect-ratio:unset;height:85vh;min-height:600px;max-height:900px;background:#0a1628;}
@media(max-width:768px){.video-player-wrap.game-wrap{height:80vh;min-height:500px;}}
@media(max-width:480px){.video-player-wrap.game-wrap{height:90vh;min-height:450px;}}
.locked-banner{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem;background:linear-gradient(160deg,rgba(250,250,250,0.97) 0%,var(--paper) 60%,var(--pastel-white-soft) 100%);color:var(--ink)}
.locked-banner-pattern{position:absolute;inset:0;opacity:0.05;background-image:repeating-linear-gradient(45deg,#FF5500 0,#FF5500 1px,transparent 0,transparent 50%);background-size:20px 20px}
.lock-circle{width:80px;height:80px;border-radius:50%;background:rgba(255,85,0,0.12);border:2px solid rgba(255,85,0,0.3);display:flex;align-items:center;justify-content:center;font-size:2.2rem;margin-bottom:1.5rem;position:relative;backdrop-filter:blur(4px);animation:pulse 2.5s ease-in-out infinite}
.locked-banner h2{font-family:'Cormorant Garamond',serif;font-size:clamp(1.4rem,3vw,2rem);font-weight:600;line-height:1.2;margin-bottom:0.75rem;position:relative;color:var(--ink)}
.locked-banner p{font-size:clamp(0.85rem,1.5vw,1rem);opacity:0.85;max-width:420px;line-height:1.6;margin-bottom:2rem;position:relative;color:var(--ink-mid)}
.whatsapp-btn{display:inline-flex;align-items:center;gap:0.6rem;padding:1rem 2rem;background:#25D366;color:white;border-radius:50px;font-size:1rem;font-weight:500;transition:all 0.2s;position:relative;box-shadow:0 4px 20px rgba(37,211,102,0.4);text-decoration:none}
.whatsapp-btn:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(37,211,102,0.5)}
.whatsapp-btn svg{width:22px;height:22px;flex-shrink:0}
.locked-badge{position:absolute;top:1rem;right:1rem;background:rgba(255,85,0,0.15);padding:0.35rem 0.75rem;border-radius:50px;font-size:0.72rem;letter-spacing:0.05em;text-transform:uppercase;border:1px solid rgba(255,85,0,0.2);backdrop-filter:blur(4px);color:#FF5500}
.locked-features{display:flex;flex-wrap:wrap;gap:0.75rem;justify-content:center;margin-top:1rem;position:relative}
.locked-feature{display:flex;align-items:center;gap:0.4rem;font-size:0.78rem;opacity:0.8;color:var(--ink-mid)}
.locked-feature::before{content:'\2726';color:#FF5500;font-size:0.6rem}
.video-player{width:100%;height:100%;background:#000;display:flex;align-items:center;justify-content:center}
.video-placeholder{text-align:center;color:rgba(255,255,255,0.5)}
.play-btn{width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,0.15);border:2px solid rgba(255,255,255,0.4);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;cursor:pointer;transition:all 0.2s;font-size:1.5rem}
.play-btn:hover{background:rgba(255,255,255,0.25);transform:scale(1.05)}
.lesson-info-panel{margin-top:1.5rem;animation:fadeIn 0.3s ease}
.lesson-title{font-family:'Cormorant Garamond',serif;font-size:1.7rem;font-weight:600;color:var(--ink)}
.lesson-meta-row{display:flex;align-items:center;gap:1rem;margin-top:0.5rem;flex-wrap:wrap}
.lesson-tag{display:inline-flex;align-items:center;gap:0.3rem;font-size:0.75rem;padding:0.25rem 0.6rem;border-radius:50px;border:1px solid var(--border);color:var(--ink-soft)}
.lesson-tag.jade{background:var(--mclaren-pale);border-color:rgba(255,85,0,0.3);color:#FF5500}
.lesson-desc{margin-top:1.25rem;font-size:0.95rem;color:var(--ink-mid);line-height:1.7}
@media(max-width:480px){.lesson-title{font-size:1.25rem !important}.lesson-meta-row{gap:0.5rem}.lesson-desc{font-size:0.88rem;margin-top:0.85rem}}
.lesson-nav{display:flex;gap:0.75rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border-soft)}
.btn-nav{flex:1;padding:0.75rem 1rem;border-radius:var(--radius);border:1.5px solid var(--border);font-size:0.85rem;color:var(--ink-mid);text-align:center;transition:all 0.2s;display:flex;align-items:center;justify-content:center;gap:0.5rem}
.btn-nav:hover{border-color:#FF5500;color:#FF5500;background:var(--mclaren-pale)}
.btn-nav.primary{background:#FF5500;border-color:#FF5500;color:white}
.btn-nav.primary:hover{background:#CC4400}
.welcome-screen{max-width:700px;width:100%;margin:0 auto;padding:1rem 0;animation:fadeIn 0.4s ease}
.welcome-card{background:var(--paper);border-radius:var(--radius-lg);padding:2rem;border:1px solid var(--border);margin-bottom:1.5rem}
@media(max-width:500px){.welcome-screen{width:100%;min-width:0}.welcome-card{padding:1.25rem}}
.welcome-card h2{font-family:'Cormorant Garamond',serif;font-size:1.5rem;font-weight:600;color:var(--ink)}
.welcome-card p{font-size:0.9rem;color:var(--ink-mid);line-height:1.7;margin-top:0.5rem}
.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.5rem}
.module-item-locked{}
.module-item-locked .module-header:hover{background:transparent!important;cursor:default}
@media(max-width:500px){.stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:380px){.stats-grid{grid-template-columns:1fr}}
.stat-card{background:var(--mclaren-pale);border-radius:var(--radius);padding:1rem;text-align:center;border:1px solid rgba(255,85,0,0.2)}
.stat-num{font-family:'Cormorant Garamond',serif;font-size:1.8rem;font-weight:600;color:#FF5500}
.stat-label{font-size:0.75rem;color:var(--ink-soft);margin-top:0.15rem}
@media(max-width:500px){.stat-card{padding:1.25rem 0.75rem}.stat-num{font-size:1.6rem}}
@media(max-width:768px){
  .main-content{margin-left:0}
  .lesson-nav{flex-direction:column}
  .locked-banner h2{font-size:1.3rem}
}

.live-room-wrap{max-width:900px;width:100%;margin:0 auto;padding:1rem 0;animation:fadeIn 0.4s ease}
.live-room-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem;flex-wrap:wrap;gap:1rem}
.live-room-title{font-family:'Cormorant Garamond',serif;font-size:1.6rem;font-weight:600;color:var(--ink)}
.live-badge{display:inline-flex;align-items:center;gap:0.4rem;padding:0.3rem 0.85rem;border-radius:50px;background:#fee2e2;color:#dc2626;font-size:0.75rem;font-weight:600;letter-spacing:0.05em}
.live-badge::before{content:'';width:8px;height:8px;border-radius:50%;background:#dc2626;animation:pulse 1.2s ease-in-out infinite;display:inline-block}
.live-badge.offline{background:var(--border-soft);color:var(--ink-soft)}
.live-badge.offline::before{background:var(--ink-soft);animation:none}
.jitsi-frame{width:100%;height:520px;border-radius:var(--radius-lg);overflow:hidden;border:none;box-shadow:var(--shadow-lg);background:#f0f0f0}
@media(max-width:768px){.jitsi-frame{height:360px}}
.live-waiting{display:flex;flex-direction:column;align-items:center;justify-content:center;height:420px;background:linear-gradient(160deg,var(--pastel-white-soft),var(--paper));border-radius:var(--radius-lg);color:var(--ink);text-align:center;padding:2rem}
.live-waiting h3{font-family:'Cormorant Garamond',serif;font-size:1.6rem;margin-bottom:0.75rem}
.live-waiting p{opacity:0.75;font-size:0.9rem;line-height:1.7;max-width:380px}
.live-waiting-icon{font-size:3rem;margin-bottom:1.25rem;animation:pulse 2s ease-in-out infinite}
.btn-start-live{margin-top:1.5rem;padding:0.9rem 2rem;background:linear-gradient(135deg,#dc2626,#ef4444);color:white;border-radius:50px;font-size:0.95rem;font-weight:500;box-shadow:0 4px 20px rgba(220,38,38,0.4);transition:all 0.2s}
.btn-start-live:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(220,38,38,0.5)}
.btn-end-live{padding:0.65rem 1.5rem;background:#dc2626;color:white;border-radius:50px;font-size:0.85rem;font-weight:500;transition:all 0.2s}
.btn-end-live:hover{background:#b91c1c}
.live-info-bar{display:flex;align-items:center;gap:1rem;margin-top:1rem;padding:0.85rem 1.25rem;background:var(--pastel-white-soft);border-radius:var(--radius);border:1px solid var(--border);font-size:0.82rem;color:var(--ink-mid);flex-wrap:wrap}
.locked-live{display:flex;flex-direction:column;align-items:center;justify-content:center;height:380px;background:var(--paper);border-radius:var(--radius-lg);border:2px dashed var(--border);text-align:center;padding:2rem}
.locked-live h3{font-family:'Cormorant Garamond',serif;font-size:1.4rem;color:var(--ink);margin-bottom:0.5rem}
.locked-live p{font-size:0.88rem;color:var(--ink-soft);max-width:340px;line-height:1.6}

@keyframes bell-swing{0%,100%{transform:rotate(0)}20%{transform:rotate(-15deg)}40%{transform:rotate(12deg)}60%{transform:rotate(-8deg)}80%{transform:rotate(5deg)}}
@keyframes dot-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.6;transform:scale(1.3)}}
.bell-notify svg{animation:bell-swing 2.5s ease-in-out infinite}
.bell-notify span{animation:dot-pulse 1.5s ease-in-out infinite}
.admin-wrap{max-width:1000px;width:100%;margin:0 auto;padding:1.5rem;animation:fadeIn 0.4s ease;background:#faf6ef;border-radius:var(--radius-lg);min-height:80vh;
  --ink:#1a1a1a;--ink-mid:#3a3a3a;--ink-soft:#6a6a6a;--border:#ddd3c0;--border-soft:#e8e0d0;--paper-warm:#f0e8da;color:#1a1a1a}
.admin-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}
.admin-title{font-family:'Cormorant Garamond',serif;font-size:1.8rem;font-weight:600;color:var(--ink)}
.admin-tabs{display:flex;gap:0.5rem;background:#e8e0d0;border-radius:12px;padding:0.35rem;border:1px solid #c8bfaa;flex-wrap:wrap}
.admin-tab{padding:0.55rem 1.1rem;border-radius:8px;font-size:0.82rem;font-weight:500;color:var(--ink-soft);transition:all 0.2s;white-space:nowrap}
.admin-tab.active{background:#fff8f0;color:#FF5500;box-shadow:0 1px 4px rgba(0,0,0,0.12)}
.admin-tab:hover:not(.active){color:var(--ink)}
.admin-section{background:#fdf8f2;border-radius:var(--radius-lg);border:1px solid #ddd3c0;overflow:hidden;margin-bottom:1.5rem}
.admin-section-header{padding:1.25rem 1.5rem;border-bottom:1px solid var(--border-soft);display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.admin-section-title{font-size:1rem;font-weight:600;color:var(--ink)}
.admin-section-body{padding:1.5rem}
.btn-admin{padding:0.6rem 1.25rem;border-radius:var(--radius);font-size:0.82rem;font-weight:500;transition:all 0.2s;display:inline-flex;align-items:center;gap:0.4rem}
.btn-admin.primary{background:linear-gradient(135deg,#FF5500,#FF7733);color:white;box-shadow:0 2px 8px rgba(255,85,0,0.3)}
.btn-admin.primary:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(255,85,0,0.4)}
.btn-admin.danger{background:#fee2e2;color:#dc2626;border:1px solid #fecaca}
.btn-admin.danger:hover{background:#fecaca}
.btn-admin.secondary{background:#e8e0d0;color:var(--ink-mid);border:1px solid #c8bfaa}
.btn-admin.secondary:hover{background:#d8d0c0}
.btn-admin.success{background:#dcfce7;color:#16a34a;border:1px solid #bbf7d0}
.btn-admin.success:hover{background:#bbf7d0}
.admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(max-width:600px){.admin-form-grid{grid-template-columns:1fr}}
.admin-input{width:100%;padding:0.7rem 0.9rem;border:1.5px solid #c8bfaa;border-radius:var(--radius);font-size:0.88rem;color:var(--ink);background:#fff8f0;transition:all 0.2s;outline:none;font-family:inherit}
.admin-input:focus{border-color:#FF5500;background:#ffffff;box-shadow:0 0 0 3px rgba(255,85,0,0.15)}
.admin-label{display:block;font-size:0.75rem;font-weight:600;color:var(--ink-mid);margin-bottom:0.4rem;text-transform:uppercase;letter-spacing:0.05em}
.admin-select{width:100%;padding:0.7rem 0.9rem;border:1.5px solid #c8bfaa;border-radius:var(--radius);font-size:0.88rem;color:var(--ink);background:#fff8f0;outline:none;font-family:inherit;cursor:pointer}
.admin-select:focus{border-color:#FF5500;background:#ffffff}
.admin-table{width:100%;border-collapse:collapse}
.admin-table th{text-align:left;font-size:0.72rem;font-weight:600;color:var(--ink-soft);text-transform:uppercase;letter-spacing:0.06em;padding:0.6rem 1rem;border-bottom:1px solid #ddd3c0;background:#f0e8da}
.admin-table td{padding:0.85rem 1rem;border-bottom:1px solid #e8e0d0;font-size:0.85rem;color:var(--ink-mid);vertical-align:middle}
.admin-table tr:last-child td{border-bottom:none}
.admin-table tr:hover td{background:#f5ede0}
.badge-on{display:inline-flex;align-items:center;gap:0.3rem;padding:0.2rem 0.6rem;border-radius:50px;background:#dcfce7;color:#16a34a;font-size:0.72rem;font-weight:600}
.badge-off{display:inline-flex;align-items:center;gap:0.3rem;padding:0.2rem 0.6rem;border-radius:50px;background:#fee2e2;color:#dc2626;font-size:0.72rem;font-weight:600}
.badge-admin{display:inline-flex;align-items:center;gap:0.3rem;padding:0.2rem 0.6rem;border-radius:50px;background:#fdf4ff;color:#7e22ce;font-size:0.72rem;font-weight:600}
.upload-zone{border:2px dashed var(--border);border-radius:var(--radius-lg);padding:2.5rem;text-align:center;cursor:pointer;transition:all 0.2s;background:var(--pastel-white)}
.upload-zone:hover,.upload-zone.drag{border-color:#FF5500;background:var(--mclaren-pale)}
.upload-zone-icon{font-size:2.5rem;margin-bottom:0.75rem}
.upload-zone p{font-size:0.88rem;color:var(--ink-soft);line-height:1.6}
.upload-zone strong{color:#FF5500}
.progress-upload{height:8px;background:var(--border);border-radius:4px;overflow:hidden;margin-top:0.75rem}
.progress-upload-fill{height:100%;background:linear-gradient(90deg,#FF5500,#FF7733);border-radius:4px;transition:width 0.3s ease}
.stat-admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.5rem}
@media(max-width:700px){.stat-admin-grid{grid-template-columns:repeat(2,1fr)}}
.stat-admin-card{background:var(--paper);border-radius:var(--radius-lg);padding:1.25rem;border:1px solid var(--border);text-align:center}
.stat-admin-num{font-family:'Cormorant Garamond',serif;font-size:2.2rem;font-weight:600;color:#FF5500}
.stat-admin-label{font-size:0.75rem;color:var(--ink-soft);margin-top:0.2rem}
.module-row{display:flex;align-items:center;gap:0.75rem;padding:0.75rem 0;border-bottom:1px solid var(--border-soft)}
.module-row:last-child{border-bottom:none}
.module-row-icon{font-size:1.3rem;width:36px;text-align:center}
.module-row-info{flex:1}
.module-row-title{font-size:0.9rem;font-weight:500;color:var(--ink)}
.module-row-meta{font-size:0.75rem;color:var(--ink-soft);margin-top:0.15rem}
.module-row-actions{display:flex;gap:0.4rem;flex-shrink:0}
.alert-success{padding:0.75rem 1rem;background:#dcfce7;border:1px solid #bbf7d0;border-radius:var(--radius);font-size:0.85rem;color:#16a34a;display:flex;align-items:center;gap:0.5rem}
.alert-error{padding:0.75rem 1rem;background:#fee2e2;border:1px solid #fecaca;border-radius:var(--radius);font-size:0.85rem;color:#dc2626;display:flex;align-items:center;gap:0.5rem}

/* ===== LESSON COMMENTS ===== */
.lesson-comments-section{margin-top:2.5rem;padding-top:2rem;border-top:1px solid var(--border-soft)}
.lc-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0.75rem;margin-bottom:1.5rem}
.lc-title{font-family:'Cormorant Garamond',serif;font-size:1.35rem;font-weight:600;color:var(--ink)}
.lc-avg{display:flex;align-items:center;gap:0.5rem}
.lc-avg-num{font-size:1.4rem;font-weight:700;color:#FF5500}
.lc-avg-count{font-size:0.8rem;color:var(--ink-soft)}

.lc-form{background:var(--paper-warm);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.25rem;margin-bottom:1.75rem}
.lc-form-top{display:flex;gap:0.85rem;align-items:flex-start;margin-bottom:0.85rem}
.lc-form-name{font-size:0.85rem;font-weight:600;color:var(--ink);margin-bottom:0.3rem}
.lc-form-label{font-size:0.72rem;color:var(--ink-soft);margin-bottom:0.3rem;text-transform:uppercase;letter-spacing:0.05em}
.lc-textarea{width:100%;background:var(--paper);border:1px solid var(--border);border-radius:10px;padding:0.75rem 1rem;color:var(--ink);font-size:0.875rem;resize:vertical;min-height:80px;transition:border-color 0.2s;line-height:1.5}
.lc-textarea:focus{outline:none;border-color:#FF5500}
.lc-textarea::placeholder{color:var(--ink-soft)}
.lc-error{font-size:0.8rem;color:#f87171;margin-top:0.4rem}
.lc-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:0.6rem;margin-top:0.85rem}
.lc-btn-submit{padding:0.55rem 1.2rem;background:#FF5500;color:white;border-radius:50px;font-size:0.83rem;font-weight:600;transition:all 0.2s}
.lc-btn-submit:hover:not(:disabled){background:#CC4400}
.lc-btn-submit:disabled{opacity:0.5;cursor:default}
.lc-btn-delete{padding:0.5rem 0.9rem;border:1px solid #5c2626;color:#f87171;border-radius:50px;font-size:0.78rem;transition:all 0.2s}
.lc-btn-delete:hover{background:#5c2626}
.lc-btn-edit{padding:0.5rem 0.9rem;border:1px solid var(--border);color:var(--ink-mid);border-radius:50px;font-size:0.78rem;transition:all 0.2s}
.lc-btn-edit:hover{border-color:#FF5500;color:#FF5500}

.lc-list{display:flex;flex-direction:column;gap:0.85rem}
.lc-empty{text-align:center;color:var(--ink-soft);font-size:0.875rem;padding:2rem 0}
.lc-card{background:var(--paper-warm);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem 1.25rem;transition:border-color 0.2s}
.lc-card:hover{border-color:#FF5500}
.lc-card-mine{border-color:#FF5500 !important;background:var(--paper-warm) !important;box-shadow:0 0 0 2px rgba(255,85,0,0.18)}
.lc-card-top{display:flex;align-items:flex-start;gap:0.75rem;margin-bottom:0.65rem}
.lc-card-name{font-size:0.85rem;font-weight:600;color:var(--ink);margin-bottom:0.25rem}
.lc-card-date{font-size:0.72rem;color:var(--ink-soft);white-space:nowrap;margin-top:2px}
.lc-card-text{font-size:0.875rem;color:var(--ink-mid);line-height:1.65}
.lc-avatar-sm{width:36px;height:36px;min-width:36px;border-radius:50%;background:#FF5500;color:white;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:0.9rem}
.lc-avatar-img{width:36px;height:36px;min-width:36px;border-radius:50%;object-fit:cover;border:2px solid #FF5500}
.lc-count{font-size:0.82rem;color:var(--ink-soft)}
.lc-card-actions{display:flex;align-items:center;gap:0.85rem;margin-top:0.5rem;flex-wrap:wrap}
.lc-like-btn{display:inline-flex;align-items:center;gap:2px;padding:0.25rem 0.5rem;border-radius:6px;font-size:0.78rem;color:#888;cursor:pointer;transition:all 0.15s;border:1px solid transparent}
.lc-like-btn:hover{border-color:#FF5500;color:#FF5500}
.lc-like-btn.liked{color:#FF5500;border-color:#FF5500;background:rgba(255,85,0,0.08)}
.lc-like-btn:disabled{opacity:0.4;cursor:default}
.lc-reply-btn{display:inline-flex;align-items:center;padding:0.25rem 0.5rem;border-radius:6px;font-size:0.78rem;color:#888;cursor:pointer;transition:all 0.15s;background:none;border:none}
.lc-reply-btn:hover{color:#FF5500}
.lc-replies-toggle{font-size:0.78rem;color:#FF5500;cursor:pointer;transition:all 0.15s;background:none;border:none;font-weight:600;margin-left:auto}
.lc-replies-toggle:hover{opacity:0.7}
.lc-replies{margin-top:0.65rem;padding-left:0;border-left:2px solid var(--border-soft)}
.lc-reply-form{margin-top:0.75rem;padding:0.85rem;background:var(--paper);border:1px solid var(--border);border-radius:10px}
.lc-login-prompt{padding:1rem;text-align:center;background:var(--paper-warm);border:1px solid var(--border);border-radius:var(--radius-lg);margin-bottom:1.75rem;font-size:0.88rem;color:var(--ink-soft)}
.lc-login-prompt a{color:#FF5500;font-weight:600;cursor:pointer;text-decoration:underline}
.lc-btn-cancel{padding:0.5rem 0.9rem;border:1px solid var(--border);color:var(--ink-soft);border-radius:50px;font-size:0.78rem;cursor:pointer;transition:all 0.2s;background:none}
.lc-btn-cancel:hover{border-color:#888;color:#555}

/* ── Sección Reseñas Landing ─────────────────────────────────────────── */
.section-reviews{padding:5rem 1.5rem;background:var(--pastel-white-soft);text-align:center}
.section-reviews .section-title{text-align:center}
.section-reviews .section-eyebrow{color:#FF5500;justify-content:center;display:flex;margin:0 auto 0.5rem}
.reviews-form-wrap{background:var(--paper-warm);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.5rem;margin:0 auto 1.5rem;max-width:600px;text-align:left}
.reviews-login-prompt{display:flex;align-items:center;gap:1rem;background:var(--paper-warm);border:1px dashed var(--border);border-radius:var(--radius-lg);padding:1.25rem 1.5rem;margin:0 auto 1.5rem;max-width:600px;flex-wrap:wrap}
.reviews-list{max-width:640px;margin:0 auto;text-align:left}

/* ============================================================
   HERO WORD BLUR REVEAL — Ladder-style, ~1.5s total (once)
   ============================================================ */
.wbr-block {
  display: inline;
}
.wbr-word {
  display: inline-block;
  opacity: 0;
  animation: wbrWordIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes wbrWordIn {
  0%   { opacity: 0; filter: blur(10px); transform: translateY(10px); }
  60%  { opacity: 1; filter: blur(1px);  }
  100% { opacity: 1; filter: blur(0px);  transform: translateY(0);    }
}
@media (max-width: 768px) {
  @keyframes wbrWordIn {
    0%   { opacity: 0; transform: translateY(10px); }
    60%  { opacity: 1; }
    100% { opacity: 1; transform: translateY(0);    }
  }
}
.hero-reveal-item {
  opacity: 0;
  animation: heroFadeIn 0.6s ease forwards;
  animation-delay: var(--reveal-delay, 1s);
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.hero-badge-wrap { display: block; margin-bottom: 1rem; }

/* ── Landing Mobile Hamburger ── */
.landing-hamburger {
  display: none;
  padding: 0.4rem;
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,0.1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.landing-hamburger:hover { background: rgba(255,85,0,0.3); }

/* ── Landing Mobile Drawer ── */
.landing-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0,0,0,0.5);
}
.landing-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  z-index: 100;
  background: linear-gradient(180deg, #1a0000 0%, #000000 100%);
  padding: 1.25rem 0;
  overflow-y: auto;
  animation: fadeIn 0.2s ease;
}
.landing-mobile-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  margin: 0 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
}
.landing-mobile-search input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.88rem;
  color: #fff;
  width: 100%;
  font-family: inherit;
}
.landing-mobile-search input::placeholder { color: rgba(255,255,255,0.4); }
.landing-drawer-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1.25rem;
  border: none;
  background: none;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.landing-drawer-item:hover { background: rgba(255,85,0,0.15); color: #FF5500; }
.landing-drawer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0.5rem 1rem;
}
.hero-title { min-height: unset; }

/* ============================================================
   SCROLL WBR — mismo efecto blur-reveal activado por scroll
   ============================================================ */
.scroll-wbr-item {
  opacity: 0;
  transition: none;
}
.scroll-wbr-section.scroll-wbr-visible .scroll-wbr-item {
  animation: wbrWordIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--swbr-delay, 0ms);
}
.scroll-wbr-section.scroll-wbr-visible .scroll-wbr-item .wbr-word {
  animation: wbrWordIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.pillar-card.scroll-wbr-section {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.pillar-card.scroll-wbr-section.scroll-wbr-visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

/* ============================================================
   MOBILE FIXES — Nav + Hero responsive (iOS/Android)
   ============================================================ */
@media (max-width: 480px) {
  .landing-nav {
    padding: 0.5rem 0.75rem;
    flex-wrap: nowrap;
    gap: 0.35rem;
    align-items: center;
    height: 60px;
  }
  .landing-hamburger { display: flex; }
  .nav-logo {
    gap: 0.35rem;
    min-width: 0;
    flex: 0 1 auto;
    overflow: visible;
  }
  .nav-logo img {
    height: 58px !important;
    width: auto !important;
    margin-top: -4px !important;
    margin-bottom: -4px !important;
  }
  .nav-explora, .nav-search, .nav-logo .nav-btn { display: none; }
  .nav-right { gap: 0.5rem !important; }
  .nav-right > div:first-child span { display: none; }
  .nav-right .nav-btn:not(:last-child) { display: none; }
  .nav-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.68rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nav-btn.solid {
    margin-left: 0.15rem;
  }
}
@media (max-width: 480px) {
  .hero {
    min-height: 100svh;
    height: auto;
  }
  .hero-content {
    padding: 7rem 1.25rem 4rem;
    gap: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-left {
    width: 100%;
  }
  .hero-title {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
    line-height: 1.12;
    margin-bottom: 0.75rem;
  }
  .hero-badge {
    font-size: 0.68rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0 auto 1.75rem;
    color: rgba(255,255,255,0.85);
  }
  .hero-photo-mobile {
    display: block;
    width: 100%;
    max-width: 260px;
    margin: 0 auto 1.75rem;
  }
  .hero-photo-mobile .hero-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    transform: none;
    animation: none;
    border-radius: 16px;
  }
  .hero-right {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 1.5rem auto 0;
  }
  .stories-bubble-btn-large { width: 160px; height: 160px; }
  .stories-bubble-label-large { font-size: 0.85rem; }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
  }
  .cta-primary,
  .cta-secondary {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }
  .hero-trust {
    font-size: 0.75rem;
    margin-top: 1.25rem;
  }
}
@media (max-width: 768px) {
  .landing-nav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(135deg, #1a0000 0%, #000000 50%, #2a0a0a 80%, #FF073A 150%);
  }
  .curso-hamburger { display: flex !important; }
  .curso-sidebar {
    position: fixed !important;
    top: 52px !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    z-index: 99 !important;
    background: #fff !important;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    border-right: 1px solid #e8e8e8 !important;
  }
  .curso-sidebar.open {
    transform: translateX(0);
  }
  .curso-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(0,0,0,0.4);
  }
  .curso-sidebar-overlay.open { display: block !important; }
}
@media (min-width: 481px) and (max-width: 768px) {
  .landing-nav {
    padding: 0.9rem 1.5rem;
  }
  .nav-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .hero-content {
    padding: 7rem 1.75rem 4rem;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(2.2rem, 6vw, 3rem);
  }
  .hero-cta-row {
    justify-content: center;
  }
}

/* ============================================================
   TOPBAR APP MÓVIL — Fix header logged-in (iOS/Android)
   ============================================================ */
@media (max-width: 768px) {
  .topbar {
    height: calc(56px + env(safe-area-inset-top, 0px)) !important;
    padding: env(safe-area-inset-top, 0px) 0 0 !important;
    gap: 0.5rem !important;
  }
  .topbar-logo {
    font-size: 0.85rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    flex-shrink: 1;
    line-height: 1.1;
  }
  .topbar-logo-mark {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0;
  }
  .topbar-right {
    gap: 0.35rem !important;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    flex-shrink: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .topbar-right::-webkit-scrollbar { display: none; }
  .topbar-right > button {
    padding: 0.35rem 0.6rem !important;
    font-size: 0.7rem !important;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 8px !important;
    max-height: 34px;
  }
  .topbar-avatar {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.72rem !important;
    flex-shrink: 0;
  }
  .btn-mobile-text { display: none !important; }
  .btn-back-text { display: none !important; }
  .topbar-right > button > span:not(.bell-notify-dot) { display: none !important; }
  .btn-logout { display: none !important; }
  .topbar-right > .btn-back-cursos { padding: 0.3rem 0.5rem !important; min-width: auto !important; }
  .topbar-materia-badge { display: none !important; }
  .topbar-curso-badge { max-width: 70px !important; font-size: 0.6rem !important; padding: 0.15rem 0.4rem !important; }
  .topbar-right > button[title="Volver al inicio"] { display: none !important; }
  .sidebar {
    top: calc(56px + env(safe-area-inset-top, 0px)) !important;
    height: calc(100vh - 56px - env(safe-area-inset-top, 0px)) !important;
  }
  .sidebar-overlay {
    top: calc(56px + env(safe-area-inset-top, 0px)) !important;
  }
  .app-layout .main-content {
    padding-top: calc(56px + env(safe-area-inset-top, 0px) + 1.25rem) !important;
  }
}
@media (max-width: 768px) {
  .sidebar {
    border-top: 1px solid var(--border);
    background: var(--paper) !important;
  }
}

/* ============================================================
   iOS/Android SAFE AREA — Video + Lesson info
   ============================================================ */
.main-content {
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}
@media (max-width: 768px) {
  .video-container {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .video-player-wrap {
    border-radius: 12px 12px 8px 8px;
  }
  .lesson-info-panel {
    margin-top: 1rem;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid var(--border);
  }
  .lesson-title {
    font-size: 1.25rem;
    line-height: 1.25;
    color: var(--ink);
  }
  .lesson-meta-row {
    margin-top: 0.4rem;
    gap: 0.5rem;
  }
  .lesson-nav {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    padding-bottom: env(safe-area-inset-bottom, 16px);
  }
  .btn-nav {
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
  }
}
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .main-content {
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 16px));
  }
}

/* ============================================================
   LESSON INFO PANEL — Fondo visible, texto legible siempre
   ============================================================ */
.lesson-info-panel {
  margin-top: 1rem;
  background: var(--paper);
  border-radius: 0 0 12px 12px;
  padding: 1.25rem 1.5rem 1.5rem;
  border: 1px solid var(--border);
  border-top: none;
}
.video-player-wrap {
  border-radius: 12px 12px 0 0 !important;
}
.lesson-title {
  color: var(--ink) !important;
  font-size: 1.5rem;
}
.lesson-tag {
  background: rgba(255,85,0,0.06);
  border-color: var(--border);
  color: var(--ink-soft);
}
.lesson-tag.jade {
  background: rgba(255,85,0,0.12);
  border-color: rgba(255,85,0,0.25);
  color: #FF5500;
}
.lesson-desc {
  color: var(--ink-mid);
}
.lesson-nav {
  background: transparent;
  border-top-color: var(--border);
}
@media (max-width: 768px) {
  .lesson-info-panel {
    padding: 1rem 1rem 1.25rem;
    border-radius: 0 0 10px 10px;
  }
  .video-player-wrap {
    border-radius: 10px 10px 0 0 !important;
  }
  .lesson-title {
    font-size: 1.15rem !important;
  }
}

/* ============================================================
   LESSON COMMENTS — Continúa el panel del video hacia abajo
   ============================================================ */
.lesson-comments-section {
  margin-top: 0 !important;
  padding: 1.5rem 1.5rem 2rem !important;
  border-top: 1px solid var(--border) !important;
  background: var(--paper);
  border-radius: 0 0 12px 12px;
}
.lesson-info-panel {
  border-radius: 0 !important;
}
.video-player-wrap {
  border-radius: 12px 12px 0 0 !important;
}
.lc-title {
  color: var(--ink) !important;
}
.lc-header {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
@media (max-width: 768px) {
  .lesson-comments-section {
    padding: 1.25rem 1rem 1.5rem !important;
    border-radius: 0 0 10px 10px;
  }
}

/* ============================================================
   PANEL VIDEO — Colores claros (lecciones + comentarios)
   ============================================================ */
:root {
  --panel-cream-bg:   var(--paper);
  --panel-cream-mid:  var(--pastel-white);
  --panel-cream-border: var(--border);
  --panel-ink:        var(--ink);
  --panel-ink-mid:    var(--ink-mid);
  --panel-ink-soft:   var(--ink-soft);
}
.lesson-info-panel {
  background: var(--panel-cream-bg) !important;
  border-color: var(--panel-cream-border) !important;
}
.lesson-title {
  color: var(--panel-ink) !important;
}
.lesson-desc {
  color: var(--panel-ink-mid) !important;
}
.lesson-tag {
  background: rgba(255,85,0,0.06) !important;
  border-color: var(--panel-cream-border) !important;
  color: var(--panel-ink-mid) !important;
}
.lesson-tag.jade {
  background: rgba(255,85,0,0.12) !important;
  border-color: rgba(255,85,0,0.25) !important;
  color: #FF5500 !important;
}
.lesson-nav {
  border-top-color: var(--panel-cream-border) !important;
}
.btn-nav {
  border-color: var(--panel-cream-border) !important;
  color: var(--panel-ink-mid) !important;
  background: var(--panel-cream-mid) !important;
}
.btn-nav:hover {
  border-color: #FF5500 !important;
  color: #FF5500 !important;
  background: rgba(255,85,0,0.08) !important;
}
.btn-nav.primary {
  background: #FF5500 !important;
  border-color: #FF5500 !important;
  color: white !important;
}
.btn-nav.primary:hover {
  background: #CC4400 !important;
  border-color: #CC4400 !important;
}
.lesson-comments-section {
  background: var(--panel-cream-bg) !important;
  border-color: var(--panel-cream-border) !important;
}
.lc-title {
  color: var(--panel-ink) !important;
}
.lc-header {
  border-bottom-color: var(--panel-cream-border) !important;
}
.lc-avg-count {
  color: var(--panel-ink-soft) !important;
}
.lc-form {
  background: var(--panel-cream-mid) !important;
  border-color: var(--panel-cream-border) !important;
}
.lc-form-name {
  color: var(--panel-ink) !important;
}
.lc-form-label {
  color: var(--panel-ink-soft) !important;
}
.lc-textarea {
  background: var(--panel-cream-bg) !important;
  border-color: var(--panel-cream-border) !important;
  color: var(--panel-ink) !important;
}
.lc-textarea::placeholder {
  color: var(--panel-ink-soft) !important;
}
.lc-textarea:focus {
  border-color: #FF5500 !important;
}
.lc-card {
  background: var(--panel-cream-mid) !important;
  border-color: var(--panel-cream-border) !important;
}
.lc-card:hover {
  border-color: #FF5500 !important;
}
.lc-card-mine {
  background: var(--panel-cream-mid) !important;
  border-color: #FF5500 !important;
  box-shadow: 0 0 0 2px rgba(255,85,0,0.22) !important;
}
.lc-card-name {
  color: var(--panel-ink) !important;
}
.lc-card-date {
  color: var(--panel-ink-soft) !important;
}
.lc-card-text {
  color: var(--panel-ink-mid) !important;
}
.lc-empty {
  color: var(--panel-ink-soft) !important;
}
.lc-error {
  color: #b91c1c !important;
}

/* ============================================================
   LANDING REVIEWS — Fondo claro uniforme
   ============================================================ */
.section-reviews {
  background: var(--pastel-white-soft) !important;
}
.section-reviews .section-title {
  color: var(--ink) !important;
}
.section-reviews .section-eyebrow {
  color: #FF5500 !important;
}
.section-reviews .reviews-form-wrap,
.reviews-form-wrap {
  background: var(--paper) !important;
  border-color: var(--border) !important;
}
.section-reviews .reviews-login-prompt,
.reviews-login-prompt {
  background: var(--paper) !important;
  border-color: var(--border) !important;
}
.section-reviews .lc-form-name,
.section-reviews .lc-card-name,
.section-reviews .lc-card-text,
.section-reviews .lc-card-date,
.section-reviews .lc-avg-count,
.section-reviews .lc-empty {
  color: var(--ink-mid) !important;
}
.section-reviews .lc-card {
  background: var(--paper) !important;
  border-color: var(--border) !important;
}
.section-reviews .lc-card-mine {
  background: rgba(255,85,0,0.08) !important;
  border-color: #FF5500 !important;
}

/* ============================================================
   COURSE SELECTOR — Pantalla de selección de programas
   ============================================================ */
.course-selector {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  animation: fadeIn 0.5s ease;
}
.course-selector-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.course-selector-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FF5500;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.course-selector-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: #1A1A1A;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.course-selector-sub {
  font-size: 0.95rem;
  color: #4A4A4A;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .course-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.course-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--pastel-white-soft);
  border: 1.5px solid rgba(255,85,0,0.2);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,85,0,0.5);
  box-shadow: 0 12px 48px rgba(255,85,0,0.15);
}
.course-card:active {
  transform: translateY(-1px);
}
.course-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.course-card:hover .course-card-img {
  transform: scale(1.05);
}
.course-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.4) 40%,
    rgba(0,0,0,0.15) 70%,
    transparent 100%
  );
  z-index: 1;
}
.course-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 1.5rem 1.5rem;
  z-index: 2;
}
.course-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  background: rgba(255,85,0,0.2);
  border: 1px solid rgba(255,85,0,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF5500;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.course-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.course-card-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-top: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.course-card-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  z-index: 2;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}
.course-card:hover .course-card-arrow {
  opacity: 1;
  transform: translateX(0);
}
.course-card-count {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.course-card-locked {
  opacity: 0.85;
  border-color: rgba(255,85,0,0.15) !important;
}
.course-card-locked:hover {
  border-color: #FF5500 !important;
  box-shadow: 0 12px 48px rgba(255,85,0,0.1) !important;
}
.course-card-lock-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,85,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.course-card-locked-msg {
  font-size: 0.78rem;
  color: #FF5500;
  font-weight: 500;
  margin-top: 0.3rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.topbar-curso-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  background: rgba(255,85,0,0.12);
  border: 1px solid rgba(255,85,0,0.25);
  font-size: 0.72rem;
  font-weight: 600;
  color: #FF5500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
  cursor: default;
}
.topbar-materia-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  background: var(--pastel-white-soft);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
  cursor: default;
}
.btn-back-cursos {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--pastel-white-soft);
  border: 1px solid var(--border);
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-back-cursos:hover {
  color: #FF5500;
  border-color: rgba(255,85,0,0.35);
  background: rgba(255,85,0,0.08);
}
@media (max-width: 768px) {
  .btn-back-cursos {
    padding: 0.3rem 0.5rem;
    font-size: 0.68rem;
  }
  .topbar-curso-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    max-width: 80px;
  }
  .topbar-materia-badge {
    font-size: 0.62rem;
    padding: 0.2rem 0.4rem;
    max-width: 90px;
  }
}

.course-card-price-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 3;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}
.purchase-modal {
  background: #1a1f2e;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
}
.purchase-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.06);
  border: none;
  color: #999;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}
.purchase-close:hover { background: rgba(255,255,255,0.12); color: white; }
.purchase-header { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; }
.purchase-img {
  width: 120px;
  height: 90px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.purchase-info { flex: 1; min-width: 0; }
.purchase-info h2 { font-size: 1.2rem; color: white; margin: 0 0 0.35rem; }
.purchase-info p { font-size: 0.78rem; color: #999; margin: 0 0 1rem; line-height: 1.5; }
.purchase-price { display: flex; align-items: baseline; gap: 0.35rem; margin-bottom: 1rem; }
.purchase-price-value { font-size: 1.8rem; font-weight: 800; }
.purchase-price-label { font-size: 0.85rem; color: #777; }
.purchase-features { display: flex; flex-direction: column; gap: 0.4rem; }
.purchase-feature { font-size: 0.8rem; color: #bbb; }
.purchase-paypal { margin-top: 1.5rem; min-height: 50px; }
.purchase-loading { text-align: center; color: #777; padding: 1rem; font-size: 0.85rem; }
.purchase-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,31,46,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  z-index: 5;
  gap: 1rem;
}
.purchase-loading-overlay p { color: white; font-size: 0.95rem; margin: 0; }
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,85,0,0.2);
  border-top-color: #FF5500;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   RECETAS — Marketplace, Detail, Chef Profiles
   ============================================================ */
.recetas-page {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  animation: fadeIn 0.4s ease;
}
.recetas-header { text-align: center; margin-bottom: 2rem; }
.recetas-eyebrow { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: #FF5500; font-weight: 600; margin-bottom: 0.5rem; }
.recetas-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; }
.recetas-sub { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; max-width: 540px; margin: 0 auto; }

.recetas-tabs { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.receta-tab { padding: 0.5rem 1.1rem; border-radius: 50px; font-size: 0.82rem; font-weight: 500; border: 1.5px solid var(--border); color: var(--ink-soft); background: var(--paper); transition: all 0.2s; cursor: pointer; }
.receta-tab:hover { border-color: #FF5500; color: #FF5500; }
.receta-tab.active { background: #FF5500; color: white; border-color: #FF5500; }

.recetas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .recetas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .recetas-grid { grid-template-columns: 1fr; } }

.receta-card {
  border-radius: 16px; overflow: hidden; cursor: pointer;
  background: var(--paper); border: 1px solid var(--border);
  transition: all 0.3s ease; display: flex; flex-direction: column;
}
.receta-card:hover { transform: translateY(-3px); border-color: #FF5500; box-shadow: 0 8px 32px rgba(255,85,0,0.12); }
.receta-card-img-wrap { width: 100%; aspect-ratio: 16/10; overflow: hidden; position: relative; }
.receta-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.receta-card:hover .receta-card-img { transform: scale(1.05); }
.receta-card-overlay{position:absolute;bottom:0;left:0;right:0;padding:1.5rem 1rem 0.8rem;background:linear-gradient(transparent,rgba(0,0,0,0.75));pointer-events:none}
.receta-card-overlay .receta-card-title{color:#fff;margin:0;font-size:1.15rem;font-weight:600;font-family:'Inter',-apple-system,sans-serif;text-shadow:0 1px 4px rgba(0,0,0,0.3);line-height:1.25}
.receta-card-overlay .receta-card-chef-name{color:rgba(255,255,255,0.85);font-size:0.82rem;font-weight:400;margin-top:3px}
.receta-card-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.6rem; border-radius: 50px;
  background: rgba(255,85,0,0.2); backdrop-filter: blur(4px);
  font-size: 0.65rem; color: #FF5500; font-weight: 600; letter-spacing: 0.05em;
  border: 1px solid rgba(255,85,0,0.3);
}
.receta-card-price {
  position: absolute; top: 0.75rem; right: 0.75rem;
  padding: 0.25rem 0.6rem; border-radius: 20px;
  background: #FF5500; color: white; font-size: 0.85rem; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.receta-card-body { padding: 1rem 1.1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.receta-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; line-height: 1.3; }
.receta-card-desc { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.5; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.receta-card-meta { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border-soft); }
.receta-card-meta-item { display: flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; color: var(--ink-soft); }
.receta-card-chef { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.receta-card-chef-img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.receta-card-chef-name { font-size: 0.75rem; color: var(--ink-mid); font-weight: 500; }
.recetas-horizontal{display:flex;gap:1.25rem;overflow-x:auto;padding-bottom:0.5rem;-webkit-overflow-scrolling:touch;cursor:grab;user-select:none;-webkit-user-select:none;scroll-behavior:auto;justify-content:center}
@media(max-width:768px){.recetas-horizontal{justify-content:flex-start}}
.recetas-horizontal:active{cursor:grabbing}
.recetas-horizontal::-webkit-scrollbar{display:none}
.recetas-horizontal{scrollbar-width:none;-ms-overflow-style:none}
@media(max-width:480px){
  .recetas-horizontal{flex-direction:column;overflow-x:visible;overflow-y:visible;cursor:default}
  .recetas-horizontal .receta-card-h{flex:0 0 auto;min-width:0;width:100%}
}
.receta-card-h{min-width:300px;max-width:440px;flex-shrink:0}
.receta-card-h .receta-card-img-wrap{aspect-ratio:1/1}
.receta-card-h .receta-card-img{object-fit:cover;object-position:top center;background:#0d1117}
.receta-card-h:hover .receta-card-img{transform:none}
.receta-card-rating { display: flex; align-items: center; gap: 0.2rem; }
.receta-card-rating svg { width: 14px; height: 14px; }

/* Recipe Detail */
.receta-detail {
  width: 100%; animation: fadeIn 0.4s ease; background: var(--pastel-white);
}
.receta-detail-back {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 1rem; border-radius: 50px;
  font-size: 0.82rem; font-weight: 500; color: var(--ink-soft);
  border: 1px solid var(--border); transition: all 0.2s; background: var(--paper);
}
.receta-detail-back:hover { border-color: #FF5500; color: #FF5500; }

/* Ingredientes y pasos */
.receta-detail-sections { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1rem; }
.receta-section-card {
  background: var(--paper); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
}
.receta-section-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600;
  color: var(--ink); padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border-soft);
}
.receta-section-body { padding: 1rem 1.5rem; }
.receta-ingredientes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
@media (max-width: 500px) { .receta-ingredientes { grid-template-columns: 1fr; } }
.receta-ingrediente {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem; border-radius: var(--radius);
  background: var(--pastel-white-soft); font-size: 0.85rem; color: var(--ink-mid);
}
.receta-ingrediente::before { content: '•'; color: #FF5500; font-weight: 700; }
.receta-paso {
  display: flex; gap: 0.75rem; padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.receta-paso:last-child { border-bottom: none; }
.receta-paso-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: #FF5500; color: white; display: flex;
  align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.receta-paso-text { font-size: 0.88rem; color: var(--ink-mid); line-height: 1.6; flex: 1; }
.receta-paso-img { width: 80px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }

/* Valoraciones */
.receta-valoraciones { margin-top: 1.5rem; }
.receta-valoraciones-stats { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.receta-valoraciones-avg { font-size: 2.5rem; font-weight: 800; color: #FF5500; line-height: 1; }
.receta-valoraciones-stars { display: flex; gap: 2px; }
.receta-valoraciones-stars svg { width: 22px; height: 22px; }
.receta-valoracion-card { padding: 1rem 0; border-bottom: 1px solid var(--border-soft); }
.receta-valoracion-card:last-child { border-bottom: none; }
.receta-valoracion-user { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.receta-valoracion-user-img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.receta-valoracion-user-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.receta-valoracion-user-date { font-size: 0.7rem; color: var(--ink-soft); }
.receta-valoracion-stars { display: flex; gap: 1px; }
.receta-valoracion-stars svg { width: 14px; height: 14px; }
.receta-valoracion-coment { font-size: 0.85rem; color: var(--ink-mid); line-height: 1.5; margin-top: 0.3rem; }

/* Chef Profile */
.chef-profile {
  max-width: 1000px; width: 100%; margin: 0 auto;
  padding: 2rem 1.5rem; animation: fadeIn 0.4s ease;
}
.chef-profile-header {
  display: flex; gap: 2rem; align-items: center;
  background: var(--paper); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 600px) { .chef-profile-header { flex-direction: column; text-align: center; } }
.chef-profile-img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; object-position: center top; border: 4px solid var(--mclaren-soft); flex-shrink: 0; }
.chef-profile-name { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; color: var(--ink); }
.chef-profile-esp { font-size: 0.85rem; color: #FF5500; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.5rem; }
.chef-profile-bio { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7; }
.chef-profile-recetas-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--ink); margin-bottom: 1rem; }

/* Subscription Modal */
.sub-modal {
  background: #1a1f2e; border-radius: 20px;
  max-width: 480px; width: 100%; max-height: 90vh;
  overflow-y: auto; padding: 2rem; position: relative;
  border: 1px solid rgba(255,255,255,0.08);
}
.sub-modal h2 { font-size: 1.3rem; color: white; text-align: center; margin-bottom: 0.5rem; }
.sub-modal p.sub-modal-desc { font-size: 0.85rem; color: #999; text-align: center; margin-bottom: 1.5rem; line-height: 1.5; }
.sub-plan {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1.25rem; border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: all 0.2s; margin-bottom: 0.75rem;
}
.sub-plan:hover { border-color: #FF5500; background: rgba(255,85,0,0.06); }
.sub-plan.selected { border-color: #FF5500; background: rgba(255,85,0,0.1); }
.sub-plan-name { font-size: 1rem; font-weight: 600; color: white; }
.sub-plan-price { font-size: 1.6rem; font-weight: 800; color: #FF5500; }
.sub-plan-price span { font-size: 0.85rem; font-weight: 400; color: #999; }
.sub-plan-features { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.5rem; }
.sub-plan-feature { font-size: 0.8rem; color: #bbb; display: flex; align-items: center; gap: 0.35rem; }

/* ─── Scoolinary-style RecetaDetail ───────────────────────── */
.receta-detail-sidebar {
  width: 280px; flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: var(--paper);
  overflow-y: auto;
  padding: 0.75rem 0;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.receta-detail-sidebar::-webkit-scrollbar { width: 4px; }
.receta-detail-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
.receta-detail-main {
  flex: 1; overflow-y: auto;
  padding: 1.5rem 2rem;
  background: var(--pastel-white);
}
.receta-detail-main::-webkit-scrollbar { width: 4px; }
.receta-detail-main::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
.video-player-wrap {
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 1.25rem; background: #000;
  aspect-ratio: 16/9;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}
.video-player-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: #FF5500;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 20px rgba(255,85,0,0.4);
  transition: transform 0.2s;
  cursor: pointer;
}
.video-player-btn:hover { transform: scale(1.08); }
.video-player-btn svg { width: 28px; height: 28px; fill: white; }
.video-close-btn {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.6); color: white;
  border: none; font-size: 1.1rem;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  z-index: 5;
  transition: background 0.15s;
}
.video-close-btn:hover { background: rgba(0,0,0,0.8); }
.sidebar-section {
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-soft);
  padding: 0.5rem 1rem 0.75rem; font-weight: 700;
}
.sidebar-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; cursor: pointer;
  font-size: 0.82rem; color: var(--ink);
  transition: all 0.15s;
  border-left: 3px solid transparent;
}
.sidebar-item:hover { background: rgba(255,85,0,0.04); }
.sidebar-item.active { background: rgba(255,85,0,0.06); border-left-color: #FF5500; font-weight: 600; }
.sidebar-item.locked { cursor: not-allowed; opacity: 0.45; }
.sidebar-item .free-badge {
  font-size: 0.65rem; color: #FF5500; font-weight: 600;
  background: rgba(255,85,0,0.1);
  padding: 0.1rem 0.4rem; border-radius: 4px;
}
.sidebar-subitem {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 2.5rem;
  cursor: pointer; font-size: 0.8rem; color: var(--ink-mid);
  transition: all 0.1s;
}
.sidebar-subitem:hover { background: rgba(255,85,0,0.03); }
.sidebar-subitem.active { background: rgba(255,85,0,0.04); border-left: 3px solid #FF5500; }
.sidebar-subitem-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-soft); flex-shrink: 0;
}
.receta-detail-topbar {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
.receta-detail-chef-section {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.receta-detail-chef-img {
  width: 70px; height: 70px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FF5500;
  flex-shrink: 0;
}
.receta-detail-chef-name {
  font-weight: 700; font-size: 1rem; color: var(--ink);
}
.receta-detail-chef-especialidad {
  font-size: 0.8rem; color: #FF5500; font-weight: 600;
  margin-bottom: 0.5rem;
}
.receta-detail-chef-bio {
  font-size: 0.85rem; color: var(--ink-mid);
  line-height: 1.6;
}
.content-card {
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.content-card-icon { font-size: 1.3rem; flex-shrink: 0; }
.content-card-title { font-weight: 600; font-size: 0.88rem; color: var(--ink); margin-bottom: 0.2rem; }
.content-card-desc { font-size: 0.82rem; color: var(--ink-mid); line-height: 1.5; margin: 0; }
.more-recipes-section {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  background: var(--pastel-white-soft);
}
.more-recipes-title {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 1.25rem; color: var(--ink);
}
.more-recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

/* ============================================================
   CUESTIONARIO / TEST — Questionario UI
   ============================================================ */
.test-viewer {
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
}
.test-viewer h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.25rem;
}
.test-viewer .question-card {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
}
.test-viewer .option-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1.5px solid #e8e8e8;
  cursor: pointer;
  transition: all 0.15s;
}
.test-viewer .option-label:hover {
  border-color: #FF5500;
  background: #fff5f2;
}
.test-viewer .option-label.selected {
  background: #fff5f2;
  border-color: #FF5500;
}
.test-viewer .option-label input[type="radio"] {
  accent-color: #FF5500;
}
.test-viewer .result-box {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}
.test-viewer .result-box.passed {
  background: #edfff4;
  border: 2px solid #22c55e;
}
.test-viewer .result-box.failed {
  background: #fff0ee;
  border: 2px solid #ef4444;
}
.test-viewer .result-score {
  font-size: 3rem;
  font-weight: 800;
  margin: 0.5rem 0;
}
.test-viewer .result-score.passed { color: #22c55e; }
.test-viewer .result-score.failed { color: #ef4444; }
.test-viewer .btn-submit {
  background: #FF5500;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 36px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
  display: block;
  margin: 0 auto;
}
.test-viewer .btn-submit:hover {
  background: #CC4400;
}
.test-viewer .badge-cuestionario {
  font-size: 9px;
  font-weight: 600;
  color: #888;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1px 6px;
  flex-shrink: 0;
}

/* ============================================================
   NOTIFICATION BELL
   ============================================================ */
.lc-bell-btn {
  position: relative;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.lc-bell-btn:hover {
  background: rgba(255,85,0,0.2);
  color: #FF5500;
}
.lc-bell-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  border-radius: 10px;
  background: #FF5500;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(255,85,0,0.4);
  pointer-events: none;
}
.lc-bell-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  max-height: 360px;
  overflow-y: auto;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 1000;
}
.lc-bell-empty {
  padding: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}
.lc-bell-item {
  padding: 0.85rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}
.lc-bell-item:last-child { border-bottom: none; }
.lc-bell-item:hover { background: rgba(255,85,0,0.08); }
.lc-bell-item.unread { background: rgba(255,85,0,0.06); }
.lc-bell-item.unread .lc-bell-item-text::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5500;
  margin-right: 6px;
  flex-shrink: 0;
}
.lc-bell-item-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
}
.lc-bell-item-time {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
  padding-left: 14px;
}

/* Dark nav variant — for RecetasFullPage and CursosFullPage */
.landing-nav .lc-bell-btn {
  background: rgba(0,0,0,0.05);
  color: #555;
}
.landing-nav .lc-bell-btn:hover {
  background: rgba(255,85,0,0.08);
  color: #FF5500;
}
.landing-nav .lc-bell-dropdown {
  background: white;
  border-color: #e0e0e0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.landing-nav .lc-bell-empty {
  color: rgba(0,0,0,0.3);
}
.landing-nav .lc-bell-item {
  border-bottom-color: rgba(0,0,0,0.06);
}
.landing-nav .lc-bell-item:hover {
  background: rgba(255,85,0,0.04);
}
.landing-nav .lc-bell-item.unread {
  background: rgba(255,85,0,0.04);
}
.landing-nav .lc-bell-item-text {
  color: rgba(0,0,0,0.85);
}
.landing-nav .lc-bell-item-time {
  color: rgba(0,0,0,0.3);
}


/* ============================================================
   CURSO - VIDEO PLAYER RESPONSIVE MÓVIL
   ============================================================ */
@media (max-width: 768px) {
  /* El área del video sin márgenes laterales grandes */
  .curso-video-wrapper {
    margin: 12px 0 !important;
    border-radius: 0 !important;
  }

  /* Quitar márgenes del contenido principal en móvil */
  .curso-main-content {
    padding: 0 !important;
  }
}

/* Clases helper que vamos a inyectar via JS */
.curso-video-box {
  margin: 20px 32px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16/9;
  position: relative;
  flex-shrink: 0;
}
.curso-below-video {
  margin: 0 32px;
  text-align: center;
}
.curso-comments-wrap {
  margin: 20px 32px;
}

@media (max-width: 600px) {
  .curso-video-box {
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .curso-below-video {
    margin: 8px 12px !important;
  }
  .curso-comments-wrap {
    margin: 12px 12px !important;
  }
  /* El contenedor principal del curso en columna */
  .curso-layout-main {
    flex-direction: column !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  /* El video ocupa todo el ancho */
  .curso-content-area {
    overflow-y: visible !important;
    overflow-x: hidden !important;
    flex: none !important;
  }
}
