:root{
  --navy:#0D1B2A;--navy-mid:#1A3260;--navy-light:#243D72;
  --gold:#C9952A;--gold-light:#E8B84B;--gold-pale:#FFF8EC;
  --teal:#1A7A6E;--teal-light:#22A99A;
  --cream:#F5F2EC;--cream-dark:#E8E3D8;
  --white:#FFFFFF;--text:#1A1A2E;--muted:#6B7280;--border:#D4CEBC;
  --red:#B83232;
  --shadow:0 4px 32px rgba(13,27,42,.10);
  --shadow-lg:0 16px 64px rgba(13,27,42,.18);
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Inter',sans-serif;background:var(--white);color:var(--text);overflow-x:hidden;}

/* ── NAV ── */
.nav{position:fixed;top:0;left:0;right:0;z-index:200;background:rgba(13,27,42,.97);backdrop-filter:blur(16px);border-bottom:1px solid rgba(201,149,42,.2);height:68px;display:flex;align-items:center;padding:0 3rem;}
.nav-inner{width:100%;max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;}
.nav-brand{display:flex;align-items:center;gap:.8rem;cursor:pointer;}
.nav-logo{width:38px;height:38px;background:var(--gold);border-radius:6px;display:flex;align-items:center;justify-content:center;font-family:'Playfair Display',serif;font-size:1.2rem;font-weight:700;color:var(--navy);}
.nav-wordmark{font-family:'Cormorant Garamond',serif;font-size:1.25rem;font-weight:600;color:var(--white);letter-spacing:.03em;}
.nav-wordmark span{color:var(--gold-light);}
.nav-links{display:flex;align-items:center;gap:.25rem;}
.nav-link{padding:.45rem .85rem;font-size:.8rem;font-weight:500;color:rgba(255,255,255,.55);cursor:pointer;border-radius:6px;transition:all .15s;border:none;background:none;font-family:'Inter',sans-serif;white-space:nowrap;}
.nav-link:hover{color:var(--white);background:rgba(255,255,255,.06);}
.nav-link.active{color:var(--gold-light);}
.nav-ctas{display:flex;align-items:center;gap:.75rem;}
.btn-nav-ghost{background:transparent;border:1px solid rgba(201,149,42,.45);color:var(--gold-light);border-radius:7px;padding:.5rem 1rem;font-size:.78rem;font-weight:600;cursor:pointer;font-family:'Inter',sans-serif;transition:all .15s;}
.btn-nav-ghost:hover{background:rgba(201,149,42,.1);}
.btn-nav-solid{background:var(--gold);color:var(--navy);border:none;border-radius:7px;padding:.5rem 1.1rem;font-size:.78rem;font-weight:700;cursor:pointer;font-family:'Inter',sans-serif;transition:background .15s;}
.btn-nav-solid:hover{background:var(--gold-light);}

/* ── PAGES ── */
.page{display:none;min-height:100vh;padding-top:68px;}
.page.active{display:block;}

/* ══════════════════════════════════════
   HOME PAGE
══════════════════════════════════════ */

/* HERO */
.home-hero{min-height:calc(100vh - 68px);background:var(--navy);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;position:relative;overflow:hidden;}
.home-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 30% 60%,rgba(26,122,110,.12) 0%,transparent 55%),radial-gradient(ellipse at 70% 20%,rgba(201,149,42,.1) 0%,transparent 50%);}
.home-hero::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 120px,rgba(255,255,255,.012) 120px,rgba(255,255,255,.012) 121px);}
.hero-inner{position:relative;z-index:1;max-width:820px;}
.hero-kicker{display:inline-flex;align-items:center;gap:.5rem;background:rgba(201,149,42,.08);border:1px solid rgba(201,149,42,.25);color:var(--gold-light);font-size:.68rem;font-weight:500;letter-spacing:.15em;text-transform:uppercase;padding:.45rem 1.1rem;border-radius:20px;margin-bottom:2rem;}
.kicker-dot{width:5px;height:5px;border-radius:50%;background:var(--teal-light);animation:blink 2s ease-in-out infinite;}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}
.hero-h1{font-family:'Cormorant Garamond',serif;font-size:clamp(3rem,8vw,5.5rem);font-weight:700;font-style:italic;line-height:1.05;letter-spacing:-.01em;color:var(--white);margin-bottom:1.5rem;}
.hero-h1 .accent{color:var(--gold-light);font-style:normal;}
.hero-h1 .dim{color:rgba(255,255,255,.45);font-weight:400;font-style:normal;}
.hero-body{font-size:1rem;color:rgba(255,255,255,.68);line-height:1.8;max-width:560px;margin:0 auto 2.5rem;letter-spacing:.01em;}
.hero-ctas{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:3.5rem;}
.btn-hero-primary{background:linear-gradient(135deg,var(--gold),var(--gold-light));color:var(--navy);border:none;border-radius:6px;padding:1rem 2rem;font-size:.88rem;font-weight:700;cursor:pointer;font-family:'Inter',sans-serif;letter-spacing:.03em;box-shadow:0 4px 24px rgba(201,149,42,.25);transition:transform .15s,box-shadow .15s;}
.btn-hero-primary:hover{transform:translateY(-2px);box-shadow:0 8px 36px rgba(201,149,42,.4);}
.btn-hero-secondary{background:transparent;border:1px solid rgba(255,255,255,.25);color:rgba(255,255,255,.75);border-radius:6px;padding:1rem 1.75rem;font-size:.88rem;font-weight:500;cursor:pointer;font-family:'Inter',sans-serif;letter-spacing:.02em;transition:all .15s;}
.btn-hero-secondary:hover{border-color:rgba(255,255,255,.5);color:var(--white);}
.hero-stats{display:flex;gap:3rem;justify-content:center;flex-wrap:wrap;}
.hstat{text-align:center;}
.hstat-num{font-family:'Cormorant Garamond',serif;font-size:2.6rem;font-weight:600;color:var(--gold-light);line-height:1;}
.hstat-label{font-size:.7rem;color:rgba(255,255,255,.4);margin-top:.3rem;letter-spacing:.04em;}

