/* SpeakKing — site stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --gold: #a9873f;
  --gold-deep: #8a6f34;
  --gold-pale: #f1f2f4;
  --ink: #17140f;
  --ink-soft: #4a463f;
  --blue: #2f6fe0;
  --blue-light: #56b6f0;
  --cream: #f7f8fa;
  --white: #ffffff;
  --line: #e4e7ea;
  --radius: 12px;
  --shadow: 0 14px 40px rgba(23,20,15,0.09);
  --shadow-sm: 0 4px 14px rgba(23,20,15,0.06);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1160px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{ font-family: var(--serif); font-weight:600; line-height:1.15; margin:0 0 .5em; color: var(--ink); }
h1{ font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3{ font-size: 1.3rem; }
p{ margin:0 0 1em; }
ul{ margin:0; padding:0; list-style:none; }
.container{ max-width: var(--maxw); margin:0 auto; padding: 0 24px; }
.section{ padding: 72px 0; }
.section--tight{ padding: 48px 0; }
.section--alt{ background: var(--white); }
.eyebrow{
  display:inline-block; font-family: var(--sans); font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; font-size:.72rem; color: var(--gold-deep);
  background: var(--gold-pale); padding:6px 14px; border-radius:999px; margin-bottom:16px;
}
.lede{ font-size:1.1rem; color: var(--ink-soft); max-width: 62ch; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:.95rem;
  padding:13px 24px; border-radius:999px; border:1.5px solid transparent; cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn--gold{ background: var(--gold); color:#fff; }
.btn--gold:hover{ background: var(--gold-deep); box-shadow: var(--shadow-sm); }
.btn--dark{ background: var(--ink); color:#fff; }
.btn--dark:hover{ background:#000; }
.btn--outline{ background:transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover{ background: var(--ink); color:#fff; }
.btn--whatsapp{ background:#25D366; color:#fff; }
.btn--whatsapp:hover{ background:#1ebe5b; }
.btn--sm{ padding:9px 18px; font-size:.85rem; }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; margin-top: 28px; }

/* Header */
.site-header{
  position: sticky; top:0; z-index: 200; background: rgba(255,255,255,.90);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; height:82px; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand img{ height:40px; width:auto; }
.nav-primary{ display:flex; align-items:center; gap:28px; }
.nav-primary a{ font-weight:600; font-size:.95rem; color: var(--ink-soft); position:relative; padding:4px 0; }
.nav-primary a:hover, .nav-primary a.is-active{ color: var(--ink); }
.nav-primary a.is-active::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background: var(--gold);
}
.header-actions{ display:flex; align-items:center; gap:14px; }
.lang-switch{ display:flex; border:1px solid var(--line); border-radius:999px; overflow:hidden; background:#fff; }
.lang-switch button{
  border:none; background:transparent; padding:7px 12px; font-family: var(--sans); font-weight:700;
  font-size:.76rem; letter-spacing:.03em; cursor:pointer; color: var(--ink-soft);
}
.lang-switch button.is-active{ background: var(--ink); color:#fff; }
.menu-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.menu-toggle span{ display:block; width:24px; height:2px; background: var(--ink); margin:5px 0; }

@media (max-width: 1150px){
  .nav-primary{
    position:fixed; inset: 82px 0 0 0; background: var(--cream); flex-direction:column;
    align-items:flex-start; padding: 28px 24px; gap:20px; transform: translateX(100%);
    transition: transform .25s ease; overflow-y:auto;
  }
  .nav-primary.is-open{ transform: translateX(0); }
  .menu-toggle{ display:block; }
  .header-actions .btn span.btn-label{ display:none; }
}

/* Hero */
.hero{
  position:relative; overflow:hidden;
  background: radial-gradient(ellipse at 80% -10%, rgba(47,111,224,.10), transparent 55%),
              radial-gradient(ellipse at 0% 100%, rgba(29,78,216,.06), transparent 50%),
              var(--cream);
  padding: 76px 0 88px;
}
.hero-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap:48px; align-items:center; }
.hero-flame{
  position:absolute; top:-40px; right:-40px; width:340px; opacity:.10; pointer-events:none;
}
.hero-card{
  background:#fff; border-radius: var(--radius); box-shadow: var(--shadow); padding:28px;
  border:1px solid var(--line);
}
.hero-card h3{ margin-bottom:14px; }
.hero-stat-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:18px; }
.hero-stat{ background: var(--cream); border-radius:10px; padding:16px; }
.hero-stat b{ display:block; font-family: var(--serif); font-size:1.5rem; color: var(--gold-deep); }
.hero-stat span{ font-size:.82rem; color: var(--ink-soft); }

@media (max-width: 860px){
  .hero-grid{ grid-template-columns:1fr; }
}

/* Program cards */
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:860px){ .grid-2, .grid-3{ grid-template-columns:1fr; } }

