/* ==========================================================================
   Abu Ali ibn Sino IM Buxoro filiali — yorug' dizayn tizimi
   Asos: oq · Asosiy rang: yorqin yashil · Harakat rangi: yorqin sariq
   Yo'nalish ranglari: teal (biologiya), sky (kimyo), rose (tibbiyot), green (ekologiya), amber, violet
   Shriftlar: Onest (sarlavhalar) / Manrope (matn)
   ========================================================================== */

:root {
    --green-50: #F3FAF4;
    --green-100: #DCFCE7;
    --green-200: #BBF7D0;
    --green-400: #4ADE80;
    --green-500: #22C55E;
    --green-600: #16A34A;
    --green-700: #15803D;
    --green-800: #166534;
    --green-900: #14532D;
    --green-950: #0A3320;
    --yellow: #FACC15;
    --yellow-300: #FDE047;
    --yellow-500: #EAB308;
    --yellow-100: #FEF9C3;
    --yellow-50: #FEFCE8;
    --white: #FFFFFF;
    --tint: #F3F9F4;
    --tint-2: #EAF5EC;
    --line: #E3EBE5;
    --line-2: #D3DED6;
    --ink: #0B1F14;
    --ink-2: #1F3328;
    --text: #3B4A41;
    --muted: #5F6F66;
    --on-green: #DCFCE7;
    --on-dark: #CFE9D8;
    --on-dark-2: #A7C9B3;
    --danger: #B42318;
    --danger-bg: #FDECEC;
    --success: #166534;
    --success-bg: #DCFCE7;

    --display: Onest, Manrope, 'Segoe UI', system-ui, sans-serif;
    --sans: Manrope, 'Segoe UI', system-ui, -apple-system, sans-serif;

    --container: 1280px;
    --gutter: clamp(16px, 5vw, 72px);
    --section-y: clamp(72px, 9vw, 120px);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --nav-h: 82px;
    --ease: cubic-bezier(.16, .84, .24, 1);
    --shadow-sm: 0 1px 2px rgba(11, 31, 20, .05), 0 4px 12px -4px rgba(11, 31, 20, .08);
    --shadow: 0 2px 4px rgba(11, 31, 20, .04), 0 18px 40px -18px rgba(11, 31, 20, .22);
    --shadow-lg: 0 30px 70px -30px rgba(11, 31, 20, .35);

    /* Standart yo'nalish rangi */
    --c: var(--green-600);
    --c-strong: var(--green-800);
    --c-soft: var(--green-100);
}

/* ---------- Yo'nalish ranglari ---------- */
.tone-green { --c: #16A34A; --c-strong: #166534; --c-soft: #DCFCE7; }
.tone-teal { --c: #0D9488; --c-strong: #0F766E; --c-soft: #CCFBF1; }
.tone-sky { --c: #0284C7; --c-strong: #0369A1; --c-soft: #E0F2FE; }
.tone-rose { --c: #E11D48; --c-strong: #BE123C; --c-soft: #FFE4E6; }
.tone-amber { --c: #D97706; --c-strong: #B45309; --c-soft: #FEF3C7; }
.tone-violet { --c: #7C3AED; --c-strong: #6D28D9; --c-soft: #EDE9FE; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    overflow-x: hidden;
}
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
}
body, .container, .section, .card, p, h1, h2, h3, h4, h5, h6, span, a, li, blockquote {
    overflow-wrap: break-word;
    word-break: normal;
}
img, svg, video, iframe, canvas {
    display: block;
    max-width: 100%;
    height: auto;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow-500); outline-offset: 3px; border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; transition: top .3s var(--ease); }
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section-y) 0; overflow: hidden; background: var(--white); }
.section--tight-top { padding-top: clamp(40px, 5vw, 64px); }
.section--sage, .section--tint { background: var(--tint); }
.section--paper { background: var(--white); }
.section > .container { position: relative; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 64px; margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.section-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section-head__aside { max-width: 460px; font-size: 16.5px; line-height: 1.75; color: var(--text); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(48px, 7vw, 96px); align-items: center; }
.split__text { display: flex; flex-direction: column; gap: 22px; }

/* ---------- Typography ---------- */
.display {
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--ink);
    text-wrap: balance;
    overflow-wrap: break-word;
}
.display--hero { font-size: clamp(28px, 6vw, 70px); line-height: 1.08; letter-spacing: -0.035em; }
.display--xl { font-size: clamp(26px, 5.2vw, 62px); line-height: 1.1; letter-spacing: -0.03em; }
.display--lg { font-size: clamp(24px, 4.2vw, 46px); line-height: 1.14; }
.display--md { font-size: clamp(20px, 3.2vw, 36px); line-height: 1.18; }
.display--article { font-size: clamp(24px, 4.5vw, 56px); line-height: 1.14; }

/* Sariq marker bilan ajratilgan so'z */
.hl, .accent {
    padding: 0 .08em; margin: 0 -.02em; color: inherit; font-style: normal;
    background-image: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
    background-repeat: no-repeat; background-size: 100% 100%;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hl--hero { background-image: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 90%, transparent 90%); }
.js [data-reveal] .hl { background-size: 0% 100%; transition: background-size 1.1s var(--ease) .45s; }
.js [data-reveal].is-in .hl { background-size: 100% 100%; }

.lead { font-size: 17px; line-height: 1.8; color: var(--text); max-width: 640px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-800); }
.eyebrow__num { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12px; letter-spacing: .04em; }
.eyebrow--dark { color: var(--yellow); }
.eyebrow--ink { color: var(--green-900); }
.eyebrow__rule { display: none; }

.pill { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 700; color: var(--green-800); }

.ulink { position: relative; }
.ulink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.ulink:hover::after, .ulink:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Buttons ---------- */
.btn {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--display); font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap;
    transition: transform .35s var(--ease), box-shadow .35s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__arrow { transition: transform .35s var(--ease); flex-shrink: 0; }