/* SERVICES STRIP */
.services-strip{background:var(--cream);border-bottom:1px solid var(--border);padding:1.75rem 2rem;}
.services-strip-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:3rem;flex-wrap:wrap;}
.ss-item{display:flex;align-items:center;gap:.6rem;cursor:pointer;transition:opacity .15s;}
.ss-item:hover{opacity:.7;}
.ss-icon{font-size:1.1rem;}
.ss-label{font-size:.82rem;font-weight:600;color:var(--navy);}

/* NEED SECTION */
.need-section{padding:7rem 2rem;background:var(--white);}
.need-inner{max-width:1100px;margin:0 auto;}
.need-top{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center;margin-bottom:5rem;}
.need-copy .eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--gold);margin-bottom:.75rem;}
.need-copy h2{font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,4vw,3rem);font-weight:600;color:var(--navy);line-height:1.1;margin-bottom:1.1rem;}
.need-copy h2 em{font-style:italic;color:var(--teal);}
.need-copy p{font-size:.92rem;color:var(--muted);line-height:1.75;margin-bottom:.9rem;}
.need-data{display:flex;flex-direction:column;gap:1rem;}
.nd-item{background:var(--cream);border-left:4px solid var(--gold);border-radius:0 10px 10px 0;padding:1.1rem 1.25rem;}
.nd-num{font-family:'Cormorant Garamond',serif;font-size:2.4rem;font-weight:600;color:var(--navy);line-height:1;}
.nd-label{font-size:.8rem;color:var(--muted);margin-top:.2rem;line-height:1.4;}
.nd-source{font-size:.65rem;color:var(--cream-dark);margin-top:.3rem;font-style:italic;}
.pain-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.pain-card{background:var(--navy);border-radius:12px;padding:1.5rem;position:relative;overflow:hidden;}
.pain-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--gold),var(--gold-light));}
.pc-num{font-family:'Cormorant Garamond',serif;font-size:3rem;font-weight:700;color:rgba(201,149,42,.2);line-height:1;margin-bottom:.4rem;font-style:italic;}
.pc-title{font-size:.92rem;font-weight:700;color:var(--white);margin-bottom:.5rem;line-height:1.3;}
.pc-desc{font-size:.78rem;color:rgba(255,255,255,.5);line-height:1.6;}

/* WHY ARAGESVI */
.why-section{padding:7rem 2rem;background:var(--cream);}
.why-inner{max-width:1100px;margin:0 auto;}
.why-header{text-align:center;margin-bottom:4rem;}
.why-header .eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--gold);margin-bottom:.6rem;}
.why-header h2{font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,4vw,2.8rem);font-weight:600;color:var(--navy);}
.why-header p{font-size:.9rem;color:var(--muted);margin-top:.6rem;max-width:520px;margin-left:auto;margin-right:auto;line-height:1.7;}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.why-card{background:var(--white);border:1px solid var(--border);border-radius:14px;padding:1.75rem;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s;}
.why-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);}
.wc-icon{width:48px;height:48px;background:var(--navy);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;margin-bottom:1rem;}
.wc-title{font-size:.95rem;font-weight:700;color:var(--navy);margin-bottom:.5rem;letter-spacing:.01em;}
.wc-desc{font-size:.8rem;color:var(--muted);line-height:1.65;}
.wc-highlight{font-weight:700;color:var(--navy);}