.card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:30px;
  box-shadow: var(--shadow-sm); height:100%;
}
.card--program{ display:flex; flex-direction:column; gap:14px; }
.card--program .tag{
  align-self:flex-start; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  padding:5px 11px; border-radius:999px;
}
.tag--gold{ background: var(--gold-pale); color: var(--gold-deep); }
.tag--blue{ background:#e7f1fd; color: var(--blue); }
.card--program ul{ margin: 6px 0 4px; display:flex; flex-direction:column; gap:8px; }
.card--program ul li{ padding-left:22px; position:relative; color: var(--ink-soft); font-size:.95rem; }
.card--program ul li::before{
  content:"✓"; position:absolute; left:0; top:0; color: var(--gold); font-weight:700;
}

/* Icon feature row */
.feature{ display:flex; gap:16px; align-items:flex-start; }
.feature-ico{
  flex-shrink:0; width:46px; height:46px; border-radius:12px; display:flex; align-items:center;
  justify-content:center; background: var(--gold-pale); color: var(--gold-deep); font-size:1.2rem; font-weight:700;
}
.feature h4{ margin:0 0 6px; font-family: var(--sans); font-size:1.02rem; font-weight:700; }
.feature p{ margin:0; color: var(--ink-soft); font-size:.94rem; }

/* Pricing tables */
.price-table{ width:100%; border-collapse:collapse; background:#fff; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td{ padding:14px 16px; text-align:left; border-bottom:1px solid var(--line); font-size:.92rem; }
.price-table th{ background: var(--ink); color:#fff; font-family: var(--sans); font-weight:700; font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; }
.price-table tr:last-child td{ border-bottom:none; }
.price-table tr:nth-child(even) td{ background: var(--cream); }
.price-wrap{ overflow-x:auto; border-radius: var(--radius); }
.price-note{ font-size:.85rem; color: var(--ink-soft); margin-top:10px; }

.price-highlight{
  background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color:#fff; border-radius: var(--radius);
  padding:32px; display:grid; grid-template-columns: 1fr auto; gap:24px; align-items:center; box-shadow: var(--shadow);
}
.price-highlight .num{ font-family: var(--serif); font-size:2.4rem; }
.price-highlight small{ opacity:.85; font-size:.8rem; }
@media (max-width:700px){ .price-highlight{ grid-template-columns:1fr; text-align:center; } }

/* Steps */
.steps{ counter-reset: step; display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:860px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .steps{ grid-template-columns:1fr; } }
.step{ position:relative; padding-top:44px; }
.step::before{
  counter-increment: step; content: counter(step);
  position:absolute; top:0; left:0; width:36px; height:36px; border-radius:50%; background: var(--ink);
  color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-weight:700;
}
.step h4{ font-size:1rem; margin-bottom:4px; }
.step p{ font-size:.9rem; color: var(--ink-soft); }

/* Team */
.team-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:22px; text-align:center; box-shadow: var(--shadow-sm); }
.team-avatar{
  width:74px; height:74px; border-radius:50%; margin:0 auto 14px; display:flex; align-items:center; justify-content:center;
  background: var(--gold-pale); color: var(--gold-deep); font-family: var(--serif); font-size:1.5rem; font-weight:700;
}
.team-card h4{ margin:0 0 2px; font-size:1.05rem; }
.team-role{ color: var(--gold-deep); font-weight:600; font-size:.82rem; text-transform:uppercase; letter-spacing:.04em; margin-bottom:8px; }
.team-card p{ font-size:.88rem; color: var(--ink-soft); margin:0; }

/* Quote / testimonial */
.quote{ background: var(--ink); color:#fff; border-radius: var(--radius); padding:40px; }
.quote p{ font-family: var(--serif); font-style:italic; font-size:1.25rem; margin-bottom:14px; }
.quote cite{ font-style:normal; font-weight:600; opacity:.8; font-size:.9rem; }

/* CTA banner */
.cta-band{
  background: linear-gradient(120deg, var(--ink), #26221a);
  color:#fff; border-radius: 20px; padding:48px; text-align:center;
}
.cta-band .lede{ color:#d8d3c6; margin-left:auto; margin-right:auto; }

/* Contact */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:40px; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-item{ display:flex; gap:14px; margin-bottom:22px; }
.contact-item .ico{ width:42px; height:42px; border-radius:10px; background: var(--gold-pale); color: var(--gold-deep); display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0; }
.contact-item h4{ margin:0 0 3px; font-size:.98rem; }
.contact-item a, .contact-item span{ color: var(--ink-soft); font-size:.94rem; }
.map-frame{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe{ width:100%; height:280px; border:0; display:block; }

form.contact-form{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:28px; box-shadow: var(--shadow-sm); }
.form-row{ margin-bottom:16px; }
.form-row label{ display:block; font-size:.82rem; font-weight:600; margin-bottom:6px; color: var(--ink-soft); }
.form-row input, .form-row select, .form-row textarea{
  width:100%; padding:12px 14px; border-radius:8px; border:1px solid var(--line); font-family: var(--sans);
  font-size:.95rem; background: var(--cream);
}
.form-row textarea{ min-height:110px; resize:vertical; }
.form-note{ font-size:.8rem; color: var(--ink-soft); margin-top:10px; }

/* Footer */
.site-footer{ background: var(--ink); color:#d8d3c6; padding:56px 0 26px; margin-top:60px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:34px; margin-bottom:36px; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer img{ height:34px; margin-bottom:12px; }
.site-footer h5{ color:#fff; font-family: var(--sans); font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:14px; }
.site-footer ul li{ margin-bottom:9px; font-size:.9rem; }
.site-footer a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:22px; font-size:.8rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; color:#a39d8d; }

/* WhatsApp floating button */
.wa-float{
  position:fixed; bottom:22px; right:22px; z-index:300; background:#25D366; color:#fff; width:58px; height:58px;
  border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(0,0,0,.25);
  font-size:1.6rem;
}

/* Page header (interior pages) */
.page-hero{ padding:56px 0 40px; background: var(--white); border-bottom:1px solid var(--line); }
.breadcrumb{ font-size:.82rem; color: var(--ink-soft); margin-bottom:14px; }
.breadcrumb a{ color: var(--gold-deep); font-weight:600; }

.divider{ height:1px; background: var(--line); margin: 56px 0; border:none; }

/* Kid-friendly blue accents (Speak-Up) */
:focus-visible{ outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius:4px; }

.btn--blue{ background: var(--blue); color:#fff; }
.btn--blue:hover{ background:#1d4ed8; box-shadow: var(--shadow-sm); }

.card--kids{
  border: 2px solid #cfe3fb;
  border-top: 5px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(47,111,224,.06), var(--shadow-sm);
}
.card--kids:hover{ border-color: var(--blue); }

.feature-ico--blue{ background: #e7f1fd; color: var(--blue); }
.feature--kids .feature-ico{ background: #e7f1fd; color: var(--blue); border:2px solid #cfe3fb; }

.price-highlight--blue{ background: linear-gradient(135deg, var(--blue), #1d4ed8); }

.cta-band--blue{ background: linear-gradient(120deg, var(--blue), #1d4ed8); }

.hero-card--kids{ border: 2px solid #cfe3fb; box-shadow: 0 0 0 4px rgba(47,111,224,.07), var(--shadow); }
.hero-card--kids .hero-stat{ background: #eef5fe; }
.hero-card--kids .hero-stat b{ color: var(--blue); }

.tag--blue{ border:1px solid #bcd8fb; }
.eyebrow--blue{ background: #e7f1fd; color: var(--blue); }

.team-card--kids{ border-top: 4px solid var(--blue); }
.team-card--kids .team-avatar{ background:#e7f1fd; color: var(--blue); border:2px solid #cfe3fb; }
.team-card--kids .team-role{ color: var(--blue); }

.step--kids::before{ background: var(--blue); }

details.card--kids summary{ color: var(--ink); }
details.card--kids[open]{ border-color: var(--blue); }

.wave-divider{ width:100%; height:34px; display:block; }

.section--kids-bg{ background: #eef5fb; }

.dots-accent{ display:inline-flex; gap:7px; margin: 6px 0 18px; }
.dots-accent span{ width:9px; height:9px; border-radius:50%; display:inline-block; }
.dots-accent span:nth-child(1){ background: var(--su-orange); }
.dots-accent span:nth-child(2){ background: var(--su-crimson); }
.dots-accent span:nth-child(3){ background: var(--su-green); }
.dots-accent span:nth-child(4){ background: var(--su-purple); }

/* ============================================================
   Speak Up material palette (from the School to Go materials)
   ============================================================ */
:root{
  --su-purple: #4b2a7b;
  --su-purple-deep: #3a1f63;
  --su-orange: #e8834a;
  --su-crimson: #b5216b;
  --su-navy: #1b2a63;
  --su-green: #4caf82;
  --su-teal: #35b3c4;
  --su-yellow: #f2b636;
}

/* Playful section backgrounds echoing the material slides */
.section--su-purple{ background: var(--su-purple); color:#fff; position:relative; overflow:hidden; }
.section--su-purple h2, .section--su-purple h3, .section--su-purple h4{ color:#fff; }
.section--su-purple .lede, .section--su-purple p{ color: rgba(255,255,255,.86); }
.section--su-purple .eyebrow{ background: rgba(255,255,255,.16); color:#fff; }

.section--su-crimson{ background: var(--su-crimson); color:#fff; position:relative; overflow:hidden; }
.section--su-crimson h2, .section--su-crimson h3, .section--su-crimson h4{ color:#fff; }
.section--su-crimson .lede, .section--su-crimson p{ color: rgba(255,255,255,.88); }
.section--su-crimson .eyebrow{ background: rgba(255,255,255,.18); color:#fff; }

/* Big soft decorative blobs, like the Speak Up slide layouts */
.blob{ position:absolute; border-radius:50%; pointer-events:none; z-index:0; }
.blob--orange{ background: var(--su-orange); opacity:.85; }
.blob--crimson{ background: var(--su-crimson); opacity:.8; }
.blob--purple{ background: var(--su-purple); opacity:.8; }
.blob--teal{ background: var(--su-teal); opacity:.55; }
.blob--tl{ top:-140px; left:-120px; width:340px; height:340px; }
.blob--br{ bottom:-160px; right:-120px; width:420px; height:420px; }
.blob--tr{ top:-120px; right:-90px; width:280px; height:280px; }
.section--su-purple > .container, .section--su-crimson > .container{ position:relative; z-index:1; }

/* Material image cards */
.mat-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
@media (max-width:860px){ .mat-grid{ grid-template-columns:1fr; } }

.mat-card{
  background:#fff; border-radius:16px; overflow:hidden; border:2px solid #cfe3fb;
  box-shadow: 0 14px 34px rgba(23,20,15,.13); display:flex; flex-direction:column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mat-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 46px rgba(23,20,15,.19); border-color: var(--blue); }
.mat-card__img{ background:#f1f2f4; }
.mat-card__img img{ width:100%; height:auto; display:block; }
.mat-card__body{ padding:22px 24px 26px; }
.mat-card__body h4{ margin:0 0 8px; font-size:1.12rem; }
.mat-card__body p{ margin:0; color: var(--ink-soft); font-size:.94rem; }
.mat-card__tag{
  display:inline-block; font-size:.68rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  padding:5px 11px; border-radius:999px; margin-bottom:10px; background:#e7f1fd; color: var(--blue);
}
.mat-card__tag--orange{ background:#fdeee4; color:#c26527; }
.mat-card__tag--crimson{ background:#fce7f0; color: var(--su-crimson); }
.mat-card__tag--green{ background:#e6f6ee; color:#2f8b63; }
.mat-card__tag--purple{ background:#efe8f8; color: var(--su-purple); }

/* Framed single image (photo / wide material shot) */
.img-frame{
  border-radius:18px; overflow:hidden; box-shadow: 0 18px 44px rgba(23,20,15,.20);
  border:4px solid #fff; background:#f1f2f4;
}
.img-frame img{ width:100%; height:auto; display:block; }
.img-frame--tilt{ transform: rotate(-1.4deg); }
.img-frame--tilt-r{ transform: rotate(1.4deg); }

.img-caption{ font-size:.82rem; color: var(--ink-soft); margin-top:10px; text-align:center; }
.section--su-purple .img-caption, .section--su-crimson .img-caption{ color: rgba(255,255,255,.7); }

/* Hero with photo */
.hero-photo{ position:relative; }
.hero-photo .img-frame{ max-width:100%; }
.hero-photo__badge{
  position:absolute; bottom:-16px; left:-14px; background: var(--su-yellow); color:#3a2a06;
  font-weight:800; font-size:.8rem; padding:10px 16px; border-radius:999px;
  box-shadow: 0 8px 20px rgba(0,0,0,.18); transform: rotate(-3deg);
}
@media (max-width:860px){ .hero-photo__badge{ left:6px; bottom:-12px; } }

/* Curriculum unit grid */
.unit-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
@media (max-width:1000px){ .unit-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .unit-grid{ grid-template-columns:repeat(2,1fr); } }
.unit{
  background:#fff; border-radius:12px; padding:16px 14px; border:1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.unit:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }
.unit b{
  display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px;
  border-radius:50%; font-size:.82rem; margin-bottom:9px; color:#fff; font-family: var(--sans);
}
.unit:nth-child(5n+1) b{ background: var(--su-crimson); }
.unit:nth-child(5n+2) b{ background: var(--su-orange); }
.unit:nth-child(5n+3) b{ background: var(--su-green); }
.unit:nth-child(5n+4) b{ background: var(--blue); }
.unit:nth-child(5n+5) b{ background: var(--su-purple); }
.unit h5{ margin:0 0 4px; font-family: var(--sans); font-size:.92rem; font-weight:700; color: var(--ink); }
.unit span{ font-size:.8rem; color: var(--ink-soft); }

/* Level ladder (English File CEFR progression) */
.ladder{ display:flex; flex-direction:column; gap:10px; }
.ladder-step{
  display:grid; grid-template-columns: 46px 1fr auto; align-items:center; gap:16px;
  background:#fff; border:1px solid var(--line); border-radius:12px; padding:15px 18px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.ladder-step:hover{ transform: translateX(4px); box-shadow: var(--shadow); }
.ladder-step__cefr{
  width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  font-family: var(--serif); font-weight:700; font-size:1rem; color:#fff;
}
.ladder-step h4{ margin:0 0 2px; font-family: var(--sans); font-size:1rem; font-weight:700; }
.ladder-step p{ margin:0; font-size:.86rem; color: var(--ink-soft); }
.ladder-step__bar{ width:90px; height:8px; border-radius:999px; background: var(--gold-pale); overflow:hidden; }
.ladder-step__bar i{ display:block; height:100%; border-radius:999px; background: var(--gold); }
@media (max-width:640px){
  .ladder-step{ grid-template-columns: 40px 1fr; }
  .ladder-step__bar{ display:none; }
}

/* ============================================================
   English File level palette (sampled from the course covers)
   ============================================================ */
:root{
  --ef-purple: #6f2a8f;
  --ef-red:    #c61212;
  --ef-blue:   #007eb4;
  --ef-green:  #5ab424;
  --ef-pink:   #fc367e;
  --ef-orange: #ea6c12;
  --ef-teal:   #0090a2;
  --ef-yellow: #f5b301;
}

/* Ray-fan motif echoing the English File cover artwork */
.rays{ position:relative; overflow:hidden; }
.rays::before{
  content:""; position:absolute; top:0; right:0; width:230px; height:230px;
  background: repeating-conic-gradient(from 186deg at 100% 0%,
              var(--ray, var(--ef-blue)) 0deg 5deg, transparent 5deg 13deg);
  opacity:.15; pointer-events:none;
}
.rays > *{ position:relative; z-index:1; }

/* Goal cards — who the course is for */
.goal-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:1040px){ .goal-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .goal-grid{ grid-template-columns:1fr; } }

.goal-card{
  background:#fff; border-radius:14px; padding:26px 24px 28px; border:1px solid var(--line);
  border-top:5px solid var(--c, var(--ef-blue));
  box-shadow: var(--shadow-sm); height:100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.goal-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.goal-card__ico{
  width:48px; height:48px; border-radius:13px; display:flex; align-items:center; justify-content:center;
  font-size:1.35rem; margin-bottom:14px;
  background: var(--cream); /* fallback for browsers without color-mix() */
  background: color-mix(in srgb, var(--c, var(--ef-blue)) 14%, #fff);
}
.goal-card h4{ margin:0 0 8px; font-size:1.06rem; }
.goal-card p{ margin:0 0 12px; color: var(--ink-soft); font-size:.93rem; }
.goal-card ul{ display:flex; flex-direction:column; gap:6px; }
.goal-card ul li{
  font-size:.86rem; color: var(--ink-soft); padding-left:16px; position:relative;
}
.goal-card ul li::before{
  content:""; position:absolute; left:0; top:.5em; width:6px; height:6px; border-radius:50%;
  background: var(--c, var(--ef-blue));
}

/* English File level strip */
.ef-strip{ display:grid; grid-template-columns:repeat(8,1fr); gap:10px; margin-top:26px; }
@media (max-width:900px){ .ef-strip{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:520px){ .ef-strip{ grid-template-columns:repeat(2,1fr); } }
.ef-level{
  border-radius:11px; padding:14px 12px 16px; color:#fff; text-align:center;
  box-shadow: var(--shadow-sm); transition: transform .18s ease;
}
.ef-level:hover{ transform: translateY(-3px); }
.ef-level b{ display:block; font-family: var(--serif); font-size:1.15rem; margin-bottom:3px; }
.ef-level span{ display:block; font-size:.74rem; font-weight:600; opacity:.94; line-height:1.3; }

/* Book cover presentation */
.cover-shelf{ display:flex; align-items:flex-end; justify-content:center; gap:-10px; }
.cover{
  border-radius:6px; overflow:hidden; box-shadow: 0 14px 34px rgba(23,20,15,.26);
  transition: transform .2s ease;
}
.cover img{ display:block; width:100%; height:auto; }
.cover:hover{ transform: translateY(-6px) rotate(-1deg); }

/* ============================================================
   GPA / Kazakh & Russian palette
   GPA has no brand of its own, so this is drawn from Kazakh
   visual culture — sky blue and gold, with steppe clay tones.
   ============================================================ */
:root{
  --gpa-blue:      #00a3c4;
  --gpa-blue-deep: #00758d;
  --gpa-gold:      #f2c230;
  --gpa-clay:      #c4703f;
  --gpa-sand:      #f2f4f7;
  --gpa-teal-dark: #0b4a58;
}

.section--gpa-sand{ background: var(--gpa-sand); }
.section--gpa-deep{
  background: linear-gradient(135deg, var(--gpa-teal-dark), var(--gpa-blue-deep));
  color:#fff; position:relative; overflow:hidden;
}
.section--gpa-deep h2, .section--gpa-deep h3, .section--gpa-deep h4{ color:#fff; }
.section--gpa-deep p, .section--gpa-deep .lede{ color: rgba(255,255,255,.88); }
.section--gpa-deep .eyebrow{ background: rgba(255,255,255,.16); color:#fff; }
.section--gpa-deep > .container{ position:relative; z-index:1; }

.eyebrow--gpa{ background:#dff4f8; color: var(--gpa-blue-deep); }
.btn--gpa{ background: var(--gpa-blue); color:#fff; }
.btn--gpa:hover{ background: var(--gpa-blue-deep); box-shadow: var(--shadow-sm); }

.card--gpa{ border-top:4px solid var(--gpa-blue); }
.feature-ico--gpa{ background:#dff4f8; color: var(--gpa-blue-deep); }

/* Kazakh-inspired ornament band (original geometric motif) */
.ornament{
  height:14px; width:100%;
  background:
    repeating-linear-gradient(135deg, var(--gpa-blue) 0 10px, transparent 10px 20px),
    repeating-linear-gradient(45deg,  var(--gpa-gold) 0 10px, transparent 10px 20px),
    var(--gpa-sand);
  opacity:.9;
}

/* Phase cards for the six-phase programme */
.phase{
  display:grid; grid-template-columns: 64px 1fr; gap:20px; align-items:start;
  background:#fff; border:1px solid var(--line); border-radius:14px; padding:24px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.phase:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }
.phase__num{
  width:64px; height:64px; border-radius:50%; display:flex; flex-direction:column;
  align-items:center; justify-content:center; color:#fff; font-family: var(--serif);
  line-height:1;
}
.phase__num b{ font-size:1.5rem; }
.phase__num span{ font-size:.56rem; letter-spacing:.1em; text-transform:uppercase; opacity:.85; margin-top:2px; }
.phase h4{ margin:2px 0 4px; font-size:1.12rem; }
.phase__meta{
  display:inline-block; font-size:.74rem; font-weight:700; letter-spacing:.05em;
  text-transform:uppercase; color: var(--gpa-blue-deep); background:#dff4f8;
  padding:4px 10px; border-radius:999px; margin-bottom:10px;
}
.phase p{ margin:0; color: var(--ink-soft); font-size:.95rem; }
.phase__quote{
  margin-top:12px; padding-left:14px; border-left:3px solid var(--gpa-gold);
  font-style:italic; font-size:.9rem; color: var(--ink-soft);
}
@media (max-width:560px){
  .phase{ grid-template-columns:1fr; }
  .phase__num{ width:52px; height:52px; }
}

/* Pull-quote */
.pullquote{
  border-radius:18px; padding:40px 44px; background:#fff; border:1px solid var(--line);
  border-left:6px solid var(--gpa-gold); box-shadow: var(--shadow-sm);
}
.pullquote p{
  font-family: var(--serif); font-style:italic; font-size:1.45rem; line-height:1.4;
  margin:0 0 12px; color: var(--ink);
}
.pullquote cite{ font-style:normal; font-weight:600; font-size:.88rem; color: var(--ink-soft); }
@media (max-width:600px){ .pullquote{ padding:28px 24px; } .pullquote p{ font-size:1.2rem; } }

/* Hours split bar */
.hours-bar{ display:flex; height:38px; border-radius:10px; overflow:hidden; box-shadow: var(--shadow-sm); }
.hours-bar div{
  display:flex; align-items:center; justify-content:center; color:#fff;
  font-size:.78rem; font-weight:700;
}

/* ============================================================
   Home page components
   ============================================================ */

/* Trilingual display line */
.trilingual{
  font-family: var(--serif); font-weight:600; line-height:1.1;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem); margin:0 0 14px; display:flex;
  flex-wrap:wrap; gap:0 .5em; align-items:baseline;
}
.trilingual span:nth-child(1){ color: var(--gpa-blue); }
.trilingual span:nth-child(2){ color: var(--gold); }
.trilingual span:nth-child(3){ color: var(--ink); }
.trilingual i{ font-style:normal; color: var(--line); font-weight:400; }

/* Program preview card — takes its programme's accent colour */
.prog{
  background:#fff; border:1px solid var(--line); border-top:5px solid var(--pc, var(--gold));
  border-radius:14px; padding:0; overflow:hidden; display:flex; flex-direction:column; height:100%;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.prog:hover{ transform: translateY(-5px); box-shadow: var(--shadow); }
.prog__img{ background: var(--cream); border-bottom:1px solid var(--line); }
.prog__img img{ width:100%; height:158px; object-fit:cover; display:block; }
.prog__img--pad{ padding:16px 18px 6px; }
.prog__img--pad img{ height:126px; object-fit:contain; }
.prog__body{ padding:22px 24px 26px; display:flex; flex-direction:column; gap:11px; flex:1; }
.prog__tag{
  align-self:flex-start; font-size:.68rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase;
  padding:5px 11px; border-radius:999px; color:#fff; background: var(--pc, var(--gold));
}
.prog__body h3{ margin:0; font-size:1.22rem; }
.prog__body > p{ margin:0; color: var(--ink-soft); font-size:.94rem; }
.prog__facts{ display:flex; flex-direction:column; gap:7px; margin:2px 0 0; }
.prog__facts li{ font-size:.87rem; color: var(--ink-soft); padding-left:17px; position:relative; }
.prog__facts li::before{
  content:""; position:absolute; left:0; top:.48em; width:7px; height:7px; border-radius:50%;
  background: var(--pc, var(--gold));
}
.prog__foot{
  margin-top:auto; padding-top:14px; display:flex; align-items:center; justify-content:space-between;
  gap:12px; flex-wrap:wrap;
}
.prog__price{ font-size:.82rem; color: var(--ink-soft); }
.prog__price b{ font-family: var(--serif); font-size:1.12rem; color: var(--ink); }

/* Method strip — three methods side by side */
.method-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:860px){ .method-row{ grid-template-columns:1fr; } }
.method{
  border-radius:14px; padding:24px; background:#fff; border:1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.method__name{
  font-family: var(--sans); font-size:.72rem; font-weight:800; letter-spacing:.1em;
  text-transform:uppercase; margin-bottom:9px; color: var(--mc, var(--gold-deep));
}
.method h4{ margin:0 0 8px; font-size:1.05rem; }
.method p{ margin:0; font-size:.92rem; color: var(--ink-soft); }

/* ============================================================
   Speak-Up core values (kid-facing layer)
   Six values, six colours — carried from the values mockup.
   ============================================================ */
:root{
  --v1: #e8734a;  /* Grow Every Day   */
  --v2: #d99a20;  /* Try Your Best    */
  --v3: #5fa88f;  /* Listen and Learn */
  --v4: #e05e78;  /* Kind Heart       */
  --v5: #8a6cb0;  /* Keep Your Word   */
  --v6: #4a7fb5;  /* Ask for Help     */
}

.values-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:940px){ .values-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .values-grid{ grid-template-columns:1fr; } }

.value{
  background:#fff; border-radius:16px; overflow:hidden; border:1px solid var(--line);
  border-top:5px solid var(--vc, var(--v1));
  box-shadow: var(--shadow-sm); display:flex; flex-direction:column; height:100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.value:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }

/* tinted panel that holds the line icon now, a student drawing later */
.value__slot{
  height:150px; display:flex; align-items:center; justify-content:center;
  background: var(--vt, #fdf0ea); position:relative;
}
.value__slot svg{ width:64px; height:64px; }
.value__slot img{ width:100%; height:100%; object-fit:cover; }

.value__body{ padding:22px 24px 26px; display:flex; flex-direction:column; gap:9px; flex:1; }
.value__num{
  display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px;
  border-radius:50%; background: var(--vc, var(--v1)); color:#fff; font-family: var(--sans);
  font-size:.76rem; font-weight:800;
}
.value__body h4{ margin:0; font-size:1.1rem; }
.value__line{
  margin:0; color: var(--ink); font-size:.97rem; font-style:italic;
  padding-left:13px; border-left:3px solid var(--vc, var(--v1));
}
.value__prompt{
  margin:auto 0 0; padding-top:12px; font-size:.82rem; color: var(--ink-soft);
  border-top:1px dashed var(--line);
}
.value__prompt b{
  display:block; font-size:.66rem; letter-spacing:.11em; text-transform:uppercase;
  color: var(--vc, var(--v1)); margin-bottom:3px; font-weight:800;
}

/* Colour chip row */
.chip-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.chip{
  display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line);
  border-radius:999px; padding:8px 15px; font-size:.86rem; font-weight:600; box-shadow: var(--shadow-sm);
}
.chip i{ width:10px; height:10px; border-radius:50%; display:inline-block; }
.section--su-purple .chip, .section--su-crimson .chip{
  background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.26); color:#fff;
}

[lang-el]{ }
html[data-lang="kk"] body, html[data-lang="ru"] body { }

/* ============================================================
   Cohesion pass — August 2026
   Principle: full-bleed panels stay in the warm family
   (cream / espresso). Programme colours stay as accents on
   edges, labels and numerals — never as a saturated fill.
   ============================================================ */
:root{
  --espresso:      #241d15;
  --espresso-soft: #33291a;
  --cream-tint:    #fafbfc;
}

/* --- CTA band: warm shell, gold rule, left-aligned ------------ */
.cta-band{
  position:relative; overflow:hidden; text-align:left;
  padding:46px 48px;
  border-top:3px solid var(--gold);
  background: #ffffff;
}
.cta-band > *{ position:relative; z-index:1; }
.cta-band h2{ max-width:24ch; }
.cta-band .lede{ color:#ddd6c6; max-width:48ch; margin-left:0; margin-right:0; }
.cta-band .btn-row{ justify-content:flex-start; }
.cta-band__foot{
  margin-top:28px; padding-top:18px; border-top:1px solid rgba(255,255,255,.14);
  display:flex; gap:14px 28px; flex-wrap:wrap; font-size:.85rem; color:#a89f8c;
}
.cta-band__foot b{ color:#e6e0d2; font-weight:600; }
@media (max-width:640px){ .cta-band{ padding:32px 24px; } }

/* --- Method cards: defined edge, numeral, closing link -------- */
.method-row{ gap:20px; }
.method{
  position:relative; overflow:hidden;
  display:flex; flex-direction:column; gap:9px;
  background: var(--cream-tint);
  border:1px solid var(--line);
  border-left:4px solid var(--mc, var(--gold));
  border-radius:14px;
  padding:26px 26px 20px;
  box-shadow:none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.method:hover{ transform: translateY(-3px); box-shadow: var(--shadow-sm); background:#fff; }
.method__num{
  position:absolute; top:10px; right:20px; pointer-events:none;
  font-family: var(--serif); font-weight:700; font-size:3.6rem; line-height:1;
  color: var(--mc, var(--gold)); opacity:.13;
}
.method__name{ margin-bottom:2px; padding-right:58px; font-size:.70rem; }
.method h4{ margin:0 0 4px; font-size:1.13rem; max-width:22ch; }
.method p{ font-size:.93rem; }
.method__for{
  margin-top:auto; padding-top:15px; border-top:1px dashed var(--line);
  display:flex; align-items:baseline; justify-content:space-between; gap:14px;
  font-size:.84rem; color: var(--ink-soft);
}
.method__for a{ color: var(--mc, var(--gold)); font-weight:700; white-space:nowrap; }

/* --- Offer card: quiet shell, accent edge, price before CTA --- */
.offer{
  display:grid; grid-template-columns: 1fr auto; gap:14px 40px; align-items:start;
  background: var(--white);
  border:1px solid var(--line);
  border-left:6px solid var(--pc, var(--blue));
  border-radius:16px;
  box-shadow: var(--shadow-sm);
  padding:38px 42px;
}
.offer__badge{ grid-column:1; grid-row:1; margin-bottom:0; justify-self:start; }
.offer h2{ grid-column:1; grid-row:2; margin:0; max-width:26ch; }
.offer p{ grid-column:1; grid-row:3; margin:0; color: var(--ink-soft); font-size:.97rem; max-width:54ch; }
.offer__cta{ grid-column:1; grid-row:4; margin-top:8px; }
.offer__price{
  grid-column:2; grid-row:1 / span 4;
  text-align:right; padding-left:34px; border-left:1px solid var(--line);
  min-width:190px;
}
.offer__was{
  display:block; font-size:.92rem; color: var(--ink-soft);
  text-decoration:line-through; text-decoration-thickness:1px; margin-bottom:4px;
}
.offer__num{
  font-family: var(--serif); font-weight:700; line-height:1;
  font-size: clamp(2.4rem, 5vw, 3.2rem); color: var(--pc, var(--blue));
}
.offer__unit{ display:block; margin-top:8px; font-size:.82rem; color: var(--ink-soft); }
@media (max-width:760px){
  .offer{ grid-template-columns:1fr; padding:30px 26px; gap:12px; }
  .offer__badge, .offer h2, .offer p, .offer__price, .offer__cta{ grid-column:1; grid-row:auto; }
  .offer__price{
    text-align:left; padding:16px 0 0; border-left:none; border-top:1px solid var(--line);
    margin-top:6px;
  }
}

/* --- Footer joins the warm family so band → footer reads continuous --- */
.site-footer{
  background: linear-gradient(180deg, var(--espresso) 0%, #1b150e 100%);
  border-top:1px solid var(--line);
}

/* --- CTA band at desktop: contact detail fills the right column ------ */
@media (min-width:900px){
  .cta-band{
    display:grid; grid-template-columns: 1.22fr .78fr; gap:4px 56px; align-items:start;
  }
  .cta-band h2{ grid-column:1; grid-row:1; }
  .cta-band .lede{ grid-column:1; grid-row:2; }
  .cta-band .btn-row{ grid-column:1 / span 2; grid-row:3; margin-top:30px; }
  .cta-band__foot{
    grid-column:2; grid-row:1 / span 2;
    flex-direction:column; gap:15px; align-self:stretch;
    margin:6px 0 0; padding:4px 0 4px 32px;
    border-top:none; border-left:1px solid rgba(255,255,255,.16);
  }
}

/* ============================================================
   Green accent + check motif — from the twin speech-bubble logo
   Green marks confirmation and inclusion: what you get, what's
   covered. It is never a navigation or programme colour.
   ============================================================ */
:root{
  --green:      #46be50;
  --green-deep: #2f8f3c;
  --green-pale: #e8f7ea;
}

/* Reusable check list */
.checks{ display:flex; flex-direction:column; gap:9px; }
.checks li{ position:relative; padding-left:26px; color: var(--ink-soft); font-size:.94rem; }
.checks li::before{
  content:"\2713"; position:absolute; left:0; top:-1px;
  width:18px; height:18px; border-radius:50%;
  background: var(--green-pale); color: var(--green-deep);
  font-size:.72rem; font-weight:800; line-height:18px; text-align:center;
}

/* Programme fact lists: dots become checks, since every line is an inclusion */
.prog__facts li{ padding-left:26px; }
.prog__facts li::before{
  content:"\2713"; width:18px; height:18px; border-radius:50%;
  background: var(--green-pale); color: var(--green-deep);
  font-size:.72rem; font-weight:800; line-height:18px; text-align:center;
  top:-1px; left:0;
}
.card--program ul li{ padding-left:26px; }
.card--program ul li::before{
  content:"\2713"; width:18px; height:18px; border-radius:50%;
  background: var(--green-pale); color: var(--green-deep);
  font-size:.72rem; font-weight:800; line-height:18px; text-align:center;
  top:0; left:0;
}

.tag--green{ background: var(--green-pale); color: var(--green-deep); }
.eyebrow--green{ background: var(--green-pale); color: var(--green-deep); }
.btn--green{ background: var(--green-deep); color:#fff; }
.btn--green:hover{ background:#27772f; box-shadow: var(--shadow-sm); }

/* Included-badge: for guarantees and "everything is covered" claims */
.included{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--green-pale); color: var(--green-deep);
  border-radius:999px; padding:7px 15px 7px 11px;
  font-size:.84rem; font-weight:700;
}
.included svg{ width:16px; height:16px; flex-shrink:0; }

/* --- Programme card footer: one shape for all three ------------ */
.prog__foot{
  flex-direction:column; align-items:flex-start; gap:12px; flex-wrap:nowrap;
}
.prog__price{ line-height:1.35; }

/* --- Mobile header: the hamburger was pushed off-screen --------- */
@media (max-width: 1150px){
  /* the floating WhatsApp button already covers this, so the header
     copy is redundant and it was consuming the toggle's space */
  .header-actions .btn--whatsapp{ display:none; }
  .brand img{ height:34px; }
  .site-header .container{ gap:10px; height:70px; }
  .lang-switch button{ padding:6px 9px; font-size:.72rem; }
  .nav-primary{ inset: 70px 0 0 0; }
}
@media (max-width: 380px){
  .brand img{ height:30px; }
  .lang-switch button{ padding:6px 7px; font-size:.68rem; }
}

/* Keep the floating button clear of the footer's last row */
.site-footer{ padding-bottom:88px; }

/* ============================================================
   Mobile navigation — full-screen overlay
   The old panel used translateX(100%), which left it in the
   layout and let the page swipe sideways to reveal it. This
   uses visibility instead, so there is nothing off-canvas to
   scroll to.
   ============================================================ */
html, body{ overflow-x: hidden; max-width:100%; }
body.nav-open{ overflow: hidden; }

@media (max-width: 1150px){
  .nav-primary{
    position: fixed; inset: 0; z-index: 150;
    transform: none; overflow: hidden;
    display: flex; flex-direction: column; align-items: stretch;
    justify-content: flex-start; gap: 0;
    padding: 88px 22px 28px;
    background:
      radial-gradient(ellipse at 92% 4%, rgba(47,111,224,.07), transparent 58%),
      linear-gradient(170deg, #ffffff 0%, var(--cream) 100%);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }
  .nav-primary.is-open{ opacity: 1; visibility: visible; pointer-events: auto; }

  /* each page as a full-width row, not a cramped list */
  .nav-primary a{
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 4px; font-size: 1.22rem; font-family: var(--serif);
    font-weight: 700; color: var(--ink);
    border-bottom: 1px solid rgba(23,20,15,.10);
  }
  .nav-primary a::after{
    content: "\2192"; font-family: var(--sans); font-size: .95rem;
    color: var(--gold); opacity: .55; position: static;
    left: auto; right: auto; bottom: auto; height: auto; background: none;
  }
  .nav-primary a.is-active{ color: var(--gold-deep, #8a6d2c); }
  .nav-primary a.is-active::after{ opacity: 1; }
  .nav-primary a:last-of-type{ border-bottom: none; }

  /* the header stays above the overlay so the toggle can close it */
  .site-header{ z-index: 200; }

  /* hamburger becomes an X while open */
  .menu-toggle span{ transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}

/* footer contact block inside the overlay */
.nav-foot{ display:none; }
@media (max-width: 1150px){
  .nav-foot{
    display: flex; flex-direction: column; gap: 6px;
    margin-top: auto; padding-top: 22px;
    border-top: 1px solid rgba(23,20,15,.12);
    font-size: .88rem; color: var(--ink-soft);
  }
  .nav-foot a{ color: var(--ink); font-weight: 700; border: none; padding: 0; display: inline; font-family: var(--sans); font-size: .9rem; }
  .nav-foot a::after{ content: none; }
}

@media (max-width: 1150px){
  /* backdrop-filter makes the header a containing block for fixed children,
     which trapped the overlay inside the header's own box */
  .site-header{ backdrop-filter: none; background: var(--cream); }
  /* keep the toggle and language switch clickable above the overlay */
  .menu-toggle, .header-actions, .brand{ position: relative; z-index: 210; }
}

@media (max-width: 1150px){
  /* the desktop active-underline rule was still painting a gold bar in the overlay */
  .nav-primary a.is-active::after{
    content: "\2192"; position: static; left:auto; right:auto; bottom:auto;
    height:auto; background:none; opacity:1;
  }
  /* the floating WhatsApp button must not sit on top of the overlay */
  body.nav-open .wa-float{ opacity:0; pointer-events:none; }
  .wa-float{ transition: opacity .2s ease; }
}

/* ============================================================
   Light treatment for the closing band and the footer
   Neutral panel, ink text, programme-blue rule. No tan.
   ============================================================ */
.cta-band{
  background:
    radial-gradient(ellipse at 90% 6%, rgba(47,111,224,.09), transparent 56%),
    linear-gradient(150deg, #ffffff 0%, #f8f9fb 62%, #f1f4f8 100%);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow-sm);
}
.cta-band h2{ color: var(--ink) !important; }
.cta-band .lede{ color: var(--ink-soft); }
.cta-band__foot{
  border-top-color: rgba(23,20,15,.12) !important;
  color: var(--ink-soft);
}
.cta-band__foot b{ color: var(--ink); }
.cta-band__foot a{ color: var(--ink); font-weight:600; }
@media (min-width: 900px){
  .cta-band__foot{ border-left-color: rgba(23,20,15,.12); }
}
/* the outline button carried white borders for the dark panel */
.cta-band .btn--outline{
  border-color: rgba(23,20,15,.28) !important;
  color: var(--ink) !important;
}
.cta-band .btn--outline:hover{ background: rgba(23,20,15,.05) !important; }

.site-footer{
  background: #ffffff;
  color: var(--ink-soft);
  border-top: none;
}
.site-footer h5{ color: var(--ink); }
.site-footer a{ color: var(--ink-soft); }
.site-footer a:hover{ color: var(--gold-deep, #8a6d2c); }
.site-footer p{ color: var(--ink-soft); }
.footer-bottom{
  border-top: 1px solid rgba(23,20,15,.12) !important;
  color: var(--ink-soft);
}

/* ============================================================
   Growth arc + values on the home page
   ============================================================ */
.arc{ display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; margin-top:30px; }
.arc__step{
  position:relative; background: var(--white); border:1px solid var(--line);
  border-radius:14px; padding:22px 20px 20px;
}
.arc__step::after{
  content:"\2192"; position:absolute; right:-14px; top:50%; transform:translateY(-50%);
  color: var(--gold); font-size:1.05rem; font-weight:700; z-index:2;
}
.arc__step:last-child::after{ content:none; }
.arc__n{
  display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:50%;
  background: var(--green-pale); color: var(--green-deep);
  font-size:.76rem; font-weight:800; margin-bottom:12px;
}
.arc__step h4{ margin:0 0 6px; font-size:1.02rem; }
.arc__step p{ margin:0; font-size:.89rem; color: var(--ink-soft); }
@media (max-width:900px){
  .arc{ grid-template-columns: repeat(2, 1fr); }
  .arc__step:nth-child(2)::after{ content:none; }
}
@media (max-width:520px){
  .arc{ grid-template-columns: 1fr; }
  .arc__step::after{
    content:"\2193"; right:auto; left:32px; top:auto; bottom:-13px; transform:none;
  }
  .arc__step:nth-child(2)::after{ content:"\2193"; }
  .arc__step:last-child::after{ content:none; }
}

.vchips{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; margin-top:26px; }
.vchip{
  background: var(--white); border:1px solid var(--line);
  border-left:4px solid var(--vc, var(--gold));
  border-radius:12px; padding:16px 18px;
}
.vchip b{ display:block; font-size:.95rem; color: var(--vc, var(--ink)); margin-bottom:5px; }
.vchip span{ display:block; font-size:.88rem; color: var(--ink-soft); font-style:italic; line-height:1.5; }
@media (max-width:860px){ .vchips{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width:560px){ .vchips{ grid-template-columns: 1fr; } }

/* The page can no longer scroll sideways, so wide tables must scroll
   inside their own container rather than being clipped. */
.price-wrap{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-wrap table{ min-width: 520px; }
@media (max-width: 620px){
  .price-table th, .price-table td{ font-size:.86rem; padding:10px 12px; }
}

/* WhatsApp: dark text reads better on the brand green than white does */
.btn--whatsapp{ color: var(--ink) !important; }
.btn--whatsapp:hover{ color: var(--ink) !important; }
.wa-float{ color: var(--ink) !important; }

/* Footer: white, separated by a coloured divider rather than a tan slab */
.site-footer{
  background: #ffffff;
  border-top: none;
  position: relative;
  color: var(--ink-soft);
}
.site-footer::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg,
    var(--blue) 0%, var(--blue) 34%,
    var(--ef-blue) 34%, var(--ef-blue) 67%,
    var(--gpa-blue) 67%, var(--gpa-blue) 100%);
}
.footer-bottom{ border-top: 1px solid var(--line) !important; }

/* Cultural-fluency block */
.culture{ display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; margin-top:28px; }
.culture__item{
  background: var(--white); border:1px solid var(--line);
  border-top:3px solid var(--ef-blue); border-radius:14px; padding:24px 22px;
}
.culture__item h4{ margin:0 0 8px; font-size:1.04rem; }
.culture__item p{ margin:0; font-size:.92rem; color: var(--ink-soft); }
.culture__tag{
  display:inline-block; margin-bottom:12px; padding:4px 11px; border-radius:999px;
  background: rgba(29,78,216,.08); color: var(--ef-blue);
  font-size:.7rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase;
}
@media (max-width:880px){ .culture{ grid-template-columns:1fr; } }
.eyebrow--ef{ background:#e8effc; color: var(--ef-blue); }

/* ============================================================
   Founding-family offer — layered panel with a torn ticket
   ============================================================ */
.foffer{
  position:relative; overflow:hidden; border-radius:20px;
  padding:38px 40px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255,255,255,.20), transparent 42%),
    radial-gradient(circle at 8% 100%, rgba(70,190,80,.22), transparent 46%),
    linear-gradient(140deg, #1e4fd0 0%, #1d4ed8 45%, #1637a6 100%);
  color:#fff;
  box-shadow: 0 18px 44px rgba(22,55,166,.28);
}
/* faint speech-bubble grid, echoing the logo mark */
.foffer::before{
  content:""; position:absolute; inset:0; opacity:.14; pointer-events:none;
  background-image:
    linear-gradient(0deg, rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 78% 12%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at 78% 12%, #000 0%, transparent 68%);
}
.foffer > *{ position:relative; z-index:1; }
.foffer__grid{ display:grid; grid-template-columns: 1fr auto; gap:34px; align-items:center; }
.foffer__badge{
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(255,255,255,.16); color:#fff;
  border:1px solid rgba(255,255,255,.30);
  border-radius:999px; padding:6px 14px; margin-bottom:16px;
  font-size:.7rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase;
}
.foffer__badge::before{
  content:"\2713"; width:15px; height:15px; border-radius:50%;
  background: var(--green); color:#0f2a63; font-size:.62rem; font-weight:900;
  line-height:15px; text-align:center; letter-spacing:0;
}
.foffer h3{ color:#fff; font-size:1.62rem; margin:0 0 10px; max-width:24ch; }
.foffer p{ color:rgba(255,255,255,.90); margin:0; max-width:50ch; font-size:.97rem; }
.foffer__list{ margin:18px 0 0; display:flex; flex-direction:column; gap:8px; }
.foffer__list li{ position:relative; padding-left:25px; font-size:.9rem; color:rgba(255,255,255,.92); }
.foffer__list li::before{
  content:"\2713"; position:absolute; left:0; top:0;
  width:17px; height:17px; border-radius:50%;
  background: var(--green); color:#0f2a63;
  font-size:.66rem; font-weight:900; line-height:17px; text-align:center;
}

/* the ticket: perforated left edge with punched notches */
.ticket{
  position:relative; background:#fff; color: var(--ink);
  border-radius:14px; padding:26px 30px 24px 34px; text-align:center;
  min-width:236px;
}
.ticket::before{
  content:""; position:absolute; left:12px; top:16px; bottom:16px; width:0;
  border-left:2px dashed rgba(23,20,15,.18);
}
.ticket__notch{
  position:absolute; left:1px; width:20px; height:20px; border-radius:50%;
  background:#1e4bcb; z-index:2;
}
.ticket__notch--t{ top:-10px; }
.ticket__notch--b{ bottom:-10px; background:#1a3fb4; }
@media (max-width:820px){ .ticket__notch{ display:none; } }
.ticket__was{
  display:block; font-size:.9rem; color: var(--ink-soft);
  text-decoration: line-through; text-decoration-thickness:1px; margin-bottom:2px;
}
.ticket__num{
  display:block; font-family: var(--serif); font-weight:700; line-height:1;
  font-size: clamp(2.5rem, 5vw, 3.1rem); color:#1d4ed8;
}
.ticket__unit{ display:block; margin-top:8px; font-size:.8rem; color: var(--ink-soft); }
.ticket__save{
  display:inline-block; margin-top:14px; padding:5px 12px; border-radius:999px;
  background: var(--green-pale); color: var(--green-deep);
  font-size:.74rem; font-weight:800;
}
.foffer__cta{ margin-top:22px; display:flex; gap:12px; flex-wrap:wrap; }
.foffer .btn--light{ background:#fff; color:#1637a6; }
.foffer .btn--light:hover{ background:#eef3ff; }
.foffer .btn--ghost{
  background:transparent; color:#fff; border:1px solid rgba(255,255,255,.45);
}
.foffer .btn--ghost:hover{ background: rgba(255,255,255,.12); }
.foffer__fine{
  margin-top:20px; padding-top:16px; border-top:1px solid rgba(255,255,255,.20);
  font-size:.8rem; color:rgba(255,255,255,.72);
}
@media (max-width: 820px){
  .foffer{ padding:30px 24px; }
  .foffer__grid{ grid-template-columns:1fr; gap:24px; }
  .ticket{ min-width:0; }
  .ticket::after{ display:none; }
}

/* About: partner block, quality checks, forward-looking strip */
.qcheck{ display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; margin-top:30px; }
.qcheck__item{
  background: var(--white); border:1px solid var(--line); border-radius:14px;
  padding:24px 22px; position:relative;
}
.qcheck__n{
  font-family: var(--serif); font-size:1.9rem; font-weight:700;
  color: var(--gold); opacity:.42; line-height:1; display:block; margin-bottom:10px;
}
.qcheck__item h4{ margin:0 0 7px; font-size:1.02rem; }
.qcheck__item p{ margin:0; font-size:.9rem; color: var(--ink-soft); }
@media (max-width:880px){ .qcheck{ grid-template-columns:1fr; } }

.ladder{ display:flex; flex-direction:column; gap:0; margin-top:26px; }
.ladder__row{
  display:grid; grid-template-columns: 92px 1fr; gap:20px; align-items:baseline;
  padding:18px 0; border-bottom:1px solid var(--line);
}
.ladder__row:last-child{ border-bottom:none; }
.ladder__stage{
  font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color: var(--gold-deep, #8a6d2c);
}
.ladder__row p{ margin:0; font-size:.94rem; color: var(--ink-soft); }
.ladder__row b{ color: var(--ink); }
@media (max-width:620px){
  .ladder__row{ grid-template-columns:1fr; gap:6px; }
}

/* About: heritage timeline */
.tline{
  background: var(--white); border:1px solid var(--line); border-radius:16px;
  padding:26px 28px; box-shadow: var(--shadow-sm);
}
.tline__row{ display:grid; grid-template-columns:64px 1fr; gap:18px; position:relative; padding-bottom:22px; }
.tline__row:last-child{ padding-bottom:0; }
.tline__row::before{
  content:""; position:absolute; left:7px; top:22px; bottom:0; width:2px; background: var(--line);
}
.tline__row:last-child::before{ display:none; }
.tline__row::after{
  content:""; position:absolute; left:2px; top:6px; width:12px; height:12px; border-radius:50%;
  background: var(--white); border:3px solid var(--blue);
}
.tline__yr{
  font-family: var(--serif); font-weight:700; font-size:1.05rem; color: var(--ink);
  padding-left:26px;
}
.tline__row p{ margin:0; font-size:.9rem; color: var(--ink-soft); }
.tline__row b{ color: var(--ink); }
.tline__facts{
  margin-top:6px; padding-top:20px; border-top:1px solid var(--line);
  display:grid; grid-template-columns:repeat(3,1fr); gap:14px;
}
.tline__fact b{ display:block; font-family:var(--serif); font-size:1.35rem; color: var(--ink); line-height:1; }
.tline__fact span{ display:block; font-size:.76rem; color: var(--ink-soft); margin-top:5px; }
@media (max-width:620px){
  .tline__row{ grid-template-columns:1fr; gap:4px; }
  .tline__row p{ padding-left:26px; }
}

/* Value stack + guarantee (Speak-Up pricing) */
.vstack{
  background: var(--white); border:1px solid var(--line); border-radius:16px;
  padding:8px 26px 22px; box-shadow: var(--shadow-sm);
}
.vstack__row{
  display:grid; grid-template-columns:1fr auto; gap:18px; align-items:baseline;
  padding:15px 0; border-bottom:1px dashed var(--line);
}
.vstack__row p{ margin:0; font-size:.95rem; color: var(--ink-soft); }
.vstack__row b{ color: var(--ink); font-weight:600; }
.vstack__val{ font-family: var(--serif); font-size:1.02rem; color: var(--ink); white-space:nowrap; }
.vstack__val--inc{ font-family: var(--sans); font-size:.8rem; font-weight:800; color: var(--green-deep); }
.vstack__total{
  display:grid; grid-template-columns:1fr auto; gap:18px; align-items:baseline;
  padding:16px 0 6px; border-bottom:none;
}
.vstack__total span{ font-size:.8rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color: var(--ink-soft); }
.vstack__total .strike{ font-family:var(--serif); font-size:1.35rem; color: var(--ink-soft); text-decoration:line-through; }
.vstack__pay{
  display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center;
  margin-top:10px; padding:16px 20px; border-radius:12px; background:#eef4ff;
}
.vstack__pay span{ font-size:.86rem; font-weight:700; color:#1637a6; }
.vstack__pay b{ font-family:var(--serif); font-size:1.9rem; line-height:1; color:#1d4ed8; }

.guarantee{
  display:grid; grid-template-columns:auto 1fr; gap:20px; align-items:start;
  background: var(--green-pale); border-radius:16px; padding:26px 28px;
  border-left:5px solid var(--green-deep);
}
.guarantee__seal{
  width:52px; height:52px; border-radius:50%; background:var(--green-deep); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:1.5rem; flex-shrink:0;
}
.guarantee h3{ margin:0 0 8px; font-size:1.18rem; color:#1f5c28; }
.guarantee p{ margin:0; font-size:.95rem; color:#2f5335; }
.guarantee p + p{ margin-top:10px; font-size:.85rem; color:#4a6b50; }
@media (max-width:620px){
  .vstack{ padding:8px 18px 18px; }
  .vstack__row{ grid-template-columns:1fr; gap:4px; }
  .vstack__val{ font-size:.95rem; }
  .guarantee{ grid-template-columns:1fr; gap:14px; padding:22px 20px; }
}


/* ===== Placement test page ===== */
/* Page-specific additions for the placement test — reuses the site's
     existing CSS variables so it matches without touching the shared stylesheet. */
  .pt-box{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow-sm); margin-bottom:26px; }
  .pt-box h2{ font-size:1.3rem; margin-bottom:6px; }
  .pt-box .pt-sub{ color:var(--ink-soft); margin-top:-4px; margin-bottom:18px; font-size:.95rem; }
  .opt-list{ display:flex; flex-direction:column; gap:8px; }
  .opt{ display:flex; align-items:flex-start; gap:10px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; cursor:pointer; transition:border-color .15s, background .15s; font-size:.95rem; }
  .opt:hover{ border-color: var(--gold); background: var(--gold-pale); }
  .opt input{ margin-top:3px; flex-shrink:0; }
  .qblock{ padding:18px 0; border-bottom:1px solid var(--line); }
  .qblock:last-child{ border-bottom:none; }
  .qblock .q-text{ font-weight:600; margin-bottom:10px; }
  .qblock .q-num{ color: var(--gold-deep); }
  .passage-box{ background: var(--cream); border-left:4px solid var(--gold); padding:16px 18px; border-radius:8px; font-style:italic; color: var(--ink-soft); }
  .pt-hint{ font-size:.82rem; color: var(--ink-soft); margin-top:6px; }
  #childNameField{ margin-top:16px; }
  .pt-error{ color:#b3261e; font-size:.9rem; margin-top:12px; display:none; }
  #thankyou{ display:none; }
  .pt-box .form-row{ margin-bottom:16px; }
  .pt-box .form-row label{ display:block; font-size:.82rem; font-weight:600; margin-bottom:6px; color: var(--ink-soft); }
  .pt-box .form-row input, .pt-box .form-row select{
    width:100%; padding:11px 14px; border:1px solid var(--line); border-radius:8px; font-size:.95rem; font-family:inherit; background:#fff;
  }



/* Kazakh and Russian nav labels are longer than the English ones and were
   wrapping to two lines on desktop. Keep one line and tighten the spacing. */
@media (min-width: 1151px){
  .nav-primary a{ white-space: nowrap; }
}
@media (min-width: 1151px) and (max-width: 1420px){
  .nav-primary{ gap: 16px; }
  .nav-primary a{ font-size: .92rem; }
  .site-header .container{ gap: 12px; }
  .header-actions{ gap: 10px; }
  .header-actions .btn--whatsapp span.btn-label{ display: none; }
  .header-actions .btn--whatsapp{ padding-left: 12px; padding-right: 12px; }
}