.btn:hover .btn__arrow, .card:hover .btn__arrow, a:hover > .more-link .btn__arrow { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--green, .btn--ink { background: var(--green-700); color: var(--white); }
.btn--green:hover, .btn--ink:hover { background: var(--green-800); box-shadow: 0 16px 32px -14px rgba(21, 128, 61, .7); }
.btn--gold, .btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--gold:hover, .btn--yellow:hover { background: var(--yellow-300); box-shadow: 0 16px 32px -14px rgba(234, 179, 8, .8); }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--green-600); color: var(--green-800); background: var(--green-50); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { box-shadow: var(--shadow); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.btn[disabled] { opacity: .7; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: shine 3.6s ease-in-out 1.6s infinite; pointer-events: none; }

.icon-btn { width: 44px; height: 44px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: var(--white); transition: transform .3s var(--ease), background-color .25s ease, color .25s ease, border-color .25s ease; }
.icon-btn:hover { transform: translateY(-3px); background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.icon-btn--light { border-color: var(--line-2); color: var(--ink); background: var(--white); }
.icon-btn--white { background: var(--white); border-color: var(--white); color: var(--green-800); }
.icon-btn--lg { width: 60px; height: 60px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.chip:hover { border-color: var(--green-600); color: var(--green-800); }
.chip.is-active { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.chip__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--tint-2); color: var(--green-900); font-size: 11.5px; font-weight: 800; }
.chip.is-active .chip__count { background: var(--yellow); color: var(--ink); }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.badge--gold { background: var(--yellow); color: var(--ink); }
.badge--light { background: var(--white); color: var(--green-900); box-shadow: var(--shadow-sm); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.tag-list--tone li { border: 0; background: var(--c-soft); color: var(--c-strong); }
.tag-list--dark li { background: rgba(255, 255, 255, .14); border: 0; color: var(--white); }

.meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.meta--dark { color: var(--muted); }

.icon-circle { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-soft); color: var(--c-strong); }
.icon-square { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-soft); color: var(--c-strong); transition: background-color .3s ease, color .3s ease; }

.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; background: var(--green-500); }
.status-dot.is-open { background: #22C55E; }
.status-dot.is-closed { background: #F43F5E; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.status-pill.is-open { background: var(--success-bg); color: var(--success); }
.status-pill.is-closed { background: var(--danger-bg); color: var(--danger); }

.card { transition: transform .45s var(--ease), box-shadow .45s ease, border-color .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.zoom { overflow: hidden; }
.zoom img, .zoom video, .zoom .zoom__target { transition: transform 1.1s var(--ease); }
.card:hover .zoom img, .card:hover .zoom video, .card:hover .zoom .zoom__target { transform: scale(1.06); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Rasmsiz kartalar uchun rangli fon */
[class*="tone-"].news-card__media, [class*="tone-"].featured__media, [class*="tone-"].teacher__photo, [class*="tone-"].related__thumb, .article-figure--placeholder { background-color: var(--c-soft); }

/* ---------- Patterns, blobs, motifs ---------- */
.pattern { position: absolute; inset: 0; pointer-events: none; background-size: 160px 160px; }
.pattern--green { background-image: url("../img/pattern-green.svg"); opacity: .06; }
.pattern--white { background-image: url("../img/pattern-white.svg"); opacity: .09; }
.pattern--tone { background-image: url("../img/pattern-green.svg"); opacity: .14; }
.pattern--gold, .pattern--ink { background-image: url("../img/pattern-green.svg"); opacity: .06; }
.drift { animation: drift 48s linear infinite; }

.blob { position: absolute; border-radius: 50%; pointer-events: none; animation: glow 9s ease-in-out infinite; }
.blob--green { background: radial-gradient(circle at center, rgba(34, 197, 94, .20), rgba(34, 197, 94, 0) 68%); }
.blob--yellow { background: radial-gradient(circle at center, rgba(250, 204, 21, .32), rgba(250, 204, 21, 0) 68%); }

.helix { position: absolute; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.helix__rung { display: flex; align-items: center; height: 8px; animation: helix 3.6s ease-in-out infinite; }
.helix__rung i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--green-600)); flex-shrink: 0; }
.helix__rung i:last-child { background: var(--yellow); }
.helix__rung b { flex-grow: 1; height: 2px; background: currentColor; opacity: .25; color: var(--c, var(--green-600)); }
.helix--hero { right: -36px; top: 12%; width: 36px; height: 72%; }
.helix--panel { right: 40px; top: 24px; width: 60px; height: calc(100% - 48px); }
.helix--panel .helix__rung { height: 10px; }
.helix--panel .helix__rung i { width: 10px; height: 10px; }

.bubbles { position: absolute; pointer-events: none; }
.bubble { position: absolute; bottom: 0; border-radius: 50%; animation: bubble 7s ease-in infinite; opacity: 0; }
.bubble--ring { border: 2px solid rgba(22, 163, 74, .5); }
.bubble--ring-yellow { border: 2px solid rgba(234, 179, 8, .7); }
.bubble--dot { background: rgba(22, 163, 74, .45); }
.bubble--dot-yellow { background: rgba(250, 204, 21, .8); }
.bubbles--hero { left: 40%; bottom: 120px; width: 220px; height: 320px; }
.bubbles--panel { right: 130px; bottom: 20px; width: 140px; height: 200px; }
.bubbles--panel .bubble--ring, .bubbles--panel .bubble--dot { border-color: var(--c); background-color: transparent; }
.bubbles--panel .bubble--dot { background: var(--c); opacity: .6; }

.sway { transform-origin: 50% 100%; animation: sway 10s ease-in-out infinite; }
.sway--b { animation-duration: 13s; animation-delay: -4s; animation-direction: reverse; }
.spin { animation: spin 120s linear infinite; }
.spin-slow { animation: spin 90s linear infinite; }
.spin-reverse { animation: spin 90s linear infinite reverse; }
.float { animation: float 7s ease-in-out infinite; }
.float-b { animation: float-b 8s ease-in-out infinite; }
.pulse { animation: pulse 2.4s ease-out infinite; }
.glow { animation: glow 6s ease-in-out infinite; }
.kenburns { animation: kenburns 18s ease-in-out infinite alternate; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(.95); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.mask-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mask-line > span { display: inline-block; }
.js .mask-line > span { transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .is-in .mask-line > span, .js .mask-line.is-in > span { transform: none; }

/* ---------- Topbar ---------- */
.topbar { background: var(--green-950); color: var(--on-dark); font-size: 13px; font-weight: 500; }
.topbar__inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__group { display: flex; align-items: center; gap: 24px; min-width: 0; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item svg { color: var(--yellow); flex-shrink: 0; }
.topbar__item:hover { color: var(--white); }
.topbar__address { overflow: hidden; text-overflow: ellipsis; }
.topbar__muted { color: var(--on-dark-2); }
.topbar__divider { width: 1px; height: 16px; background: rgba(255, 255, 255, .15); }
.open-status .status-dot { animation: pulse 2.4s ease-out infinite; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { height: 26px; min-width: 34px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--on-dark); transition: background-color .25s ease, color .25s ease; }
.lang-switch a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.lang-switch a.is-active { background: var(--yellow); color: var(--ink); }
.lang-switch--lg { gap: 8px; }
.lang-switch--lg a { flex: 1; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink); }
.lang-switch--lg a:hover { color: var(--ink); background: var(--tint); }
.lang-switch--lg a.is-active { border-color: var(--yellow); }

/* ---------- Navigation ---------- */
/* ---------- Navigation ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .35s ease, background-color .35s ease;
}
.site-nav > .container {
    max-width: 1440px;
    padding: 0 clamp(16px, 2.2vw, 36px);
}
.site-nav.is-scrolled {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 12px 30px -20px rgba(11, 31, 20, .35);
}
.site-nav__inner {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px, 1.4vw, 20px);
    transition: height .35s var(--ease);
}
.site-nav.is-scrolled .site-nav__inner { height: 70px; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 0.9vw, 12px);
    flex-shrink: 0;
}
.brand__mark {
    width: clamp(42px, 3.4vw, 50px);
    height: clamp(42px, 3.4vw, 50px);
    border-radius: 50%;
    object-fit: contain;
    background: var(--white);
    box-shadow: 0 4px 14px -6px rgba(11, 31, 20, .45);
}
.brand__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.brand__title {
    font-family: var(--display);
    font-size: clamp(16px, 1.25vw, 20px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--ink);
    white-space: nowrap;
}
.brand__subtitle {
    font-size: clamp(9px, 0.72vw, 10.5px);
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--green-700);
    white-space: nowrap;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(2px, 0.4vw, 8px);
    flex-shrink: 1;
    min-width: 0;
}
.main-nav__link {
    position: relative;
    padding: 8px clamp(7px, 0.7vw, 13px);
    border-radius: 999px;
    font-size: clamp(13px, 0.88vw, 14.5px);
    font-weight: 700;
    color: var(--ink-2);
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease;
}
.main-nav__link:hover { color: var(--green-800); background: var(--green-50); }
.main-nav__link.is-active { color: var(--green-800); background: var(--green-100); }
.main-nav__link.is-active::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 24px; height: 3px; margin-left: -12px; border-radius: 4px; background: var(--yellow); }
.site-nav.is-scrolled .main-nav__link.is-active::after { bottom: -8px; }
.site-nav__actions {
    display: flex;
    align-items: center;
    gap: clamp(8px, 0.8vw, 12px);
    flex-shrink: 0;
}
.site-nav__search-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: var(--white);
    transition: all .25s ease;
    flex-shrink: 0;
}
.site-nav__search-btn:hover {
    background: var(--green-100);
    color: var(--green-800);
    border-color: var(--green-400);
}
.site-nav__cta {
    min-height: 44px;
    padding: 0 clamp(16px, 1.4vw, 24px);
    font-size: clamp(13px, 0.9vw, 15px);
    flex-shrink: 0;
    white-space: nowrap;
}
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); align-items: center; justify-content: center; transition: background-color .25s ease, color .25s ease; flex-shrink: 0; }
.menu-toggle__close { display: none; }
.menu-open .menu-toggle { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.menu-open .menu-toggle__open { display: none; }
.menu-open .menu-toggle__close { display: inline-flex; }

.mobile-menu { position: fixed; inset: 0; top: var(--menu-top, 70px); z-index: 55; overflow-y: auto; background: var(--white); color: var(--ink); padding: 20px var(--gutter) 32px; display: flex; flex-direction: column; gap: 28px; animation: fade-in .3s ease both; }
.mobile-menu__nav { position: relative; display: flex; flex-direction: column; }
.mobile-menu__link { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 24px; font-weight: 700; animation: slide-in .55s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
.mobile-menu__link svg { color: var(--green-600); }
.mobile-menu__link.is-active { color: var(--green-700); }
.mobile-menu__foot { position: relative; margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
body.menu-open { overflow: hidden; }

/* ---------- Announcement ticker ---------- */
.ticker-bar { display: flex; align-items: center; height: 46px; background: var(--yellow); color: var(--ink); overflow: hidden; }
.ticker-bar__badge { flex-shrink: 0; margin-left: var(--gutter); display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--green-700); color: var(--white); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; position: relative; z-index: 2; box-shadow: 20px 0 20px 0 var(--yellow); }
.ticker-bar__track { flex: 1; min-width: 0; overflow: hidden; margin-left: 16px; }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; white-space: nowrap; font-size: 14.5px; font-weight: 700; }
.marquee__group a:hover { text-decoration: underline; text-underline-offset: 4px; }
.marquee__star { color: var(--green-700); font-size: 11px; }
.ticker-bar__more { flex-shrink: 0; margin: 0 var(--gutter) 0 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: var(--green-900); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--green-50) 0%, #FAFDF9 60%, var(--white) 100%); padding: clamp(40px, 6vw, 80px) 0 clamp(130px, 13vw, 170px); }
.hero__pattern { opacity: .07; }
.hero__blob-a { width: 720px; height: 720px; right: -160px; top: -220px; }
.hero__blob-b { width: 520px; height: 520px; left: -200px; bottom: -180px; animation-delay: -3s; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__content { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.hero__lead { max-width: 580px; font-size: 18px; line-height: 1.75; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.hero__phone { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; }
.hero__phone-icon { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--ink); transition: transform .3s var(--ease); }
.hero__phone:hover .hero__phone-icon { transform: rotate(-12deg) scale(1.06); }
.hero__phone small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero__phone strong { font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--ink); }

.rotator { display: flex; flex-direction: column; gap: 10px; max-width: 480px; padding: 16px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rotator__row { display: flex; align-items: center; gap: 14px; min-height: 34px; }
.rotator__label { flex-shrink: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rotator__words { position: relative; flex: 1; min-height: 34px; overflow: hidden; }
.rotator__word { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; height: 34px; font-family: var(--display); font-size: 19px; font-weight: 800; color: var(--c-strong); white-space: nowrap; opacity: 0; transform: translateY(100%); transition: opacity .45s ease, transform .55s var(--ease); }
.rotator__icon { color: var(--c); }
.rotator__word.is-active { opacity: 1; transform: none; }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-100%); }
.rotator__bar { display: block; height: 4px; background: var(--tint-2); border-radius: 4px; overflow: hidden; }
.rotator__bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--green-500), var(--yellow)); transform-origin: left; transform: scaleX(0); }
.rotator__bar span.is-running { animation: bar-fill linear forwards; }