/* SERVICES SECTION */
.services-section{padding:7rem 2rem;background:var(--white);}
.services-inner{max-width:1100px;margin:0 auto;}
.services-header{text-align:center;margin-bottom:4rem;}
.services-header .eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--gold);margin-bottom:.6rem;}
.services-header h2{font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,4vw,2.8rem);font-weight:600;color:var(--navy);}
.services-grid{display:flex;flex-direction:column;gap:1.5rem;}
.service-row{background:var(--white);border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:var(--shadow);display:grid;grid-template-columns:300px 1fr;transition:box-shadow .2s;}
.service-row:hover{box-shadow:var(--shadow-lg);}
.sr-left{padding:2rem;display:flex;flex-direction:column;justify-content:space-between;}
.sr-left.navy{background:var(--navy);}
.sr-left.teal{background:var(--teal);}
.sr-left.gold{background:linear-gradient(135deg,#8B6914,var(--gold));}
.sr-tag{font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.5);margin-bottom:.5rem;}
.sr-title{font-family:'Cormorant Garamond',serif;font-size:1.5rem;font-weight:600;color:var(--white);line-height:1.2;margin-bottom:.75rem;}
.sr-price{font-family:'Cormorant Garamond',serif;font-size:2rem;font-weight:600;color:var(--gold-light);line-height:1;}
.sr-price-sub{font-size:.72rem;color:rgba(255,255,255,.45);margin-top:.2rem;}
.sr-right{padding:2rem 2.5rem;display:flex;flex-direction:column;justify-content:space-between;}
.sr-desc{font-size:.88rem;color:var(--muted);line-height:1.72;margin-bottom:1.25rem;}
.sr-features{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:1.5rem;}
.sr-features li{font-size:.78rem;color:var(--text);display:flex;gap:.4rem;align-items:flex-start;}
.sr-features li::before{content:'✓';color:var(--teal);font-weight:700;flex-shrink:0;}
.btn-service{display:inline-flex;align-items:center;gap:.4rem;background:var(--navy);color:var(--white);border:none;border-radius:8px;padding:.65rem 1.25rem;font-size:.82rem;font-weight:600;cursor:pointer;font-family:'Inter',sans-serif;transition:background .15s;align-self:flex-start;}
.btn-service:hover{background:var(--navy-mid);}
.btn-service.gold{background:var(--gold);color:var(--navy);}
.btn-service.gold:hover{background:var(--gold-light);}

/* ABOUT SECTION */
.about-section{padding:7rem 2rem;background:var(--navy);}
.about-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center;}
.about-copy .eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--gold-light);margin-bottom:.75rem;}
.about-copy h2{font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,4vw,3rem);font-weight:600;color:var(--white);line-height:1.1;margin-bottom:1.1rem;}
.about-copy h2 em{font-style:italic;color:var(--gold-light);}
.about-copy p{font-size:.9rem;color:rgba(255,255,255,.62);line-height:1.75;margin-bottom:.9rem;}
.about-credentials{display:flex;flex-direction:column;gap:1rem;}
.ac-item{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:1.1rem 1.25rem;display:flex;gap:1rem;align-items:center;}
.ac-icon{font-size:1.4rem;flex-shrink:0;}
.ac-text{font-size:.82rem;color:rgba(255,255,255,.75);line-height:1.5;}
.ac-text strong{color:var(--white);display:block;margin-bottom:.15rem;}

/* CONTACT SECTION */
.contact-section{padding:6rem 2rem;background:var(--cream);}
.contact-inner{max-width:800px;margin:0 auto;text-align:center;}
.contact-inner .eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--gold);margin-bottom:.75rem;}
.contact-inner h2{font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,4vw,2.8rem);font-weight:600;color:var(--navy);margin-bottom:.75rem;}
.contact-inner p{font-size:.9rem;color:var(--muted);line-height:1.7;margin-bottom:2rem;max-width:520px;margin-left:auto;margin-right:auto;}
.contact-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:1rem;margin-bottom:2rem;}
.contact-card{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:1.5rem;text-align:center;box-shadow:var(--shadow);}
.cc-icon{font-size:1.5rem;margin-bottom:.5rem;}
.cc-title{font-size:.82rem;font-weight:700;color:var(--navy);margin-bottom:.3rem;}
.cc-value{font-size:.78rem;color:var(--muted);}

/* ══════════════════════════════════════
   FORMACIÓN PAGE
══════════════════════════════════════ */
.formacion-hero{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-mid) 100%);padding:5rem 2rem 4rem;color:var(--white);}
.fh-inner{max-width:1100px;margin:0 auto;}
.fh-eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--gold-light);margin-bottom:.75rem;}
.fh-h1{font-family:'Cormorant Garamond',serif;font-size:clamp(2.2rem,5vw,3.4rem);font-weight:600;line-height:1.1;margin-bottom:.75rem;}
.fh-h1 em{font-style:italic;color:var(--gold-light);}
.fh-sub{font-size:.95rem;color:rgba(255,255,255,.65);line-height:1.7;max-width:580px;margin-bottom:2rem;}
.fh-options{display:flex;gap:1rem;flex-wrap:wrap;}
.fh-opt{flex:1;min-width:220px;background:rgba(255,255,255,.06);border:2px solid rgba(255,255,255,.12);border-radius:12px;padding:1.25rem;cursor:pointer;transition:all .2s;}
.fh-opt:hover{border-color:rgba(201,149,42,.5);background:rgba(201,149,42,.08);}
.fh-opt.selected{border-color:var(--gold);background:rgba(201,149,42,.1);}
.fho-icon{font-size:1.5rem;margin-bottom:.5rem;}
.fho-title{font-size:.92rem;font-weight:700;color:var(--white);margin-bottom:.25rem;}
.fho-price{font-family:'Playfair Display',serif;font-size:1.4rem;font-weight:700;color:var(--gold-light);margin-bottom:.2rem;}
.fho-desc{font-size:.75rem;color:rgba(255,255,255,.5);}

.formacion-content{padding:4rem 2rem;}
.fc-inner{max-width:1100px;margin:0 auto;}

/* ONLINE SECTION */
.online-section{margin-bottom:4rem;}
.online-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem;flex-wrap:wrap;gap:1rem;}
.oh-copy h2{font-family:'Playfair Display',serif;font-size:1.6rem;font-weight:700;color:var(--navy);}
.oh-copy p{font-size:.85rem;color:var(--muted);margin-top:.3rem;}
.oh-price{text-align:right;}
.oh-price-num{font-family:'Cormorant Garamond',serif;font-size:2.6rem;font-weight:600;color:var(--navy);}
.oh-price-old{font-size:.85rem;color:var(--muted);text-decoration:line-through;}
.oh-price-sub{font-size:.72rem;color:var(--muted);}

