/* Aprendamos — landing (aprendamos.cl) */
:root{
  --cream:#fbfaf5;
  --white:#ffffff;
  --ink:#17324d;
  --muted:#667085;
  --blue:#2468d7;
  --blue-dark:#174f9f;
  --sky:#dcecff;
  --yellow:#ffd861;
  --green:#5db98c;
  --mint:#dcf3e8;
  --coral:#ff8e78;
  --line:#e7e6df;
  --max:1180px;
  --r-lg:34px;
  --r-md:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:clip}
body{
  margin:0;
  font-family:"Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.container{width:min(calc(100% - 40px), var(--max));margin-inline:auto}

header{
  position:sticky;top:0;z-index:50;
  background:rgba(251,250,245,.93);
  border-bottom:1px solid rgba(231,230,223,.86);
  backdrop-filter:blur(14px);
}

.nav{
  height:74px;
  display:flex;align-items:center;justify-content:space-between;gap:28px;
}

.brand{
  display:flex;align-items:center;gap:11px;
  font-size:1.2rem;font-weight:850;letter-spacing:-.04em;
}

.logo{width:42px;height:auto;display:block;margin:-4px 0}

.nav-links{display:flex;align-items:center;gap:27px;color:#506176;font-size:.94rem;font-weight:650}
.btn{
  min-height:46px;padding:0 20px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:800;border:1px solid transparent;
  transition:.18s ease;
}
.btn-primary{background:var(--blue);color:white;box-shadow:0 8px 20px rgba(36,104,215,.18)}
.btn-primary:hover{background:var(--blue-dark);transform:translateY(-1px)}
.btn-light{background:white;border-color:#dfe3e8}
.btn-light:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(23,50,77,.08)}

.hero{
  min-height:720px;
  display:flex;align-items:center;
  padding:74px 0 84px;
  position:relative;
}
.hero:before{
  content:"";
  position:absolute;right:-180px;top:80px;
  width:520px;height:520px;border-radius:50%;
  background:var(--sky);opacity:.68;z-index:-2;
}
.hero:after{
  content:"";
  position:absolute;left:-120px;bottom:-60px;
  width:280px;height:280px;border-radius:50%;
  background:#fff0b8;opacity:.65;z-index:-2;
}

.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:58px;align-items:center}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  background:white;border:1px solid var(--line);border-radius:999px;
  padding:8px 13px;font-size:.82rem;font-weight:800;color:#4e6177;
  margin-bottom:24px;
}
.eyebrow i{width:8px;height:8px;background:var(--green);border-radius:50%;display:block}

h1{
  margin:0;
  font-size:clamp(3.2rem,6.6vw,6.2rem);
  line-height:.94;
  letter-spacing:-.065em;
  font-weight:850;
  max-width:830px;
}
.marker{
  position:relative;
  display:inline-block;
  z-index:0;
}
.marker:after{
  content:"";
  position:absolute;left:-2%;right:-2%;bottom:.08em;height:.28em;
  background:var(--yellow);border-radius:999px;
  z-index:-1;transform:rotate(-1.5deg);
}