.hero__visual { position: relative; width: 100%; max-width: 580px; justify-self: end; }
.hero-media { position: relative; aspect-ratio: 1 / 1.02; }
.hero-media::before { content: ""; position: absolute; right: -4%; top: -5%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.hero-media__dots { position: absolute; left: -4%; bottom: -3%; width: 44%; height: 42%; background-image: radial-gradient(var(--green-600) 2px, transparent 2.5px); background-size: 18px 18px; opacity: .35; border-radius: 12px; }
.hero-media__frame { position: absolute; left: 7%; top: 0; right: 0; bottom: 9%; border-radius: var(--radius-xl); overflow: hidden; background: var(--green-100); box-shadow: var(--shadow-lg); }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 9s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1.01); }
.hero-media__emblem { position: absolute; left: -3%; bottom: 0; width: 34%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); color: var(--green-600); }
.hero-media__ring { position: absolute; inset: -8%; width: 116%; height: 116%; opacity: .5; }
.hero-media__emblem img { position: relative; width: 84%; height: 84%; border-radius: 50%; object-fit: contain; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.float-card small { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.float-card strong { display: block; font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--ink); }
.float-card__icon { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--green-100); color: var(--green-800); }
.float-card--status { left: -2%; top: 8%; }
.float-card--stat { right: -3%; bottom: 20%; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 22px; background: var(--green-700); }
.float-card--stat strong { font-size: 34px; color: var(--white); line-height: 1; }
.float-card--stat small { color: var(--on-green); }

/* ---------- Quick links (yo'nalishlar) ---------- */
.quicklinks { position: relative; z-index: 3; margin-top: clamp(-110px, -8vw, -84px); }
.quicklinks__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.quick-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 20px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease; }
.quick-card:hover { transform: translateY(-5px); border-color: var(--c); box-shadow: var(--shadow-lg); }
.quick-card__icon { width: 52px; height: 52px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-soft); color: var(--c-strong); transition: background-color .3s ease, color .3s ease; }
.quick-card__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.quick-card__text strong { font-family: var(--display); font-size: 16.5px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.quick-card__text small { font-size: 13px; line-height: 1.4; color: var(--muted); }
.quick-card__arrow { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); color: var(--ink); transition: all .3s ease; }
.quick-card:hover .quick-card__arrow, .quick-card.is-current .quick-card__arrow { background: var(--c); border-color: var(--c); color: var(--white); }
.quick-card.is-current { border-color: var(--c); }
.quick-card.is-current .quick-card__icon { background: var(--c); color: var(--white); }
.quick-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--c); transform: scaleX(0); transform-origin: left; }
.quick-card.is-current::after { animation: bar-fill 3.6s linear forwards; }

/* ---------- Stat tiles ---------- */
.stats-section { position: relative; padding: clamp(56px, 7vw, 88px) 0 0; background: var(--white); }
.stat-tiles { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; }
.stat-tiles__ecg { position: absolute; left: 0; right: 0; top: -40px; height: 48px; color: var(--green-600); }
.stat-tiles__ecg svg { width: 100%; height: 100%; }
.ecg-pulse { stroke-dasharray: 220 1680; animation: ecg 4.2s linear infinite; }
.stat-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 26px 26px 24px; border-radius: 22px; transition: transform .4s var(--ease), box-shadow .4s ease; }
.stat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stat-tile__icon { width: 44px; height: 44px; margin-bottom: 10px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.stat-tile__value { font-family: var(--display); font-size: clamp(38px, 3.8vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-tile__label { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stat-tile--green { background: var(--green-700); color: var(--white); }
.stat-tile--green .stat-tile__icon { background: rgba(255, 255, 255, .16); color: var(--yellow); }
.stat-tile--green .stat-tile__label { color: var(--on-green); }
.stat-tile--yellow { background: var(--yellow); color: var(--ink); }
.stat-tile--yellow .stat-tile__icon { background: rgba(255, 255, 255, .55); color: var(--green-800); }
.stat-tile--white { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); }
.stat-tile--white .stat-tile__icon { background: var(--green-100); color: var(--green-800); }
.stat-tile--white .stat-tile__label { color: var(--muted); }
.stat-tile::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: currentColor; opacity: .06; }

/* Stats (about sahifasi, yashil lenta) */
.stats { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 32px; border-left: 1px solid rgba(255, 255, 255, .18); }
.stat:first-of-type { border-left: 0; padding-left: 0; }
.stat__value { font-family: var(--display); font-size: clamp(42px, 5vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--white); font-variant-numeric: tabular-nums; }
.stat__suffix { color: var(--yellow); }
.stat__label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-green); }
.stats-band { position: relative; overflow: hidden; background: var(--green-700); padding: clamp(40px, 5vw, 72px) 0; }

/* ---------- About (home) & photo stack ---------- */
.about-home__grid { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: clamp(56px, 7vw, 96px); align-items: center; }
.about-home__text { display: flex; flex-direction: column; gap: 22px; }
.about-home__text .btn { align-self: flex-start; margin-top: 8px; }
.photo-stack { position: relative; aspect-ratio: 540 / 620; }
.photo-stack__blob { width: 70%; aspect-ratio: 1; right: -18%; top: -12%; }
.photo-stack::before { content: ""; position: absolute; right: -4%; top: -4%; width: 36%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.photo-stack__dots { position: absolute; left: -5%; bottom: -4%; width: 40%; height: 36%; background-image: radial-gradient(var(--green-600) 2px, transparent 2.5px); background-size: 18px 18px; opacity: .35; }
.photo-stack__img { position: absolute; inset: 0 6% 6% 0; border-radius: var(--radius-xl); background: var(--green-100); box-shadow: var(--shadow-lg); }
.photo-stack--right .photo-stack__img { inset: 0 0 6% 6%; }
.photo-stack--right::before { right: auto; left: -4%; }
.photo-stack--right .photo-stack__dots { left: auto; right: -4%; }
.photo-stack__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack__caption { position: absolute; left: 6%; right: 6%; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); font-size: 14px; font-weight: 700; color: var(--ink); }
.photo-stack__caption img { width: 44px; height: 44px; border-radius: 50%; }
.badge-card { position: absolute; border-radius: 18px; display: flex; }
.badge-card--green, .badge-card--dark { left: -28px; bottom: 60px; flex-direction: column; gap: 4px; padding: 22px 26px; background: var(--green-700); color: var(--white); box-shadow: var(--shadow-lg); }
.badge-card__value { font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1; color: var(--yellow); }
.badge-card__label { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--on-green); }
.badge-card--light { right: -8px; top: 30%; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; background: var(--white); box-shadow: var(--shadow); }
.badge-card--light img { width: 42px; height: 42px; object-fit: contain; }
.badge-card--light span { display: flex; flex-direction: column; gap: 2px; }
.badge-card--light strong { font-family: var(--display); font-size: 16px; font-weight: 800; }
.badge-card--light small { font-size: 12.5px; color: var(--muted); }

