:root {
  --blue: #1646c5;
  --blue-deep: #082d91;
  --blue-soft: #eaf0ff;
  --ink: #111318;
  --muted: #5d6470;
  --line: #dfe3eb;
  --surface: #f5f7fb;
  --white: #fff;
  --green: #20a866;
  --radius-lg: 32px;
  --radius-md: 20px;
  --shadow: 0 24px 70px rgba(24, 45, 91, .12);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 9999; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #78a0ff; outline-offset: 3px; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  transition: padding .25s ease;
}
.nav-shell {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 64px;
  padding: 8px 10px 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 32px rgba(22,38,80,.08);
  border-radius: 22px;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}
.site-header.scrolled { padding-top: 7px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 226px; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 1rem; letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a { padding: 11px 13px; border-radius: 13px; text-decoration: none; font-size: .9rem; font-weight: 600; color: #343944; }
.main-nav a:hover { background: rgba(22,70,197,.07); color: var(--blue); }
.main-nav .nav-cta { margin-left: 5px; color: #fff; background: var(--blue); padding-inline: 18px; }
.main-nav .nav-cta:hover { background: var(--blue-deep); color: #fff; }
.menu-button { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--surface); padding: 12px; }
.menu-button span:not(.sr-only) { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

.hero { position: relative; min-height: 780px; height: 92vh; max-height: 930px; overflow: hidden; background: #f4f7fb; }
.hero-image { position: absolute; inset: 0; background: url("../images/hero-classroom.webp") center center / cover no-repeat; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.98) 28%, rgba(255,255,255,.84) 42%, rgba(255,255,255,.13) 67%, rgba(255,255,255,0) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 150px; background: linear-gradient(transparent, rgba(17,19,24,.14)); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: var(--max); height: 100%; margin: 0 auto; padding: 170px 32px 85px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-kicker, .section-label { margin: 0 0 18px; color: var(--blue); font-weight: 700; font-size: .92rem; letter-spacing: -.01em; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(3.5rem, 6.2vw, 6.8rem); line-height: .91; letter-spacing: -.072em; font-weight: 760; text-wrap: balance; }
.hero-copy { max-width: 590px; margin: 30px 0 0; color: #3d424d; font-size: clamp(1.12rem, 1.7vw, 1.35rem); line-height: 1.48; letter-spacing: -.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 23px; border-radius: 16px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 28px rgba(22,70,197,.23); }
.button-primary:hover { background: var(--blue-deep); box-shadow: 0 16px 34px rgba(22,70,197,.28); }
.button-quiet { background: rgba(255,255,255,.75); color: var(--ink); border: 1px solid rgba(17,19,24,.12); backdrop-filter: blur(12px); }
.hero-note { margin: 22px 0 0; font-size: .86rem; color: #4f5661; }
.hero-note span { color: var(--green); margin-right: 6px; }

.proof { position: relative; z-index: 4; max-width: var(--max); margin: -48px auto 0; padding: 0 32px; }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); border-radius: var(--radius-lg); backdrop-filter: blur(20px); overflow: hidden; }
.proof article { min-height: 126px; padding: 28px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.proof article:last-child { border: 0; }
.proof strong { font-size: 1.55rem; letter-spacing: -.045em; }
.proof span { margin-top: 4px; color: var(--muted); font-size: .92rem; }

.section { max-width: var(--max); margin: 0 auto; padding: 145px 32px; }
.section-heading { max-width: 800px; }
.section-heading h2, .business h2, .final-cta h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .98; letter-spacing: -.062em; text-wrap: balance; }
.section-heading > p:last-child { max-width: 690px; margin: 28px 0 0; color: var(--muted); font-size: 1.16rem; line-height: 1.65; }
.section-heading-row { max-width: none; display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; }
.section-heading-row > p:last-child { margin: 0 0 7px; }
.method .section-heading h2 { font-size: clamp(2.35rem,4vw,4.25rem); }

.method-stage { margin-top: 68px; display: grid; grid-template-columns: 340px 1fr; min-height: 510px; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.level-rail { padding: 20px; display: flex; flex-direction: column; gap: 8px; background: #fff; border-right: 1px solid var(--line); }
.level-tab { min-height: 105px; border: 0; border-radius: 18px; background: transparent; color: var(--muted); display: flex; align-items: center; gap: 20px; padding: 18px; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.level-tab span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; font-size: .9rem; }
.level-tab:hover { color: var(--ink); background: var(--surface); }
.level-tab.is-active { color: #fff; background: var(--blue); box-shadow: 0 14px 30px rgba(22,70,197,.2); }
.level-tab.is-active span { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.12); }
.level-panel { padding: clamp(45px,7vw,90px); display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 100% 0, #dfe8ff 0, transparent 42%), var(--surface); }
.level-number { margin: 0 0 16px; color: var(--blue); font-weight: 800; }
.level-panel h3 { max-width: 650px; margin: 0; font-size: clamp(2.1rem,4vw,4.2rem); line-height: 1; letter-spacing: -.055em; }
.level-description { max-width: 660px; margin: 24px 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.skill-list { margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.skill-list li { padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; }

.programs { padding-top: 65px; }
.programs .section-heading h2 { font-size: clamp(2.35rem,4vw,4.25rem); }
.program-grid { margin-top: 65px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.program-card { min-height: 560px; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.program-card.featured { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 28px 70px rgba(22,70,197,.23); }
.program-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: var(--blue-soft); color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: -.02em; }
.featured .program-icon { background: rgba(255,255,255,.14); color: #fff; }
.card-meta { margin: 36px 0 10px; font-size: .84rem; font-weight: 700; color: var(--blue); }
.featured .card-meta { color: rgba(255,255,255,.72); }
.program-card h3 { margin: 0; font-size: 2rem; letter-spacing: -.045em; }
.program-card div > p:last-child { margin: 18px 0 0; color: var(--muted); line-height: 1.65; }
.featured div > p:last-child { color: rgba(255,255,255,.78); }
.program-card ul { margin: 32px 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--line); }
.featured ul { border-color: rgba(255,255,255,.22); }
.program-card li { padding: 7px 0 7px 26px; position: relative; }
.program-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.featured li::before { color: #fff; }
.program-card > a { margin-top: auto; font-weight: 800; color: var(--blue); text-underline-offset: 5px; }
.featured > a { color: #fff; }
.language-strip { margin-top: 26px; min-height: 118px; padding: 25px 30px; border-radius: 25px; background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.language-strip p { font-weight: 700; }
.language-strip div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.language-strip span { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 650; }

.business { margin: 0 24px; min-height: 710px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 38px; background: #071d5a; color: #fff; }
.business-copy { padding: clamp(55px,8vw,120px); display: flex; flex-direction: column; justify-content: center; }
.business .section-label { color: #9bb6ff; }
.business h2 { font-size: clamp(2.35rem,4vw,4.25rem); }
.business-copy > p:not(.section-label) { max-width: 610px; margin: 28px 0 34px; color: rgba(255,255,255,.72); font-size: 1.08rem; line-height: 1.65; }
.button-light { align-self: flex-start; color: #0c2a78; background: #fff; }
.business-visual { position: relative; min-height: 600px; overflow: hidden; background: linear-gradient(145deg,#0a2d85,#1e5cff); }
.business-visual::before { content: ""; position: absolute; width: 530px; height: 530px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; top: 90px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 0 70px rgba(255,255,255,.04), 0 0 0 140px rgba(255,255,255,.03); }
.conversation-card { position: absolute; width: 280px; min-height: 150px; padding: 28px; border: 1px solid rgba(255,255,255,.34); border-radius: 25px; background: rgba(255,255,255,.15); backdrop-filter: blur(18px); box-shadow: 0 22px 50px rgba(0,0,0,.18); }
.conversation-card span { display: block; margin-bottom: 23px; color: rgba(255,255,255,.7); }
.conversation-card strong { font-size: 1.7rem; line-height: 1.05; letter-spacing: -.04em; }
.card-a { top: 105px; left: 10%; transform: rotate(-6deg); }
.card-b { top: 282px; right: 8%; transform: rotate(5deg); }
.card-c { bottom: 70px; left: 18%; transform: rotate(-2deg); }

.schedule { padding-bottom: 70px; }
.schedule-card { padding: clamp(38px,6vw,76px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.schedule-card > div:first-child { display: flex; justify-content: center; }
.schedule-card > div:first-child h2 { width: 100%; max-width: 900px; margin: 0 auto; text-align: center; }
.schedule-card h2 { margin: 0; font-size: clamp(2.5rem,5vw,4.8rem); line-height: 1; letter-spacing: -.06em; }
.schedule-options { margin-top: 55px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.schedule-options article { padding: 30px; border-radius: 23px; background: #fff; border: 1px solid var(--line); }
.schedule-options span { color: var(--blue); font-weight: 800; }
.schedule-options strong { display: block; margin-top: 14px; font-size: 1.65rem; letter-spacing: -.04em; }
.schedule-options p, .schedule-note { color: var(--muted); }
.schedule-note { margin: 22px 0 0; font-size: .9rem; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.faq .section-heading h2 { font-size: clamp(2.8rem,4vw,4.8rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 27px 50px 27px 0; font-size: 1.15rem; font-weight: 750; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 10px; top: 23px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--blue); font-size: 1.25rem; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 700px; margin: -5px 50px 26px 0; color: var(--muted); line-height: 1.65; }

.final-cta { max-width: var(--max); margin: 20px auto 100px; padding: 48px 70px; display: flex; align-items: end; justify-content: space-between; gap: 60px; border-radius: 34px; background: #edf2ff; }
.final-cta p { color: var(--blue); font-weight: 750; }
.final-cta h2 { max-width: 790px; font-size: clamp(2.5rem,4vw,4.4rem); }
.final-cta .button { flex: 0 0 auto; }

.site-footer { position: relative; padding: 70px max(32px, calc((100vw - var(--max))/2 + 32px)) 35px; display: grid; grid-template-columns: 1.25fr .75fr .6fr; gap: 60px; color: rgba(255,255,255,.72); background: #0b1020; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 58px; height: 58px; object-fit: contain; background: #fff; border-radius: 50%; }
.footer-brand p, .footer-location p, .footer-contact p { margin: 0; }
.footer-brand strong { color: #fff; }
.footer-location a, .footer-contact a { display: inline-block; margin-top: 10px; color: #fff; font-weight: 700; text-underline-offset: 4px; }
.copyright { grid-column: 1 / -1; margin: 30px 0 0; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.whatsapp-float { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.22); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-float svg { width: 28px; fill: currentColor; }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 80px; left: 20px; right: 20px; padding: 12px; display: none; align-items: stretch; flex-direction: column; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px; }
  .main-nav .nav-cta { margin: 5px 0 0; text-align: center; }
  .hero { min-height: 760px; height: auto; }
  .hero-image { background-position: 62% center; }
  .hero-wash { background: linear-gradient(90deg,rgba(255,255,255,.98) 0,rgba(255,255,255,.93) 42%,rgba(255,255,255,.48) 68%,rgba(255,255,255,.1)); }
  .hero-content { min-height: 760px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof article:nth-child(2) { border-right: 0; }
  .proof article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading-row { grid-template-columns: 1fr; gap: 20px; }
  .method-stage { grid-template-columns: 240px 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 0; }
  .business { grid-template-columns: 1fr; }
  .business-visual { min-height: 590px; }
  .faq { grid-template-columns: 1fr; gap: 45px; }
  .final-cta { flex-direction: column; align-items: flex-start; margin-inline: 24px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-header { padding: 8px; }
  .nav-shell { min-height: 58px; border-radius: 18px; }
  .brand { min-width: auto; }
  .brand img { width: 40px; height: 40px; }
  .brand small { display: none; }
  .main-nav { top: 70px; left: 8px; right: 8px; }
  .hero { min-height: 780px; background: #f4f7fb; }
  .hero-image { inset: 290px 0 0; height: 490px; background-size: auto 100%; background-position: 61% bottom; }
  .hero-wash { background: linear-gradient(180deg,#fff 0,#fff 42%,rgba(255,255,255,.92) 52%,rgba(255,255,255,.1) 79%); }
  .hero-content { min-height: 780px; padding: 125px 20px 42px; justify-content: flex-start; }
  .hero-kicker { margin-bottom: 14px; }
  .hero h1 { max-width: 590px; font-size: clamp(3rem,14vw,4.7rem); line-height: .93; }
  .hero-copy { max-width: 540px; margin-top: 20px; font-size: 1.02rem; }
  .hero-actions { margin-top: 24px; }
  .button { width: 100%; }
  .button-quiet { background: rgba(255,255,255,.92); }
  .hero-note { display: none; }
  .proof { margin-top: -22px; padding: 0 14px; }
  .proof-grid { border-radius: 24px; }
  .proof article { min-height: 108px; padding: 20px; }
  .proof strong { font-size: 1.25rem; }
  .proof span { font-size: .8rem; }
  .section { padding: 100px 20px; }
  .section-heading h2, .business h2, .final-cta h2 { font-size: 2.65rem; }
  .method .section-heading h2 { font-size: 2.35rem; }
  .business h2 { font-size: 2.35rem; }
  .section-heading > p:last-child { font-size: 1rem; }
  .method-stage { margin-top: 42px; display: block; min-height: 0; }
  .level-rail { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .level-tab { min-height: 74px; padding: 12px; gap: 10px; font-size: .83rem; }
  .level-tab span { width: 32px; height: 32px; }
  .level-panel { min-height: 430px; padding: 36px 25px; }
  .level-panel h3 { font-size: 2.5rem; }
  .programs { padding-top: 10px; }
  .programs .section-heading h2 { font-size: 2.35rem; }
  .program-grid { margin-top: 42px; }
  .program-card { padding: 26px; border-radius: 24px; }
  .language-strip { align-items: flex-start; flex-direction: column; }
  .language-strip div { justify-content: flex-start; }
  .business { margin: 0 10px; border-radius: 30px; }
  .business-copy { padding: 58px 26px; }
  .button-light { width: 100%; }
  .business-visual { min-height: 530px; }
  .conversation-card { width: 230px; min-height: 132px; padding: 22px; }
  .conversation-card strong { font-size: 1.4rem; }
  .card-a { left: 5%; }
  .card-b { right: 2%; top: 260px; }
  .card-c { left: 10%; bottom: 40px; }
  .schedule { padding-bottom: 30px; }
  .schedule-card { padding: 30px 20px; }
  .schedule-options { grid-template-columns: 1fr; gap: 14px; }
  .schedule-card > div:first-child h2 { margin: 0 auto; text-align: center; }
  .schedule-options { margin-top: 34px; }
  .faq { gap: 30px; }
  .faq summary { font-size: 1.02rem; }
  .final-cta { margin: 15px 10px 70px; padding: 36px 24px; gap: 28px; border-radius: 28px; }
  .site-footer { padding: 55px 24px 25px; grid-template-columns: 1fr; gap: 34px; }
  .copyright { margin-top: 5px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