.modules-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;margin-bottom:2rem;}
.module-card{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:1.25rem;box-shadow:var(--shadow);cursor:pointer;transition:all .2s;position:relative;overflow:hidden;}
.module-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;}
.module-card.m1::before{background:var(--teal);}
.module-card.m2::before{background:var(--gold);}
.module-card.m3::before{background:var(--navy);}
.module-card.m4::before{background:var(--teal-light);}
.module-card.m5::before{background:var(--red);}
.module-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);}
.mc-num{font-family:'Cormorant Garamond',serif;font-size:2.4rem;font-weight:700;color:var(--cream-dark);line-height:1;margin-bottom:.4rem;font-style:italic;}
.mc-title{font-size:.82rem;font-weight:700;color:var(--navy);line-height:1.3;margin-bottom:.4rem;}
.mc-meta{font-size:.7rem;color:var(--muted);}
.mc-badge{display:inline-block;font-size:.62rem;font-weight:700;padding:.2rem .5rem;border-radius:8px;margin-top:.5rem;text-transform:uppercase;letter-spacing:.04em;}
.mc-badge.new{background:rgba(26,122,110,.1);color:var(--teal);}
.mc-badge.masc{background:rgba(201,149,42,.12);color:var(--gold);}

/* PRESENCIAL SECTION */
.presencial-full{background:var(--cream);border-radius:16px;padding:2.5rem;margin-bottom:3rem;}
.pf-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:2rem;flex-wrap:wrap;gap:1.5rem;}
.pfh-copy h2{font-family:'Playfair Display',serif;font-size:1.5rem;font-weight:700;color:var(--navy);margin-bottom:.4rem;}
.pfh-copy p{font-size:.85rem;color:var(--muted);max-width:480px;line-height:1.65;}
.jornadas-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2rem;}
.jornada-card{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:1.5rem;}
.jc-num{font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-bottom:.4rem;}
.jc-title{font-size:.92rem;font-weight:700;color:var(--navy);margin-bottom:.35rem;}
.jc-hours{font-size:.75rem;color:var(--muted);margin-bottom:.75rem;display:flex;align-items:center;gap:.3rem;}
.jc-list{list-style:none;display:flex;flex-direction:column;gap:.4rem;}
.jc-list li{font-size:.78rem;color:var(--text);display:flex;gap:.4rem;}
.jc-list li::before{content:'→';color:var(--teal);flex-shrink:0;}
.presencial-prices-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem;}
.ppr-card{background:var(--white);border:2px solid var(--border);border-radius:12px;padding:1.25rem;text-align:center;transition:border-color .15s;}
.ppr-card:hover,.ppr-card.featured{border-color:var(--gold);}
.ppr-size{font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-bottom:.25rem;}
.ppr-users{font-size:.75rem;color:var(--muted);margin-bottom:.6rem;}
.ppr-price{font-family:'Cormorant Garamond',serif;font-size:2.4rem;font-weight:600;color:var(--navy);line-height:1;}
.ppr-iva{font-size:.68rem;color:var(--muted);margin:.2rem 0 1rem;}
.btn-ppr{width:100%;background:var(--navy);color:var(--white);border:none;border-radius:7px;padding:.65rem;font-size:.78rem;font-weight:700;cursor:pointer;font-family:'Inter',sans-serif;}
.btn-ppr:hover{background:var(--navy-mid);}

/* ══════════════════════════════════════
   RECOVERY PAGE
══════════════════════════════════════ */
.recovery-hero{background:var(--navy);padding:5rem 2rem 4rem;color:var(--white);}
.rh-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;}
.rh-copy .eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--gold-light);margin-bottom:.75rem;}
.rh-copy h1{font-family:'Cormorant Garamond',serif;font-size:clamp(2.2rem,4vw,3.2rem);font-weight:600;color:var(--white);line-height:1.1;margin-bottom:.9rem;}
.rh-copy h1 em{font-style:italic;color:var(--gold-light);}
.rh-copy p{font-size:.9rem;color:rgba(255,255,255,.62);line-height:1.72;margin-bottom:1.25rem;}
.rh-stats{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.rhs{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:1rem;text-align:center;}
.rhs-num{font-family:'Cormorant Garamond',serif;font-size:2.2rem;font-weight:600;color:var(--gold-light);line-height:1;}
.rhs-label{font-size:.72rem;color:rgba(255,255,255,.45);margin-top:.25rem;line-height:1.3;}

/* CONSULTING */
.consulting-section{padding:5rem 2rem;background:var(--cream);}
.cs-inner{max-width:1100px;margin:0 auto;}
.cs-header{text-align:center;margin-bottom:3rem;}
.cs-header .eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--gold);margin-bottom:.6rem;}
.cs-header h2{font-family:'Playfair Display',serif;font-size:1.9rem;font-weight:700;color:var(--navy);}
.cs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.cs-card{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow);}
.csc-icon{font-size:1.6rem;margin-bottom:.75rem;}
.csc-title{font-size:.92rem;font-weight:700;color:var(--navy);margin-bottom:.4rem;}
.csc-desc{font-size:.8rem;color:var(--muted);line-height:1.6;}

