:root{
  --navy:#012169;
  --navy-900:#00143F;
  --red:#C8102E;
  --red-700:#A30C25;
  --white:#FFFFFF;
  --soft:#F3F5F9;
  --text:#1B2233;
  --muted:#5A6377;
  --line:#DCE1EA;

  --head:"Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --body:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;

  --header-h:76px;
  --radius:6px;
}
@media (max-width:959px){
  :root{--header-h:112px}
}


*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}
body{
  margin:0;
  font-family:var(--body);
  font-size:1.0625rem;
  line-height:1.65;
  color:var(--text);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--red);outline-offset:3px}

.container{
  width:100%;
  max-width:1160px;
  margin:0 auto;
  padding:0 24px;
}

h1,h2,h3{
  font-family:var(--head);
  color:var(--navy);
  margin:0;
  line-height:1.15;
  letter-spacing:-0.02em;
}
h1{font-size:clamp(2.1rem,4.4vw,3.4rem);font-weight:800}
h2{font-size:clamp(1.75rem,3vw,2.4rem);font-weight:800}
h3{font-size:1.2rem;font-weight:700;letter-spacing:-0.01em}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--head);
  font-weight:700;
  font-size:.95rem;
  color:var(--red);
  margin:0 0 14px;
}
.kicker::before{
  content:"";
  width:28px;
  height:3px;
  background:var(--red);
}
.section-head{max-width:720px;margin-bottom:48px}
.section-head p{color:var(--muted);font-size:1.125rem;margin-top:16px}
.section-head .kicker{color:var(--red);font-size:.95rem;margin:0 0 14px}

/* ---------------- botones ---------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--head);
  font-weight:700;
  font-size:1rem;
  line-height:1.2;
  text-decoration:none;
  padding:15px 26px;
  border-radius:var(--radius);
  border:2px solid transparent;
  cursor:pointer;
  transition:background-color .15s,border-color .15s,color .15s;
  text-align:center;
}
.btn-red{background:var(--red);color:var(--white)}
.btn-red:hover{background:var(--red-700)}
.btn-navy{background:var(--navy);color:var(--white)}
.btn-navy:hover{background:var(--navy-900)}
.btn-outline{border-color:var(--navy);color:var(--navy);background:transparent}
.btn-outline:hover{background:var(--navy);color:var(--white)}
.btn-white{background:var(--white);color:var(--navy)}
.btn-white:hover{background:var(--soft)}
.btn-sm{padding:10px 18px;font-size:.92rem}

/* ---------------- cabecera fija ---------------- */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--white);
  border-bottom:1px solid var(--line);
  transition:box-shadow .2s;
}
.site-header.is-scrolled{box-shadow:0 6px 24px rgba(1,33,105,.08)}
.header-grid{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:32px;
  height:72px;
}
.brand{
  text-decoration:none;
  display:flex;
  flex-direction:column;
  line-height:1.15;
}
.brand-name{
  font-family:var(--head);
  font-weight:800;
  font-size:1.2rem;
  color:var(--navy);
  letter-spacing:-0.01em;
}
.brand-sub{
  font-size:.8rem;
  color:var(--muted);
  font-weight:500;
}
.main-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  justify-content:center;
  gap:6px;
}
.main-nav a{
  display:block;
  text-decoration:none;
  font-weight:500;
  font-size:.95rem;
  color:var(--text);
  padding:8px 12px;
  border-radius:var(--radius);
  position:relative;
  white-space:nowrap;
}
.main-nav a:hover{color:var(--navy);background:var(--soft)}
.main-nav a.active{color:var(--navy);font-weight:600}
.main-nav a.active::after{
  content:"";
  position:absolute;
  left:12px;right:12px;bottom:2px;
  height:2px;
  background:var(--red);
}