.mini-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 4px; }
.mini-feature { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .3s ease, transform .35s var(--ease), box-shadow .35s ease; }
.mini-feature:hover { border-color: var(--c); transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-feature:hover .icon-square { background: var(--c); color: var(--white); }
.mini-feature > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.mini-feature strong { font-family: var(--display); font-size: 15.5px; font-weight: 800; }
.mini-feature small { font-size: 13.5px; color: var(--muted); }

/* ---------- Directions tabs ---------- */
.tabs { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 28px; align-items: start; }
.tabs__list { display: flex; flex-direction: column; gap: 10px; }
.tab { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); text-align: left; color: var(--ink); transition: border-color .3s ease, box-shadow .3s ease, transform .35s var(--ease); }
.tab:hover { border-color: var(--c); transform: translateX(4px); }
.tab__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-soft); color: var(--c-strong); transition: background-color .3s ease, color .3s ease; }
.tab__text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tab__title { font-family: var(--display); font-size: 17.5px; font-weight: 800; line-height: 1.2; }
.tab__caption { font-size: 13.5px; color: var(--muted); }
.tab__arrow { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); transition: all .3s ease; }
.tab.is-active { border-color: var(--c); box-shadow: 0 0 0 3px var(--c-soft), var(--shadow); }
.tab.is-active .tab__icon { background: var(--c); color: var(--white); }
.tab.is-active .tab__arrow { background: var(--c); border-color: var(--c); color: var(--white); }
.tabs__panels { position: relative; min-height: 520px; }
.panel { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel.is-active { animation: panel-in .6s var(--ease) both; }
.anchor { position: absolute; top: -140px; }
.panel__visual { position: relative; height: 220px; overflow: hidden; background: var(--c-soft); color: var(--c); }
.panel__visual::after { content: ""; position: absolute; inset: 0; background-image: url("../img/pattern-green.svg"); background-size: 160px; opacity: .08; }
.panel__motif { position: absolute; inset: 0; pointer-events: none; }
.panel__icon { position: absolute; left: 36px; bottom: -34px; z-index: 2; width: 84px; height: 84px; border-radius: 24px; display: inline-flex; align-items: center; justify-content: center; background: var(--c); color: var(--white); box-shadow: 0 16px 30px -12px var(--c); }
.panel__num { position: absolute; left: 36px; top: 20px; font-family: var(--display); font-size: 88px; font-weight: 800; line-height: 1; color: var(--c); opacity: .18; letter-spacing: -.04em; }
.panel__body { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 60px 36px 34px; }
.panel__kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-strong); }
.panel__title { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.panel__body p { font-size: 17px; line-height: 1.75; color: var(--text); max-width: 620px; }
.panel.is-active .panel__body > * { animation: rise .7s var(--ease) both; }
.panel.is-active .panel__body > *:nth-child(2) { animation-delay: .06s; }
.panel.is-active .panel__body > *:nth-child(3) { animation-delay: .12s; }
.panel.is-active .panel__body > *:nth-child(4) { animation-delay: .18s; }
.panel.is-active .panel__body > *:nth-child(5) { animation-delay: .24s; }
.panel .more-link { color: var(--c-strong); }
.motif-molecule { position: absolute; right: -30px; top: -60px; color: var(--c); }
.motif-ecg { position: absolute; left: 30%; right: 0; top: 50px; color: var(--c); }
.motif-ecg svg { width: 100%; height: 120px; }
.motif-leaves { position: absolute; right: 40px; bottom: -120px; display: flex; align-items: flex-end; gap: 16px; color: var(--c); flex-direction: row-reverse; --leaf-vein: var(--yellow-500); }

/* ---------- Mission ---------- */
.mission { position: relative; overflow: hidden; background: var(--green-700); color: var(--white); padding: clamp(88px, 10vw, 136px) 0; }
.mission__leaves { position: absolute; left: 30px; bottom: -80px; display: flex; align-items: flex-end; color: var(--green-200); opacity: .45; pointer-events: none; --leaf-vein: var(--yellow); }
.mission__molecule { position: absolute; right: -150px; top: 30px; color: var(--white); opacity: .28; pointer-events: none; }
.mission__inner { position: relative; max-width: 1060px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.mission__quote { font-family: var(--display); font-size: 110px; font-weight: 800; line-height: .6; height: 52px; color: var(--yellow); }
.mission__label { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mission__text { font-family: var(--display); font-size: clamp(22px, 2.5vw, 32px); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; color: var(--white); text-wrap: balance; }
.mission__sign { display: flex; align-items: center; gap: 14px; font-size: 14.5px; font-weight: 700; color: var(--on-green); }
.mission__sign img { border-radius: 50%; background: var(--white); box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.mission .hl { background: none; color: var(--yellow); }

.mission-split { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.mission-split > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.mission-split__body { display: flex; flex-direction: column; gap: 32px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.mission-split__body::before { content: "“"; position: absolute; right: 28px; top: -6px; font-family: var(--display); font-size: 120px; font-weight: 800; line-height: 1; color: var(--yellow); }
.mission-split__text { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.55; color: var(--ink); position: relative; }

/* ---------- Cards grid & news ---------- */
.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.news-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.news-card:hover { border-color: var(--green-400); }
.news-card__media { position: relative; display: block; aspect-ratio: 16 / 10; margin: 10px 10px 0; border-radius: 16px; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--c); }
.news-card__media .badge { position: absolute; left: 14px; top: 14px; }
.news-card__body { flex: 1; padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.news-card__title { font-family: var(--display); font-size: 21px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.news-card__title a:hover { color: var(--green-700); }
.news-card__body p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.more-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 14.5px; font-weight: 800; color: var(--green-700); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 20px; padding: 12px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.toolbar__hint { padding-right: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.search { position: relative; display: flex; align-items: center; gap: 8px; flex: 0 1 420px; min-width: 260px; }
.search > svg { position: absolute; left: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 48px; padding: 0 18px 0 48px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--tint); font-size: 14.5px; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.search input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(22, 163, 74, .15); background: var(--white); }
.search .btn { flex-shrink: 0; min-height: 48px; }
.result-count { margin-bottom: 24px; font-size: 14px; font-weight: 600; color: var(--muted); }

.featured { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; min-height: 400px; }
.featured__media { position: relative; display: block; min-height: 300px; margin: 12px 0 12px 12px; border-radius: 18px; overflow: hidden; }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured__media .badge { position: absolute; left: 18px; top: 18px; }
.featured__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.featured__title { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.featured__title a:hover { color: var(--green-700); }
.featured__body p { font-size: 16px; line-height: 1.7; color: var(--muted); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination__btn { min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); background: var(--white); font-weight: 800; transition: all .25s ease; }
.pagination__btn:hover { border-color: var(--green-600); color: var(--green-800); }
.pagination__btn.is-active { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.pagination__gap { padding: 0 4px; color: var(--muted); }

.empty-state { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: clamp(48px, 7vw, 88px) 24px; text-align: center; border: 2px dashed var(--line-2); border-radius: var(--radius-lg); background: var(--white); }
.empty-state__icon { width: 68px; height: 68px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--ink); }
.empty-state h3 { font-family: var(--display); font-size: 26px; font-weight: 800; }
.empty-state p { max-width: 460px; color: var(--muted); }
.empty-state .btn { margin-top: 6px; }

/* ---------- Page hero (ichki sahifalar) ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%); padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero__blob-a { width: 520px; height: 520px; right: -80px; top: -200px; }
.page-hero__blob-b { width: 460px; height: 460px; left: -220px; bottom: -260px; animation-delay: -4s; }
.page-hero__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.page-hero__text { display: flex; flex-direction: column; gap: 20px; max-width: 780px; }
.page-hero__lead { max-width: 620px; font-size: 18px; line-height: 1.7; color: var(--text); }
.page-hero__aside { flex-shrink: 0; color: var(--green-600); }
.crumbs { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--green-700); }
.crumbs a:hover { color: var(--green-900); }
.crumbs [aria-current] { color: var(--ink); }
.hero-emblem { position: relative; width: 360px; height: 360px; }
.hero-emblem::before { content: ""; position: absolute; inset: 20%; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 10px var(--yellow), var(--shadow-lg); }
.hero-emblem svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-emblem img { position: absolute; left: 22%; top: 22%; width: 56%; height: 56%; border-radius: 50%; object-fit: contain; }
.hero-count { position: relative; width: 280px; height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.hero-count::before { content: ""; position: absolute; inset: 20%; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); }
.hero-count svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-count__value { position: relative; font-family: var(--display); font-size: 72px; font-weight: 800; line-height: 1; color: var(--green-700); }
.hero-count__label { position: relative; max-width: 130px; text-align: center; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stack-cards { position: relative; width: 360px; height: 290px; }
.stack-cards span { position: absolute; border-radius: 22px; box-shadow: var(--shadow); background-image: url("../img/pattern-green.svg"); background-size: 160px; }
.stack-cards span:nth-child(1) { left: 0; top: 40px; width: 190px; height: 230px; rotate: -7deg; background-color: var(--yellow); }
.stack-cards span:nth-child(2) { left: 100px; top: 0; width: 190px; height: 230px; background-color: var(--green-200); }
.stack-cards span:nth-child(3) { left: 190px; top: 56px; width: 170px; height: 210px; rotate: 6deg; background-color: #BAE6FD; }
.hours-card { display: flex; flex-direction: column; gap: 8px; min-width: 290px; padding: 26px 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }
.hours-card__status { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-800); }
.hours-card strong { font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.hours-card > span:last-child { font-size: 14px; color: var(--muted); }

/* ---------- About page ---------- */
.fact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 640px; margin-top: 6px; }
.fact-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.fact-card__value { font-family: var(--display); font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--green-700); font-variant-numeric: tabular-nums; }
.fact-card__label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fact-card--green, .fact-card--dark { background: var(--yellow); border-color: var(--yellow); }
.fact-card--green .fact-card__value, .fact-card--dark .fact-card__value { color: var(--ink); }
.fact-card--green .fact-card__label, .fact-card--dark .fact-card__label { color: var(--green-900); }

.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { border-radius: 20px; border: 1px solid var(--line); background: var(--white); transition: border-color .3s ease, box-shadow .3s ease; }
.acc-item.is-open { border-color: var(--c); box-shadow: 0 0 0 3px var(--c-soft), var(--shadow); }
.acc-item__trigger { width: 100%; min-height: 92px; display: grid; grid-template-columns: 60px 56px minmax(0, 1fr) 52px; align-items: center; gap: 14px; padding: 14px 20px; text-align: left; border-radius: 20px; }
.acc-item__num { font-family: var(--display); font-size: 15px; font-weight: 800; color: var(--c-strong); }
.acc-item__icon { width: 52px; height: 52px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-soft); color: var(--c-strong); transition: background-color .3s ease, color .3s ease; }
.acc-item.is-open .acc-item__icon { background: var(--c); color: var(--white); }
.acc-item__title { font-family: var(--display); font-size: clamp(19px, 2vw, 24px); font-weight: 800; line-height: 1.2; }
.acc-item__plus { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); transition: transform .45s var(--ease), background-color .25s ease, border-color .25s ease, color .25s ease; }
.acc-item.is-open .acc-item__plus { transform: rotate(45deg); background: var(--c); border-color: var(--c); color: var(--white); }
.acc-item__panel { overflow: hidden; }
.acc-item__content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 20px 56px; padding: 0 24px 30px 150px; animation: rise .55s var(--ease) both; }
.acc-item__content p { font-size: 17px; line-height: 1.75; color: var(--text); }

/* ---------- Article ---------- */
.article-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--green-50), var(--tint)); padding: clamp(40px, 5vw, 64px) 0 clamp(200px, 20vw, 250px); text-align: center; }
.article-hero__shade { display: none; }
.article-hero__inner { position: relative; max-width: 1000px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.article-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13.5px; font-weight: 800; color: var(--green-800); }
.back-link::after { display: none; }
.article-section { padding-top: 0; overflow: visible; background: var(--white); }
.article-wrap { max-width: calc(1160px + var(--gutter) * 2); display: flow-root; }
.article-figure { position: relative; margin-top: clamp(-230px, -18vw, -170px); aspect-ratio: 16 / 8.2; border-radius: var(--radius-xl); overflow: hidden; background: var(--green-100); box-shadow: var(--shadow-lg); border: 6px solid var(--white); }
.article-figure img { width: 100%; height: 100%; object-fit: cover; }
.article-figure__icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--green-600); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 80px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.article { display: flex; flex-direction: column; gap: 30px; }
.article__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.text-size { display: flex; align-items: center; gap: 6px; }
.text-size > span { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 6px; }
.text-size button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--display); font-weight: 800; transition: all .25s ease; }
.text-size button.is-active { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.prose { --prose-size: 18px; display: flex; flex-direction: column; gap: 22px; }
.prose p { font-size: var(--prose-size); line-height: 1.85; color: var(--ink-2); }
.prose__lead { font-family: var(--display); font-size: calc(var(--prose-size) + 4px) !important; font-weight: 600; line-height: 1.6 !important; color: var(--ink) !important; padding-left: 20px; border-left: 4px solid var(--yellow); }
.article__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.pager-card { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); }
.pager-card small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.pager-card span { font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.35; }
.pager-card--next { text-align: right; align-items: flex-end; }
.article-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.aside-card { position: relative; overflow: hidden; padding: 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.aside-card:hover { transform: none; }
.aside-card--dark { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.aside-card--dark h2 { position: relative; font-family: var(--display); font-size: 24px; font-weight: 800; line-height: 1.25; color: var(--white); }
.aside-card--dark .hl { background: none; color: var(--yellow); }
.aside-card--dark p { position: relative; font-size: 14.5px; color: var(--on-green); }
.aside-card--dark .btn { position: relative; align-self: flex-start; }
.share-row { display: flex; gap: 10px; }
.copy-btn { flex: 1; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 800; transition: all .25s ease; }
.copy-btn:hover { border-color: var(--green-600); }
.copy-btn.is-copied, .copy-chip.is-copied { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.related { display: flex; flex-direction: column; }
.related a { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.related li:first-child a { border-top: 0; padding-top: 0; }
.related a:hover strong { color: var(--green-700); }
.related__thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 14px; background-size: cover; background-position: center; }
.related strong { display: block; font-family: var(--display); font-size: 15.5px; font-weight: 700; line-height: 1.35; transition: color .25s ease; }
.related small { font-size: 12.5px; color: var(--muted); }

/* ---------- Teachers ---------- */
.teacher { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.teacher:hover { border-color: var(--green-400); }
.teacher__photo { position: relative; aspect-ratio: 4 / 4.6; margin: 10px 10px 0; border-radius: 16px; overflow: hidden; }
.teacher__photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher__initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 64px; font-weight: 800; color: var(--c-strong); }
.teacher__photo .badge { position: absolute; left: 12px; top: 12px; }
.teacher__actions { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .4s var(--ease); z-index: 2; }
.teacher__actions .btn { flex: 1; }
.teacher:hover .teacher__actions, .teacher:focus-within .teacher__actions { opacity: 1; transform: none; }
.teacher__body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.teacher__role { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.teacher__name { font-family: var(--display); font-size: 19px; font-weight: 800; line-height: 1.3; }
.teacher__body p { font-size: 14px; line-height: 1.55; color: var(--muted); }
[data-filter-item].is-hidden { display: none; }

/* ---------- Gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 23vw, 310px); grid-auto-flow: dense; gap: 20px; }
.tile { position: relative; display: block; border-radius: 22px; overflow: hidden; background: var(--green-100); text-align: left; cursor: zoom-in; }
.tile--wide { grid-column: span 2; }
.tile__media { position: absolute; inset: 0; }
.tile__media img, .tile__media video { width: 100%; height: 100%; object-fit: cover; }
.tile__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--ink); z-index: 1; }
.tile__count { position: absolute; right: 14px; top: 14px; z-index: 1; }
.tile__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 64px 22px 20px; background: linear-gradient(0deg, rgba(5, 30, 16, .85), rgba(5, 30, 16, 0)); color: var(--white); }
.tile__caption > span:first-child { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tile__caption small { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tile__caption strong { font-family: var(--display); font-size: 20px; font-weight: 800; line-height: 1.25; }
.tile__cta { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 12.5px; font-weight: 800; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .4s var(--ease); }
.tile:hover .tile__cta, .tile:focus-visible .tile__cta { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 40px); animation: fade-in .3s ease both; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(4, 26, 14, .94); }
.lightbox__frame { position: relative; width: 100%; max-width: 1280px; max-height: 100%; display: flex; flex-direction: column; gap: 18px; color: var(--white); }
.lightbox__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lightbox__heading { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.lightbox__counter { font-size: 14px; font-weight: 700; color: var(--on-dark-2); white-space: nowrap; }
.lightbox__counter strong { font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--yellow); }
.lightbox__heading h2 { font-family: var(--display); font-size: clamp(19px, 2vw, 26px); font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox__stage { display: grid; grid-template-columns: 60px minmax(0, 1fr) 60px; align-items: center; gap: 22px; }
.lightbox__media { position: relative; height: min(68vh, 700px); border-radius: 20px; overflow: hidden; background: #021109; display: flex; align-items: center; justify-content: center; }
.lightbox__media img, .lightbox__media video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; animation: lb-in .45s var(--ease) both; }
.lightbox__foot { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.lightbox__foot p { max-width: 760px; color: var(--on-dark); }
.lightbox__foot p:empty { display: none; }
.lightbox__thumbs { display: flex; gap: 10px; max-width: 100%; overflow-x: auto; padding: 4px; }
.lightbox__thumbs button { flex-shrink: 0; width: 84px; height: 60px; border-radius: 10px; overflow: hidden; border: 3px solid transparent; opacity: .5; transition: all .25s ease; background: var(--green-900); }
.lightbox__thumbs button img, .lightbox__thumbs button video { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumbs button.is-active { opacity: 1; border-color: var(--yellow); transform: translateY(-3px); }
body.lightbox-open { overflow: hidden; }

/* ---------- Article gallery ---------- */
.article-gallery { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.article-gallery__head { margin-bottom: 18px; }
.article-gallery__head h3 { font-family: var(--display); font-size: clamp(18px, 1.8vw, 22px); font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.article-gallery__head p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.article-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.article-gallery__item { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); padding: 0; cursor: pointer; display: block; width: 100%; box-shadow: var(--shadow-sm); }
.article-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.article-gallery__item:hover img { transform: scale(1.06); }
.article-gallery__zoom { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(4, 26, 14, .8); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(4px); transition: all .2s ease; backdrop-filter: blur(4px); }
.article-gallery__item:hover .article-gallery__zoom { opacity: 1; transform: translateY(0); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 22px; }
.info-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.info-card:hover, .form-card:hover { transform: none; box-shadow: none; }
.info-card__title { font-family: var(--display); font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row small { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-row p { font-size: 16px; line-height: 1.5; font-weight: 600; }
.info-row__list { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.info-row--socials { gap: 10px; }
.copy-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 700; }
.copy-chip { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 800; transition: all .25s ease; }
.copy-chip:hover { border-color: var(--green-600); color: var(--green-800); }
.map-card { position: relative; height: 360px; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-100); border: 1px solid var(--line); }
.map-card iframe { width: 100%; height: 100%; border: 0; }
.map-card__btn { position: absolute; right: 14px; bottom: 14px; }
.form-card { padding: clamp(26px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--green-600), var(--yellow)); }
.form { display: flex; flex-direction: column; gap: 20px; }
.form__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.form__head p { font-size: 14px; color: var(--muted); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 800; }
.field__counter { font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--tint); font-size: 15px; line-height: 1.5; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.field textarea { resize: vertical; min-height: 170px; }
.field input::placeholder, .field textarea::placeholder { color: #7B8A81; }
.field input:hover, .field textarea:hover { border-color: #AFC7B6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(22, 163, 74, .15); background: var(--white); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); background: #FFFAFA; }
.field__error { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--danger); animation: rise .35s var(--ease) both; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; font-weight: 700; animation: rise .45s var(--ease) both; }
.alert--error { background: var(--danger-bg); color: var(--danger); }
.alert--success { background: var(--success-bg); color: var(--success); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: var(--yellow); animation: spin .8s linear infinite; }
.form-success { min-height: 540px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.form-success__icon { animation: scale-in .8s var(--ease) both; }
.draw-check { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1s var(--ease) .4s forwards; }
.form-success p { max-width: 440px; font-size: 17px; line-height: 1.7; color: var(--text); }

/* ---------- CTA panel (sariq) ---------- */
.cta-section { padding-top: clamp(24px, 3vw, 40px); background: var(--white); }
.section--tint + .cta-section, .page-teachers .cta-section { background: var(--white); }
.cta-panel { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--yellow); color: var(--ink); padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; }
.cta-panel > .pattern { opacity: .1; }
.cta-panel::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .28); pointer-events: none; }
.cta-panel__main { position: relative; display: flex; flex-direction: column; gap: 18px; z-index: 1; }
.cta-panel .display { color: var(--ink); }
.cta-panel .hl { background-image: linear-gradient(transparent 58%, rgba(255, 255, 255, .8) 58%, rgba(255, 255, 255, .8) 92%, transparent 92%); }
.cta-panel__main p { max-width: 520px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.cta-panel__list { position: relative; z-index: 1; padding: 8px 24px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.cta-panel__list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cta-panel__list li:last-child { border-bottom: 0; }
.cta-panel__list svg { flex-shrink: 0; margin-top: 2px; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--green-100); color: var(--green-800); }
.cta-panel__list span { display: flex; flex-direction: column; gap: 3px; font-size: 15.5px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.cta-panel__list small { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- 404 ---------- */
.not-found { position: relative; overflow: hidden; min-height: 70vh; display: flex; align-items: center; background: linear-gradient(180deg, var(--green-50), var(--white)); padding: 96px 0; }
.not-found .helix { --c: var(--green-600); }
.not-found__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.not-found__code { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: clamp(72px, 18vw, 220px); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--green-700); }
.not-found__code span { width: .9em; height: .9em; color: var(--yellow-500); }
.not-found__code svg { width: 100%; height: 100%; }
.not-found p { max-width: 520px; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--green-950); color: var(--on-dark); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--green-500) 0 50%, var(--yellow) 50% 100%); }
.site-footer__watermark { position: absolute; right: -80px; bottom: -120px; width: 520px; height: 520px; color: rgba(250, 204, 21, .06); pointer-events: none; animation: spin 160s linear infinite; }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 44px 56px; padding-top: clamp(64px, 7vw, 88px); padding-bottom: 52px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 22px; }
.site-footer__brand p { font-size: 15px; line-height: 1.75; max-width: 360px; }
.brand--footer .brand__mark { width: 64px; height: 64px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.brand--footer .brand__title { font-size: 24px; color: var(--white); }
.brand--footer .brand__subtitle { color: var(--yellow); }
.socials { display: flex; gap: 10px; }
.site-footer__heading { margin-bottom: 20px; font-family: var(--display); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.site-footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 600; color: var(--on-dark); }
.site-footer__links a { align-self: flex-start; }
.site-footer__links a:hover { color: var(--white); }
.site-footer__contacts { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--on-dark); }
.site-footer__contacts li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.site-footer__contacts svg { color: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.site-footer__contacts a:hover { color: var(--white); }
.site-footer__agency { display: flex; flex-direction: column; }
.site-footer__agency img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 14px; padding: 8px; border-radius: 18px; background: rgba(255, 255, 255, .06); }
.site-footer__agency p { font-size: 14px; line-height: 1.6; max-width: 220px; }
.site-footer__bottom { position: relative; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; padding-top: 16px; padding-bottom: 16px; color: var(--on-dark-2); }
.back-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--yellow); }