.lead{
  font-size:clamp(1.05rem,1.8vw,1.24rem);
  max-width:650px;color:#526477;margin:28px 0 0;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}
.hero-mini{margin-top:15px;color:#7b8796;font-size:.88rem}

.hero-visual{
  position:relative;
  min-height:530px;
  display:grid;
  place-items:center;
}

.visual-blob{
  position:absolute;
  width:470px;height:470px;
  background:var(--blue);
  border-radius:42% 58% 55% 45% / 48% 38% 62% 52%;
  transform:rotate(-5deg);
}

.paper{
  position:relative;
  width:min(390px,84%);
  background:white;
  border-radius:25px;
  padding:26px;
  box-shadow:0 28px 60px rgba(18,52,88,.18);
  transform:rotate(3deg);
  z-index:2;
}
.paper-top{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:22px}
.paper-title{font-weight:850;font-size:1.15rem;letter-spacing:-.025em}
.paper-badge{white-space:nowrap;font-size:.72rem;font-weight:800;padding:6px 9px;background:var(--mint);color:#3d7b5d;border-radius:999px}
.subject{font-size:.82rem;color:#728196;font-weight:700;margin-bottom:12px}
.question{
  border:1px solid #e8ebef;border-radius:14px;padding:14px;margin-top:10px;
  background:#fff;
}
.question strong{font-size:.83rem}
.numbers{display:flex;gap:8px;margin-top:10px}
.n{
  width:40px;height:38px;border-radius:9px;background:#f3f5f7;
  display:grid;place-items:center;font-weight:800;color:#44586f;
}
.n.blank{background:#fff7d6;border:2px dashed #e0bd42;color:#ba982b}
.answer-lines{display:grid;gap:8px;margin-top:10px}
.answer-lines span{height:8px;background:#edf0f3;border-radius:99px}
.answer-lines span:nth-child(2){width:68%}

.float-card{
  position:absolute;z-index:3;
  background:white;border-radius:16px;padding:12px 15px;
  box-shadow:0 13px 32px rgba(18,52,88,.15);
  font-size:.8rem;font-weight:800;
}
.float-card.one{right:0;top:28px;transform:rotate(5deg)}
.float-card.two{left:0;bottom:22px;transform:rotate(-5deg)}
.float-card span{display:block;font-weight:600;color:#718096;font-size:.72rem;margin-top:2px}
.float-card .star{color:var(--coral);letter-spacing:2px;font-size:.9rem;font-weight:800;margin-top:0}

.scribble{
  position:absolute;z-index:3;
  width:75px;height:75px;
}
.scribble.sun{left:12px;top:32px}
/* la tortuga escribe junto a la guía de ejemplo: es el momento principal del landing */
.hero-masc{
  position:absolute;z-index:4;right:-18px;bottom:-26px;
  width:clamp(170px,19vw,236px);height:auto;
  filter:drop-shadow(0 18px 22px rgba(18,52,88,.22));
}

.wave{
  position:relative;
  background:white;
  padding:112px 0 105px;
}
.wave:before{
  content:"";
  position:absolute;top:-45px;left:-2%;width:104%;height:75px;
  background:white;
  border-radius:50% 50% 0 0 / 100% 100% 0 0;
}

.section-head{max-width:760px;margin-bottom:46px}
.kicker{
  color:var(--blue);font-size:1rem;font-weight:800;
  letter-spacing:-.01em;margin-bottom:10px;
}
h2{
  margin:0;font-size:clamp(2.2rem,4.6vw,4rem);
  line-height:1.03;letter-spacing:-.05em;
}
.section-head p{font-size:1.06rem;color:#677789;margin:16px 0 0;max-width:650px}

.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.step{padding:10px 8px}
.illustration{
  height:210px;border-radius:26px;margin-bottom:22px;
  display:grid;place-items:center;position:relative;overflow:hidden;
}
.step:nth-child(1) .illustration{background:#e8f1ff}
.step:nth-child(2) .illustration{background:#fff2bb}
.step:nth-child(3) .illustration{background:#def3e8}

.step-num{
  width:34px;height:34px;border-radius:50%;background:var(--ink);color:white;
  display:grid;place-items:center;font-weight:850;margin-bottom:14px;font-size:.86rem;
}
.step h3{font-size:1.25rem;letter-spacing:-.025em;margin:0 0 8px}
.step p{margin:0;color:#6b7889}

.illustration img{height:176px;width:auto;max-width:90%;object-fit:contain;
  filter:drop-shadow(0 14px 18px rgba(23,50,77,.14))}
.step:nth-child(2) .illustration img{transform:rotate(-3deg)}

.feature-section{padding:110px 0;background:var(--cream)}
.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:68px;align-items:center}
.feature-copy h2{max-width:620px}
.feature-copy > p{color:#68788a;font-size:1.08rem;max-width:590px;margin:18px 0 0}
.checks{display:grid;gap:18px;margin-top:30px}
.check{display:grid;grid-template-columns:40px 1fr;gap:13px;align-items:start}
.check-icon{
  width:40px;height:40px;border-radius:50%;background:var(--mint);
  display:grid;place-items:center;color:#39775a;font-weight:900;
}
.check b{display:block;margin-bottom:3px}
.check span{color:#718096;font-size:.94rem}

.big-card{
  min-height:520px;border-radius:42px;background:var(--ink);position:relative;overflow:hidden;
  display:grid;place-items:center;padding:40px;
}
.big-card:before{
  content:"";position:absolute;width:310px;height:310px;border-radius:50%;
  background:var(--yellow);right:-90px;top:-80px;
}
.big-card:after{
  content:"";position:absolute;width:180px;height:180px;border-radius:50%;
  background:var(--green);left:-50px;bottom:-50px;
}

.report{
  z-index:2;position:relative;width:min(360px,90%);background:white;border-radius:24px;
  padding:24px;box-shadow:0 28px 55px rgba(0,0,0,.23);transform:rotate(-2deg);
}
.report h4{margin:0 0 3px;font-size:1.08rem}
.report p{margin:0 0 20px;color:#8090a2;font-size:.78rem}
.skill{margin:14px 0}
.skill-top{display:flex;justify-content:space-between;font-size:.77rem;font-weight:800;margin-bottom:6px}
.skill-bar{height:9px;background:#edf0f3;border-radius:99px;overflow:hidden}
.skill-bar i{display:block;height:100%;border-radius:99px;background:var(--blue)}
.skill:nth-child(4) i{background:var(--green);width:63%}
.skill:nth-child(5) i{background:var(--yellow);width:84%}

.audience{
  background:var(--blue);
  color:white;
  padding:112px 0 120px;
  position:relative;
}
.audience .kicker{color:#cfe0ff}
.audience .section-head p{color:#d9e5f8}
.aud-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.aud-card{
  min-height:240px;background:white;color:var(--ink);border-radius:26px;
  padding:28px;position:relative;overflow:hidden;
}
.aud-card:after{
  content:"";position:absolute;width:90px;height:90px;border-radius:50%;right:-25px;bottom:-25px;
  background:var(--yellow);opacity:.9;
}
.aud-card:nth-child(2):after{background:var(--mint)}
.aud-card:nth-child(3):after{background:var(--sky)}
.aud-card h3{font-size:1.27rem;margin:0 0 9px}
.aud-card p{margin:0;color:#6e7e8f;max-width:280px}
.status{
  display:inline-block;margin-top:20px;background:#f4f6f8;border-radius:999px;
  padding:7px 10px;font-size:.73rem;font-weight:850;color:#5f6e7f;
}

.cta{padding:100px 0 110px}
.cta-inner{text-align:center;max-width:820px;margin:auto}
.cta-masc{display:block;width:148px;height:auto;margin:0 auto 18px}
.cta h2{font-size:clamp(2.4rem,5vw,4.6rem)}
.cta p{color:#68788a;font-size:1.08rem;max-width:630px;margin:18px auto 29px}
.cta .btn{min-height:52px;padding-inline:25px}

footer{
  border-top:1px solid var(--line);padding:28px 0 38px;
  color:#7b8794;font-size:.87rem;
}
.footer-row{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

@media(max-width:930px){
  .hero-grid,.feature-grid{grid-template-columns:1fr}
  .hero{padding-top:52px}
  .hero-visual{min-height:500px}
  .steps,.aud-grid{grid-template-columns:1fr}
  .step{display:grid;grid-template-columns:260px 1fr;gap:26px;align-items:center}
  .step .illustration{margin:0}
  .step-num{margin-top:0}
  .feature-grid{gap:40px}
}

@media(max-width:620px){
  .container{width:min(calc(100% - 24px),var(--max))}
  .nav{height:66px}
  .brand{font-size:1.05rem}
  .logo{width:36px}
  .nav .btn{min-height:40px;padding:0 14px;font-size:.88rem}
  h1{font-size:3.25rem}
  .hero{min-height:auto;padding:42px 0 58px}
  .hero-actions{display:grid}
  .hero-actions .btn{width:100%}
  .hero-visual{min-height:410px;margin-top:5px}
  .visual-blob{width:330px;height:330px}
  .paper{width:285px;padding:18px}
  .float-card.one{right:0;top:0}
  .hero-masc{width:138px;right:-6px;bottom:-14px}
  .float-card.two{left:0;bottom:4px}
  .scribble{display:none}
  .cta-masc{width:118px}
  .wave{padding:82px 0}
  .wave:before{top:-28px;height:48px}
  .section-head{margin-bottom:34px}
  .steps{gap:30px}
  .step{grid-template-columns:1fr;gap:14px}
  .illustration{height:190px!important;margin-bottom:4px!important}
  .illustration img{height:160px}
  .feature-section{padding:82px 0}
  .big-card{min-height:420px;border-radius:30px}
  .audience{padding:82px 0}
  .cta{padding:80px 0}
}

/* ---------- progreso con corazones (misma escala que la app) ---------- */
.skill-top .hearts{color:var(--coral);letter-spacing:1px}
.skill-top .hearts .off{color:#eadcd8}

/* ---------- menú móvil ---------- */
.menu-btn{
  display:none;min-height:40px;padding:0 14px;border-radius:999px;
  border:1px solid #dfe3e8;background:white;color:var(--ink);
  font:inherit;font-weight:800;font-size:.9rem;cursor:pointer;
}
.nav-links a.btn-primary{color:white}

/* ---------- accesibilidad ---------- */
a:focus-visible,button:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:999px}
.skip{position:absolute;left:-9999px;top:10px;background:white;padding:10px 14px;border-radius:12px;z-index:100;font-weight:800}
.skip:focus{left:12px}
.footer-row a{color:#5c6b7b;font-weight:700}

@media(max-width:930px){
  .menu-btn{display:inline-flex;align-items:center}
  .nav-links{
    position:absolute;left:0;right:0;top:100%;
    display:none;flex-direction:column;align-items:stretch;gap:4px;
    background:white;border:1px solid var(--line);border-radius:22px;padding:10px 20px 18px;
    box-shadow:0 18px 40px rgba(23,50,77,.12);
  }
  .nav-links.abierto{display:flex}
  .nav-links a:not(.btn){display:block;padding:12px 4px;font-size:1rem}
  .nav-links .btn{margin-top:6px}
  .nav{position:relative}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}