/* FOOTER */
.footer{background:var(--navy);padding:3rem 2rem;border-top:1px solid rgba(201,149,42,.2);}
.footer-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;}
.footer-brand .logo-row{display:flex;align-items:center;gap:.65rem;margin-bottom:.75rem;}
.footer-brand p{font-size:.78rem;color:rgba(255,255,255,.4);line-height:1.6;max-width:240px;}
.footer-col h4{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-light);margin-bottom:.85rem;}
.footer-col a{display:block;font-size:.78rem;color:rgba(255,255,255,.4);margin-bottom:.4rem;cursor:pointer;transition:color .15s;}
.footer-col a:hover{color:var(--white);}
.footer-bottom{max-width:1100px;margin:2rem auto 0;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.07);display:flex;justify-content:space-between;align-items:center;font-size:.72rem;color:rgba(255,255,255,.3);}

/* UTILS */
.eyebrow-divider{width:40px;height:3px;background:var(--gold);border-radius:2px;margin-bottom:.6rem;}

/* ══ PLATAFORMA CURSO ══ */
#curso-app { display:none; position:fixed; inset:0; z-index:200; overflow-y:auto; background:#F8F6F1; }

:root{
  --navy:#0F1F3D;--navy-mid:#1A3260;
  --gold:#C9952A;--gold-light:#E8B84B;
  --teal:#1A7A6E;--teal-light:#22A99A;
  --cream:#F8F6F1;--cream-dark:#EDE9E0;
  --white:#fff;--text:#1A1A2E;--muted:#6B7280;--border:#D8D3C8;
  --success:#2D7A4F;--error:#B42828;
  --shadow:0 4px 24px rgba(15,31,61,.08);
}
#curso-app *{box-sizing:border-box;margin:0;padding:0;}
#curso-app html{scroll-behavior:smooth;}
#curso-app body{font-family:'Inter',sans-serif;background:var(--white);color:var(--text);}

/* LAYOUT */
#curso-app .topbar{background:var(--navy);height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 1.5rem;border-bottom:2px solid var(--gold);position:sticky;top:0;z-index:100;}
#curso-app .topbar-brand{display:flex;align-items:center;gap:.6rem;}
#curso-app .topbar-logo{width:30px;height:30px;background:var(--gold);border-radius:4px;display:flex;align-items:center;justify-content:center;font-family:'Playfair Display',serif;font-size:.95rem;font-weight:700;color:var(--navy);}
#curso-app .topbar-name{font-family:'Playfair Display',serif;font-size:.9rem;font-weight:700;color:var(--white);}
#curso-app .topbar-name span{color:var(--gold-light);}
#curso-app .topbar-right{display:flex;align-items:center;gap:.75rem;}
#curso-app .topbar-badge{font-size:.65rem;font-weight:600;padding:.2rem .6rem;border-radius:10px;background:rgba(201,149,42,.15);color:var(--gold-light);border:1px solid rgba(201,149,42,.25);}
#curso-app .avatar{width:28px;height:28px;border-radius:50%;background:var(--teal);display:flex;align-items:center;justify-content:center;font-size:.65rem;font-weight:700;color:var(--white);}

#curso-app .layout{display:grid;grid-template-columns:280px 1fr;min-height:calc(100vh - 56px);}

/* SIDEBAR */
#curso-app .sidebar{background:var(--navy);border-right:1px solid rgba(255,255,255,.08);overflow-y:auto;position:sticky;top:56px;height:calc(100vh - 56px);}
#curso-app .sidebar-progress-header{padding:1.25rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.08);}
#curso-app .sidebar-progress-header h3{font-size:.75rem;font-weight:700;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.65rem;}
#curso-app .overall-progress{height:4px;background:rgba(255,255,255,.1);border-radius:2px;overflow:hidden;margin-bottom:.4rem;}
#curso-app .overall-progress-fill{height:100%;width:20%;background:linear-gradient(90deg,var(--teal),var(--gold));border-radius:2px;}
#curso-app .progress-label{font-size:.68rem;color:rgba(255,255,255,.35);}
#curso-app .sidebar-nav{padding:.5rem 0;}

/* MODULE ROWS */
#curso-app .module-row-wrap{display:flex;align-items:stretch;}
#curso-app .module-row-wrap .module-btn{flex:1;}
#curso-app .module-btn{width:100%;display:flex;align-items:flex-start;gap:.75rem;padding:.85rem 1.25rem;background:none;border:none;cursor:pointer;color:var(--white);text-align:left;transition:background .15s;}
#curso-app .module-btn:hover{background:rgba(255,255,255,.04);}
#curso-app .module-btn.active{background:rgba(201,149,42,.1);}
#curso-app .module-num{font-family:'Playfair Display',serif;font-size:.85rem;font-weight:700;color:rgba(201,149,42,.4);min-width:32px;line-height:1.4;flex-shrink:0;}
#curso-app .module-btn.active .module-num{color:var(--gold);}
#curso-app .module-info{flex:1;}
#curso-app .module-title{font-size:.78rem;font-weight:600;color:rgba(255,255,255,.7);line-height:1.35;margin-bottom:.15rem;}
#curso-app .module-btn.active .module-title{color:var(--white);}
#curso-app .module-meta{font-size:.65rem;color:rgba(255,255,255,.3);}
#curso-app .module-status{width:7px;height:7px;border-radius:50%;border:1.5px solid rgba(255,255,255,.2);margin-top:4px;flex-shrink:0;align-self:flex-start;}
#curso-app .active-dot{background:var(--gold);border-color:var(--gold);}
#curso-app .pdf-btn{background:rgba(201,149,42,.12);border:none;border-left:1px solid rgba(255,255,255,.06);color:var(--gold-light);font-size:.78rem;padding:.5rem .55rem;cursor:pointer;display:flex;align-items:center;justify-content:center;min-height:48px;flex-shrink:0;transition:background .15s;}
#curso-app .pdf-btn:hover{background:rgba(201,149,42,.25);}