/* ---------- Keyframes ---------- */
@keyframes drift { from { background-position: 0 0; } to { background-position: -160px -160px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -12px, 0); } }
@keyframes float-b { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, 10px, 0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes glow { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes shine { 0% { transform: translateX(-120%) skewX(-18deg); } 60%, 100% { transform: translateX(260%) skewX(-18deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes helix { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes ecg { from { stroke-dashoffset: 1900; } to { stroke-dashoffset: 0; } }
@keyframes bubble { 0% { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; } 15% { opacity: .95; } 100% { transform: translate3d(0, -240px, 0) scale(1); opacity: 0; } }
@keyframes bar-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { opacity: 0; transform: translate3d(-24px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes scale-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
    .helix--hero { display: none; }
    .main-nav { gap: 4px; }
    .main-nav__link { padding: 7px 9px; font-size: 13px; }
    .site-nav__cta { padding: 0 18px; font-size: 13.5px; }
    .card-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .quicklinks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1160px) {
    .topbar__address { display: none; }
    .main-nav, .site-nav__cta { display: none; }
    .menu-toggle { display: inline-flex; }
    .tabs { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .contact-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .map-card { height: auto; min-height: 360px; }
    .stat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
    .stat:nth-of-type(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 960px) {
    .hero { padding-bottom: 130px; }
    .hero__inner { grid-template-columns: minmax(0, 1fr); }
    .hero__visual { max-width: 520px; justify-self: center; margin-top: 8px; }
    .bubbles--hero { display: none; }
    .about-home__grid, .split { grid-template-columns: minmax(0, 1fr); }
    .photo-stack { max-width: 520px; width: 100%; margin: 0 auto; order: 2; }
    .tabs { grid-template-columns: minmax(0, 1fr); }
    .tabs__list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 8px; scrollbar-width: none; }
    .tabs__list::-webkit-scrollbar { display: none; }
    .tab { flex: 0 0 auto; padding: 10px 16px 10px 10px; border-radius: 999px; scroll-snap-align: start; gap: 10px; }
    .tab:hover { transform: none; }
    .tab__caption, .tab__arrow { display: none; }
    .tab__icon { width: 38px; height: 38px; border-radius: 50%; }
    .tab__title { font-size: 15px; }
    .tabs__panels { min-height: 0; }
    .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .featured { grid-template-columns: minmax(0, 1fr); }
    .featured__media { aspect-ratio: 16 / 9; min-height: 0; margin: 12px 12px 0; }
    .mission-split { grid-template-columns: minmax(0, 1fr); }
    .cta-panel { grid-template-columns: minmax(0, 1fr); }
    .page-hero__aside { display: none; }
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .article-aside { position: static; }
    .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .acc-item__content { padding-left: 24px; grid-template-columns: minmax(0, 1fr); }
    .mission__leaves { opacity: .25; }
}

@media (max-width: 720px) {
    :root { --nav-h: 70px; }
    .js [data-reveal="left"], .js [data-reveal="right"] { transform: translate3d(0, 26px, 0); }
    .topbar__group:first-child { display: none; }
    .topbar__inner { justify-content: center; }
    .topbar__muted { display: none; }
    .brand__mark { width: 42px; height: 42px; }
    .brand__title { font-size: 19px; }
    .brand__subtitle { font-size: 9.5px; }
    .ticker-bar__more { display: none; }
    .ticker-bar__track { margin-right: var(--gutter); }
    .hero__lead { font-size: 16.5px; }
    .hero__actions .btn { width: 100%; }
    .rotator__word { font-size: 16.5px; }
    .rotator__row { flex-direction: column; align-items: flex-start; gap: 4px; min-height: 0; }
    .rotator__words { width: 100%; }
    .float-card--status { left: 0; top: 2%; }
    .float-card--stat { right: 0; }
    .quicklinks__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .stat-tiles { gap: 12px; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat, .stat:first-of-type { padding: 20px 12px; border-left: 0; }
    .stat:nth-of-type(2n) { border-left: 1px solid rgba(255, 255, 255, .18); padding-left: 20px; }
    .stat__value { font-size: 40px; }
    .stat-tile { padding: 20px; }
    .badge-card--green, .badge-card--dark { left: -6px; bottom: 36px; padding: 16px 20px; }
    .badge-card__value { font-size: 34px; }
    .badge-card--light { right: 0; }
    .mini-features, .fact-cards, .form__row { grid-template-columns: minmax(0, 1fr); }
    .card-grid--3, .card-grid--4 { grid-template-columns: minmax(0, 1fr); }
    .contact-side { grid-template-columns: minmax(0, 1fr); }
    .mosaic { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 260px; }
    .tile--wide { grid-column: auto; }
    .tile__cta { display: none; }
    .toolbar { padding: 10px; }
    .search { flex: 1 1 100%; min-width: 0; }
    .toolbar .chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .search-type-chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .toolbar .chips::-webkit-scrollbar, .search-type-chips::-webkit-scrollbar { display: none; }
    .chip { flex-shrink: 0; }
    .acc-item__trigger { grid-template-columns: 48px minmax(0, 1fr) 42px; gap: 12px; padding: 12px; min-height: 76px; }
    .acc-item__num { display: none; }
    .acc-item__icon { width: 46px; height: 46px; }
    .acc-item__plus { width: 42px; height: 42px; }
    .acc-item__content { padding: 0 14px 22px; }
    .acc-item__content p { font-size: 16px; }
    .panel__visual { height: 170px; }
    .panel__body { padding: 52px 22px 26px; }
    .panel__icon { left: 22px; width: 72px; height: 72px; bottom: -30px; }
    .panel__num { left: 22px; font-size: 64px; }
    .article__pager { grid-template-columns: minmax(0, 1fr); }
    .pager-card--next { text-align: left; align-items: flex-start; }
    .lightbox__stage { grid-template-columns: minmax(0, 1fr); }
    .lightbox__nav { position: absolute; bottom: -8px; z-index: 2; width: 48px; height: 48px; }
    .lightbox__nav[data-lb-prev] { left: 8px; }
    .lightbox__nav[data-lb-next] { right: 8px; }
    .lightbox__media { height: 56vh; }
    .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
    .site-footer__watermark { width: 320px; height: 320px; right: -60px; bottom: -80px; }
    .map-card__btn { left: 14px; right: 14px; }
    .cta-panel__list { padding: 4px 18px; }
    .mission-split__body::before { font-size: 90px; right: 18px; }
    .field input, .field textarea, .field select, .search input, .search-modal__input, .search-page-input { font-size: 16px; }
    .teacher__actions { opacity: 1; transform: none; background: rgba(11, 31, 20, 0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 5px; border-radius: 999px; }
    .prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; margin: 16px 0; }
    .prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line-2); white-space: nowrap; }
    .prose th { background: var(--tint); font-weight: 800; }
    .search-hit { flex-direction: column-reverse; padding: 20px 18px; gap: 16px; }
    .search-hit__thumb { width: 100%; height: 170px; }
}

@media (max-width: 540px) {
    :root { --gutter: 14px; --nav-h: 66px; }
    .site-nav__inner { gap: 10px; }
    .brand { gap: 8px; min-width: 0; flex: 1; }
    .brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
    .brand__text { min-width: 0; overflow: hidden; }
    .brand__title { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .brand__subtitle { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .site-nav__actions { gap: 8px; flex-shrink: 0; }
    .site-nav__search-btn, .menu-toggle { width: 40px; height: 40px; }
    .a11y-trigger span { display: none; }
    .topbar__group { gap: 14px; }
    .topbar__inner { padding: 0 4px; }
    .btn { white-space: normal; text-align: center; }
    .btn--lg { min-height: 50px; padding: 0 20px; font-size: 15px; }
    .hero { padding-top: 24px; padding-bottom: 110px; }
    .hero__actions { flex-direction: column; width: 100%; }
    .hero__actions .btn { width: 100%; }
    .float-card { padding: 8px 12px; border-radius: 12px; }
    .float-card__icon { width: 32px; height: 32px; border-radius: 8px; }
    .float-card small { font-size: 10.5px; }
    .float-card strong { font-size: 14px; }
    .float-card--stat { padding: 10px 14px; border-radius: 14px; }
    .float-card--stat strong { font-size: 24px; }
    .float-card--stat small { font-size: 11px; }
    .photo-stack { max-width: 100%; }
    .badge-card--green, .badge-card--dark { left: 4px; bottom: 16px; padding: 10px 12px; border-radius: 12px; }
    .badge-card__value { font-size: 24px; }
    .badge-card__label { font-size: 9.5px; }
    .badge-card--light { right: 4px; top: 12px; padding: 6px 10px; border-radius: 10px; }
    .badge-card--light img { width: 28px; height: 28px; }
    .badge-card--light strong { font-size: 13px; }
    .badge-card--light small { font-size: 10.5px; }
    .photo-stack__caption { padding: 8px 12px; font-size: 12px; }
    .photo-stack__caption img { width: 30px; height: 30px; }
    .quick-card { padding: 16px; gap: 10px; }
    .quick-card__icon { width: 44px; height: 44px; border-radius: 12px; }
    .quick-card__text strong { font-size: 15px; }
    .quick-card__text small { font-size: 12px; }
    .panel__visual { height: 130px; }
    .panel__icon { width: 56px; height: 56px; border-radius: 16px; bottom: -24px; left: 16px; }
    .panel__num { font-size: 48px; left: 16px; top: 12px; }
    .panel__body { padding: 38px 16px 20px; gap: 12px; }
    .panel__title { font-size: 22px; }
    .panel__body p { font-size: 15px; }
    .doc-card { padding: 18px 14px; }
    .doc-card__footer { flex-direction: column; align-items: stretch; }
    .doc-card__footer .btn { width: 100%; justify-content: center; }
    .ach-card { padding: 18px 14px; }
    .ach-card__student { flex-direction: column; align-items: flex-start; gap: 2px; }
    .search-modal { padding: 20px 10px; }
    .search-modal__dialog { padding: 18px 14px; border-radius: 16px; }
    .search-modal__input-wrap { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
    .search-modal__input-wrap .btn { width: 100%; }
    .search-page-input-wrap { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
    .search-page-input-wrap .btn { width: 100%; }
    .cta-panel { padding: 28px 18px; border-radius: 20px; }
    .cta-panel__list { padding: 4px 14px; }
    .cta-panel__list li { padding: 12px 0; gap: 12px; }
    .cta-panel__list svg { width: 34px; height: 34px; padding: 8px; }
    .site-footer__grid { padding-top: 40px; padding-bottom: 30px; gap: 32px; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
    .a11y-panel__inner { padding: 10px 0; padding-right: 36px; position: relative; }
    .a11y-panel__close { position: absolute; right: 0; top: 8px; }
    .a11y-panel__btns { flex-wrap: wrap; }
    .article-figure { margin-top: -90px; aspect-ratio: 16 / 10; border-width: 4px; border-radius: 16px; }
}

@media (max-width: 380px) {
    :root { --gutter: 10px; }
    .open-status [data-open-label] { display: none; }
    .topbar__group { gap: 8px; }
    .topbar__divider { margin: 0; }
    .brand__subtitle { display: none; }
    .brand__title { font-size: 14.5px; }
    .float-card--status { display: none; }
    .stat-tiles { grid-template-columns: minmax(0, 1fr); }
    .stats { grid-template-columns: minmax(0, 1fr); }
    .stat, .stat:nth-of-type(2n) { border-left: 0; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
    .stat:last-of-type { border-bottom: 0; }
    .info-card { padding: 16px 12px; }
    .copy-line { flex-direction: column; align-items: flex-start; gap: 4px; }
    .copy-line .copy-chip { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js [data-reveal], .js .mask-line > span { opacity: 1 !important; transform: none !important; }
    .js [data-reveal] .hl { background-size: 100% 100% !important; }
    .draw-circle, .draw-check { stroke-dashoffset: 0; }
}

/* ---------- Accessibility (Maxsus imkoniyatlar / Zaif ko'ruvchilar) ---------- */
.a11y-trigger {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--on-dark);
    transition: color .2s ease;
    padding: 0;
}
.a11y-trigger:hover, .a11y-trigger[aria-expanded="true"] {
    color: var(--yellow);
}
.a11y-trigger svg {
    color: var(--yellow);
}

.a11y-panel {
    background: #062316;
    color: #E8F2EC;
    border-bottom: 2px solid var(--yellow);
    box-shadow: 0 10px 25px -10px rgba(0,0,0,0.5);
    position: relative;
    z-index: 99;
}
.a11y-panel[hidden] {
    display: none !important;
}
.a11y-panel__inner {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 13px;
}
.a11y-panel__section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.a11y-panel__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: #C0D8CB;
}
.a11y-panel__label svg {
    color: var(--yellow);
}
.a11y-panel__btns {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px;
    border-radius: 8px;
}
.a11y-btn {
    border: 1px solid transparent;
    background: none;
    color: #E8F2EC;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s ease;
}
.a11y-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}
.a11y-btn.is-active {
    background: var(--yellow);
    color: #031A12;
    border-color: var(--yellow);
}
.a11y-btn--bw.is-active {
    background: #fff;
    color: #000;
    border-color: #fff;
}
.a11y-btn--dark.is-active {
    background: #000;
    color: #ffff00;
    border-color: #ffff00;
}
.a11y-btn--invert.is-active {
    background: #00ffff;
    color: #000;
    border-color: #00ffff;
}
.a11y-btn--reset {
    background: rgba(255, 255, 255, 0.08);
}
.a11y-btn--reset:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
}
.a11y-panel__close {
    background: none;
    border: none;
    color: #C0D8CB;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}
.a11y-panel__close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Shrift o'lchamlari (Accessibility font scaling) */
html.a11y-font-medium {
    font-size: 115% !important;
}
html.a11y-font-medium body {
    zoom: 1.15;
}
@supports not (zoom: 1.15) {
    html.a11y-font-medium body {
        font-size: 18px !important;
    }
    html.a11y-font-medium p,
    html.a11y-font-medium a,
    html.a11y-font-medium span,
    html.a11y-font-medium li,
    html.a11y-font-medium input,
    html.a11y-font-medium button {
        font-size: 1.15em !important;
    }
}

html.a11y-font-large {
    font-size: 130% !important;
}
html.a11y-font-large body {
    zoom: 1.30;
}
@supports not (zoom: 1.30) {
    html.a11y-font-large body {
        font-size: 20px !important;
    }
    html.a11y-font-large p,
    html.a11y-font-large a,
    html.a11y-font-large span,
    html.a11y-font-large li,
    html.a11y-font-large input,
    html.a11y-font-large button {
        font-size: 1.30em !important;
    }
}

/* Oq-qora yuqori kontrast (Black on White) */
html.a11y-mode-bw {
    filter: grayscale(100%) !important;
}
html.a11y-mode-bw body {
    background: #ffffff !important;
    color: #000000 !important;
}
html.a11y-mode-bw .card,
html.a11y-mode-bw .section,
html.a11y-mode-bw .site-nav,
html.a11y-mode-bw .site-footer,
html.a11y-mode-bw .topbar {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: none !important;
}
html.a11y-mode-bw a {
    color: #000000 !important;
    text-decoration: underline !important;
}
html.a11y-mode-bw .btn,
html.a11y-mode-bw .chip,
html.a11y-mode-bw .badge {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
}

/* Qorong'u yuqori kontrast (Yellow on Black) */
html.a11y-mode-dark {
    background: #000000 !important;
}
html.a11y-mode-dark body {
    background: #000000 !important;
    color: #ffff00 !important;
}
html.a11y-mode-dark .card,
html.a11y-mode-dark .section,
html.a11y-mode-dark .site-nav,
html.a11y-mode-dark .site-footer,
html.a11y-mode-dark .topbar,
html.a11y-mode-dark .article-hero,
html.a11y-mode-dark .hero-panel,
html.a11y-mode-dark .cta-panel {
    background: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
    box-shadow: none !important;
}
html.a11y-mode-dark a {
    color: #ffffff !important;
    text-decoration: underline !important;
}
html.a11y-mode-dark .btn,
html.a11y-mode-dark .chip,
html.a11y-mode-dark .badge {
    background: #000000 !important;
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
}
html.a11y-mode-dark svg {
    color: #ffff00 !important;
}

/* Invert rejimi */
html.a11y-mode-invert {
    filter: invert(100%) hue-rotate(180deg) !important;
}
html.a11y-mode-invert img,
html.a11y-mode-invert video {
    filter: invert(100%) hue-rotate(180deg) !important;
}

/* Rasmlarni o'chirish */
html.a11y-no-images img:not(.brand__mark),
html.a11y-no-images video {
    display: none !important;
}

/* ==========================================================================
   Global Search, Documents & Admissions, Hall of Fame (Achievements)
   ========================================================================== */

/* ---------- Header Search Button ---------- */
.site-nav__search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--ink);
    background: var(--tint);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: all .2s var(--ease);
}
.site-nav__search-btn:hover {
    color: var(--green-700);
    background: var(--green-100);
    border-color: var(--green-400);
    transform: translateY(-1px);
}

/* ---------- Global Search Modal ---------- */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(40px, 8vw, 100px) 16px 24px;
}
.search-modal[hidden] {
    display: none !important;
}
.search-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 31, 20, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.search-modal__dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 680px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px -15px rgba(11, 31, 20, 0.35);
    border: 1px solid var(--line);
    padding: 24px 28px;
    animation: searchModalIn .25s var(--ease);
}
@keyframes searchModalIn {
    from { opacity: 0; transform: translateY(-16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.search-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--muted);
    background: var(--tint);
    transition: all .2s ease;
}
.search-modal__close:hover {
    color: var(--ink);
    background: var(--line);
}
.search-modal__input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 16px;
    background: var(--tint);
    border: 2px solid var(--green-600);
    border-radius: var(--radius);
    margin-top: 16px;
}
.search-modal__input-wrap svg {
    color: var(--green-600);
    flex-shrink: 0;
}
.search-modal__input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}
.search-modal__quick {
    margin-top: 20px;
}
.search-modal__quick-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: 10px;
}
.search-modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.search-modal__tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    background: var(--tint);
    color: var(--ink-2);
    border: 1px solid var(--line);
    transition: all .2s ease;
}
.search-modal__tag:hover {
    background: var(--green-100);
    color: var(--green-800);
    border-color: var(--green-400);
}
.search-modal__hint {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}
.search-modal__hint kbd {
    display: inline-block;
    padding: 2px 6px;
    background: var(--tint-2);
    border: 1px solid var(--line-2);
    border-radius: 4px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
}

/* ---------- Search Page ---------- */
.search-page-hero {
    max-width: 780px;
    margin: 0 auto 40px;
    text-align: center;
}
.search-page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--green-100);
    color: var(--green-800);
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 14px;
}
.search-page-form {
    margin: 24px 0 18px;
}
.search-page-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px 6px 20px;
    background: var(--white);
    border: 2px solid var(--green-600);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.search-page-input-wrap svg {
    color: var(--green-600);
    flex-shrink: 0;
}
.search-page-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    background: none;
}
.search-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.search-popular__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}
.search-popular__tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    background: var(--tint);
    color: var(--ink-2);
    border: 1px solid var(--line);
    transition: all .2s ease;
}
.search-popular__tag:hover {
    background: var(--green-100);
    color: var(--green-800);
    border-color: var(--green-400);
}
.search-results-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.search-results-count {
    font-size: 16px;
    color: var(--text);
}
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
}
.search-hit {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    transition: all .25s var(--ease);
}
.search-hit:hover {
    border-color: var(--green-400);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.search-hit__content {
    flex: 1;
}
.search-hit__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.search-hit__meta {
    font-size: 13px;
    color: var(--muted);
}
.search-hit__title {
    font-family: var(--display);
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--ink);
}
.search-hit__title a {
    transition: color .2s ease;
}
.search-hit__title a:hover {
    color: var(--green-700);
}
.search-hit__snippet {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 14px;
}
.search-hit__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--green-700);
}
.search-hit__thumb {
    width: 140px;
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.search-hit__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.search-hit:hover .search-hit__thumb img {
    transform: scale(1.06);
}
.hl-mark {
    background: #fef08a;
    color: #854d0e;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 700;
}
.search-empty-state {
    text-align: center;
    padding: 60px 20px;
    max-width: 540px;
    margin: 0 auto;
}
.search-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--tint);
    color: var(--green-600);
    margin-bottom: 18px;
}