@media (max-width:959px){
  .header-grid{
    grid-template-columns:1fr auto;
    grid-template-areas:"brand cta" "nav nav";
    height:auto;
    gap:0 16px;
  }
  .brand{grid-area:brand;padding:12px 0}
  .header-cta{grid-area:cta}
  .main-nav{
    grid-area:nav;
    border-top:1px solid var(--line);
    margin:0 -24px;
    overflow-x:auto;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .main-nav::-webkit-scrollbar{display:none}
  .main-nav ul{justify-content:flex-start;padding:4px 16px;gap:2px}
  .main-nav a{padding:8px 12px;font-size:.92rem}
}

section{scroll-margin-top:var(--header-h)}
.section{padding:96px 0}
.section-soft{background:var(--soft)}
@media (max-width:767px){
  .section{padding:64px 0}
  .section-head{margin-bottom:36px}
}

/* ---------------- hero ---------------- */
.hero{
  padding:72px 0 96px;
  background:var(--white);
  border-bottom:1px solid var(--line);
}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(220px,22vw,320px);
  gap:clamp(40px,6vw,80px);
  align-items:center;
}
.hero-role{
  display:block;
  font-family:var(--head);
  font-weight:700;
  color:var(--red);
  margin:0 0 18px;
  font-size:1rem;
  line-height:1.4;
  letter-spacing:0;
}
.hero-title{display:block}
.hero h1{margin-bottom:22px}
.hero-lead{
  font-size:1.15rem;
  color:var(--muted);
  max-width:34em;
  margin-bottom:32px;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hero-note{font-size:.92rem;color:var(--muted);margin-top:14px}
.facts{
  list-style:none;
  margin:36px 0 0;
  padding:24px 0 0;
  border-top:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  gap:12px 28px;
}
.facts li{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  font-size:.95rem;
  color:var(--navy);
}
.facts li::before{
  content:"";
  width:10px;height:10px;
  background:var(--red);
  border-radius:2px;
  flex:none;
}

.hero-photo{
  position:relative;
  margin:0;
  justify-self:end;
  width:100%;
}
.hero-photo::before{
  content:"";
  position:absolute;
  inset:14px -14px -14px 14px;
  background:var(--navy);
  border-radius:var(--radius);
}
.hero-photo::after{
  content:"";
  position:absolute;
  left:-10px;top:28px;
  width:5px;height:80px;
  background:var(--red);
  border-radius:3px;
}
.hero-photo img{
  position:relative;
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:var(--radius);
  background:var(--soft);
}

@media (max-width:899px){
  .hero{padding:44px 0 72px}
  .hero-grid{grid-template-columns:1fr}
  .hero-grid{gap:44px}
  .hero-photo{justify-self:start;width:min(64vw,320px)}
  .hero-photo::before{inset:10px -10px -10px 10px}
  .hero-photo::after{left:-8px;height:60px}
}
@media (max-width:600px){
  .hero-actions .btn{flex:1 1 100%}
}

/* ---------------- sobre mí ---------------- */
.about-grid{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:64px;
  align-items:start;
}
.about-text p{font-size:1.075rem}
.about-claim{
  margin-top:28px;
  padding-left:20px;
  border-left:4px solid var(--red);
  font-family:var(--head);
  font-weight:700;
  font-size:1.25rem!important;
  line-height:1.4;
  color:var(--navy);
}
.creds{
  background:var(--white);
  border:1px solid var(--line);
  border-top:4px solid var(--navy);
  border-radius:var(--radius);
  padding:28px;
}
.creds h3{font-size:1.05rem;margin-bottom:18px}
.creds ul{list-style:none;margin:0;padding:0}
.creds li{padding:14px 0;border-top:1px solid var(--line)}
.creds li:first-child{border-top:0;padding-top:0}
.creds strong{display:block;font-weight:600;color:var(--navy);line-height:1.4}
.creds span{display:block;font-size:.92rem;color:var(--muted);margin-top:2px}
@media (max-width:899px){
  .about-grid{grid-template-columns:1fr;gap:40px}
}

/* ---------------- clases ---------------- */
.class-list{border-top:1px solid var(--line)}
.class-row{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:24px 48px;
  padding:32px 0;
  border-bottom:1px solid var(--line);
}
.class-row h3{position:relative;padding-left:18px}
.class-row h3::before{
  content:"";
  position:absolute;
  left:0;top:.2em;bottom:.2em;
  width:4px;
  background:var(--red);
  border-radius:2px;
}
.class-row p{color:var(--muted);max-width:40em}
.class-row .tag{
  display:inline-block;
  margin-top:10px;
  margin-left:18px;
  font-size:.85rem;
  font-weight:600;
  color:var(--navy);
  background:var(--white);
  border:1px solid var(--line);
  padding:4px 10px;
  border-radius:4px;
}
@media (max-width:767px){
  .class-row{grid-template-columns:1fr;gap:10px;padding:26px 0}
}

/* ---------------- speaking dual ---------------- */
.speaking{background:var(--navy);color:var(--white)}
.speaking h2{color:var(--white)}
.speaking .kicker{color:var(--white)}
.speaking .kicker::before{background:var(--red)}
.speaking-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:64px;
  align-items:center;
}
.speaking-text p{color:#C9D2E6;font-size:1.075rem}
.speaking-text h2{margin-bottom:24px}
.dual-card{
  background:var(--white);
  color:var(--text);
  border-radius:var(--radius);
  padding:32px;
  border-top:6px solid var(--red);
}
.dual-card h3{margin-bottom:6px}
.dual-card .sub{color:var(--muted);font-size:.95rem;margin-bottom:20px}
.dual-price{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding:14px 0;
  border-top:1px solid var(--line);
}
.dual-price span{font-weight:500}
.dual-price small{display:block;color:var(--muted);font-size:.85rem;font-weight:400}
.dual-price strong{font-family:var(--head);font-size:1.6rem;color:var(--navy)}
.dual-card .btn{width:100%;margin-top:20px}
.dual-card .note{font-size:.88rem;color:var(--muted);margin-top:14px;text-align:center}
@media (max-width:899px){
  .speaking-grid{grid-template-columns:1fr;gap:40px}
}

/* ---------------- tarifas ---------------- */
.rates{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.rate{
  display:grid;
  grid-template-columns:1fr auto;
  gap:4px 24px;
  align-items:center;
  padding:22px 28px;
  border-top:1px solid var(--line);
}
.rate:first-child{border-top:0}
.rate-name{font-family:var(--head);font-weight:700;color:var(--navy);font-size:1.1rem}
.rate-desc{color:var(--muted);font-size:.95rem;grid-column:1}
.rate-price{
  grid-column:2;grid-row:1 / span 2;
  font-family:var(--head);
  font-weight:800;
  font-size:1.75rem;
  color:var(--navy);
  white-space:nowrap;
}
.rate-price small{font-size:.9rem;font-weight:600;color:var(--muted)}
.rate.is-free{background:#FCF1F3}
.rate.is-free .rate-price{color:var(--red)}
.rates-foot{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-top:28px;
}
.rates-foot p{color:var(--muted);margin:0;max-width:36em}
.rates-actions{display:flex;flex-wrap:wrap;gap:12px}
@media (max-width:600px){
  .rate{padding:20px}
  .rate-price{font-size:1.45rem}
  .rates-actions{width:100%}
  .rates-actions .btn{flex:1 1 100%}
}

/* ---------------- cómo funciona ---------------- */
.steps{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  counter-reset:step;
}
.step{
  counter-increment:step;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px 28px;
}
.step::before{
  content:counter(step);
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;height:44px;
  border-radius:50%;
  background:var(--navy);
  color:var(--white);
  font-family:var(--head);
  font-weight:800;
  font-size:1.1rem;
  margin-bottom:20px;
}
.step h3{margin-bottom:10px}
.step p{color:var(--muted);font-size:.98rem}
@media (max-width:899px){
  .steps{grid-template-columns:1fr}
}

/* ---------------- preguntas ---------------- */
.faq{max-width:820px}
.faq details{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--white);
  margin-bottom:12px;
}
.faq summary{
  list-style:none;
  cursor:pointer;
  padding:20px 56px 20px 24px;
  font-family:var(--head);
  font-weight:700;
  color:var(--navy);
  font-size:1.05rem;
  position:relative;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";
  position:absolute;
  right:24px;top:50%;
  width:10px;height:10px;
  border-right:2px solid var(--red);
  border-bottom:2px solid var(--red);
  transform:translateY(-70%) rotate(45deg);
  transition:transform .2s;
}
.faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq .answer{padding:0 24px 22px;color:var(--muted)}

/* ---------------- whatsapp ---------------- */
.wa-float{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:90;
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#25D366;
  color:#FFFFFF;
  text-decoration:none;
  font-family:var(--head);
  font-weight:700;
  font-size:.95rem;
  padding:12px 18px 12px 14px;
  border-radius:999px;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  transition:transform .15s,background-color .15s;
}
.wa-float:hover{background:#1EBE5A;transform:translateY(-2px)}
.wa-float svg{width:24px;height:24px;flex:none}
@media (max-width:600px){
  .wa-float{right:16px;bottom:16px;padding:14px;}
  .wa-float span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .wa-float svg{width:28px;height:28px}
}

/* ---------------- footer ---------------- */
.site-footer{
  background:var(--navy-900);
  color:#AEB9D2;
  font-size:.95rem;
  border-top:4px solid var(--red);
}
.footer-main{
  display:grid;
  grid-template-columns:1.3fr 1.2fr .8fr;
  gap:48px;
  padding-top:64px;
  padding-bottom:48px;
}
.footer-brand{
  font-family:var(--head);
  font-weight:800;
  font-size:1.25rem;
  color:var(--white);
  margin:0 0 6px;
}
.footer-tag{margin:0 0 22px}
.footer-title{
  font-family:var(--head);
  font-weight:700;
  color:var(--white);
  font-size:1rem;
  margin:0 0 16px;
}
.footer-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.footer-list.two-cols{grid-template-columns:1fr 1fr;grid-template-rows:repeat(4,auto);grid-auto-flow:column;gap:10px 24px}
.site-footer a{color:#AEB9D2;text-decoration:none}
.site-footer a:hover{color:var(--white);text-decoration:underline;text-underline-offset:3px}
.footer-list a{display:inline-flex;align-items:center;gap:8px}
.footer-list img{
  width:18px;height:12px;flex:none;
  border-radius:2px;
  box-shadow:0 0 0 1px rgba(255,255,255,.3);
}
.footer-contact a{font-weight:600;color:var(--white)}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:22px;
  padding-bottom:22px;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:center;
  gap:12px 40px;
  font-size:.88rem;
}
.footer-bottom p{margin:0}
.footer-bottom nav{display:flex;flex-wrap:wrap;gap:8px 24px}
@media (max-width:899px){
  .footer-main{grid-template-columns:1fr 1fr;gap:40px}
  .footer-about{grid-column:1 / -1}
}
@media (max-width:600px){
  .footer-main{grid-template-columns:1fr;padding-top:48px;padding-bottom:36px;gap:36px}
  .footer-bottom{padding-bottom:96px}  /* deja sitio al botón de WhatsApp */
}

/* ---------------- barra de idioma ---------------- */
.topbar{
  background:var(--navy);
  border-bottom:3px solid var(--red);
  font-size:.86rem;
}
.topbar .container{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.topbar a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:36px;
  color:#C9D2E6;
  text-decoration:none;
  padding:0 14px;
  font-weight:500;
}
.topbar img{
  width:18px;
  height:12px;
  flex:none;
  border-radius:2px;
  box-shadow:0 0 0 1px rgba(255,255,255,.35);
  opacity:.75;
  transition:opacity .15s;
}
.topbar a:hover img,
.topbar a[aria-current="page"] img{opacity:1}
.topbar a + a{border-left:1px solid rgba(255,255,255,.25)}
.topbar a:last-child{padding-right:0}
.topbar a:hover{color:#FFFFFF}
.topbar a[aria-current="page"]{color:#FFFFFF;font-weight:700}
@media (max-width:600px){
  .topbar .container{justify-content:center}
  .topbar a:last-child{padding-right:14px}
}

/* ---------------- reservar (calendario integrado) ---------------- */
.tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.tab{
  appearance:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--head);
  font-weight:700;
  font-size:1rem;
  color:var(--navy);
  background:var(--white);
  border:2px solid var(--line);
  border-radius:var(--radius);
  padding:13px 20px;
  cursor:pointer;
  transition:background-color .15s,border-color .15s,color .15s;
}
.tab:hover{border-color:var(--navy)}
.tab span{
  font-size:.78rem;
  color:var(--red);
  background:#FCF1F3;
  padding:2px 8px;
  border-radius:4px;
}
.tab[aria-selected="true"]{
  background:var(--navy);
  border-color:var(--navy);
  color:var(--white);
}
.tab[aria-selected="true"] span{background:var(--red);color:var(--white)}
.tab-info{
  margin:18px 0 20px;
  color:var(--muted);
  min-height:1.65em;
}
.cal-card{
  background:var(--white);
  border:1px solid var(--line);
  border-top:4px solid var(--red);
  border-radius:var(--radius);
  padding:8px;
}
.cal-inline{
  width:100%;
  min-height:600px;
  overflow:auto;
}
.cal-inline:empty{
  display:flex;
  align-items:center;
  justify-content:center;
}
.cal-inline:empty::before{
  content:attr(data-loading);
  color:var(--muted);
  font-size:.95rem;
}
.cal-inline[hidden]{display:none!important}
.booking-foot{
  margin-top:18px;
  font-size:.92rem;
  color:var(--muted);
}
.booking-foot a{color:var(--navy);font-weight:600}
@media (max-width:767px){
  .tabs{display:grid;grid-template-columns:1fr}
  .tab{justify-content:space-between}
  .cal-card{padding:0}
  .cal-inline{min-height:520px}
}

/* ---------------- paquete mensual ---------------- */
.rate.is-pack{background:var(--soft)}
.pack-link{
  display:inline-block;
  font-family:var(--head);
  font-size:1rem;
  font-weight:700;
  color:var(--white);
  background:var(--navy);
  padding:8px 16px;
  border-radius:var(--radius);
  text-decoration:none;
}
.pack-link:hover{background:var(--red)}
.hero-note a,.faq .answer a,.booking-foot a{color:var(--navy);font-weight:600}

/* ---------------- formas de pago (footer) ---------------- */
.footer-pay-title{margin-top:28px}
.footer-pay{
  display:inline-block;
  margin:0;
  background:#FFFFFF;
  border-radius:var(--radius);
  padding:10px 14px;
}
.footer-pay img{display:block;height:44px;width:auto}

/* ---------------- por qué particular ---------------- */
.why{background:var(--navy);color:var(--white)}
.why h2{color:var(--white)}
.why .section-head .kicker{color:var(--white)}
.why .section-head p{color:#C9D2E6}
.why-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:40px 56px;
}
.why-item{border-top:3px solid var(--red);padding-top:20px}
.why-item h3{color:var(--white);margin-bottom:10px}
.why-item p{color:#C9D2E6;max-width:32em}
@media (max-width:767px){
  .why-grid{grid-template-columns:1fr;gap:32px}
}
  
/* ---------------- Business English destacado ---------------- */
.biz-card{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:48px;
  background:var(--white);
  border:1px solid var(--line);
  border-top:6px solid var(--red);
  border-radius:var(--radius);
  padding:44px;
  margin-bottom:56px;
  scroll-margin-top:var(--header-h);
}
.biz-tag{
  display:inline-block;
  font-family:var(--head);
  font-weight:700;
  font-size:.85rem;
  color:var(--white);
  background:var(--navy);
  padding:5px 12px;
  border-radius:4px;
  margin-bottom:16px;
}
.biz-intro h3{font-size:clamp(1.6rem,2.6vw,2.1rem);font-weight:800;margin-bottom:16px}
.biz-intro p{color:var(--muted)}
.biz-intro .biz-lead{color:var(--text);font-size:1.1rem}
.biz-intro .btn{margin-top:12px}
.biz-topics{
  background:var(--soft);
  border-radius:var(--radius);
  padding:28px;
}
.biz-topics-title{
  font-family:var(--head);
  font-weight:700;
  color:var(--navy);
  margin:0 0 6px;
}
.biz-topics ul{list-style:none;margin:0;padding:0}
.biz-topics li{
  padding:12px 0 12px 22px;
  border-top:1px solid var(--line);
  position:relative;
}
.biz-topics li:first-child{border-top:0}
.biz-topics li::before{
  content:"";
  position:absolute;
  left:0;top:19px;
  width:8px;height:8px;
  background:var(--red);
  border-radius:2px;
}
.biz-topics strong{display:block;color:var(--navy);font-weight:600;line-height:1.4}
.biz-topics span{display:block;color:var(--muted);font-size:.95rem;line-height:1.5}
.class-list-title{
  font-family:var(--head);
  font-weight:700;
  font-size:1.15rem;
  color:var(--navy);
  margin:0 0 4px;
}
@media (max-width:899px){
  .biz-card{grid-template-columns:1fr;gap:32px;padding:32px}
}
@media (max-width:600px){
  .biz-card{padding:24px 20px;margin-bottom:44px}
  .biz-topics{padding:20px}
  .biz-intro .btn{width:100%;white-space:normal}
}
