:root {
    --navy: #0b1c33;
    --navy-2: #122848;
    --gold: #d4a017;
    --gold-2: #f0c14b;
    --cream: #f7f2e8;
    --wine: #7c2140;
    --teal: #1a6d6a;
    --ink: #162033;
    --muted: #5c6578;
    --line: rgba(15, 30, 55, .08);
    --white: #fff;
    --shadow: 0 18px 50px rgba(11, 28, 51, .12);
    --radius: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: Manrope, sans-serif;
    color: var(--ink);
    background: #fbf8f2;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }
.page-glow {
    position: fixed; inset: -20% auto auto -10%; width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(212,160,23,.18), transparent 70%);
    z-index: 0; pointer-events: none;
}
.topbar { background: var(--navy); color: #d7deea; font-size: 13px; position: relative; z-index: 30; }
.topbar-inner, .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-inner { min-height: 42px; }
.topbar-left, .topbar-right, .header-actions, .social { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.header-actions { flex-shrink: 0; gap: 10px; }
.header-account { display: flex; align-items: center; gap: 8px; }
.header-account .btn { white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.cabinet-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; }
.cabinet-grid > .alert { grid-column: 1 / -1; }
.cabinet-main { display: grid; gap: 18px; }
.story-studio {
    background: #fff; border-radius: 28px; overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--line);
}
.story-studio-head {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 22px 22px 18px;
    background: linear-gradient(135deg, #0b1c33 0%, #1a3358 58%, #3a1830 100%);
    color: #fff;
}
.story-studio-head h3 { margin: 4px 0 6px; font-family: Fraunces, serif; font-size: 26px; color: #fff; }
.story-studio-head p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.55; font-size: 14px; }
.story-studio-head .eyebrow { color: #f0c14b; margin-bottom: 0; }
.story-studio-icon {
    width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
    display: grid; place-items: center; background: #f0c14b; color: #0b1c33; font-size: 20px;
}
.story-status {
    margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
    border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 800; white-space: nowrap;
}
.story-status.is-live { background: rgba(240,193,75,.18); color: #f0c14b; }
.story-status.is-wait { background: rgba(255,255,255,.12); color: #fff; }
.story-studio-link {
    display: flex; align-items: center; gap: 8px; margin: 0 22px;
    padding: 12px 0 0; color: var(--navy); font-weight: 800;
}
.story-studio-form { display: grid; gap: 14px; padding: 20px 22px 24px; }
.story-studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story-field { display: grid; gap: 6px; }
.story-field span { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.story-field input, .story-field select, .story-field textarea {
    width: 100%; border: 1px solid var(--line); background: #fbf8f2; color: var(--navy);
    border-radius: 14px; padding: 12px 14px; font: inherit;
}
.story-field textarea { min-height: 220px; resize: vertical; line-height: 1.7; }
.story-field small { color: var(--muted); font-size: 12px; }
.story-photo {
    display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center;
    padding: 12px; border-radius: 18px; background: #fff8ea; border: 1px dashed #e0c98a;
}
.story-photo img, .story-photo-empty {
    width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #fff;
}
.story-photo-empty { display: grid; place-items: center; color: var(--gold); font-size: 20px; }
.story-photo b { display: block; margin-bottom: 2px; }
.story-photo small { display: block; color: var(--muted); margin-bottom: 8px; }
.story-studio .btn { justify-self: start; }
.topbar a:hover { color: var(--gold-2); }
.lang-switch { display: flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.lang-switch a { padding: 4px 9px; border-radius: 999px; font-weight: 700; }
.lang-switch a.active { background: var(--gold); color: var(--navy); }
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,252,247,.94); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.header.scrolled { box-shadow: 0 12px 32px rgba(11,28,51,.1); }
.header-inner { min-height: 88px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: Fraunces, serif; flex-shrink: 0; }
.logo img { width: 52px; height: 52px; object-fit: contain; }
.logo strong { display: block; font-size: 22px; line-height: 1.1; letter-spacing: .01em; }
.logo small { color: var(--muted); font-family: Manrope, sans-serif; font-size: 11px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
.nav-item { position: relative; padding-bottom: 16px; margin-bottom: -16px; }
.nav-link {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    padding: 10px 14px; border-radius: 14px; border: 0; background: transparent;
    font: 700 14px/1.2 Manrope, sans-serif; color: var(--ink); cursor: pointer;
    transition: .22s ease;
}
.nav-link > i:first-child {
    width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
    background: #f3ead6; color: var(--gold); font-size: 12px;
}
.nav-link .caret { font-size: 10px; color: var(--muted); transition: .2s; }
.nav-link:hover, .nav-link.is-active, .nav-item:hover > .nav-link {
    background: #fff7e6; color: var(--navy);
}
.nav-item:hover > .nav-link .caret { transform: rotate(180deg); color: var(--gold); }
.mega {
    position: absolute; top: calc(100% - 8px); left: 0; min-width: 280px;
    background: #fff; border-radius: 20px; box-shadow: 0 22px 50px rgba(11,28,51,.16);
    padding: 14px; border: 1px solid var(--line); display: grid;
    visibility: hidden; opacity: 0; pointer-events: none;
    z-index: 60; transition: opacity .15s ease;
}
.mega-wide { min-width: 620px; grid-template-columns: 1.1fr .9fr; gap: 8px; }
.nav-item:hover > .mega, .nav-item.open > .mega {
    visibility: visible; opacity: 1; pointer-events: auto;
}
.mega-col { display: grid; gap: 4px; }
.mega-label {
    display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 11px;
    letter-spacing: .12em; text-transform: uppercase; font-weight: 800; padding: 6px 10px 10px;
}
.mega a {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
    white-space: normal;
}
.mega a i {
    width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
    background: var(--cream); color: var(--navy); flex-shrink: 0;
}
.mega a b { display: block; font-size: 14px; }
.mega a small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; margin-top: 2px; }
.mega a:hover { background: #fff8ea; }
.mega a:hover i { background: var(--navy); color: var(--gold-2); }
.btn, .menu-btn, .to-top, .whatsapp {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
    border-radius: 999px; font-weight: 800; transition: .25s ease;
}
.btn { padding: 12px 20px; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); box-shadow: 0 10px 24px rgba(212,160,23,.28); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1px solid rgba(11,28,51,.15); }
.btn-navy { background: var(--navy); color: #fff; }
.menu-btn {
    display: none; width: 46px; height: 46px; background: var(--navy); color: #fff;
    flex-direction: column; gap: 5px; z-index: 120;
}
.menu-btn span {
    display: block; width: 18px; height: 2px; background: #fff; border-radius: 99px;
    transition: .28s ease;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mask, .drawer-head, .drawer-langs, .drawer-foot { display: none; }
.hero {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(135deg, #081525 0%, #122848 48%, #3a1830 100%);
    padding: 28px 0 36px;
}
.hero-orbs::before, .hero-orbs::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none;
}
.hero-orbs::before { width: 220px; height: 220px; left: -40px; top: -50px; background: rgba(212,160,23,.22); }
.hero-orbs::after { width: 180px; height: 180px; right: 8%; bottom: -40px; background: rgba(124,33,64,.28); }
.hero-split { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: center; min-height: 360px; }
.hero-copy { max-width: 540px; }
.eyebrow { color: var(--gold-2); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; font-weight: 800; }
.hero h1, .section-title, .page-hero h1 { font-family: Fraunces, serif; }
.hero h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.2; margin: 10px 0 12px; }
.hero p { font-size: 16px; color: #d5deea; margin-bottom: 20px; max-width: 480px; line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ghost-light { color: #fff; border-color: rgba(255,255,255,.28); }
.story {
    position: relative; height: 360px; border-radius: 28px; overflow: hidden;
    background: linear-gradient(180deg, #7ec8e3 0%, #c6e6f5 46%, #ecd9a6 46%, #d4bc7d 100%);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.story-sky { position: absolute; inset: 0 0 54% 0; }
.sun { position: absolute; right: 26px; top: 16px; width: 42px; height: 42px; border-radius: 50%; background: #ffd36a; box-shadow: 0 0 28px #ffd36a; animation: pulse 3s ease-in-out infinite; }
.cloud { position: absolute; background: #fff; border-radius: 20px; height: 14px; opacity: .88; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 20px; height: 20px; top: -9px; left: 10px; }
.cloud::after { width: 15px; height: 15px; top: -6px; right: 10px; }
.c1 { width: 68px; top: 22px; left: 14px; animation: drift 14s linear infinite; }
.c2 { width: 50px; top: 48px; right: 84px; animation: drift 18s linear infinite reverse; }
.c3 { width: 40px; top: 34px; left: 42%; animation: drift 16s linear infinite; }
.tree { position: absolute; bottom: 52px; width: 18px; height: 54px; background: #6b4220; border-radius: 4px; }
.tree::before { content: ""; position: absolute; left: 50%; bottom: 28px; width: 52px; height: 52px; transform: translateX(-50%); background: #2f6b3a; border-radius: 50%; box-shadow: -14px 10px 0 #3d854b, 14px 8px 0 #245c30; }
.t-left { left: 7%; }
.t-right { right: 7%; }
.story-building {
    position: absolute; left: 50%; bottom: 50px; width: 228px; height: 228px;
    transform: translateX(-50%); background: linear-gradient(180deg, #1a3d68 0%, #102844 48%, #0b1c33 100%);
    border-radius: 16px 16px 6px 6px; box-shadow: 0 18px 34px rgba(11,28,51,.3);
}
.story-building::before {
    content: ""; position: absolute; left: 10%; right: 10%; top: -20px; height: 24px;
    background: #0b1c33; clip-path: polygon(6% 100%, 50% 0, 94% 100%);
}
.flag {
    position: absolute; top: -34px; left: 50%; width: 3px; height: 22px; background: #d4a017;
}
.flag::after {
    content: ""; position: absolute; left: 3px; top: 0; width: 16px; height: 10px;
    background: #7c2140; clip-path: polygon(0 0, 100% 50%, 0 100%);
    animation: flagWave 1.6s ease-in-out infinite;
}
.sign {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 86%; text-align: center; color: #0b1c33;
    background: linear-gradient(180deg, #f3cc55, #d4a017);
    border-radius: 10px; padding: 7px 8px 8px;
    box-shadow: 0 6px 16px rgba(11,28,51,.18), inset 0 1px 0 rgba(255,255,255,.45);
    animation: signGlow 12s ease-in-out infinite;
}
.sign strong { display: block; font-family: Fraunces, serif; font-size: 18px; line-height: 1; letter-spacing: .02em; }
.sign small { display: block; margin-top: 3px; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: none; }
.floors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 62px 16px 62px; }
.floors span {
    height: 22px; border-radius: 4px; background: #8ec4de; border: 2px solid #0e2746;
    animation: window 12s ease-in-out infinite;
}
.floors span:nth-child(2n) { animation-delay: .4s; }
.floors span:nth-child(3n) { animation-delay: .8s; }
.door {
    position: absolute; left: 50%; bottom: 10px; width: 46px; height: 50px; transform: translateX(-50%);
    background: #3b2312; border-radius: 8px 8px 2px 2px; overflow: hidden;
}
.door-leaf { position: absolute; inset: 4px 22px 0 4px; background: #6a3d18; transform-origin: left center; animation: doorSwing 12s ease-in-out infinite; }
.door-glow { position: absolute; inset: 6px 8px 0; background: #f0c14b; opacity: .18; animation: door 12s ease-in-out infinite; }
.steps {
    position: absolute; left: 50%; bottom: 0; width: 68px; height: 10px; transform: translateX(-50%);
    background: #c4a36a; border-radius: 3px 3px 0 0; box-shadow: 0 -4px 0 #b08c4e;
}
.walker { position: absolute; bottom: 46px; width: 28px; text-align: center; opacity: 0; }
.walker .head { width: 12px; height: 12px; border-radius: 50%; background: #f0c2a0; margin: 0 auto 1px; }
.walker .body { width: 16px; height: 20px; border-radius: 7px 7px 3px 3px; background: #2457a6; margin: 0 auto; }
.walker .shirt-2 { background: #1a6d6a; }
.walker .shirt-3 { background: #7c2140; }
.walker .shirt-4 { background: #8a5a12; }
.walker .bag { position: absolute; right: 0; top: 16px; width: 7px; height: 9px; background: #5b1a30; border-radius: 2px; }
.walker .cap { width: 16px; height: 4px; background: #111; margin: 0 auto 1px; position: relative; }
.walker .cap::after { content: ""; position: absolute; right: -5px; top: 1px; width: 7px; height: 1px; background: #d4a017; }
.walker .gown { background: #141414 !important; height: 22px; }
.walker .diploma { position: absolute; right: -5px; top: 18px; width: 10px; height: 7px; background: #fff; border: 1px solid #d4a017; }
.walker .legs { display: flex; justify-content: center; gap: 3px; }
.walker .legs i { width: 3px; height: 8px; background: #2b241c; border-radius: 2px; animation: stride .28s linear infinite; }
.walker .legs i:last-child { animation-delay: .14s; }
.walker b {
    position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -4px);
    white-space: nowrap; font-size: 10px; font-weight: 800; color: #0b1c33;
    background: #f0c14b; padding: 2px 6px; border-radius: 999px; box-shadow: 0 4px 10px rgba(11,28,51,.16);
}
.st-1 { animation: walkIn 12s ease-in-out infinite; }
.st-2 { animation: walkIn 12s ease-in-out infinite 3s; }
.st-3 { animation: walkIn 12s ease-in-out infinite 6s; }
.st-4 { animation: walkIn 12s ease-in-out infinite 9s; }
.gr-1 { animation: walkOut 12s ease-in-out infinite 2.1s; }
.gr-2 { animation: walkOut 12s ease-in-out infinite 5.1s; }
.gr-3 { animation: walkOut 12s ease-in-out infinite 8.1s; }
.gr-4 { animation: walkOut 12s ease-in-out infinite 11.1s; }
.story-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 50px; background: linear-gradient(180deg, #c9a55a, #a9843a); }
.story-ground .path { position: absolute; left: 6%; right: 6%; top: 14px; height: 12px; background: #9a742e; border-radius: 10px; }
@keyframes walkIn {
    0% { left: 4%; opacity: 0; }
    6% { opacity: 1; }
    26% { left: 43%; opacity: 1; }
    30% { left: 46%; opacity: 0; }
    100% { left: 46%; opacity: 0; }
}
@keyframes walkOut {
    0%, 8% { left: 54%; opacity: 0; }
    14% { left: 54%; opacity: 1; }
    34% { left: 86%; opacity: 1; }
    40% { left: 90%; opacity: 0; }
    100% { left: 90%; opacity: 0; }
}
@keyframes stride { 50% { transform: translateY(-3px); } }
@keyframes window { 0%, 28%, 72%, 100% { background: #8ec4de; } 36%, 64% { background: #f0c14b; } }
@keyframes door { 0%, 22%, 38%, 62%, 78%, 100% { opacity: .15; } 26%, 34%, 66%, 74% { opacity: .8; } }
@keyframes doorSwing { 0%, 22%, 38%, 62%, 78%, 100% { transform: rotateY(0); } 26%, 34%, 66%, 74% { transform: rotateY(-55deg); } }
@keyframes signGlow { 0%, 100% { box-shadow: 0 6px 16px rgba(11,28,51,.18); } 50% { box-shadow: 0 0 22px rgba(240,193,75,.55); } }
@keyframes flagWave { 50% { transform: translateX(1px) skewX(-8deg); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(36px); } }
@keyframes pulse { 50% { transform: scale(1.08); } }
.stats { margin-top: -28px; position: relative; z-index: 5; }
.stats-grid, .card-grid, .icon-grid, .news-grid, .teachers-grid, .gallery-grid { display: grid; gap: 18px; }
.stats-grid { grid-template-columns: repeat(4, 1fr); }
.stat-card, .info-card, .course-card, .teacher-card, .news-card, .story-card, .service-card, .faq-item, .form-card, .branch-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.6);
}
.stat-card { padding: 26px; display: flex; gap: 14px; align-items: center; }
.stat-card i, .icon-card i, .service-card i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--cream); color: var(--gold); }
.stat-card b { font-size: 30px; font-family: Fraunces, serif; display: block; }
.section { padding: 42px 0; position: relative; }
.section + .section { padding-top: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); }
.muted { color: var(--muted); }
.icon-grid { grid-template-columns: repeat(4, 1fr); }
.icon-card { padding: 24px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); transition: .3s; display: flex; flex-direction: column; }
.icon-card h3, .news-card h3, .course-card h3, .teacher-card h3, .story-card h3, .service-card h3 {
    margin: 10px 0 6px; line-height: 1.4; letter-spacing: 0; word-spacing: .06em;
}
.news-card, .course-card, .teacher-card, .story-card, .service-card {
    display: flex; flex-direction: column; overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}
.icon-card:hover, .course-card:hover, .teacher-card:hover, .news-card:hover, .story-card:hover, .service-card:hover {
    transform: translateY(-8px); box-shadow: 0 22px 40px rgba(11,28,51,.16);
}
.news-card img, .course-card .thumb img, .teacher-card img, .story-card img {
    transition: transform .45s ease;
}
.news-card:hover img, .course-card:hover .thumb img, .teacher-card:hover img, .story-card:hover img { transform: scale(1.06); }
.card-go {
    margin-left: auto; margin-top: 12px; display: inline-flex; align-items: center; gap: 8px;
    color: var(--navy); font-weight: 800; font-size: 13px; white-space: nowrap;
}
.card-go em { font-style: normal; }
.card-go i {
    width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy);
    display: grid; place-items: center; font-size: 11px; transition: transform .3s ease;
}
.news-card:hover .card-go i, .course-card:hover .card-go i, .teacher-card:hover .card-go i,
.icon-card:hover .card-go i, .story-card:hover .card-go i, .service-card:hover .card-go i {
    transform: translateX(4px);
}
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card { overflow: hidden; }
.course-card .thumb { height: 210px; position: relative; }
.course-card .thumb img, .news-card img, .teacher-card img, .gallery-grid img, .story-card img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy); padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.course-card .body, .news-card .body, .teacher-card .body, .service-card { padding: 20px; }
.price { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.course-offer {
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 28px; align-items: start;
}
.course-main { display: grid; gap: 22px; min-width: 0; }
.course-media {
    position: relative; border-radius: 28px; overflow: hidden; min-height: min(56vh, 480px);
    background: #111827; box-shadow: var(--shadow);
}
.course-media img { width: 100%; height: 100%; min-height: min(56vh, 480px); object-fit: cover; }
.course-media-fade {
    position: absolute; inset: auto 0 0; height: 42%;
    background: linear-gradient(180deg, transparent, rgba(8, 15, 28, .62));
}
.course-media-tags { position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.course-media-tags span {
    background: rgba(255,255,255,.92); color: var(--navy); border-radius: 999px;
    padding: 7px 12px; font-size: 12px; font-weight: 800;
}
.course-media-tags .gold { background: var(--gold); }
.course-play {
    position: absolute; left: 18px; bottom: 18px; z-index: 2;
    background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 999px; font-weight: 800;
}
.course-play i {
    width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #f0c14b;
    display: inline-grid; place-items: center; font-size: 11px;
}
.course-buy {
    position: sticky; top: 104px; background: #fff; border-radius: 28px;
    padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line);
    letter-spacing: 0; word-spacing: normal;
    max-height: calc(100vh - 128px); overflow: auto;
}
.course-buy-top { margin-bottom: 16px; }
.course-buy-top b { display: block; font-family: Fraunces, serif; font-size: 26px; line-height: 1.2; margin-top: 4px; }
.pay-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-plan {
    border: 1px solid var(--line); border-radius: 18px; padding: 14px 12px;
    background: #fbf8f2;
}
.pay-plan.is-main { background: var(--navy); color: #fff; border-color: var(--navy); }
.pay-plan small { display: block; font-size: 12px; font-weight: 800; opacity: .7; margin-bottom: 6px; }
.pay-plan strong { display: flex; align-items: baseline; gap: 6px; }
.pay-plan em { font-style: normal; font-family: Fraunces, serif; font-size: 30px; line-height: 1; }
.pay-plan span { font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.course-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.course-meta div {
    display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto;
    column-gap: 10px; align-items: center; background: #f7f2e8; border-radius: 16px; padding: 10px;
}
.course-meta i {
    grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center; background: #fff; color: var(--gold);
}
.course-meta span { font-size: 11px; color: var(--muted); font-weight: 700; }
.course-meta b { font-size: 13px; line-height: 1.3; }
.course-perks { list-style: none; display: grid; gap: 8px; margin: 0 0 16px; }
.course-perks li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.course-perks i { color: #1f8a4c; }
.course-cta { width: 100%; }
.course-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.course-actions .btn { width: 100%; padding: 11px 10px; font-size: 13px; }
.course-note { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.course-body { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 36px; align-items: start; }
.course-about { background: #fff; border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.course-about h2 { font-family: Fraunces, serif; margin-bottom: 12px; }
.course-about .lead { font-size: 17px; line-height: 1.7; color: #2b3446; margin-bottom: 14px; }
.course-taught {
    display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--navy);
    font-size: 13px; font-weight: 700; min-width: 0;
}
.course-taught-names { min-width: 0; }
.course-taught-faces { display: flex; flex-shrink: 0; }
.course-taught-faces img {
    width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
    border: 2px solid #fff; box-shadow: 0 0 0 1px #e8d9b0; margin-left: -8px;
}
.course-taught-faces img:first-child { margin-left: 0; }
.course-buy-teachers { display: grid; gap: 8px; margin: 0 0 16px; }
.course-buy-teachers > p {
    margin: 0 0 2px; font-size: 11px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: var(--muted);
}
.course-buy-teachers a {
    display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center;
    padding: 8px; border-radius: 16px; background: #fff8ea;
}
.course-buy-teachers a:hover { background: #fff1cf; }
.course-buy-teachers img {
    width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
    border: 2px solid #fff; box-shadow: 0 0 0 2px var(--gold);
}
.course-buy-teachers b { display: block; font-size: 13px; color: var(--navy); }
.course-buy-teachers small { color: var(--muted); }
.course-faculty-wide { margin-top: 40px; }
.course-faculty-wide .section-title { margin-bottom: 18px; }
.stars { display: inline-flex; gap: 2px; color: #d4a017; letter-spacing: 0; }
.stars.lg { font-size: 18px; }
.stars i { line-height: 1; }
.card-rating { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 6px 0 10px; }
.card-rating b { color: var(--navy); font-size: 14px; }
.card-rating small { color: var(--muted); }
.teacher-score { display: grid; justify-items: center; gap: 4px; margin: 10px 0 14px; }
.teacher-score strong { font-family: Fraunces, serif; font-size: 34px; line-height: 1; }
.teacher-score small { color: var(--muted); }
.mini-stars { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-style: normal; font-size: 12px; color: var(--navy); }
.review-wrap { margin-top: 42px; }
.review-split { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.review-summary, .review-card, .review-form { background: #fff; border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.review-summary { padding: 22px; position: sticky; top: 90px; }
.review-summary h2 { font-family: Fraunces, serif; margin: 0 0 12px; }
.review-avg { text-align: center; margin-bottom: 16px; }
.review-avg b { display: block; font-family: Fraunces, serif; font-size: 42px; line-height: 1; }
.review-avg p { color: var(--muted); margin-top: 6px; }
.review-bars { display: grid; gap: 8px; }
.review-bars a {
    display: grid; grid-template-columns: 14px 14px 1fr 28px; gap: 8px; align-items: center;
    color: var(--navy); font-weight: 800; font-size: 13px;
}
.review-bars a.active, .review-bars a:hover { color: var(--wine); }
.review-bars i { color: #d4a017; font-size: 11px; }
.review-bars em { display: block; height: 8px; background: #f0eadb; border-radius: 99px; overflow: hidden; }
.review-bars em b { display: block; height: 100%; background: #d4a017; }
.review-toolbar { margin-bottom: 14px; }
.review-list { display: grid; gap: 12px; }
.review-card { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 18px; }
.review-avatar {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: #fff4d6; color: var(--navy); font-weight: 800;
}
.review-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.review-card small { color: var(--muted); display: block; margin: 4px 0 8px; }
.review-card p { margin: 0; line-height: 1.7; }
.review-form { padding: 24px; margin-top: 22px; }
.review-form h3 { font-family: Fraunces, serif; margin: 0 0 6px; }
.review-form .muted { margin-bottom: 14px; }
.review-form input, .review-form textarea { padding-left: 14px; }
.review-form span { display: block; font-size: 12px; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.star-pick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-pick input { display: none; }
.star-pick label { cursor: pointer; color: #d7d0c2; font-size: 26px; }
.star-pick label:hover, .star-pick label:hover ~ label,
.star-pick input:checked ~ label { color: #d4a017; }
.alert.bad { background: #fde8e6; color: #9b2c2c; }
.teachers-grid { grid-template-columns: repeat(4, 1fr); }
.teacher-card { overflow: hidden; text-align: center; }
.teacher-card img { height: 210px; }
.news-grid { grid-template-columns: repeat(3, 1fr); }
.news-card img { height: 200px; }
.news-card .body, .course-card .body, .teacher-card .body, .story-card .body { display: flex; flex-direction: column; flex: 1; }
.story-card img { height: 220px; }
.win-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.win-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: #fff; border-radius: 26px; padding: 22px 18px 20px;
    box-shadow: var(--shadow); border: 1px solid var(--line);
    transition: transform .35s ease, box-shadow .35s ease;
}
.win-card:hover { transform: translateY(-8px); box-shadow: 0 22px 40px rgba(11,28,51,.16); }
.win-photo { position: relative; width: 132px; height: 132px; margin-bottom: 14px; }
.win-photo img {
    width: 132px; height: 132px; object-fit: cover; border-radius: 50%;
    border: 4px solid #fff; box-shadow: 0 0 0 3px var(--gold), 0 12px 24px rgba(11,28,51,.16);
    transition: transform .4s ease;
}
.win-card:hover .win-photo img { transform: scale(1.05); }
.win-score {
    position: absolute; right: -6px; bottom: 6px; background: var(--navy); color: #f0c14b;
    border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 800;
    box-shadow: 0 8px 16px rgba(11,28,51,.2);
}
.win-body { display: flex; flex-direction: column; flex: 1; width: 100%; align-items: center; }
.win-card h3 { margin: 0 0 8px; font-size: 20px; }
.win-meta { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 700; margin: 2px 0; }
.win-meta i { color: var(--gold); }
.win-excerpt { color: #3a4354; line-height: 1.6; margin: 10px 0 4px; font-size: 14px; }
.win-card .card-go { margin-top: auto; }
.win-detail { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.win-profile, .win-article { background: #fff; border-radius: 28px; box-shadow: var(--shadow); }
.win-profile { padding: 28px 22px; text-align: center; position: sticky; top: 104px; }
.win-profile-photo { display: grid; place-items: center; margin-bottom: 16px; }
.win-profile-photo img {
    width: 180px; height: 180px; object-fit: cover; border-radius: 50%;
    border: 6px solid #fff; box-shadow: 0 0 0 4px var(--gold), 0 16px 32px rgba(11,28,51,.16);
}
.win-profile h2 { font-family: Fraunces, serif; font-size: 30px; margin: 6px 0 14px; }
.win-facts { display: grid; gap: 8px; }
.win-facts span {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #f7f2e8; border-radius: 14px; padding: 10px 12px; font-weight: 800; font-size: 14px;
}
.win-facts i { color: var(--gold); }
.win-article { padding: 36px 40px 40px; min-height: 420px; }
.win-article h3 { font-family: Fraunces, serif; margin: 22px 0 12px; font-size: 28px; }
.win-article h3:first-child { margin-top: 0; }
.win-article .rich { font-size: 17px; line-height: 1.9; color: #2b3446; max-width: none; }
.win-article .rich p { margin: 0 0 18px; }
.win-article .rich p:last-child { margin-bottom: 0; }
.teacher-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.teacher-social p { width: 100%; margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.teacher-social a {
    width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
    background: #fff4d6; color: var(--navy);
}
.teacher-social a:hover { background: var(--navy); color: #fff; }
.gallery-grid { grid-template-columns: repeat(4, 1fr); align-items: start; }
.gallery-grid a { border-radius: 18px; overflow: hidden; height: 180px; display: block; }
.gallery-grid.is-reels { grid-template-columns: repeat(3, 1fr); }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { font-size: 16px; line-height: 1.7; }
.cta-band {
    background: linear-gradient(135deg, var(--navy), var(--navy-2) 55%, var(--wine));
    color: #fff; border-radius: 32px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.page-hero {
    position: relative; overflow: hidden; color: #fff; padding: 28px 0 32px;
    background: linear-gradient(135deg, #081525 0%, #122848 52%, #3a1830 100%);
}
.page-hero-glow {
    position: absolute; width: 220px; height: 220px; right: 8%; top: -70px;
    background: radial-gradient(circle, rgba(212,160,23,.2), transparent 70%); pointer-events: none;
}
.page-hero-split { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; min-height: 280px; }
.page-hero-copy { text-align: left; }
.page-hero h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; margin: 0; }
.page-hero p { margin-top: 8px; color: #d5deea; max-width: 520px; }
.breadcrumb { opacity: .75; margin-bottom: 8px; font-size: 13px; }
.diorama {
    position: relative; height: 280px; border-radius: 26px; overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
    background: linear-gradient(180deg, #8ec8e4 0%, #d5ebf6 50%, #e8d4a4 50%, #c9ad70 100%);
}
.dio-sky { position: absolute; inset: 0 0 48% 0; pointer-events: none; }
.diorama .sun { right: 14px; top: 10px; width: 28px; height: 28px; }
.diorama .cloud { height: 12px; }
.dio-ground {
    position: absolute; left: 0; right: 0; bottom: 0; height: 46px;
    background: linear-gradient(180deg, #c9a55a, #a9843a);
}
.diorama.is-room {
    background: linear-gradient(180deg, #f3e6c4 0%, #ead7a8 46%, #c9a66a 46%, #a8843c 100%);
}
.diorama.is-room .dio-ground { background: linear-gradient(180deg, #d2b072, #b08c48); }
.room-wall {
    position: absolute; inset: 0 0 46% 0;
    background: linear-gradient(180deg, #f7edd2, #efe0b8);
}
.room-window {
    position: absolute; left: 12px; top: 16px; width: 52px; height: 44px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
    background: #6b4220; padding: 4px; border-radius: 4px;
}
.room-window i { background: #8ec4de; animation: window 10s ease-in-out infinite; }
.room-lamp {
    position: absolute; left: 50%; top: 0; width: 4px; height: 28px; background: #6b4220;
}
.room-lamp::after {
    content: ""; position: absolute; left: -12px; top: 26px; width: 28px; height: 14px;
    background: #f0c14b; border-radius: 0 0 14px 14px; opacity: .85;
    box-shadow: 0 10px 18px rgba(240,193,75,.35);
}
.room-shelf {
    position: absolute; right: 10px; top: 18px; width: 46px; height: 58px;
    background: #6b4220; border-radius: 4px; display: grid; grid-template-columns: 1fr 1fr;
    gap: 4px; padding: 6px 5px; color: #f0c14b; font-size: 11px; place-items: center;
}
.room-shelf i { animation: orbitBob 3.4s ease-in-out infinite; }
.room-shelf i:nth-child(2) { animation-delay: .3s; }
.room-shelf i:nth-child(3) { animation-delay: .6s; }
.room-plant {
    position: absolute; left: 8px; bottom: 46px; width: 10px; height: 22px;
    background: #6b4220; border-radius: 2px;
}
.room-plant::before {
    content: ""; position: absolute; left: 50%; bottom: 14px; width: 22px; height: 18px;
    transform: translateX(-50%); background: #2f6b3a; border-radius: 50%;
    box-shadow: -7px 4px 0 #3d854b, 7px 3px 0 #245c30;
}
.room-plant.news-plant { left: auto; right: 8px; }
.room-bag {
    position: absolute; bottom: 48px; width: 14px; height: 12px;
    background: #7c2140; border-radius: 3px 3px 2px 2px;
}
.room-bag::after { content: ""; position: absolute; left: 3px; top: -5px; width: 8px; height: 6px; border: 2px solid #5b1a30; border-bottom: 0; border-radius: 8px 8px 0 0; }
.room-bag.b1 { left: 22%; }
.room-bag.b2 { right: 20%; background: #2457a6; }
.room-bag.b2::after { border-color: #163a74; }
.abc-strip {
    position: absolute; left: 18%; right: 18%; top: 96px; height: 16px;
    background: #fff8ea; color: #0b1c33; font-size: 9px; font-weight: 800;
    letter-spacing: .18em; display: grid; place-items: center; border-radius: 4px;
}
.room-icon {
    position: absolute; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; color: #d4a017;
    box-shadow: 0 6px 14px rgba(11,28,51,.12); font-size: 12px;
    animation: orbitBob 3s ease-in-out infinite;
}
.room-icon.i-calc { left: 8%; top: 72px; }
.room-icon.i-pen { right: 10%; top: 78px; animation-delay: .4s; }
.room-icon.i-star { left: 10%; top: 70px; }
.room-icon.i-apple { right: 12%; top: 86px; color: #7c2140; animation-delay: .5s; }
.room-icon.i-q { left: 12%; top: 70px; }
.room-icon.i-info { right: 14%; top: 80px; animation-delay: .4s; }
.room-icon.i-trophy { left: 10%; top: 22px; }
.room-icon.i-medal { right: 10%; top: 28px; animation-delay: .5s; }
.room-icon.i-flag { right: 14%; top: 22px; }
.room-icon.i-wa { left: 12%; top: 28px; color: #25d366; }
.room-icon.i-mail { right: 14%; top: 24px; animation-delay: .4s; }
.room-icon.i-key { left: 14%; top: 28px; }
.room-icon.i-user { right: 12%; top: 32px; animation-delay: .4s; }
.room-icon.i-map { left: 10%; top: 18px; }
.room-icon.i-bus { right: 10%; top: 20px; animation-delay: .4s; }
.room-icon.i-school { left: 12%; top: 18px; }
.room-icon.i-heart { right: 12%; top: 22px; color: #7c2140; animation-delay: .5s; }
.desk.d4 { left: 86%; }
.fig.sit.s4 { left: 88%; }
.fig.looker.gal { left: 22%; bottom: 46px; opacity: 1; }
.photo-wall .frame { display: grid; place-items: center; color: rgba(255,255,255,.7); font-size: 16px; }
.fig { position: absolute; width: 28px; text-align: center; z-index: 4; }
.fig .head { width: 12px; height: 12px; border-radius: 50%; background: #f0c2a0; margin: 0 auto 1px; }
.fig .body { width: 16px; height: 20px; border-radius: 7px 7px 3px 3px; background: #2457a6; margin: 0 auto; }
.fig .shirt-2 { background: #1a6d6a; }
.fig .shirt-3 { background: #7c2140; }
.fig .shirt-4 { background: #8a5a12; }
.fig .gown { background: #141414; height: 22px; }
.fig .cap { width: 16px; height: 4px; background: #111; margin: 0 auto 1px; position: relative; }
.fig .cap::after { content: ""; position: absolute; right: -5px; top: 1px; width: 7px; height: 1px; background: #d4a017; }
.fig .diploma { position: absolute; right: -5px; top: 18px; width: 10px; height: 7px; background: #fff; border: 1px solid #d4a017; }
.fig .legs { display: flex; justify-content: center; gap: 3px; }
.fig .legs i { width: 3px; height: 8px; background: #2b241c; border-radius: 2px; animation: stride .28s linear infinite; }
.fig .legs i:last-child { animation-delay: .14s; }

.diorama-news { background: linear-gradient(180deg, #7eb6d8 0%, #cfe4f2 48%, #cbb98a 48%, #a8925c 100%); }
.news-stand {
    position: absolute; left: 18px; bottom: 46px; width: 78px; height: 92px;
    background: #6b3a1a; border-radius: 6px 6px 2px 2px;
}
.news-roof {
    position: absolute; left: -8px; right: -8px; top: -16px; height: 22px;
    background: #d4a017; color: #0b1c33; font-size: 10px; font-weight: 800;
    display: grid; place-items: center; border-radius: 4px;
}
.news-rack { position: absolute; inset: 12px 8px 10px; display: grid; gap: 6px; }
.news-rack span { background: #fff; border-radius: 2px; box-shadow: inset 0 6px 0 #eee; animation: sheetFlip 3.6s ease-in-out infinite; }
.news-rack span:nth-child(2) { animation-delay: .4s; }
.news-rack span:nth-child(3) { animation-delay: .8s; }
.news-board {
    position: absolute; right: 16px; top: 36px; width: 92px; height: 78px;
    background: #0f2744; border: 4px solid #d4a017; border-radius: 8px; padding: 6px; display: grid; gap: 5px;
}
.news-tick { background: #fff; border-radius: 3px; padding: 4px; display: grid; gap: 2px; }
.news-tick b { height: 4px; width: 70%; background: #0b1c33; border-radius: 2px; }
.news-tick i { height: 3px; width: 100%; background: #d7dbe3; border-radius: 2px; display: block; }
.news-tick.t1 { animation: tickIn 5s ease-in-out infinite; }
.news-tick.t2 { animation: tickIn 5s ease-in-out infinite .6s; }
.news-tick.t3 { animation: tickIn 5s ease-in-out infinite 1.2s; }
.news-float {
    position: absolute; background: #fff; color: #0b1c33; font-size: 10px; font-weight: 800;
    padding: 4px 8px; border-radius: 999px; box-shadow: 0 6px 14px rgba(11,28,51,.16);
}
.news-float.f1 { top: 18px; left: 36%; animation: floatCard 7s ease-in-out infinite; }
.news-float.f2 { top: 52px; left: 44%; animation: floatCard 8s ease-in-out infinite 1s; }
.news-float.f3 { top: 86px; left: 32%; animation: floatCard 6.5s ease-in-out infinite 1.8s; }
.fig.looker { left: 58%; bottom: 46px; animation: peek 4.5s ease-in-out infinite; }
.fig.looker .head { animation: turnHead 2.8s ease-in-out infinite; }
.fig.reader { left: 28%; bottom: 46px; }
.fig.reader .head { animation: nod 2.2s ease-in-out infinite; }
.paper-big {
    position: absolute; left: 18px; top: 10px; width: 18px; height: 16px;
    background: #fff; border: 1px solid #d4a017; transform: rotate(8deg);
    box-shadow: 2px 2px 0 rgba(11,28,51,.12);
}
.paper-big em { display: block; height: 2px; margin: 3px 2px 0; background: #cfd6e0; }
.fig.reader .bench {
    position: absolute; left: -6px; bottom: -4px; width: 40px; height: 6px;
    background: #6b4220; border-radius: 2px;
}

.diorama-courses, .diorama-teachers, .diorama-trial { background: linear-gradient(180deg, #f3e6c4 0%, #ead7a8 46%, #c9a66a 46%, #a8843c 100%); }
.diorama-courses .dio-sky,
.diorama-teachers .dio-sky,
.diorama-trial .dio-sky,
.diorama-gallery .dio-sky { display: none; }
.class-board {
    position: absolute; left: 22%; right: 22%; top: 18px; height: 64px;
    background: #1f6b45; border: 6px solid #6b4220; border-radius: 6px; z-index: 2;
}
.class-board.slim { height: 40px; top: 58px; }
.class-board small {
    position: absolute; left: 12px; top: 18px; color: #e8f6ee; font-size: 13px; font-weight: 800;
    animation: chalkWrite 6s ease-in-out infinite;
}
.chalk {
    position: absolute; right: 10px; bottom: 8px; width: 10px; height: 3px; background: #fff;
    animation: chalkMove 6s ease-in-out infinite;
}
.desk {
    position: absolute; bottom: 46px; width: 36px; height: 16px;
    background: #8a5a2a; border-radius: 3px 3px 0 0;
}
.desk::after { content: ""; position: absolute; left: 4px; right: 4px; top: -4px; height: 4px; background: #fff; border-radius: 2px; }
.desk.d1 { left: 16%; }
.desk.d2 { left: 42%; }
.desk.d3 { left: 68%; }
.fig.teacher { left: 48%; top: 88px; }
.fig.teacher .pointer {
    position: absolute; left: 16px; top: 14px; width: 22px; height: 2px; background: #3b2312;
    transform-origin: left center; animation: point 2.8s ease-in-out infinite;
}
.fig.teacher.talk { top: 96px; }
.fig.teacher .arm {
    position: absolute; right: -8px; top: 14px; width: 14px; height: 3px; background: #f0c2a0;
    transform-origin: left center; animation: waveArm 2s ease-in-out infinite;
}
.lectern {
    position: absolute; left: 46%; top: 128px; width: 36px; height: 22px;
    background: #5b3a18; clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}
.fig.sit { bottom: 58px; }
.fig.sit.s1 { left: 18%; }
.fig.sit.s2 { left: 44%; }
.fig.sit.s3 { left: 70%; }
.fig.sit .body { height: 14px; }
.fig.write .head { animation: nod 1.6s ease-in-out infinite; }

.diorama-gallery { background: linear-gradient(180deg, #2a2436 0%, #3d3348 46%, #8b7350 46%, #6d5938 100%); }
.diorama-gallery .sun, .diorama-gallery .cloud { display: none; }
.photo-wall { position: absolute; inset: 24px 18px 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.frame { border: 4px solid #f0c14b; border-radius: 4px; animation: frameSwap 5s ease-in-out infinite; }
.frame.fr1 { background: #7c2140; }
.frame.fr2 { background: #2457a6; animation-delay: .6s; }
.frame.fr3 { background: #1a6d6a; animation-delay: 1.2s; }
.frame.fr4 { background: #8a5a12; animation-delay: 1.8s; }
.fig.shooter { left: 44%; bottom: 46px; }
.fig.shooter .cam {
    position: absolute; right: -10px; top: 14px; width: 14px; height: 9px; background: #111; border-radius: 2px;
}
.fig.shooter .flash {
    position: absolute; right: -18px; top: 8px; width: 10px; height: 10px; border-radius: 50%;
    background: #fff; opacity: 0; animation: flash 2.4s ease-in-out infinite;
}

.diorama-faq { background: linear-gradient(180deg, #d7e8f6 0%, #bcd4ea 48%, #d8c48a 48%, #b89a58 100%); }
.qmark {
    position: absolute; font-family: Fraunces, serif; font-weight: 800; color: #122848;
    text-shadow: 0 8px 16px rgba(11,28,51,.12);
}
.qmark.q1 { left: 16%; top: 18px; font-size: 54px; animation: bounceQ 3s ease-in-out infinite; }
.qmark.q2 { right: 18%; top: 28px; font-size: 36px; color: #7c2140; animation: bounceQ 3.4s ease-in-out infinite .4s; }
.qmark.q3 { left: 42%; top: 8px; font-size: 28px; color: #d4a017; animation: bounceQ 2.8s ease-in-out infinite .8s; }
.bubble {
    position: absolute; left: 28%; top: 86px; background: #fff; color: #0b1c33;
    font-size: 11px; font-weight: 800; padding: 6px 10px; border-radius: 12px;
    animation: pulse 2.6s ease-in-out infinite;
}
.fig.thinker { left: 48%; bottom: 46px; }
.fig.thinker .head { animation: nod 2.8s ease-in-out infinite; }

.diorama-results, .diorama-stories {
    background: linear-gradient(180deg, #f3d98a 0%, #f7e7b4 46%, #d4b56a 46%, #b08c3e 100%);
}
.podium { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 6px; }
.podium .p { width: 42px; background: #122848; color: #f0c14b; display: grid; place-items: end center; border-radius: 6px 6px 0 0; padding-bottom: 4px; font-weight: 800; }
.podium .p1 { height: 70px; }
.podium .p2 { height: 52px; }
.podium .p3 { height: 40px; }
.score-chip {
    position: absolute; background: #0b1c33; color: #f0c14b; font-size: 11px; font-weight: 800;
    padding: 3px 8px; border-radius: 999px;
}
.score-chip.c97 { left: 12%; top: 28px; animation: popChip 3s ease-in-out infinite; }
.score-chip.c98 { left: 42%; top: 16px; animation: popChip 3s ease-in-out infinite .4s; }
.score-chip.c99 { right: 12%; top: 32px; animation: popChip 3s ease-in-out infinite .8s; }
.fig.champ { left: 50%; bottom: 112px; transform: translateX(-50%); }
.fig.champ.jump { left: 46%; bottom: 52px; transform: none; animation: hop 1.8s ease-in-out infinite; }
.trophy {
    position: absolute; left: 22%; bottom: 70px; width: 28px; height: 36px;
    background: #f0c14b; clip-path: polygon(20% 0, 80% 0, 88% 46%, 62% 46%, 70% 100%, 30% 100%, 38% 46%, 12% 46%);
    animation: pulse 2.4s ease-in-out infinite;
}
.medal {
    position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #d4a017;
    box-shadow: 0 8px 0 -4px #7c2140;
}
.medal.m1 { right: 22%; top: 36px; animation: spinSlow 6s linear infinite; }
.medal.m2 { right: 32%; top: 64px; animation: spinSlow 7s linear infinite reverse; }

.diorama-contact { background: linear-gradient(180deg, #dce8f4 0%, #c5d6e8 46%, #c4b07a 46%, #9e8a52 100%); }
.help-desk {
    position: absolute; left: 22%; right: 22%; bottom: 46px; height: 28px;
    background: #3d5a80; border-radius: 6px 6px 0 0;
}
.phone-ring {
    position: absolute; right: 26%; top: 48px; width: 18px; height: 28px;
    background: #111; border-radius: 5px; animation: ring 1.2s ease-in-out infinite;
}
.fig.agent { left: 46%; bottom: 70px; }
.fig.agent .headset {
    position: absolute; left: 4px; top: -2px; width: 20px; height: 8px;
    border: 2px solid #111; border-bottom: 0; border-radius: 10px 10px 0 0;
}
.fig.agent .wave {
    position: absolute; right: -10px; top: 12px; width: 12px; height: 3px; background: #f0c2a0;
    transform-origin: left center; animation: waveArm 1.4s ease-in-out infinite;
}

.diorama-trial { background: linear-gradient(180deg, #efe6cf 0%, #e4d6b0 40%, #c4a66a 40%, #9e8240 100%); }
.exam-clock {
    position: absolute; left: 50%; top: 16px; width: 36px; height: 36px; transform: translateX(-50%);
    background: #fff; border: 3px solid #0b1c33; border-radius: 50%;
}
.exam-clock i {
    position: absolute; left: 16px; top: 6px; width: 2px; height: 12px; background: #7c2140;
    transform-origin: bottom center; animation: tickHand 4s linear infinite;
}
.exam-desk {
    position: absolute; bottom: 46px; width: 48px; height: 18px; background: #6b4a22; border-radius: 3px;
}
.exam-desk span { position: absolute; left: 8px; top: -5px; width: 22px; height: 10px; background: #fff; }
.exam-desk.e1 { left: 12%; }
.exam-desk.e2 { left: 42%; }
.exam-desk.e3 { left: 72%; }

.diorama-register { background: linear-gradient(180deg, #c9d8ea 0%, #adc2db 48%, #c2ae78 48%, #9b8650 100%); }
.lock-door {
    position: absolute; left: 50%; bottom: 46px; width: 70px; height: 110px; transform: translateX(-50%);
    background: #3b2312; border-radius: 8px 8px 2px 2px;
}
.lock-face { position: absolute; inset: 10px 12px 18px; background: #6a3d18; border-radius: 4px; animation: doorOpen 5s ease-in-out infinite; transform-origin: left center; }
.keyhole {
    position: absolute; left: 50%; top: 48%; width: 10px; height: 10px; transform: translateX(-50%);
    background: #111; border-radius: 50%;
}
.fig.enter { left: 22%; bottom: 46px; animation: walkToDoor 5s ease-in-out infinite; }
.fig.enter .key {
    position: absolute; right: -8px; top: 16px; width: 10px; height: 4px; background: #d4a017;
    animation: turnKey 5s ease-in-out infinite;
}

.diorama-branches { background: linear-gradient(180deg, #9fd0c6 0%, #cfe8e2 48%, #d2c08a 48%, #b39a58 100%); }
.city-map {
    position: absolute; left: 16%; right: 16%; top: 28px; height: 90px;
    background: #fff; border-radius: 16px; box-shadow: 0 10px 20px rgba(11,28,51,.12);
}
.pin { position: absolute; text-align: center; }
.pin i { display: block; width: 14px; height: 14px; margin: 0 auto 4px; background: #7c2140; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); animation: pulse 1.8s ease-in-out infinite; }
.pin b { font-size: 10px; color: #0b1c33; }
.pin.p-a { left: 16%; top: 18px; }
.pin.p-b { right: 16%; top: 28px; }
.mini-house {
    position: absolute; bottom: 46px; width: 36px; height: 28px; background: #2457a6; border-radius: 3px;
}
.mini-house::before {
    content: ""; position: absolute; left: -4px; right: -4px; top: -12px; height: 16px;
    background: #7c2140; clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.mini-house.h1 { left: 22%; }
.mini-house.h2 { right: 22%; }

.diorama-about { background: linear-gradient(180deg, #f2e2b8 0%, #ead6a4 48%, #c8ae72 48%, #a48a48 100%); }
.year-card {
    position: absolute; left: 16%; top: 40px; background: #0b1c33; color: #f0c14b;
    font-family: Fraunces, serif; font-size: 22px; padding: 8px 12px; border-radius: 12px;
}
.year-card.now { left: auto; right: 16%; }
.year-line {
    position: absolute; left: 28%; right: 28%; top: 62px; height: 4px; background: #d4a017;
    animation: growLine 4s ease-in-out infinite;
}
.fig.stay-fig { left: 50%; bottom: 46px; transform: translateX(-50%); }

.diorama-services { background: linear-gradient(180deg, #d8e4f2 0%, #c2d2e6 46%, #c8b47e 46%, #a49056 100%); }
.orbit { position: absolute; inset: 18px 24px 70px; }
.orbit i {
    position: absolute; width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; color: #d4a017;
    box-shadow: 0 8px 16px rgba(11,28,51,.12);
}
.orbit .o1 { left: 8%; top: 10%; animation: orbitBob 3s ease-in-out infinite; }
.orbit .o2 { right: 10%; top: 8%; animation: orbitBob 3s ease-in-out infinite .4s; }
.orbit .o3 { left: 12%; bottom: 8%; animation: orbitBob 3s ease-in-out infinite .8s; }
.orbit .o4 { right: 12%; bottom: 6%; animation: orbitBob 3s ease-in-out infinite 1.2s; }

.diorama-default .orb {
    position: absolute; border-radius: 50%; filter: blur(2px);
}
.diorama-default .o-a { width: 70px; height: 70px; left: 16%; top: 24px; background: rgba(212,160,23,.45); animation: pulse 3s ease-in-out infinite; }
.diorama-default .o-b { width: 50px; height: 50px; right: 18%; top: 48px; background: rgba(124,33,64,.35); animation: pulse 3.6s ease-in-out infinite .6s; }

@keyframes sheetFlip { 50% { transform: rotateX(18deg); } }
@keyframes tickIn { 0%, 12% { opacity: .35; transform: translateY(4px); } 20%, 70% { opacity: 1; transform: none; } 100% { opacity: .35; } }
@keyframes floatCard { 50% { transform: translateY(-10px); } }
@keyframes peek { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(16px); } }
@keyframes turnHead { 50% { transform: rotate(10deg); } }
@keyframes nod { 50% { transform: translateY(1px) rotate(-8deg); } }
@keyframes chalkWrite { 0%, 20% { opacity: 0; } 40%, 100% { opacity: 1; } }
@keyframes chalkMove { 0%, 20% { right: 40px; opacity: 0; } 50% { right: 10px; opacity: 1; } }
@keyframes point { 50% { transform: rotate(-18deg); } }
@keyframes waveArm { 50% { transform: rotate(-28deg); } }
@keyframes frameSwap { 50% { filter: brightness(1.25); transform: translateY(-4px); } }
@keyframes flash { 0%, 70%, 100% { opacity: 0; } 76% { opacity: 1; } }
@keyframes bounceQ { 50% { transform: translateY(-8px); } }
@keyframes popChip { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes hop { 50% { transform: translateY(-10px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes ring { 25% { transform: rotate(8deg); } 75% { transform: rotate(-8deg); } }
@keyframes tickHand { to { transform: rotate(360deg); } }
@keyframes doorOpen { 30%, 70% { transform: rotateY(-62deg); } }
@keyframes walkToDoor { 0% { left: 10%; opacity: 0; } 20%, 55% { left: 22%; opacity: 1; } 80%, 100% { left: 38%; opacity: 0; } }
@keyframes turnKey { 40%, 60% { transform: rotate(70deg); } }
@keyframes growLine { 0% { transform: scaleX(.2); } 50%, 100% { transform: scaleX(1); } }
@keyframes orbitBob { 50% { transform: translateY(-8px); } }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filters input, .filters select, .form-card input, .form-card select, .form-card textarea, .subscribe input {
    width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 13px 14px 13px 42px; font: inherit;
}
.field { position: relative; }
.field i { position: absolute; left: 14px; top: 15px; color: var(--gold); }
.filter-bar {
    display: grid; gap: 14px;
    background: #fff; border: 1px solid var(--line); border-radius: 24px;
    padding: 16px 18px 18px; margin-bottom: 26px; box-shadow: var(--shadow);
}
.filter-bar-head {
    display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy);
}
.filter-bar-head i {
    width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
    background: #fff4d6; color: var(--gold);
}
.filter-chips {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    width: 100%; padding: 8px; background: #f7f2e8; border-radius: 18px;
}
.filter-chip {
    padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--navy);
    font-weight: 800; font-size: 13px; border: 1px solid rgba(11,28,51,.04);
    line-height: 1.2; white-space: nowrap; box-shadow: 0 1px 0 rgba(11,28,51,.04);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.filter-chip:hover { background: #fff8ea; transform: translateY(-1px); }
.filter-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 8px 16px rgba(11,28,51,.16); }
.filter-bar-tools {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px;
    padding-top: 4px;
}
.filter-bar.is-compact {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: 8px 10px; border-radius: 18px;
}
.filter-bar.is-compact .filter-chips { padding: 3px; width: auto; flex: 1 1 auto; }
.filter-bar.is-compact .filter-chip { padding: 7px 14px; font-size: 12px; }
.filter-bar.is-compact .filter-bar-tools { padding-top: 0; align-items: center; flex: 0 1 220px; min-width: 160px; }
.filter-bar.is-compact .filter-field { min-width: 0; flex: 1 1 160px; gap: 0; }
.filter-bar.is-compact .filter-field .box input,
.filter-bar.is-compact .filter-field select { padding-top: 8px; padding-bottom: 8px; border-radius: 12px; }
.filter-field { display: grid; gap: 6px; min-width: min(100%, 210px); flex: 1 1 210px; }
.filter-field > span {
    font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.filter-field .box { position: relative; }
.filter-field .box i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gold); pointer-events: none; }
.filter-field input, .filter-field select {
    width: 100%; border: 1px solid var(--line); background: #fbf8f2; color: var(--navy);
    border-radius: 14px; padding: 12px 36px 12px 38px; font: inherit; appearance: none;
    background-image: none;
}
.filter-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230b1c33' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.filter-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.filter-clear { font-weight: 800; font-size: 13px; color: var(--muted); white-space: nowrap; }
.filter-clear:hover { color: var(--wine); }
.form-card { padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.sheet { background: #fff; border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 28px; }
.sheet-title { font-family: Fraunces, serif; font-size: 28px; margin-bottom: 14px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr); gap: 24px; align-items: start; }
.about-side { position: sticky; top: 104px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 8px; }
.about-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.about-line article {
    background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow);
}
.about-line b { display: block; font-family: Fraunces, serif; font-size: 32px; color: var(--navy); margin-bottom: 8px; }
.about-values { margin-top: 20px; }
.rich h3 { font-family: Fraunces, serif; font-size: 22px; margin: 22px 0 10px; }
.media-frame { border-radius: 24px; overflow: hidden; background: #111827; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 360px; object-fit: cover; display: block; }
.side-list { display: grid; gap: 12px; }
.side-mini { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 10px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.side-mini img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.side-mini b { display: block; line-height: 1.35; }
.person-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: #fff; border-radius: 26px; padding: 22px 16px 18px; box-shadow: var(--shadow);
    border: 1px solid var(--line); transition: transform .35s ease, box-shadow .35s ease;
}
.person-card:hover { transform: translateY(-8px); box-shadow: 0 22px 40px rgba(11,28,51,.16); }
.person-photo { width: 118px; height: 118px; margin-bottom: 12px; }
.person-photo img {
    width: 118px; height: 118px; object-fit: cover; border-radius: 50%;
    border: 4px solid #fff; box-shadow: 0 0 0 3px var(--gold), 0 10px 22px rgba(11,28,51,.14);
}
.person-card h3 { margin: 0 0 6px; }
.person-card .card-go { margin-top: auto; }
.news-card small {
    display: inline-flex; background: #fff4d6; color: var(--navy); border-radius: 999px;
    padding: 4px 10px; font-weight: 800; font-size: 12px;
}
.news-card img { height: 200px; }
.service-card { padding: 22px; }
.service-card .thumb { height: 150px; border-radius: 18px; overflow: hidden; margin-bottom: 8px; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.perk-list { display: grid; gap: 10px; margin-top: 16px; }
.perk-list div, .perk-list a {
    display: flex; align-items: center; gap: 12px; background: #f7f2e8; border-radius: 14px; padding: 12px;
}
.perk-list i {
    width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: #fff; color: var(--gold);
}
.form-shell { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.form-intro { background: var(--navy); color: #fff; border-radius: 28px; padding: 28px; }
.form-intro h2 { font-family: Fraunces, serif; font-size: 30px; margin: 8px 0 12px; }
.form-intro p { color: #d5deea; line-height: 1.65; }
.form-intro ul { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.form-intro li { display: flex; gap: 10px; align-items: center; }
.form-intro i { color: #f0c14b; }
.contact-tile { padding: 16px 18px; }
.contact-tile b { display: block; margin-bottom: 4px; }
.contact-tile p { color: var(--muted); }
.contact-tile i { color: var(--gold); margin-right: 6px; }
.contact-actions {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px; margin-bottom: 28px;
}
.contact-action {
    display: grid; justify-items: start; gap: 4px;
    background: #fff; border-radius: 20px; padding: 16px 18px;
    box-shadow: var(--shadow); border: 1px solid var(--line);
    color: var(--navy); transition: transform .3s ease, box-shadow .3s ease;
}
.contact-action:hover { transform: translateY(-6px); box-shadow: 0 18px 32px rgba(11,28,51,.14); }
.contact-action i {
    width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
    background: #fff4d6; color: var(--gold); font-size: 18px; margin-bottom: 6px;
}
.contact-action.is-wa i { background: #e8f8ee; color: #25d366; }
.contact-action b { font-size: 15px; }
.contact-action small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.contact-map-wrap { margin-bottom: 32px; }
.contact-map {
    border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
    background: #e8eef4; min-height: 320px;
}
.contact-map iframe { display: block; width: 100%; height: 360px; border: 0; }
.contact-map.mini { min-height: 0; border-radius: 0; box-shadow: none; }
.contact-map.mini iframe { height: 200px; }
.contact-form-acts, .contact-mini-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-form-acts .btn { flex: 1; }
.form-intro a { color: inherit; }
.branch-card { overflow: hidden; }
.branch-card img { height: 190px; width: 100%; object-fit: cover; }
.branch-card .body { padding: 18px 20px 20px; display: grid; gap: 8px; }
.branch-card h3 { margin: 0 0 4px; }
.branch-card p { display: flex; align-items: flex-start; gap: 8px; color: #3a4354; font-size: 14px; }
.branch-card p i { color: var(--gold); margin-top: 3px; }
.faq-wrap { display: grid; gap: 22px; }
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; }
.faq-intro h2 { font-family: Fraunces, serif; font-size: clamp(28px, 3vw, 40px); margin: 8px 0 12px; }
.faq-intro p { color: var(--muted); line-height: 1.7; max-width: 360px; }
.faq-list { display: grid; gap: 10px; }
.faq-group h3 { font-family: Fraunces, serif; margin-bottom: 10px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); }
.faq-item button {
    width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px;
    font-weight: 800; cursor: pointer; display: grid; grid-template-columns: 42px 1fr 22px;
    align-items: center; gap: 12px; font: inherit;
}
.faq-num { color: var(--gold); font-family: Fraunces, serif; font-size: 18px; }
.faq-q { line-height: 1.4; }
.faq-item button i { color: var(--gold); transition: transform .25s ease; justify-self: end; }
.faq-item.open { border-color: rgba(212,160,23,.45); box-shadow: 0 12px 28px rgba(11,28,51,.08); }
.faq-item.open button i { transform: rotate(45deg); }
.faq-item .faq-answer { display: none; padding: 0 20px 20px 74px; color: #3a4354; line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }
.partners-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.partner-logo {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    min-height: 140px; padding: 18px 10px; border-radius: 22px; background: #fbf8f2; border: 1px solid var(--line);
    transition: .25s ease;
}
.partner-logo:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-logo img { width: 64px; height: 64px; object-fit: contain; }
.partner-logo span { font-weight: 800; font-size: 13px; letter-spacing: .02em; text-align: center; white-space: nowrap; }
.result-card { padding: 16px; display: flex; gap: 14px; align-items: center; }
.result-card img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; flex-shrink: 0; }
.result-card h3 { margin: 0 0 4px; }
.gallery-grid a { position: relative; }
.gallery-grid a::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(8,15,28,.35));
    opacity: 0; transition: .3s;
}
.gallery-grid a:hover::after { opacity: 1; }
.news-card .thumb { position: relative; }
.media-pill {
    position: absolute; left: 12px; bottom: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(8,15,28,.78); color: #fff; border-radius: 999px;
    padding: 5px 10px; font-size: 12px; font-weight: 800;
}
.media-tile { display: block; overflow: hidden; border-radius: 18px; height: 180px; background: #111827; position: relative; }
.media-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-grid a.media-tile.is-video,
.media-tile.is-video {
    height: auto; aspect-ratio: 3 / 4; min-height: 240px;
}
.media-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 58px; height: 58px; border-radius: 50%; z-index: 2;
    display: grid; place-items: center; background: #ff2d55; color: #fff; font-size: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.media-tile.is-video .media-pill { left: 12px; top: 12px; bottom: auto; }
.media-tile.is-video:hover .media-play { transform: translate(-50%, -50%) scale(1.06); }
.story-gallery { margin-top: 28px; }
.lightbox {
    position: fixed; inset: 0; z-index: 80; display: none; place-items: center;
    background: rgba(8,15,28,.88); padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox-stage { width: min(100%, 980px); max-height: 86vh; position: relative; }
.lightbox-stage img, .lightbox-stage video, .lightbox-stage iframe {
    width: 100%; max-height: 80vh; border-radius: 18px; background: #000; display: block;
}
.lightbox-stage iframe { height: min(70vh, 540px); }
.lightbox-close, .lightbox-nav {
    position: absolute; border: 0; cursor: pointer; color: #fff;
    background: rgba(255,255,255,.12); border-radius: 50%;
    width: 44px; height: 44px;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-nav.prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-title { color: #fff; text-align: center; margin-top: 10px; font-weight: 700; }
.reel-box {
    position: fixed; inset: 0; z-index: 140; display: none; background: #000;
}
.reel-box.open { display: block; }
.reel-track {
    height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory;
    scrollbar-width: none;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-slide {
    height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always;
    display: grid; place-items: center; position: relative; background: #000;
}
.reel-slide .reel-media {
    width: min(430px, 100vw); height: 100dvh; border: 0; border-radius: 0;
    background: #111; object-fit: cover;
}
.reel-meta {
    position: absolute; left: 18px; right: 78px; bottom: 28px; color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.55); pointer-events: none;
}
.reel-meta b { display: block; font-size: 16px; margin-bottom: 4px; }
.reel-close, .reel-nav, .reel-mute {
    position: absolute; z-index: 2; border: 0; cursor: pointer; color: #fff;
    background: rgba(255,255,255,.14); border-radius: 50%; width: 44px; height: 44px;
}
.reel-close { top: 16px; right: 16px; }
.reel-mute { right: 16px; bottom: 148px; }
.reel-nav.up { right: 16px; bottom: 92px; }
.reel-nav.down { right: 16px; bottom: 36px; }
@media (min-width: 760px) {
    .reel-slide .reel-media {
        height: min(90dvh, 820px); border-radius: 22px;
    }
}
.alert { padding: 14px 16px; border-radius: 14px; background: #e8f7ee; color: #146c2e; margin-bottom: 16px; }
.footer { background: var(--navy); color: #c9d3e2; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 24px; padding-bottom: 40px; }
.footer h4 { color: #fff; margin-bottom: 14px; }
.footer a, .footer p { display: block; margin: 8px 0; }
.subscribe { display: flex; margin-top: 12px; }
.subscribe input { padding-left: 14px; }
.subscribe button { width: 48px; border: 0; background: var(--gold); border-radius: 0 14px 14px 0; cursor: pointer; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; }
.whatsapp, .to-top { position: fixed; right: 18px; width: 52px; height: 52px; z-index: 50; color: #fff; }
.whatsapp { bottom: 86px; background: #25d366; }
.to-top { bottom: 22px; background: var(--navy); display: none; }
.reveal { opacity: 0; transform: translateY(24px); animation: up .8s ease forwards; }
@keyframes up { to { opacity: 1; transform: none; } }
.pager-wrap { margin-top: 28px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; list-style: none; }
.pager-btn {
    min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; box-shadow: var(--shadow); font-weight: 800; color: var(--navy);
}
.pager-btn.is-current { background: var(--navy); color: #fff; }
.pager-btn.is-disabled { opacity: .35; pointer-events: none; box-shadow: none; }
.pager-btn:hover:not(.is-current):not(.is-disabled) { background: #fff8ea; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.rich { line-height: 1.8; color: #2b3446; }
.rich p { margin: 0 0 14px; }
@media (max-width: 1100px) {
    body.menu-open { overflow: hidden; }
    .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fffdf8; }
    .topbar { display: none; }
    .header-inner { min-height: 68px; gap: 12px; }
    .logo img { width: 40px; height: 40px; }
    .logo strong { font-size: 18px; }
    .logo small, .header-trial, .header-apply { display: none; }
    .menu-btn { display: inline-flex; }
    .nav-mask {
        display: block; position: fixed; inset: 0; z-index: 110;
        background: rgba(6, 12, 24, .48); backdrop-filter: blur(6px);
        opacity: 0; pointer-events: none; transition: opacity .35s ease;
    }
    .nav-mask.open { opacity: 1; pointer-events: auto; }
    .nav {
        display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
        position: fixed; top: 0; right: 0; width: min(86vw, 360px); height: 100dvh;
        background: linear-gradient(180deg, #081525 0%, #122848 58%, #3a1830 100%);
        color: #e8eef8; padding: 18px 16px 24px; gap: 4px; flex: none;
        transform: translateX(104%); transition: transform .45s cubic-bezier(.22, 1, .36, 1);
        z-index: 120; overflow: auto; box-shadow: -24px 0 60px rgba(0,0,0,.28);
    }
    .nav.open { transform: translateX(0); }
    .nav::before {
        content: ""; position: absolute; width: 180px; height: 180px; right: -40px; top: -30px;
        background: radial-gradient(circle, rgba(212,160,23,.22), transparent 70%); pointer-events: none;
    }
    .drawer-head, .drawer-langs, .drawer-foot { display: flex; }
    .drawer-head { position: relative; align-items: center; justify-content: space-between; margin-bottom: 14px; }
    .drawer-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
    .drawer-brand img { width: 40px; height: 40px; }
    .drawer-brand strong { display: block; font-family: Fraunces, serif; font-size: 20px; }
    .drawer-brand small { color: #f0c14b; font-size: 11px; font-weight: 700; }
    .drawer-close {
        width: 40px; height: 40px; border: 0; border-radius: 50%;
        background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
    }
    .drawer-langs { gap: 8px; margin-bottom: 16px; }
    .drawer-langs a {
        flex: 1; text-align: center; padding: 8px; border-radius: 12px;
        background: rgba(255,255,255,.08); font-weight: 800; font-size: 12px;
    }
    .drawer-langs a.active { background: var(--gold); color: var(--navy); }
    .nav-item { width: 100%; padding-bottom: 0; margin-bottom: 0; }
    .nav-link {
        width: 100%; justify-content: flex-start; color: #e8eef8;
        background: rgba(255,255,255,.04); margin-bottom: 6px;
    }
    .nav-link > i:first-child { background: rgba(240,193,75,.16); color: #f0c14b; }
    .nav-link:hover, .nav-link.is-active, .nav-item.open > .nav-link {
        background: rgba(240,193,75,.16); color: #fff;
    }
    .mega, .mega-wide {
        position: static; display: none; min-width: 0; grid-template-columns: 1fr;
        box-shadow: none; background: transparent; border: 0; padding: 0 0 8px 8px;
        visibility: visible; opacity: 1; pointer-events: auto;
    }
    .nav-item.open > .mega { display: grid; }
    .mega a { color: #d7deea; }
    .mega a i { background: rgba(255,255,255,.08); color: #f0c14b; }
    .mega a:hover { background: rgba(255,255,255,.08); }
    .drawer-foot { flex-direction: column; gap: 10px; margin-top: auto; padding-top: 18px; }
    .drawer-foot .btn { width: 100%; }
    .drawer-phone { color: #f0c14b; font-weight: 800; text-align: center; }
    .hero { padding: 14px 0 16px; }
    .hero-split { grid-template-columns: 1fr; min-height: 0; gap: 12px; }
    .hero .eyebrow { font-size: 10px; letter-spacing: .1em; }
    .hero h1 { font-size: 22px; line-height: 1.2; margin: 6px 0 8px; }
    .hero p { font-size: 13px; line-height: 1.4; margin-bottom: 10px; }
    .hero-actions { flex-direction: row; gap: 8px; }
    .hero-actions .btn { width: auto; flex: 1; padding: 9px 12px; font-size: 13px; }
    .story { height: 180px; }
    .story-building { width: 140px; height: 132px; }
    .page-hero-split { min-height: 0; gap: 16px; }
    .diorama { height: 230px; }
    .sign strong { font-size: 15px; }
    .sign small { font-size: 8px; }
    .floors { padding: 50px 12px 50px; gap: 5px; }
    .floors span { height: 16px; }
    .stats { margin-top: 14px; }
    .stats-grid, .icon-grid, .course-grid, .teachers-grid, .news-grid, .gallery-grid, .testimonials, .footer-grid, .split, .form-grid, .win-grid, .person-grid, .about-stats, .about-line { grid-template-columns: 1fr 1fr; }
    .about-side { position: static; }
    .win-detail, .article-layout, .form-shell, .faq-split, .review-split, .cabinet-grid { grid-template-columns: 1fr; }
    .story-studio-grid { grid-template-columns: 1fr; }
    .story-studio-head { flex-wrap: wrap; }
    .review-summary { position: static; }
    .partner-track { grid-template-columns: repeat(3, 1fr); }
    .win-profile { position: static; }
    .course-offer, .course-body { grid-template-columns: 1fr; }
    .course-buy { position: static; max-height: none; }
    .course-media, .course-media img { min-height: 280px; }
    .stat-card { padding: 14px; }
    .stat-card b { font-size: 22px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .whatsapp { right: 14px; bottom: 78px; width: 46px; height: 46px; }
    .to-top { right: 14px; width: 46px; height: 46px; }
}
@media (max-width: 640px) {
    .container { width: min(100%, calc(100% - 24px)); }
    .stats-grid, .icon-grid, .teachers-grid, .news-grid, .gallery-grid, .testimonials {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .course-grid { grid-template-columns: 1fr; gap: 10px; }
    .footer-grid, .split, .form-grid, .cta-band, .course-offer, .course-body, .pay-plans, .course-actions { grid-template-columns: 1fr; }
    .filter-bar { padding: 14px; }
    .filter-field, .filter-chips, .filter-actions, .filter-bar-tools { flex: 1 1 100%; }
    .filter-bar.is-compact { padding: 8px; }
    .filter-bar.is-compact .filter-chips,
    .filter-bar.is-compact .filter-bar-tools,
    .filter-bar.is-compact .filter-field { flex: 1 1 100%; }
    .gallery-grid.is-reels { grid-template-columns: 1fr 1fr; }
    .filter-chip { white-space: nowrap; }
    .filter-actions { margin-left: 0; }
    .filter-actions .btn { width: 100%; }
    .hero { padding: 10px 0 12px; }
    .hero h1 { font-size: 20px; }
    .hero p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .story { height: 150px; }
    .story-building { width: 118px; height: 112px; }
    .tree { display: none; }
    .walker b { font-size: 9px; padding: 1px 5px; }
    .section { padding: 24px 0; }
    .page-hero { padding: 18px 0; }
    .page-hero-split { grid-template-columns: 1fr; min-height: 0; gap: 14px; }
    .diorama { height: 200px; }
    .qmark.q1 { font-size: 40px; }
    .news-board { width: 78px; height: 66px; }
    .cta-band { padding: 24px; border-radius: 22px; }
    .news-card img, .teacher-card img, .story-card img { height: 120px; }
    .win-photo, .win-photo img { width: 88px; height: 88px; }
    .win-card { padding: 16px 12px; }
    .win-card h3 { font-size: 15px; }
    .win-excerpt { display: none; }
    .win-article { padding: 22px 18px 26px; min-height: 0; }
    .win-article h3 { font-size: 22px; }
    .person-photo, .person-photo img { width: 84px; height: 84px; }
    .sheet, .form-intro { padding: 20px; }
    .media-frame img { height: 220px; }
    .partner-track { grid-template-columns: 1fr 1fr; }
    .faq-item .faq-answer { padding-left: 20px; }
    .news-card .body, .teacher-card .body, .service-card, .icon-card { padding: 12px; }
    .teacher-card h3, .news-card h3, .icon-card h3 { font-size: 14px; line-height: 1.35; }
    .stat-card { padding: 12px; gap: 8px; }
    .stat-card i, .icon-card i, .service-card i { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
    .stat-card b { font-size: 18px; }
    .price { flex-direction: column; gap: 6px; font-size: 12px; }
}
@media (max-width: 720px) {
    .course-grid { grid-template-columns: 1fr; gap: 12px; }
    .course-card {
        flex-direction: row;
        align-items: stretch;
        min-height: 112px;
        border-radius: 20px;
    }
    .course-card:hover { transform: none; }
    .course-card .thumb {
        width: 108px; flex: 0 0 108px; height: auto; min-height: 112px;
        align-self: stretch;
    }
    .course-card .thumb img { height: 100%; }
    .course-card .badge { display: none; }
    .course-card .body {
        padding: 12px 44px 12px 14px; min-width: 0;
        justify-content: center; gap: 6px;
    }
    .course-card h3 {
        margin: 0; font-size: 15px; line-height: 1.3;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .course-card .body > .muted { display: none; }
    .course-taught { margin-top: 2px; gap: 6px; }
    .course-taught-faces img { width: 22px; height: 22px; }
    .course-taught-names { display: none; }
    .course-card { position: relative; }
    .course-card .price {
        margin-top: 8px; padding-right: 40px; flex-direction: row; align-items: center;
        font-size: 13px; min-width: 0; white-space: nowrap;
    }
    .course-card .card-go {
        position: absolute; right: 10px; bottom: 10px; margin: 0; gap: 0;
    }
    .course-card .card-go em { display: none; }
    .course-card .card-go i { width: 30px; height: 30px; font-size: 11px; }
}