/* LESSON LIST */
#curso-app .lesson-list{background:rgba(0,0,0,.2);border-left:2px solid rgba(201,149,42,.3);margin-left:1.25rem;margin-right:.5rem;border-radius:0 0 4px 4px;overflow:hidden;}
#curso-app .lesson-item{padding:.5rem .75rem;font-size:.68rem;color:rgba(255,255,255,.45);cursor:pointer;border-bottom:1px solid rgba(255,255,255,.04);display:flex;align-items:center;gap:.35rem;transition:all .15s;}
#curso-app .lesson-item:last-child{border-bottom:none;}
#curso-app .lesson-item:hover,.lesson-item.active-lesson{color:var(--gold-light);background:rgba(201,149,42,.06);}
#curso-app .lesson-item::before{content:'▶';font-size:.48rem;color:rgba(201,149,42,.4);flex-shrink:0;}
#curso-app .lesson-item.active-lesson::before{color:var(--gold);}

/* CONTENT AREA */
#curso-app .main{display:flex;flex-direction:column;}
#curso-app .content-area{padding:2rem 2.5rem;max-width:880px;}

/* PHILOSOPHY BANNER */
#curso-app .philosophy-banner{background:linear-gradient(135deg,var(--navy),var(--navy-mid));border-radius:12px;padding:1.25rem 1.5rem;margin-bottom:2rem;display:flex;gap:1rem;align-items:flex-start;border:1px solid rgba(201,149,42,.2);}
#curso-app .pb-icon{font-size:1.6rem;flex-shrink:0;}
#curso-app .pb-title{font-size:.88rem;font-weight:700;color:var(--white);margin-bottom:.3rem;}
#curso-app .pb-text{font-size:.78rem;color:rgba(255,255,255,.6);line-height:1.6;}

/* SECTION LABEL */
#curso-app .section-label{font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-bottom:.5rem;}

/* LESSON PANEL */
#curso-app .lesson-panel{background:var(--white);border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:1.5rem;box-shadow:var(--shadow);}
#curso-app .lesson-panel-header{background:var(--navy);padding:1rem 1.25rem;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;}
#curso-app .lph-left h2{font-family:'Playfair Display',serif;font-size:1.15rem;font-weight:700;color:var(--white);margin-bottom:.2rem;line-height:1.2;}
#curso-app .lph-left p{font-size:.72rem;color:rgba(255,255,255,.45);}
#curso-app .lph-tag{font-size:.65rem;font-weight:700;padding:.25rem .6rem;border-radius:8px;background:rgba(201,149,42,.15);color:var(--gold-light);border:1px solid rgba(201,149,42,.25);white-space:nowrap;flex-shrink:0;}

/* LESSON BODY */
#curso-app .lesson-body{padding:1.5rem 1.75rem;}
#curso-app h3{font-size:.95rem;font-weight:700;color:var(--navy);margin:1.25rem 0 .65rem;}
#curso-app h3:first-child{margin-top:0;}
#curso-app p{font-size:.85rem;color:var(--text);line-height:1.72;margin-bottom:.9rem;}

/* KEY CONCEPTS GRID */
#curso-app .key-concepts{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0;}
#curso-app .concept-card{background:var(--cream);border-radius:10px;padding:1rem;border:1px solid var(--border);}
#curso-app .concept-card-icon{font-size:1.3rem;margin-bottom:.4rem;}
#curso-app .concept-card-title{font-size:.82rem;font-weight:700;color:var(--navy);margin-bottom:.3rem;}
#curso-app .concept-card-desc{font-size:.76rem;color:var(--muted);line-height:1.55;}

/* NORMA BOX */
#curso-app .norma-box{background:rgba(201,149,42,.07);border:1px solid rgba(201,149,42,.2);border-radius:8px;padding:.85rem 1rem;margin:1rem 0;}
#curso-app .norma-box-label{font-size:.65rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);margin-bottom:.4rem;}
#curso-app .norma-box p{font-size:.82rem;color:var(--text);line-height:1.65;margin:0;}

/* DIALOGUE */
#curso-app .dialogue-box{background:var(--navy);border-radius:10px;padding:1rem 1.25rem;margin:1rem 0;}
#curso-app .dialogue-label{font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-light);margin-bottom:.6rem;}
#curso-app .dialogue-speaker{font-size:.63rem;font-weight:700;color:rgba(255,255,255,.4);margin-bottom:.15rem;margin-top:.5rem;}
#curso-app .dialogue-bubble{font-size:.8rem;color:rgba(255,255,255,.82);line-height:1.6;background:rgba(255,255,255,.06);border-radius:0 5px 5px 0;padding:.5rem .75rem;margin:.2rem 0;}
#curso-app .dialogue-bubble.emp{border-left:2px solid var(--teal-light);}
#curso-app .dialogue-bubble.cli{border-left:2px solid rgba(255,255,255,.2);}

