
/* ===== PÁGINA INTERIOR MAESTRA · ESO Y BACHILLERATO · V1 ===== */

.interior-header{
  position:sticky;
  top:0;
  z-index:40;
  padding:14px 0;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(8,45,89,.08);
}

.interior-nav{
  display:grid;
  grid-template-columns:210px 1fr auto;
  gap:28px;
  align-items:center;
}

.interior-logo img{
  width:175px;
  display:block;
}

.interior-menu{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:30px;
}

.interior-menu a{
  color:var(--navy);
  font-size:.82rem;
  font-weight:800;
}

.interior-hero{
  position:relative;
  min-height:680px;
  overflow:hidden;
  background:#082a4b;
}

.interior-hero-bg{
  position:absolute;
  inset:0;
  background:url('../img/hero-eso-bachillerato.png') center/cover no-repeat;
}

.interior-hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(3,27,53,.97) 0%,
      rgba(3,27,53,.90) 34%,
      rgba(3,27,53,.45) 53%,
      rgba(3,27,53,.08) 72%,
      rgba(3,27,53,0) 100%);
}

.interior-hero-content{
  position:relative;
  z-index:2;
  min-height:680px;
  display:flex;
  align-items:center;
}

.interior-hero-copy{
  width:min(650px,55%);
  padding:90px 0 74px;
  color:#fff;
}

.hero-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:25px;
}

.badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 15px;
  border-radius:999px;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.08em;
}

.badge.yellow{
  background:var(--yellow);
  color:var(--navy);
}

.badge.light{
  background:#fff;
  color:var(--navy);
}

.light-eyebrow{
  color:#fff !important;
  opacity:.82;
}

.interior-hero h1{
  margin:0 0 24px;
  font-family:Montserrat,sans-serif;
  font-size:clamp(4rem,7vw,7rem);
  line-height:.87;
  letter-spacing:-.065em;
  font-weight:900;
}

.interior-hero h1 span{
  color:var(--yellow);
}

.hero-lead{
  max-width:600px;
  margin:0 0 22px;
  font-size:1.1rem;
  line-height:1.55;
  color:rgba(255,255,255,.92);
}

.hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:12px 20px;
  margin:0 0 30px;
  font-size:.78rem;
  font-weight:800;
}

.hero-actions,
.cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn-outline-light{
  color:#fff;
  border:1px solid rgba(255,255,255,.52);
  background:rgba(255,255,255,.04);
}

.compact-section{
  padding-top:95px;
  padding-bottom:95px;
}

.two-col-heading{
  display:grid;
  grid-template-columns:1.05fr .75fr;
  gap:70px;
  align-items:end;
  margin-bottom:42px;
}

.two-col-heading h2,
.level-copy h2,
.method-title h2,
.interior-cta h2{
  font-family:Montserrat,sans-serif;
  font-weight:900;
  letter-spacing:-.055em;
  line-height:.98;
  margin:0;
  font-size:clamp(2.7rem,4.6vw,4.8rem);
}

.two-col-heading > p{
  color:var(--muted);
  line-height:1.65;
  font-size:1rem;
}

.benefits-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.benefit-card{
  padding:28px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  box-shadow:0 16px 42px rgba(8,45,89,.06);
}

.benefit-card span{
  display:inline-block;
  margin-bottom:18px;
  color:var(--yellow);
  font-family:Montserrat,sans-serif;
  font-weight:900;
  font-size:1.4rem;
}

.benefit-card h3{
  margin:0 0 8px;
  color:var(--navy);
  font-size:1.18rem;
}

.benefit-card p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.level-section{
  background:#f3f7fb;
}

.level-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}

.level-photo{
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(8,45,89,.12);
}

.level-photo img{
  width:100%;
  display:block;
  aspect-ratio:4/5;
  object-fit:cover;
  object-position:center;
}

.level-copy{
  padding:20px 0;
}

.level-copy h2{
  margin-bottom:30px;
}

.level-item{
  display:grid;
  grid-template-columns:76px 1fr;
  gap:18px;
  padding:22px 0;
  border-top:1px solid var(--line);
}

.level-item:last-child{
  border-bottom:1px solid var(--line);
}

.level-item > span{
  width:62px;
  height:62px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:var(--navy);
  color:var(--yellow);
  font-weight:900;
  font-size:.72rem;
}

.level-item h3{
  margin:0 0 6px;
  color:var(--navy);
  font-size:1.08rem;
}

.level-item p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.method-interior{
  background:#0b3a6b;
  color:#fff;
}

.method-title{
  max-width:770px;
  margin-bottom:42px;
}

.method-title .eyebrow{
  color:var(--yellow);
}

.method-flow{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr;
  gap:20px;
  align-items:stretch;
}

.method-step{
  min-height:190px;
  padding:28px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
}

.method-step strong{
  color:var(--yellow);
  font-size:1.5rem;
}

.method-step h3{
  margin:14px 0 8px;
  font-size:1.2rem;
}

.method-step p{
  margin:0;
  color:rgba(255,255,255,.76);
  line-height:1.55;
}

.method-arrow{
  display:grid;
  place-items:center;
  color:var(--yellow);
  font-size:2rem;
  font-weight:900;
}

.interior-cta{
  background:#f4f7fb;
}

