:root {
    --ink: #14161a;
    --ink-soft: #4a4f57;
    --muted: #6b7079;
    --line: #e6e8ec;
    --bg: #ffffff;
    --bg-alt: #f6f7f9;
    --brand: #ff750f;
    --brand-dark: #e0620a;
    --brand-tint: #fff1e6;
    --dark: #ff750f;
    --radius: 16px;
    --shadow: 0 8px 30px rgba(20, 22, 26, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--ink-soft); }
.small-note { font-size: .85rem; color: var(--muted); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4em;
    padding: .8em 1.4em; border-radius: 999px; font-weight: 600; font-size: 1rem;
    text-decoration: none; border: 2px solid transparent; cursor: pointer;
    transition: transform .15s, background .15s, box-shadow .15s;
    font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(255, 117, 15, .35); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: .5em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .35); }
.btn-whatsapp:hover { background: #1ebc59; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.brand-name em { font-style: normal; color: var(--brand); }
.brand-light { color: #fff; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav a.btn-primary { color: #fff; }
.nav-item.dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 0; font: inherit; font-weight: 500; color: var(--ink-soft); cursor: pointer; }
.nav-dropdown-toggle:hover { color: var(--ink); }
.nav-dropdown-toggle .caret { transition: transform .15s ease; }
.nav-item.dropdown.open .nav-dropdown-toggle { color: var(--ink); }
.nav-item.dropdown.open .caret { transform: rotate(180deg); }
.nav-dropdown-panel { display: none; position: absolute; top: calc(100% + 16px); left: 0; min-width: 200px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 16px 32px rgba(20, 22, 26, .16); z-index: 30; }
.nav-item.dropdown.open .nav-dropdown-panel { display: block; }
.nav-dropdown-panel a { display: block; padding: .6em .9em; border-radius: 8px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-dropdown-panel a:hover { background: var(--brand-tint); color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.header-login { border-color: var(--ink); font-weight: 700; white-space: nowrap; }
.header-login:hover { background: var(--ink); color: #fff; }
.nav-login { display: none; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a { padding: .35em .75em; font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.lang a.active { background: var(--ink); color: #fff; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { background: #fff; padding: 64px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; padding: .3em .9em; border-radius: 999px; background: var(--brand-tint); color: var(--ink); font-weight: 700; font-size: .85rem; margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-note { font-size: .92rem; color: var(--muted); }
.hero-note a { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ielts-cta {
    display: flex; align-items: center; gap: 18px; width: 100%; max-width: 560px;
    padding: 18px 22px; border-radius: 20px; text-decoration: none;
    background: var(--dark); color: #fff; box-shadow: 0 14px 34px rgba(20, 22, 26, .25);
    transition: transform .15s, box-shadow .15s;
}
.ielts-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(20, 22, 26, .32); }
.ielts-logo { flex: 0 0 auto; width: 76px; height: 76px; }
.ielts-logo svg { width: 100%; height: 100%; display: block; }
.ielts-cta-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ielts-cta-text strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.ielts-cta-text small { font-size: .9rem; color: rgba(255, 255, 255, .72); line-height: 1.35; }
.ielts-cta-arrow { display: grid; place-items: center; flex: 0 0 auto; margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); transition: transform .15s, background .15s; }
.ielts-cta:hover .ielts-cta-arrow { transform: translateX(4px); background: var(--brand-dark); }
.hero-card { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-tile { display: block; border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.hero-tile:hover { box-shadow: 0 20px 30px rgba(20, 22, 26, .12); transform: translateY(-2px); }
.hero-tile.t2:hover, .hero-tile.t4:hover { transform: translateY(12px); }
.hero-tile b { display: block; font-size: 1.4rem; letter-spacing: -.02em; }
.hero-tile span { color: var(--muted); font-size: .9rem; }
.hero-tile.t1 { background: var(--brand); color: #fff; border-color: var(--brand); }
.hero-tile.t1 span { color: rgba(255, 255, 255, .85); }
.hero-tile.t4 { background: var(--dark); color: #fff; border-color: var(--dark); }
.hero-tile.t4 span { color: rgba(255, 255, 255, .7); }
.hero-tile.t5 { background: var(--dark); color: #fff; border-color: var(--dark); }
.hero-tile.t5 span { color: rgba(255, 255, 255, .7); }
.hero-tile.t2 { transform: translateY(14px); }
.hero-tile.t4 { transform: translateY(14px); }

/* Stats */
.stats { border-block: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; padding-block: 28px; text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); }
.stat span { color: var(--muted); font-size: .9rem; }

/* Sections — every section is white; a top border marks where one ends and the next begins */
.section { padding: 72px 0; background: #fff; }
.section-alt { background: #fff; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.page-hero { padding-bottom: 32px; }
.page-hero h1 { margin: 0 0 .2em; }
.quick-links { grid-template-columns: repeat(3, 1fr); }
.quick-link { text-decoration: none; color: inherit; display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: transform .15s ease, box-shadow .15s ease; }
.quick-link:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(20, 22, 26, .12); }
.quick-link h3 { margin: 0; font-size: 1.05rem; }
.quick-link .link { pointer-events: none; white-space: nowrap; }
@media (max-width: 820px) { .quick-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .quick-links { grid-template-columns: 1fr; } }
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; }
.ticks li::before {
    content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
    background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ticks.small { gap: 8px; font-size: .92rem; }
.ticks.small li { font-weight: 400; padding-left: 28px; }
.ticks.small li::before { width: 17px; height: 17px; top: .3em; }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.course { display: flex; flex-direction: column; gap: 4px; transition: box-shadow .2s, transform .2s; }
.course:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.course-cover { width: calc(100% + 48px); margin: -24px -24px 16px; max-width: none; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.course .ticks { margin-bottom: 14px; }
.course .link { margin-top: auto; color: var(--ink); }
.link { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.levels { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.levels span { font-size: .72rem; padding: .25em .65em; border-radius: 999px; background: var(--brand-tint); color: var(--ink); font-weight: 600; }
.why-num { font-weight: 800; font-size: 2.2rem; color: var(--ink); opacity: .5; }
/* Teachers */
.teachers-glass { background: #fff; border-top: 1px solid var(--line); }
.glass-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; align-items: start; }
.glass-card {
    display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px;
    background: #fff; color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: 0 14px 36px rgba(20, 22, 26, .16);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.glass-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 20px 44px rgba(20, 22, 26, .2); }
.t-head { display: flex; align-items: center; gap: 14px; }
.t-avatar { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); box-shadow: 0 0 0 4px rgba(20, 22, 26, .06); }
.t-ph { display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; color: #fff; background: #ff750f; }
.t-title { min-width: 0; }
.t-title h3 { color: var(--ink); margin: 0 0 .15em; font-size: 1.08rem; line-height: 1.2; overflow-wrap: anywhere; }
.t-title p { margin: 0; color: var(--ink-soft); font-weight: 600; font-size: .85rem; }
.glass-card .chips { margin: 0; }
.glass-card .chips span { background: var(--brand-tint); color: var(--ink); border: 1px solid var(--brand-tint); box-shadow: none; }
.glass-card .chips .chip-specialization { background: #fff; border-color: #fed7aa; color: var(--brand-dark); }
.t-bio { margin: 0 0 12px; color: var(--ink-soft); font-size: .9rem; }
.t-more { margin-top: auto; padding-top: 4px; }
.t-more summary {
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
    color: var(--ink); font-weight: 700; font-size: .85rem; padding: .5em 1em; border-radius: 999px;
    background: var(--brand-tint); transition: background .15s;
}
.t-more summary:hover { background: #ffe4cc; }
.t-more summary::-webkit-details-marker { display: none; }
.t-more summary::after { content: '▾'; font-size: .7rem; transition: transform .15s; }
.t-more[open] summary::after { transform: rotate(180deg); }
.t-more-body { padding-top: 14px; }
.glass-card .teacher-facts { margin-top: 6px; }
.glass-card .teacher-facts dt { color: var(--ink); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.glass-card .teacher-facts dd { color: var(--ink-soft); }
@media (max-width: 560px) {
    /* Phones: one swipeable row instead of a very long column */
    .glass-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 4px 16px 14px; -webkit-overflow-scrolling: touch; }
    .glass-card { flex: 0 0 82%; scroll-snap-align: center; }
}
.teacher-ph { width: 100%; aspect-ratio: 1; border-radius: 12px; margin-bottom: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--ink); font-size: 3rem; font-weight: 800; }
.teacher-headline { color: var(--ink-soft); font-weight: 600; margin-bottom: .6em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chips span { font-size: .75rem; font-weight: 600; padding: .25em .7em; border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft); }
.teacher-facts { margin: 8px 0 0; font-size: .88rem; }
.teacher-facts dt { font-weight: 700; margin-top: 8px; color: var(--ink-soft); }
.teacher-facts dd { margin: 0; color: var(--muted); }
.teacher img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }

/* Admission (Kazakhstan / China) — brief teaser cards on the home page */
.admission-grid { grid-template-columns: repeat(2, 1fr); }
.admission-teaser-card {
    display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}
.admission-teaser-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(20, 22, 26, .14); }
.admission-cover { display: block; width: 100%; height: auto; aspect-ratio: 400/250; object-fit: cover; }
.admission-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 4px; }
.admission-flag { display: inline-block; align-self: flex-start; padding: .3em .9em; border-radius: 999px; background: var(--brand-tint); color: var(--brand-dark); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.admission-body h3 { margin: 0 0 10px; }
.admission-teaser-card .link { pointer-events: none; }

/* Admission (dedicated per-country page) */
.admission-back { display: inline-block; margin-bottom: 20px; }
.admission-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-bottom: 40px; }
.admission-hero-cover, .admission-hero .admission-cover { border-radius: var(--radius); width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.admission-hero-body h1 { margin: 0 0 12px; font-size: 2rem; }
.admission-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 24px; }
.admission-service-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.admission-credit { margin-bottom: 24px; }
.admission-other { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 820px) {
    .admission-hero { grid-template-columns: 1fr; }
}

/* Join */
.join { background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
.join .lead { color: var(--ink-soft); }
.join .small-note { color: var(--muted); }
.join-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.form-card { color: var(--ink); padding: 28px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
    width: 100%; padding: .75em .9em; border: 1px solid #d3d6dc; border-radius: 12px;
    font: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.err { color: #c0271d; font-size: .8rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.alert-ok { background: #e8f7ee; color: #14683a; border: 1px solid #b7e4c7; padding: 16px; border-radius: 12px; font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-item a, .contact-item strong { font-weight: 700; font-size: 1.05rem; text-decoration: none; }

/* Footer */
.site-footer { background: #fff; color: var(--muted); border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-tag { margin: 8px 0 0; font-size: .9rem; }
.footer-copy { margin: 0; font-size: .85rem; }

/* Tablet / mobile */
@media (max-width: 960px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
    .burger { display: flex; }
    .nav {
        position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; display: none;
        box-shadow: 0 16px 24px rgba(20, 22, 26, .08);
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
    .nav a.nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; padding: .7em 1em; }
    .nav-item.dropdown { position: static; }
    .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--line); }
    .nav-dropdown-panel { position: static; box-shadow: none; padding: 0 0 0 14px; border-radius: 0; }
    .nav-dropdown-panel a { padding: 10px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .hero { padding: 40px 0 36px; }
    .hero-inner, .about, .admission-grid, .join-inner { grid-template-columns: 1fr; gap: 28px; }
    .section { padding: 52px 0; }
}
@media (max-width: 560px) {
    .grid-4, .grid-3 { grid-template-columns: 1fr; }
    .hero-actions .btn { flex: 1 1 100%; }
    .header-login { display: none; }
    .nav-login { display: block; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Public refresh: warmer, clearer, mobile-first presentation */
:root {
    --ink: #17211f;
    --ink-soft: #40504c;
    --muted: #6a7874;
    --line: #e3ebe7;
    --bg: #fffdf7;
    --bg-alt: #f3f9f5;
    --brand: #ff750f;
    --brand-dark: #cf5c08;
    --brand-tint: #fff0df;
    --mint: #0f9b83;
    --mint-tint: #e8f7f2;
    --rose: #f05f7f;
    --sky: #4f8cff;
    --sun: #ffd166;
    --shadow: 0 18px 46px rgba(29, 55, 49, .12);
}

body.site-public {
    background:
        radial-gradient(circle at 8% 8%, rgba(255, 209, 102, .24), transparent 26rem),
        radial-gradient(circle at 92% 16%, rgba(15, 155, 131, .14), transparent 24rem),
        linear-gradient(180deg, #fffaf0 0%, #fffdf7 38%, #f7fbf8 100%);
}

h1, h2, h3, .brand { letter-spacing: 0; }
.container { padding: 0 18px; }
.site-header {
    background: rgba(255, 253, 247, .94);
    border-bottom-color: rgba(23, 33, 31, .08);
    box-shadow: 0 8px 26px rgba(29, 55, 49, .05);
}
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(29, 55, 49, .12); }
.brand-name {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 .2rem;
    font-size: 1.45rem;
}
.nav { gap: 18px; }
.nav a, .nav-dropdown-toggle { font-weight: 700; color: #3a4743; }
.nav a:not(.btn):hover, .nav-dropdown-toggle:hover { color: var(--brand-dark); }
.nav a.btn-primary, .btn-primary {
    background: linear-gradient(135deg, var(--brand), #ff9e3f);
    border: 0;
    color: #fff;
    box-shadow: 0 12px 24px rgba(255, 117, 15, .26);
}
.btn-ghost {
    background: rgba(255, 255, 255, .78);
    border-color: rgba(23, 33, 31, .13);
}
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }

.lang-menu { position: relative; }
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 72px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(23, 33, 31, .13);
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(29, 55, 49, .08);
}
.lang-toggle:hover { color: var(--brand-dark); border-color: rgba(255, 117, 15, .35); }
.lang-panel {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    z-index: 60;
    min-width: 180px;
    padding: 8px;
    border: 1px solid rgba(23, 33, 31, .1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(29, 55, 49, .18);
}
.lang-menu.open .lang-panel { display: grid; gap: 4px; }
.lang-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
}
.lang-panel a:hover, .lang-panel a.active { background: var(--mint-tint); color: var(--ink); }
.lang-panel span { font-weight: 900; }
.lang-panel small { color: var(--muted); font-weight: 700; }
.lang { display: none; }

.mobile-nav-row { display: none; }
.mobile-nav-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 0;
    padding-bottom: 12px;
    scrollbar-width: none;
}
.mobile-nav-scroll::-webkit-scrollbar { display: none; }
.mobile-nav-scroll a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid rgba(23, 33, 31, .09);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    color: #33413d;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(29, 55, 49, .06);
}
.mobile-nav-scroll a:first-child { background: var(--mint); color: #fff; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 64px;
    background:
        linear-gradient(135deg, rgba(255, 240, 223, .95), rgba(232, 247, 242, .95)),
        #fffdf7;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 117, 15, .17), transparent 16rem),
        radial-gradient(circle at 84% 22%, rgba(79, 140, 255, .14), transparent 18rem),
        radial-gradient(circle at 70% 88%, rgba(240, 95, 127, .12), transparent 20rem);
    pointer-events: none;
}
.hero-inner { position: relative; grid-template-columns: minmax(0, 1.03fr) minmax(350px, .97fr); }
.eyebrow {
    background: #fff;
    color: var(--mint);
    border: 1px solid rgba(15, 155, 131, .16);
    box-shadow: 0 10px 24px rgba(29, 55, 49, .08);
}
.hero h1 { max-width: 11ch; color: var(--ink); text-wrap: balance; }
.hero .lead { max-width: 620px; font-size: clamp(1rem, 2vw, 1.18rem); color: #40504c; }
.hero-actions .btn { min-height: 48px; }
.ielts-cta {
    max-width: 590px;
    border: 1px solid rgba(255, 255, 255, .5);
    background: linear-gradient(135deg, #173d38, #0f9b83);
    box-shadow: 0 18px 40px rgba(15, 75, 68, .22);
}
.ielts-logo { width: 58px; height: 58px; }
.ielts-cta-arrow { background: rgba(255, 255, 255, .18); }

.hero-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 28px;
    background: rgba(255, 255, 255, .66);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}
.hero-photo {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    border-radius: 22px;
    background: var(--mint-tint);
}
.hero-photo img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
}
.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(11, 42, 37, .58));
}
.hero-photo-badge {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 14px 28px rgba(13, 44, 39, .18);
}
.hero-photo-badge strong { color: var(--ink); }
.hero-photo-badge span {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--brand-tint);
    color: var(--brand-dark);
    font-size: .82rem;
    font-weight: 900;
}
.hero-course-stack {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}
.hero-tile {
    min-height: 94px;
    padding: 14px 10px;
    border-radius: 18px;
    box-shadow: none;
    text-align: center;
}
.hero-tile b { font-size: 1.05rem; }
.hero-tile span { display: block; font-size: .78rem; line-height: 1.25; }
.hero-tile.t2, .hero-tile.t4 { transform: none; }
.hero-tile.t1 { background: linear-gradient(135deg, var(--brand), #ffad4d); }
.hero-tile.t2 { background: #fff8e8; border-color: rgba(255, 209, 102, .55); }
.hero-tile.t3 { background: var(--mint-tint); border-color: rgba(15, 155, 131, .22); }
.hero-tile.t4 { background: linear-gradient(135deg, #f05f7f, #ff8ba3); border-color: #f05f7f; }
.hero-tile.t5 { background: linear-gradient(135deg, #4f8cff, #70a5ff); border-color: #4f8cff; }
.hero-tile:hover, .hero-tile.t2:hover, .hero-tile.t4:hover { transform: translateY(-2px); }

.stats {
    border: 0;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(23, 33, 31, .08), inset 0 -1px 0 rgba(23, 33, 31, .08);
}
.stat strong { color: var(--brand-dark); }
.ticker { background: #173d38; color: #fff; }
.ticker-track span { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.08); }

.section { background: transparent; }
.section-alt, .teachers-glass, .join, .site-footer { background: rgba(255, 255, 255, .82); }
.page-hero {
    padding: 54px 0 24px;
    background: linear-gradient(135deg, rgba(255, 240, 223, .72), rgba(232, 247, 242, .72));
    border-bottom: 1px solid rgba(23, 33, 31, .07);
}
.page-hero .container {
    padding-top: 10px;
    padding-bottom: 10px;
}
.page-hero h1 { color: var(--ink); text-wrap: balance; }

.card {
    border-color: rgba(23, 33, 31, .09);
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 14px 34px rgba(29, 55, 49, .07);
}
.quick-link {
    min-height: 118px;
    border: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,255,255,.76)),
        var(--bg-alt);
}
.quick-link:nth-child(1) .ql-icon { background: var(--brand-tint); color: var(--brand-dark); }
.quick-link:nth-child(2) .ql-icon { background: var(--mint-tint); color: var(--mint); }
.quick-link:nth-child(3) .ql-icon { background: #edf3ff; color: var(--sky); }
.quick-link:nth-child(4) .ql-icon { background: #fff8e8; color: #a66b00; }
.quick-link:nth-child(5) .ql-icon { background: #ffeef3; color: var(--rose); }
.quick-link:nth-child(6) .ql-icon { background: #eef8ff; color: #2876c7; }
.ql-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 16px;
}

.course {
    position: relative;
    overflow: hidden;
    border: 0;
}
.course::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--brand), var(--mint), var(--sky), var(--rose));
}
.course-cover { border-radius: 18px 18px 0 0; }
.levels span { background: var(--mint-tint); color: #176b5d; }
.course .link { display: inline-flex; align-items: center; margin-top: auto; }

.glass-card {
    border: 0;
    background: rgba(255,255,255,.9);
    box-shadow: 0 16px 38px rgba(29, 55, 49, .1);
}
.t-avatar { border-color: #fff; box-shadow: 0 0 0 5px var(--mint-tint); }
.t-ph { background: linear-gradient(135deg, var(--mint), var(--sky)); }

.join {
    border-top: 0;
    background:
        linear-gradient(135deg, rgba(23, 61, 56, .94), rgba(15, 155, 131, .88)),
        #173d38;
    color: #fff;
}
.join .lead, .join .small-note { color: rgba(255,255,255,.78); }
.join .form-card {
    border-radius: 24px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
}
.btn-whatsapp {
    background: #25d366;
    min-height: 52px;
    color: #09251a;
    font-weight: 900;
}
.contact-item { min-height: 120px; }
.site-footer { color: #5f6e69; }

@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero h1 { max-width: 14ch; }
    .hero-card { max-width: 720px; }
}

@media (max-width: 820px) {
    html { scroll-padding-top: 116px; }
    .header-inner {
        height: 62px;
        gap: 10px;
    }
    .brand-name { font-size: 1.24rem; min-height: 38px; }
    .header-tools { gap: 8px; }
    .mobile-nav-row { display: block; }
    .burger {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 999px;
        background: #fff;
    }
    .nav {
        top: 112px;
        background: rgba(255, 253, 247, .98);
    }
    .nav a, .nav-dropdown-toggle { font-size: .98rem; }
    .lang-toggle {
        min-width: 54px;
        width: 40px;
        height: 40px;
        padding: 0;
    }
    .lang-toggle span { display: none; }
    .lang-panel { right: -48px; }
    .hero {
        padding: 42px 0 42px;
    }
    .hero-copy { text-align: left; }
    .hero h1 {
        max-width: 100%;
        font-size: clamp(2rem, 10vw, 3rem);
    }
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .hero-actions .btn {
        width: 100%;
        padding-left: .8em;
        padding-right: .8em;
    }
    .ielts-cta {
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
    }
    .ielts-logo { width: 48px; height: 48px; }
    .ielts-cta-text strong { font-size: 1.05rem; }
    .ielts-cta-arrow { width: 34px; height: 34px; }
    .hero-card {
        margin: 0 -2px;
        padding: 10px;
        border-radius: 22px;
    }
    .hero-photo, .hero-photo img { min-height: 190px; }
    .hero-course-stack {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }
    .hero-course-stack::-webkit-scrollbar { display: none; }
    .hero-tile {
        flex: 0 0 112px;
        scroll-snap-align: start;
    }
    .section { padding: 46px 0; }
    .quick-links {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 -18px;
        padding: 2px 18px 14px;
        -webkit-overflow-scrolling: touch;
    }
    .quick-links::-webkit-scrollbar { display: none; }
    .quick-link {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }
    .join-inner { gap: 20px; }
    .form-card { padding: 18px; }
}

@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .header-login { display: none; }
    .hero-actions { grid-template-columns: 1fr; }
    .hero-photo-badge {
        align-items: flex-start;
        flex-direction: column;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding-block: 18px;
    }
    .stat strong { font-size: 1.55rem; }
    .stat span { font-size: .78rem; }
    .grid-4, .grid-3 { gap: 14px; }
    .card { padding: 18px; }
    .course-cover {
        width: calc(100% + 36px);
        margin: -18px -18px 14px;
    }
    .glass-card { flex-basis: 86%; }
    .footer-inner { align-items: flex-start; }
}

/* Professional public-site tone-down: restrained US academy style */
:root {
    --ink: #111827;
    --ink-soft: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --brand: #f97316;
    --brand-dark: #c2410c;
    --brand-tint: #fff7ed;
    --mint: #1f2937;
    --mint-tint: #f3f4f6;
    --rose: #475569;
    --sky: #334155;
    --sun: #f59e0b;
    --shadow: 0 18px 45px rgba(17, 24, 39, .10);
}

body.site-public {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom-color: #e5e7eb;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .04);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(17, 24, 39, .08); }
.brand-name em { color: var(--brand); }
.nav a, .nav-dropdown-toggle { color: #374151; }
.nav a:not(.btn):hover, .nav-dropdown-toggle:hover { color: #111827; }
.nav a.btn-primary, .btn-primary {
    background: var(--brand);
    box-shadow: 0 10px 22px rgba(249, 115, 22, .22);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost:hover { border-color: #111827; color: #111827; }
.mobile-nav-scroll a {
    background: #fff;
    border-color: #e5e7eb;
    color: #374151;
    box-shadow: 0 8px 18px rgba(17, 24, 39, .05);
}
.mobile-nav-scroll a:first-child {
    background: #111827;
    color: #fff;
}
.lang-toggle { box-shadow: 0 8px 18px rgba(17, 24, 39, .06); }
.lang-toggle:hover { color: var(--brand-dark); border-color: #fed7aa; }
.lang-panel { box-shadow: 0 20px 44px rgba(17, 24, 39, .16); }
.lang-panel a:hover, .lang-panel a.active { background: #f3f4f6; }

.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.hero::before {
    background:
        radial-gradient(circle at 10% 12%, rgba(249, 115, 22, .09), transparent 18rem),
        radial-gradient(circle at 88% 16%, rgba(17, 24, 39, .06), transparent 20rem);
}
.eyebrow {
    color: var(--brand-dark);
    border-color: #fed7aa;
    box-shadow: none;
}
.hero h1 { color: #111827; }
.ielts-cta {
    background: #111827;
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 18px 36px rgba(17, 24, 39, .20);
}
.ielts-cta-arrow { background: var(--brand); }
.hero-card {
    background: #fff;
    border-color: #e5e7eb;
    box-shadow: 0 18px 45px rgba(17, 24, 39, .10);
    backdrop-filter: none;
}
.hero-photo { background: #f3f4f6; }
.hero-photo::after { background: linear-gradient(180deg, transparent 42%, rgba(17, 24, 39, .60)); }
.hero-photo-badge {
    background: #fff;
    box-shadow: 0 12px 24px rgba(17, 24, 39, .12);
}
.hero-photo-badge span {
    background: var(--brand-tint);
    color: var(--brand-dark);
}
.hero-tile {
    background: #fff;
    border-color: #e5e7eb;
    color: #111827;
}
.hero-tile.t1,
.hero-tile.t4,
.hero-tile.t5 {
    background: #111827;
    border-color: #111827;
    color: #fff;
}
.hero-tile.t1 span,
.hero-tile.t4 span,
.hero-tile.t5 span { color: rgba(255,255,255,.76); }
.hero-tile.t2,
.hero-tile.t3 {
    background: #f8fafc;
    border-color: #e5e7eb;
}

.ticker {
    background: #111827;
    color: #fff;
}
.ticker-track span {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.14);
}
.stat strong { color: #111827; }
.page-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom-color: #e5e7eb;
}
.card {
    background: #fff;
    border-color: #e5e7eb;
    box-shadow: 0 12px 30px rgba(17, 24, 39, .06);
}
.quick-link {
    background: #fff;
    border: 1px solid #e5e7eb;
}
.quick-link:nth-child(n) .ql-icon {
    background: #f3f4f6;
    color: #111827;
}
.course::before { background: var(--brand); }
.levels span {
    background: #f3f4f6;
    color: #374151;
}
.glass-card {
    background: #fff;
    box-shadow: 0 12px 30px rgba(17, 24, 39, .07);
}
.t-avatar { box-shadow: 0 0 0 5px #f3f4f6; }
.t-ph { background: #111827; }
.glass-card .chips span {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}
.join {
    background: #111827;
}
.join .form-card {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.12);
}
.btn-whatsapp {
    background: #16a34a;
    color: #fff;
}

.hero-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 610px;
    margin: 0 0 18px;
}
.hero-shortcuts a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--brand);
    border-radius: 14px;
    background: rgba(255,255,255,.94);
    color: #111827;
    text-decoration: none;
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.hero-shortcuts a:hover {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 16px 34px rgba(17, 24, 39, .12);
}
.hero-shortcuts span {
    margin-top: 3px;
    color: var(--brand-dark);
    font-size: .8rem;
    font-weight: 800;
}

@media (max-width: 820px) {
    .hero-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 14px;
    }
    .hero-shortcuts a {
        min-height: 62px;
        padding: 10px 12px;
        font-size: .92rem;
    }
    .hero-shortcuts span { font-size: .74rem; }
}

.top-shortcuts {
    margin-top: -26px;
    padding: 0 0 42px;
    position: relative;
    z-index: 2;
}
.top-shortcuts .quick-links {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.top-shortcuts .quick-link {
    min-height: 128px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-top: 4px solid var(--brand);
    box-shadow: 0 18px 38px rgba(17, 24, 39, .10);
}
.top-shortcuts .quick-link:hover {
    border-color: #d1d5db;
    border-top-color: var(--brand-dark);
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(17, 24, 39, .14);
}
.top-shortcuts .ql-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}
.top-shortcuts .quick-link h3 {
    font-size: 1rem;
}
.top-shortcuts .quick-link .link {
    font-size: .86rem;
    color: var(--brand-dark);
}

@media (max-width: 1100px) {
    .top-shortcuts .quick-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
    .top-shortcuts {
        margin-top: -18px;
        padding-bottom: 30px;
    }
    .top-shortcuts .quick-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
        margin: 0;
        padding: 0;
        gap: 10px;
    }
    .top-shortcuts .quick-link {
        min-height: 112px;
        padding: 14px;
    }
}

@media (max-width: 420px) {
    .top-shortcuts .quick-link h3 { font-size: .92rem; }
    .top-shortcuts .quick-link .link { font-size: .78rem; }
}

@media (max-width: 560px) {
    .teachers-glass .glass-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }
    .teachers-glass .glass-card {
        width: 100%;
        flex: none;
        padding: 14px;
        border-radius: 16px;
        scroll-snap-align: unset;
    }
    .teachers-glass .t-head { gap: 12px; }
    .teachers-glass .t-avatar {
        width: 58px;
        height: 58px;
        box-shadow: 0 0 0 4px #f3f4f6;
    }
    .teachers-glass .t-title h3 { font-size: 1rem; }
    .teachers-glass .t-title p { font-size: .78rem; }
    .teachers-glass .chips { gap: 5px; }
    .teachers-glass .chips span {
        max-width: 100%;
        padding: .26em .58em;
        font-size: .7rem;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }
    .teachers-glass .t-more summary {
        padding: .45em .85em;
        font-size: .8rem;
    }
}