/* LESSON ACTIONS */
#curso-app .lesson-actions{display:flex;gap:.65rem;margin-top:1.25rem;flex-wrap:wrap;}
#curso-app .btn-primary{background:var(--navy);color:var(--white);border:none;border-radius:7px;padding:.6rem 1.1rem;font-size:.78rem;font-weight:700;cursor:pointer;font-family:'Inter',sans-serif;}
#curso-app .btn-primary:hover{background:var(--navy-mid);}
#curso-app .btn-ghost{background:transparent;color:var(--navy);border:1.5px solid var(--border);border-radius:7px;padding:.6rem 1.1rem;font-size:.78rem;font-weight:600;cursor:pointer;font-family:'Inter',sans-serif;transition:all .15s;}
#curso-app .btn-ghost:hover{border-color:var(--navy);background:var(--cream);}

/* TEMARIO MODAL */
#curso-app .temario-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.75);z-index:500;overflow-y:auto;padding:1.5rem;}
#curso-app .temario-overlay.open{display:block;}
#curso-app .temario-modal{background:var(--cream);border-radius:14px;max-width:860px;margin:0 auto;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.4);}
#curso-app .temario-modal-header{background:var(--navy);padding:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10;border-bottom:2px solid var(--gold);}
#curso-app .tmh-title{font-family:'Playfair Display',serif;font-size:1rem;font-weight:700;color:var(--white);}
#curso-app .tmh-meta{font-size:.72rem;color:rgba(255,255,255,.45);margin-top:.1rem;}
#curso-app .tmh-actions{display:flex;gap:.5rem;align-items:center;}
#curso-app .btn-print-modal{background:var(--gold);color:var(--navy);border:none;border-radius:6px;padding:.4rem .85rem;font-size:.75rem;font-weight:700;cursor:pointer;font-family:'Inter',sans-serif;}
#curso-app .btn-close-modal{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:var(--white);border-radius:6px;padding:.35rem .7rem;font-size:.85rem;cursor:pointer;line-height:1;}
#curso-app .temario-modal-body{padding:1.5rem 2rem 2rem;}
#curso-app .temario-modal-body .module{margin-bottom:0;border-radius:0;box-shadow:none;border:none;}
#curso-app .temario-modal-body .module-body,.temario-modal-body .lesson-body{display:block!important;}
#curso-app .temario-modal-body .module-head{cursor:default;border-radius:0;}
#curso-app .temario-modal-body .mh-arrow,.temario-modal-body .lh-arr{display:none;}
#curso-app .temario-modal-body .lesson-head{cursor:default;border-bottom:1px solid var(--cream-dark);}
#curso-app .temario-modal-body .lesson.open .lesson-head{background:var(--cream);}
#curso-app .temario-modal-body .module-head{background:var(--navy);padding:1rem 1.25rem;}
#curso-app .temario-modal-body .mh-num{font-family:'Playfair Display',serif;font-size:1.8rem;font-weight:700;color:var(--gold);min-width:36px;}
#curso-app .temario-modal-body .mh-title{font-size:.95rem;font-weight:700;color:var(--white);}
#curso-app .temario-modal-body .mh-meta{font-size:.7rem;color:rgba(255,255,255,.45);}
#curso-app .temario-modal-body .lesson{border-bottom:1px solid var(--cream-dark);background:var(--white);}
#curso-app .temario-modal-body .lh-num{font-size:.7rem;font-weight:700;color:var(--muted);min-width:22px;}
#curso-app .temario-modal-body .lh-title{font-size:.88rem;font-weight:600;color:var(--navy);}
#curso-app .temario-modal-body .lh-tag{font-size:.65rem;font-weight:700;padding:.15rem .45rem;border-radius:5px;background:rgba(26,122,110,.1);color:var(--teal);}
#curso-app .temario-modal-body .lesson-head{display:flex;align-items:center;gap:.85rem;padding:.85rem 1.5rem;}
#curso-app .temario-modal-body .lesson-body{padding:1rem 1.5rem 1.25rem 3rem;background:var(--white);}
#curso-app .temario-modal-body .lb-intro{font-size:.83rem;color:var(--muted);line-height:1.72;margin-bottom:1rem;padding:.75rem .9rem;background:var(--cream);border-radius:6px;border-left:3px solid var(--teal);}
#curso-app .temario-modal-body .lb-point{margin-bottom:1rem;}
#curso-app .temario-modal-body .lb-point-title{font-size:.85rem;font-weight:700;color:var(--navy);margin-bottom:.3rem;display:flex;align-items:flex-start;gap:.4rem;}
#curso-app .temario-modal-body .lb-point-title::before{content:"→";color:var(--gold);font-weight:700;flex-shrink:0;}
#curso-app .temario-modal-body .lb-point-body{font-size:.8rem;color:var(--text);line-height:1.7;padding-left:1rem;}
#curso-app .temario-modal-body .lb-key{background:rgba(201,149,42,.08);border:1px solid rgba(201,149,42,.25);border-radius:7px;padding:.75rem .9rem;margin-top:1rem;font-size:.8rem;color:var(--text);line-height:1.6;}
#curso-app .temario-modal-body .lb-key strong{color:var(--gold);}
#curso-app .temario-modal-body .lb-exercise{background:rgba(26,122,110,.07);border:1px solid rgba(26,122,110,.2);border-radius:7px;padding:.75rem .9rem;margin-top:.75rem;font-size:.8rem;color:var(--text);line-height:1.6;}
#curso-app .temario-modal-body .lb-exercise strong{color:var(--teal);}
#curso-app .temario-modal-body .lb-dialogue{background:var(--navy);border-radius:8px;padding:1rem 1.1rem;margin:.85rem 0;}
#curso-app .temario-modal-body .ld-label{font-size:.6rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-light);margin-bottom:.5rem;}
#curso-app .temario-modal-body .ld-speaker{font-size:.63rem;font-weight:700;color:rgba(255,255,255,.4);margin-bottom:.15rem;margin-top:.4rem;}
#curso-app .temario-modal-body .ld-bubble{font-size:.78rem;color:rgba(255,255,255,.82);line-height:1.6;background:rgba(255,255,255,.06);border-radius:0 5px 5px 0;padding:.5rem .75rem;}
#curso-app .temario-modal-body .ld-bubble.emp{border-left:2px solid var(--teal-light);}
#curso-app .temario-modal-body .ld-bubble.cli{border-left:2px solid rgba(255,255,255,.2);}
#curso-app .temario-modal-body .mh-badge{display:none;}