.interior-cta-box{
  display:grid;
  grid-template-columns:1fr 380px;
  gap:30px;
  align-items:center;
  overflow:hidden;
  min-height:440px;
  padding:54px 64px;
  border-radius:34px;
  background:linear-gradient(135deg,#0b3561,#164f85);
  color:#fff;
  box-shadow:0 24px 60px rgba(8,45,89,.12);
}

.yellow-eyebrow{
  color:var(--yellow) !important;
}

.interior-cta h2{
  margin-bottom:16px;
}

.interior-cta-copy > p{
  max-width:600px;
  margin-bottom:28px;
  color:rgba(255,255,255,.82);
}

.interior-cta-lumi{
  align-self:end;
  display:flex;
  justify-content:center;
}

.interior-cta-lumi img{
  width:min(100%,330px);
  max-height:400px;
  object-fit:contain;
  display:block;
}

@media(max-width:980px){
  .interior-nav{
    grid-template-columns:180px 1fr auto;
  }

  .interior-menu{
    display:none;
  }

  .interior-hero{
    min-height:610px;
  }

  .interior-hero-content{
    min-height:610px;
  }

  .interior-hero-copy{
    width:66%;
  }

  .two-col-heading,
  .level-grid{
    grid-template-columns:1fr;
    gap:34px;
  }

  .benefits-grid{
    grid-template-columns:1fr;
  }

  .method-flow{
    grid-template-columns:1fr;
  }

  .method-arrow{
    transform:rotate(90deg);
    min-height:22px;
  }

  .interior-cta-box{
    grid-template-columns:1fr 280px;
    padding:42px;
  }
}

@media(max-width:680px){
  .interior-header{
    padding:10px 0;
  }

  .interior-nav{
    grid-template-columns:1fr auto;
    gap:14px;
  }

  .interior-logo img{
    width:145px;
  }

  .interior-top-cta{
    font-size:.70rem;
    padding:0 12px;
    min-height:42px;
  }

  .interior-hero,
  .interior-hero-content{
    min-height:720px;
  }

  .interior-hero-bg{
    background-position:62% center;
  }

  .interior-hero-overlay{
    background:
      linear-gradient(180deg,
        rgba(3,27,53,.76) 0%,
        rgba(3,27,53,.76) 28%,
        rgba(3,27,53,.90) 60%,
        rgba(3,27,53,.98) 100%);
  }

  .interior-hero-content{
    align-items:flex-end;
  }

  .interior-hero-copy{
    width:100%;
    padding:120px 0 48px;
  }

  .interior-hero h1{
    font-size:clamp(3rem,14vw,4.35rem);
    line-height:.92;
  }

  .hero-lead{
    font-size:.95rem;
  }

  .hero-actions,
  .cta-actions{
    flex-direction:column;
  }

  .hero-actions .btn,
  .cta-actions .btn{
    width:100%;
    justify-content:center;
  }

  .compact-section{
    padding-top:70px;
    padding-bottom:70px;
  }

  .two-col-heading{
    gap:18px;
  }

  .two-col-heading h2,
  .level-copy h2,
  .method-title h2,
  .interior-cta h2{
    font-size:clamp(2.45rem,12vw,3.5rem);
  }

  .level-photo img{
    aspect-ratio:4/3;
  }

  .level-item{
    grid-template-columns:60px 1fr;
    gap:14px;
  }

  .level-item > span{
    width:54px;
    height:54px;
    border-radius:15px;
  }

  .interior-cta-box{
    grid-template-columns:1fr;
    padding:34px 24px 0;
    min-height:auto;
  }

  .interior-cta-lumi img{
    width:240px;
  }
}


/* ===== V5.6.4 — logo interior + técnicas de estudio + clase gratis ===== */

.interior-nav{
  grid-template-columns:260px 1fr auto !important;
}

.interior-logo img{
  width:230px !important;
  max-width:230px !important;
  height:auto !important;
}

.study-extra{
  background:#fff;
  padding-top:76px;
  padding-bottom:76px;
}

.study-extra-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.study-card,
.trial-card{
  border-radius:28px;
  padding:32px;
  border:1px solid var(--line);
  box-shadow:0 18px 46px rgba(8,45,89,.07);
}

.study-card{
  display:grid;
  grid-template-columns:62px 1fr;
  gap:20px;
  align-items:start;
  background:#f5f8fc;
}

.study-icon{
  width:56px;
  height:56px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:var(--navy);
  color:var(--yellow);
  font-size:1.45rem;
  font-weight:900;
}

.study-card h3,
.trial-card h3{
  margin:6px 0 10px;
  color:var(--navy);
  font-size:1.45rem;
}

.study-card p,
.trial-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.trial-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:24px;
  background:linear-gradient(135deg,#fff8d7,#fff3a8);
  border-color:rgba(255,204,0,.45);
}

.trial-card .btn{
  align-self:flex-start;
}

@media(max-width:980px){
  .interior-nav{
    grid-template-columns:230px 1fr auto !important;
  }

  .interior-logo img{
    width:205px !important;
    max-width:205px !important;
  }

  .study-extra-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:680px){
  .interior-nav{
    grid-template-columns:1fr auto !important;
  }

  .interior-logo img{
    width:175px !important;
    max-width:175px !important;
  }

  .study-extra{
    padding-top:58px;
    padding-bottom:58px;
  }

  .study-card,
  .trial-card{
    padding:24px 20px;
    border-radius:22px;
  }

  .study-card{
    grid-template-columns:50px 1fr;
    gap:14px;
  }

  .study-icon{
    width:48px;
    height:48px;
    border-radius:15px;
  }

  .trial-card .btn{
    width:100%;
    justify-content:center;
  }
}