/* ---------- Documents & Admissions ---------- */
.doc-card {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    transition: all .25s var(--ease);
}
.doc-card:hover {
    border-color: var(--green-500);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.doc-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    background: #fee2e2;
    color: #b91c1c;
}
.doc-badge--pdf { background: #fee2e2; color: #b91c1c; }
.doc-badge--doc, .doc-badge--docx { background: #e0f2fe; color: #0369a1; }
.doc-badge--xls, .doc-badge--xlsx { background: #dcfce7; color: #15803d; }
.doc-size {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}
.doc-card__body {
    flex: 1;
    margin-bottom: 20px;
}
.doc-card__title {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 8px;
}
.doc-card__title a {
    transition: color .2s ease;
}
.doc-card__title a:hover {
    color: var(--green-700);
}
.doc-card__desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
}
.doc-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

/* ---------- Achievements (Hall of Fame) ---------- */
.ach-card {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    transition: all .25s var(--ease);
    position: relative;
    overflow: hidden;
}
.ach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #facc15, #16a34a);
    opacity: 0.8;
}
.ach-card:hover {
    border-color: #facc15;
    box-shadow: 0 14px 32px -10px rgba(234, 179, 8, 0.2), var(--shadow);
    transform: translateY(-3px);
}
.ach-card__top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.ach-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(11, 31, 20, 0.1);
    border: 2px solid #fde047;
}
.ach-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ach-card__initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fef9c3, #fde047);
    color: #854d0e;
    font-weight: 800;
    font-size: 20px;
    font-family: var(--display);
}
.ach-card__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}
.ach-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}
.ach-badge svg {
    color: #d97706;
}
.ach-card__student {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.ach-card__name {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
}
.ach-card__year {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}
.ach-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--green-800);
    line-height: 1.45;
    margin-bottom: 10px;
}
.ach-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}