/* EXAM */
#curso-app .exam-box{background:var(--white);border:1px solid var(--border);border-radius:14px;padding:1.75rem;margin-bottom:2rem;box-shadow:var(--shadow);display:none;}
#curso-app .exam-header{margin-bottom:1.5rem;}
#curso-app .exam-eyebrow{font-size:.65rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);margin-bottom:.3rem;}
#curso-app .exam-title{font-family:'Playfair Display',serif;font-size:1.1rem;font-weight:700;color:var(--navy);margin-bottom:.2rem;}
#curso-app .exam-meta{font-size:.75rem;color:var(--muted);}
#curso-app .exam-q{margin-bottom:1.25rem;padding-bottom:1.25rem;border-bottom:1px solid var(--cream-dark);}
#curso-app .exam-q:last-child{border-bottom:none;}
#curso-app .eq-num{font-size:.65rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);margin-bottom:.35rem;}
#curso-app .eq-text{font-size:.88rem;font-weight:600;color:var(--navy);margin-bottom:.65rem;line-height:1.45;}
#curso-app .eq-opts{display:flex;flex-direction:column;gap:.4rem;}
#curso-app .eq-opt{display:flex;align-items:flex-start;gap:.6rem;padding:.55rem .75rem;border:1.5px solid var(--border);border-radius:7px;cursor:pointer;font-size:.82rem;color:var(--text);transition:all .12s;}
#curso-app .eq-opt:hover{border-color:var(--navy);background:var(--cream);}
#curso-app .eq-opt.selected{border-color:var(--navy);background:rgba(15,31,61,.05);}
#curso-app .eq-opt.correct{border-color:var(--success);background:rgba(45,122,79,.07);color:var(--success);}
#curso-app .eq-opt.wrong{border-color:var(--error);background:rgba(180,40,40,.05);color:var(--error);}
#curso-app .exam-result{border-radius:10px;padding:1.25rem;text-align:center;font-size:.88rem;margin-bottom:1rem;display:none;}
#curso-app .exam-result.pass{background:rgba(45,122,79,.08);border:1px solid rgba(45,122,79,.25);color:#1d5c36;}
#curso-app .exam-result.fail{background:rgba(180,40,40,.07);border:1px solid rgba(180,40,40,.2);color:#8b1e1e;}
#curso-app .er-score{font-family:'Playfair Display',serif;font-size:2rem;font-weight:700;line-height:1;margin-bottom:.3rem;}

/* AI BOX */
#curso-app .ai-box{background:var(--navy);border-radius:14px;padding:1.25rem;margin-bottom:2rem;}
#curso-app .ai-box-header{display:flex;align-items:center;gap:.85rem;margin-bottom:1rem;}
#curso-app .ai-icon{width:36px;height:36px;background:rgba(201,149,42,.15);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex-shrink:0;}
#curso-app .ai-title{font-size:.88rem;font-weight:700;color:var(--white);}
#curso-app .ai-subtitle{font-size:.7rem;color:rgba(255,255,255,.45);margin-top:.1rem;}
#curso-app .ai-chat{background:rgba(255,255,255,.05);border-radius:8px;padding:1rem;font-size:.82rem;color:rgba(255,255,255,.78);line-height:1.7;margin-bottom:.85rem;min-height:60px;}
#curso-app .ai-input-row{display:flex;gap:.5rem;}
#curso-app .ai-input{flex:1;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:7px;padding:.65rem .9rem;color:var(--white);font-family:'Inter',sans-serif;font-size:.82rem;outline:none;}
#curso-app .ai-input::placeholder{color:rgba(255,255,255,.3);}
#curso-app .ai-input:focus{border-color:rgba(201,149,42,.4);}
#curso-app .ai-send{background:var(--gold);color:var(--navy);border:none;border-radius:7px;padding:.65rem 1.1rem;font-size:.78rem;font-weight:700;cursor:pointer;font-family:'Inter',sans-serif;white-space:nowrap;}
#curso-app .thinking-dots{display:inline-flex;gap:3px;align-items:center;}
#curso-app .thinking-dots span{width:6px;height:6px;border-radius:50%;background:var(--gold-light);animation:td .8s ease-in-out infinite;}
#curso-app .thinking-dots span:nth-child(2){animation-delay:.15s;}
#curso-app .thinking-dots span:nth-child(3){animation-delay:.3s;}
@keyframes td{0%,80%,100%{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}
