/* =====================================================
   ملف التنسيق الوحيد للموقع كله
   موقع مدرسة مستقبل طالب العلم - تصميم وتطوير: عبدالرحمن الخويلدي
   ===================================================== */
:root{ --navy:#1e3a8a; --navy-2:#2747a8; --navy-3:#14285f; --gold:#f59e0b; --gold-2:#fbb33a; --gold-text:#a15c00; --gold-soft:#fef1d8; --navy-soft:#eaf0fb; --blue:#2747a8; --blue-soft:#eaf0fb; --bg:#0f1d47; --bg-alt:#13245a; --line:#e2e8f3; --text:#2f3a4d; --muted:#5f6a7d; --r:20px; --shadow:0 10px 30px rgba(30,58,138,.08); --shadow-lg:0 22px 50px rgba(30,58,138,.15); }
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:96px; }
html{ overflow-x:clip; }
body{ overflow-x:clip; }
body{ font-family:'Cairo', Tahoma, sans-serif; font-weight:500; font-size:17px; line-height:1.8; background:var(--bg); color:var(--text); }
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; height:auto; }
ul{ list-style:none; }
h1{ font-weight:800; }
h2{ font-weight:800; }
h3{ font-weight:800; }
h4{ font-weight:800; }
button{ font:inherit; }
.wrap{ width:min(1200px, 100% - 32px); margin-inline:auto; }
:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; border-radius:6px; }
.skip{ position:absolute; inset-inline-start:16px; top:-60px; background:var(--navy); color:#fff; padding:10px 18px; border-radius:10px; z-index:300; font-weight:800; }
.skip:focus{ top:12px; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:10px 26px; border-radius:50px; border:2px solid transparent; font-weight:800; font-size:16.5px; cursor:pointer; transition:.25s; }
.btn-primary{ background:var(--gold); color:var(--navy); }
.btn-primary:hover{ background:var(--gold-2); transform:translateY(-2px); }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:var(--navy-2); transform:translateY(-2px); }
.btn-white{ background:var(--gold); color:var(--navy); }
.btn-white:hover{ background:var(--gold-2); transform:translateY(-2px); }
.btn-outline{ border-color:rgba(255,255,255,.75); color:#fff; }
.btn-outline:hover{ background:#fff; color:var(--navy); }
.btn-line{ border-color:rgba(255,255,255,.4); color:#fff; background:transparent; }
.btn-line:hover{ border-color:var(--gold); color:var(--gold); }
.sec{ padding:90px 0; }
.sec{ background:var(--bg); }
.sec.alt{ background:var(--bg-alt); }
.sec-head{ text-align:center; max-width:680px; margin:0 auto 46px; }
.kicker{ display:inline-flex; align-items:center; gap:8px; color:var(--gold); font-weight:800; font-size:15px; }
.kicker i{ font-size:13px; }
.sec-head h2{ color:#fff; font-size:clamp(28px, 3.4vw, 40px); line-height:1.4; margin:6px 0 10px; }
.sec-head h2::after{ content:""; display:block; width:70px; height:5px; margin:14px auto 0; border-radius:3px; background:linear-gradient(90deg, var(--gold) 0 65%, #6f8be0 0); }
.sec-head p{ color:#c3cdea; }
.topbar{ background:var(--navy-3); color:#cfd8ea; font-size:14px; border-bottom:1px solid rgba(255,255,255,.06); }
.topbar .wrap{ display:flex; justify-content:space-between; align-items:center; gap:14px; min-height:40px; }
.topbar ul{ display:flex; gap:22px; }
.topbar i{ color:var(--gold); margin-inline-end:6px; }
.topbar a:hover{ color:#fff; }
.header{ position:sticky; top:0; z-index:100; background:var(--navy); border-bottom:3px solid var(--gold); transition:box-shadow .25s; }
.header.scrolled{ box-shadow:0 10px 30px rgba(30,58,138,.1); }
.header .wrap{ display:flex; align-items:center; gap:20px; min-height:86px; }
.brand{ display:flex; align-items:center; gap:12px; flex:none; }
.brand img{ width:66px; height:66px; border-radius:50%; background:#fff; padding:3px; transition:.25s; }
.header.scrolled .brand img{ width:54px; height:54px; }
.brand b{ display:block; color:#fff; font-size:18.5px; line-height:1.35; font-weight:800; }
.brand small{ display:block; color:var(--gold); font-weight:700; font-size:13px; }
.nav{ display:flex; gap:2px; margin-inline-start:auto; }
.nav a{ position:relative; padding:8px 9px; border-radius:10px; color:#dfe6f3; font-weight:700; font-size:15px; white-space:nowrap; transition:.2s; }
.nav a::after{ content:""; position:absolute; inset-inline:9px; bottom:2px; height:3px; border-radius:2px; background:var(--gold); transform:scaleX(0); transition:transform .25s; }
.nav a:hover{ color:var(--gold); }
.nav a:hover::after{ transform:scaleX(1); }
.nav a.active::after{ transform:scaleX(1); }
.nav a.active{ color:var(--gold); }
.header .btn{ min-height:46px; padding:8px 20px; font-size:15.5px; }
.burger{ display:none; margin-inline-start:auto; width:48px; height:48px; border-radius:12px; border:1px solid rgba(255,255,255,.3); background:transparent; color:#fff; font-size:20px; cursor:pointer; }
.footer{ background:linear-gradient(180deg, #0a1536, #070f28); color:#b7c3da; font-size:15.5px; }
.f-top{ height:4px; background:var(--gold); }
.f-grid{ display:grid; grid-template-columns:1.4fr 1fr 1.2fr; gap:40px; padding:56px 0 36px; }
.f-brand{ display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.f-brand img{ width:76px; height:76px; border-radius:50%; background:#fff; padding:4px; }
.f-brand b{ color:#fff; font-size:19px; line-height:1.4; display:block; }
.f-brand small{ color:var(--gold); font-size:14px; }
.footer h3{ color:#fff; font-size:17px; margin-bottom:14px; }
.f-links{ display:grid; grid-template-columns:1fr 1fr; }
.f-links a{ min-height:38px; display:inline-flex; align-items:center; gap:8px; }
.f-links a i{ font-size:11px; color:var(--gold); }
.f-links a:hover{ color:#fff; }
.f-contact a:hover{ color:#fff; }
.f-contact li{ display:flex; gap:12px; padding:5px 0; }
.f-contact i{ color:var(--gold); margin-top:6px; width:16px; text-align:center; }
.social{ display:flex; gap:10px; margin-top:16px; }
.social a{ width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.08); color:#fff; transition:.25s; }
.social a:hover{ background:var(--gold); color:var(--navy); }
.credit{ display:flex; justify-content:center; padding:4px 0 26px; }
.dev{ position:relative; }
.dev summary{ list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:10px; min-height:46px; padding:8px 22px; border-radius:40px; background:rgba(245,158,11,.12); border:1px solid rgba(245,158,11,.5); color:#fff; font-weight:800; font-size:16px; transition:.25s; user-select:none; }
.dev summary::-webkit-details-marker{ display:none; }
.dev summary i{ color:var(--gold); }
.dev summary:hover{ background:var(--gold); color:var(--navy); }
.dev summary:hover i{ color:var(--navy); }
.dev summary .arrow{ font-size:12px; transition:transform .25s; }
.dev[open] summary{ background:var(--gold); color:var(--navy); }
.dev[open] summary i{ color:var(--navy); }
.dev[open] summary .arrow{ transform:rotate(180deg); }
.dev-card{ position:absolute; bottom:calc(100% + 12px); left:50%; translate:-50% 0; z-index:20; width:260px; background:#fff; color:var(--text); border-radius:20px; padding:22px 18px 18px; text-align:center; box-shadow:0 24px 50px rgba(0,0,0,.35); border-top:4px solid var(--gold); animation:devIn .25s ease; }
.dev-card::after{ content:""; position:absolute; top:100%; left:50%; translate:-50% 0; border:10px solid transparent; border-top-color:#fff; }
.dev-ava{ width:58px; height:58px; margin:0 auto 10px; border-radius:50%; background:var(--navy); color:var(--gold); display:grid; place-items:center; font-size:24px; }
.dev-card b{ display:block; color:var(--navy); font-size:19px; font-weight:800; }
.dev-card small{ display:block; color:var(--muted); font-size:14px; margin-bottom:14px; }
.dev-tel{ display:flex; align-items:center; justify-content:center; gap:10px; min-height:48px; border-radius:14px; background:var(--gold); color:var(--navy); font-weight:800; font-size:18px; }
.dev-tel:hover{ background:var(--gold-2); }
@keyframes devIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
.f-bottom{ border-top:1px solid rgba(255,255,255,.1); }
.f-bottom .wrap{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:16px 0; font-size:14.5px; }
.f-bottom a{ display:inline-flex; align-items:center; gap:6px; min-height:44px; }
.f-bottom a:hover{ color:#fff; }
.to-top{ position:fixed; bottom:24px; inset-inline-end:24px; z-index:90; width:48px; height:48px; border-radius:50%; border:0; background:var(--gold); color:var(--navy); font-size:18px; cursor:pointer; box-shadow:0 10px 24px rgba(30,58,138,.4); opacity:0; pointer-events:none; transition:.3s; }
.to-top.show{ opacity:1; pointer-events:auto; }
.bottom-bar{ display:none; }
.lightbox{ position:fixed; inset:0; z-index:200; display:none; place-items:center; padding:20px 70px; background:rgba(20,40,95,.95); }
.lightbox.open{ display:grid; }
.lightbox figure{ text-align:center; color:#e3e8f2; }
.lightbox img{ max-height:80vh; margin:auto; border-radius:14px; }
.lightbox figcaption{ margin-top:10px; font-weight:800; }
.lb-btn{ position:absolute; width:50px; height:50px; border-radius:50%; border:1px solid rgba(255,255,255,.3); background:rgba(255,255,255,.08); color:#fff; font-size:18px; cursor:pointer; display:grid; place-items:center; }
.lb-btn:hover{ background:var(--gold); color:var(--navy); }
.lb-close{ top:18px; inset-inline-start:18px; }
.lb-prev{ inset-inline-start:12px; top:50%; translate:0 -50%; }
.lb-next{ inset-inline-end:12px; top:50%; translate:0 -50%; }
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s, transform .7s; }
.reveal.show{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    *{ transition:none !important; animation:none !important; }
    *::before{ transition:none !important; animation:none !important; }
    *::after{ transition:none !important; animation:none !important; }
    .reveal{ opacity:1; transform:none; }
}
.topbar .t-left{ display:flex; align-items:center; gap:16px; }
.topbar .t-social{ display:flex; gap:6px; }
.topbar .t-social a{ width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.08); }
.topbar .t-social a:hover{ background:var(--gold); color:var(--navy); }
.topbar .t-social i{ color:inherit; margin:0; font-size:12.5px; }
.search-ico{ width:46px; height:46px; border-radius:50%; display:grid; place-items:center; background:var(--gold); color:var(--navy); flex:none; transition:.2s; }
:where(.page-home) .hero{ position:relative; min-height:min(86vh, 760px); display:flex; align-items:center; color:#fff; overflow:hidden; padding:80px 0 170px; }
:where(.page-home) .hero-bg{ position:absolute; inset:0; }
:where(.page-home) .hero-bg img{ width:100%; height:100%; object-fit:cover; transform:scale(1.1); }
:where(.page-home) .hero::before{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(to left, rgba(30,58,138,.95) 0%, rgba(30,58,138,.85) 42%, rgba(39,71,168,.55) 75%, rgba(39,71,168,.3) 100%); }
:where(.page-home) .hero .wrap{ position:relative; z-index:2; }
:where(.page-home) .hero-text{ max-width:780px; }
:where(.page-home) .badge{ display:inline-flex; align-items:center; gap:10px; background:rgba(245,158,11,.16); border:1px solid rgba(245,158,11,.55); padding:6px 16px; border-radius:30px; font-weight:700; font-size:15px; backdrop-filter:blur(6px); }
:where(.page-home) .badge i{ color:var(--gold); }
:where(.page-home) .hero h1{ font-size:clamp(36px, 5vw, 64px); line-height:1.25; margin:18px 0 14px; text-shadow:0 4px 24px rgba(0,0,0,.18); }
:where(.page-home) .hero p{ font-size:clamp(17px, 1.7vw, 20px); color:#e3e8f2; max-width:560px; }
:where(.page-home) .hero-btns{ display:flex; gap:14px; flex-wrap:wrap; margin-top:30px; }
:where(.page-home) .hero-btns .btn-white i{ color:var(--navy); }
:where(.page-home) .wave{ position:absolute; inset-inline:0; bottom:-1px; z-index:2; width:100%; height:90px; }
:where(.page-home) .stats{ position:relative; z-index:5; margin-top:-120px; }
:where(.page-home) .stats-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; }
:where(.page-home) .stat{ background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:26px 22px; box-shadow:var(--shadow-lg); display:flex; align-items:center; gap:16px; transition:transform .25s; }
:where(.page-home) .stat:hover{ transform:translateY(-6px); }
:where(.page-home) .stat .ico{ width:60px; height:60px; border-radius:18px; display:grid; place-items:center; font-size:24px; flex:none; background:var(--navy); color:var(--gold); }
:where(.page-home) .stat:nth-child(2) .ico{ background:var(--gold); color:var(--navy); }
:where(.page-home) .stat:nth-child(3) .ico{ background:var(--navy); color:var(--gold); }
:where(.page-home) .stat:nth-child(4) .ico{ background:var(--gold); color:var(--navy); }
:where(.page-home) .stat{ border-bottom:3px solid var(--gold); }
:where(.page-home) .stat span{ display:block; color:var(--muted); font-size:14.5px; font-weight:700; }
:where(.page-home) .stat b{ display:block; color:var(--navy); font-size:21px; line-height:1.4; font-weight:800; }
:where(.page-home) .stat b.num{ font-size:32px; line-height:1.2; }
:where(.page-home) .stages{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
:where(.page-home) .stage{ background:#fff; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column; transition:transform .3s, box-shadow .3s; }
:where(.page-home) .stage:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
:where(.page-home) .stage .ph{ position:relative; height:210px; overflow:hidden; }
:where(.page-home) .stage .ph img{ width:100%; height:100%; object-fit:cover; transition:transform .5s; }
:where(.page-home) .stage:hover .ph img{ transform:scale(1.06); }
:where(.page-home) .stage .shift{ position:absolute; top:14px; inset-inline-start:14px; background:#fff; color:var(--navy); font-weight:800; font-size:14px; border-radius:30px; padding:4px 14px; box-shadow:0 6px 16px rgba(0,0,0,.12); }
:where(.page-home) .stage .shift i{ color:var(--gold-text); margin-inline-end:4px; }
:where(.page-home) .stage .body{ padding:24px; display:flex; flex-direction:column; flex:1; }
:where(.page-home) .stage .level{ width:46px; height:46px; margin-top:-48px; position:relative; border-radius:14px; background:var(--navy); color:var(--gold); display:grid; place-items:center; font-weight:800; font-size:20px; border:4px solid #fff; box-shadow:0 8px 18px rgba(30,58,138,.35); }
:where(.page-home) .stage h3{ color:var(--navy); font-size:22px; margin-top:12px; }
:where(.page-home) .stage .grades{ color:var(--muted); font-size:15px; }
:where(.page-home) .stage ul{ margin:14px 0 18px; display:grid; gap:6px; }
:where(.page-home) .stage li{ display:flex; align-items:center; gap:10px; font-size:15.5px; }
:where(.page-home) .stage li i{ color:var(--gold-text); width:18px; text-align:center; }
:where(.page-home) .stage .fee{ margin-top:auto; display:flex; justify-content:space-between; align-items:center; padding-top:16px; border-top:1px dashed var(--line); }
:where(.page-home) .stage .fee span{ color:var(--muted); font-size:14.5px; }
:where(.page-home) .stage .fee b{ color:var(--gold-text); font-size:24px; font-weight:800; }
:where(.page-home) .stage .fee b small{ font-size:14px; color:var(--muted); font-weight:700; }
:where(.page-home) .services{ display:grid; grid-template-columns:repeat(4, 1fr); gap:22px; }
:where(.page-home) .service{ position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:32px 24px 28px; text-align:center; box-shadow:var(--shadow); overflow:hidden; transition:transform .3s, box-shadow .3s; }
:where(.page-home) .service::before{ content:""; position:absolute; inset-inline:0; top:0; height:4px; background:var(--gold); transform:scaleX(0); transition:transform .35s; }
:where(.page-home) .service:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
:where(.page-home) .service:hover::before{ transform:scaleX(1); }
:where(.page-home) .service .ico{ width:78px; height:78px; margin:0 auto 18px; border-radius:50%; display:grid; place-items:center; font-size:30px; background:var(--navy-soft); color:var(--navy); position:relative; transition:.3s; }
:where(.page-home) .service .ico::after{ content:""; position:absolute; inset:-7px; border-radius:50%; border:2px dashed rgba(30,58,138,.2); }
:where(.page-home) .service:hover .ico{ background:var(--navy); color:var(--gold); }
:where(.page-home) .service:nth-child(2) .ico{ background:var(--gold-soft); color:var(--gold-text); }
:where(.page-home) .service:nth-child(2) .ico::after{ border-color:rgba(245,158,11,.45); }
:where(.page-home) .service:nth-child(2):hover .ico{ background:var(--gold); color:var(--navy); }
:where(.page-home) .service:nth-child(3) .ico{ background:var(--blue-soft); color:var(--blue); }
:where(.page-home) .service:nth-child(3) .ico::after{ border-color:rgba(29,79,163,.25); }
:where(.page-home) .service:nth-child(3):hover .ico{ background:var(--blue); color:#fff; }
:where(.page-home) .service h3{ color:var(--navy); font-size:20px; margin-bottom:6px; }
:where(.page-home) .service p{ color:var(--muted); font-size:15.5px; line-height:1.75; }
:where(.page-home) .news{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
:where(.page-home) .n-card{ background:#fff; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column; transition:transform .3s, box-shadow .3s; }
:where(.page-home) .n-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
:where(.page-home) .n-card .ph{ position:relative; height:220px; }
:where(.page-home) .n-card .ph .im{ height:100%; overflow:hidden; }
:where(.page-home) .n-card .ph img{ width:100%; height:100%; object-fit:cover; transition:transform .5s; }
:where(.page-home) .n-card:hover .ph img{ transform:scale(1.06); }
:where(.page-home) .date{ position:absolute; bottom:-22px; inset-inline-start:20px; background:var(--navy); color:var(--gold); border-radius:14px; text-align:center; padding:6px 12px; line-height:1.2; box-shadow:0 10px 20px rgba(30,58,138,.35); border:3px solid #fff; }
:where(.page-home) .date b{ display:block; font-size:22px; font-weight:800; }
:where(.page-home) .date small{ font-size:12.5px; font-weight:700; color:#fff; }
:where(.page-home) .n-card .body{ padding:34px 22px 24px; display:flex; flex-direction:column; flex:1; }
:where(.page-home) .n-card .year{ color:var(--gold-text); font-weight:700; font-size:14px; }
:where(.page-home) .n-card h3{ color:var(--navy); font-size:19.5px; line-height:1.55; margin:4px 0 8px; }
:where(.page-home) .n-card p, :where(.page-news) .n-card p{ color:var(--muted); font-size:15.5px; flex:1; }
:where(.page-home) .more{ display:inline-flex; align-items:center; gap:8px; color:var(--gold-text); font-weight:800; margin-top:14px; }
:where(.page-home) .n-card:hover .more i{ transform:translateX(-4px); }
:where(.page-home) .more i{ transition:transform .25s; }
:where(.page-home) .center{ text-align:center; margin-top:40px; }
:where(.page-home) .gallery{ display:grid; grid-template-columns:repeat(4, 1fr); grid-template-rows:230px 230px; gap:16px; }
:where(.page-home) .g-item{ position:relative; border:0; padding:0; border-radius:18px; overflow:hidden; cursor:zoom-in; background:var(--navy-soft); }
:where(.page-home) .g-item:nth-child(1){ outline:3px solid var(--gold); outline-offset:-3px; }
:where(.page-home) .g-item:nth-child(1){ grid-column:span 2; grid-row:span 2; }
:where(.page-home) .g-item img{ width:100%; height:100%; object-fit:cover; transform:scale(1.12); transition:transform .5s; }
:where(.page-home) .g-item::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(6,90,140,.85), transparent 55%); opacity:0; transition:opacity .3s; }
:where(.page-home) .g-item:hover img{ transform:scale(1.2); }
:where(.page-home) .g-item:focus-visible img{ transform:scale(1.2); }
:where(.page-home) .g-item:hover::after{ opacity:1; }
:where(.page-home) .g-item:focus-visible::after{ opacity:1; }
:where(.page-home) .contact{ display:grid; grid-template-columns:1fr 1.15fr; gap:28px; align-items:stretch; }
:where(.page-home) .c-list{ display:grid; gap:14px; }
:where(.page-home) .c-item{ display:flex; align-items:center; gap:16px; background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:18px 20px; box-shadow:var(--shadow); transition:transform .25s, border-color .25s; }
:where(.page-home) a.c-item:hover{ transform:translateX(-4px); border-color:var(--gold); }
:where(.page-home) .c-item .ico{ width:56px; height:56px; border-radius:16px; display:grid; place-items:center; font-size:22px; flex:none; background:var(--navy); color:var(--gold); }
:where(.page-home) .c-item.fb .ico{ background:#1877f2; }
:where(.page-home) .c-item.time .ico{ background:var(--gold); color:var(--navy); }
:where(.page-home) .c-item.loc .ico{ background:var(--blue); color:#fff; }
:where(.page-home) .c-item span{ display:block; color:var(--muted); font-size:14.5px; font-weight:700; }
:where(.page-home) .c-item b{ display:block; color:var(--navy); font-size:17px; line-height:1.6; font-weight:800; }
:where(.page-home) .c-item .go{ margin-inline-start:auto; color:var(--gold-text); }
:where(.page-home) .map{ position:relative; border-radius:var(--r); overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); min-height:420px; background:var(--navy-soft); }
:where(.page-home) .map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
:where(.page-home) .map .open{ position:absolute; bottom:16px; inset-inline-start:16px; z-index:1; }
:where(.page-home) .search-ico:hover{ background:var(--gold); color:var(--navy); }
:where(.page-home) .hero h1 span{ color:var(--gold); }
:where(.page-home) .hero .slogan-line{ font-size:clamp(20px, 2.2vw, 26px); font-weight:800; color:#fff; margin-bottom:8px; }
:where(.page-home) .about{ display:grid; grid-template-columns:1fr 1.1fr; gap:46px; align-items:center; }
:where(.page-home) .about-img{ position:relative; }
:where(.page-home) .about-img img{ width:100%; height:420px; object-fit:cover; border-radius:24px; box-shadow:0 24px 50px rgba(0,0,0,.35); }
:where(.page-home) .about-img::before{ content:""; position:absolute; inset:18px -18px -18px 18px; border:3px solid var(--gold); border-radius:24px; }
:where(.page-home) .about-img .yrs{ position:absolute; bottom:24px; inset-inline-end:-20px; background:var(--gold); color:var(--navy); border-radius:18px; padding:12px 20px; text-align:center; box-shadow:0 14px 30px rgba(0,0,0,.3); }
:where(.page-home) .about-img .yrs b{ display:block; font-size:30px; line-height:1.1; font-weight:900; }
:where(.page-home) .about-img .yrs span{ font-size:13.5px; font-weight:800; }
:where(.page-home) .about-text .kicker{ margin-bottom:4px; }
:where(.page-home) .about-text h2{ color:#fff; font-size:clamp(28px, 3.2vw, 38px); line-height:1.4; margin-bottom:14px; }
:where(.page-home) .about-text p{ color:#c3cdea; font-size:18px; line-height:2; margin-bottom:24px; }
:where(.page-home) .about-text .marks{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:26px; }
:where(.page-home) .about-text .marks span{ display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); color:#fff; border-radius:30px; padding:6px 14px; font-weight:700; font-size:14.5px; }
:where(.page-home) .about-text .marks i{ color:var(--gold); }
:where(.page-home) .fees{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; align-items:center; }
:where(.page-home) .fee{ background:#fff; border-radius:var(--r); padding:34px 26px 28px; text-align:center; box-shadow:var(--shadow); color:var(--text); transition:transform .3s; }
:where(.page-home) .fee:hover{ transform:translateY(-6px); }
:where(.page-home) .fee > i{ width:70px; height:70px; border-radius:50%; display:grid; place-items:center; margin:0 auto 14px; font-size:28px; background:var(--navy-soft); color:var(--navy); }
:where(.page-home) .fee h3{ color:var(--navy); font-size:21px; }
:where(.page-home) .fee .grades{ display:block; color:var(--muted); font-size:15px; }
:where(.page-home) .fee .price{ margin:18px 0 20px; color:var(--navy); font-size:46px; font-weight:900; line-height:1; }
:where(.page-home) .fee .price small{ font-size:17px; color:var(--muted); font-weight:700; }
:where(.page-home) .fee .btn{ width:100%; }
:where(.page-home) .fee.featured{ background:linear-gradient(160deg, #2747a8, #1e3a8a); color:#dfe6f3; transform:scale(1.05); box-shadow:0 26px 60px rgba(0,0,0,.4); border:2px solid var(--gold); }
:where(.page-home) .fee.featured:hover{ transform:scale(1.05) translateY(-6px); }
:where(.page-home) .fee.featured > i{ background:var(--gold); color:var(--navy); }
:where(.page-home) .fee.featured h3{ color:#fff; }
:where(.page-home) .fee.featured .price{ color:#fff; }
:where(.page-home) .fee.featured .grades{ color:#c3cdea; }
:where(.page-home) .fee.featured .price small{ color:#c3cdea; }
:where(.page-home) .fees-info{ text-align:center; margin-top:40px; color:#c3cdea; }
:where(.page-home) .fees-info i{ color:var(--gold); margin-inline-end:6px; }
:where(.page-home) .fees-info a{ color:var(--gold); font-weight:800; }
:where(.page-home) .acts{ display:grid; grid-template-columns:repeat(4, 1fr); gap:18px; }
:where(.page-home) .act{ position:relative; border:0; padding:0; border-radius:20px; overflow:hidden; height:300px; cursor:zoom-in; background:var(--navy-2); text-align:start; }
:where(.page-home) .act img{ width:100%; height:100%; object-fit:cover; transform:scale(1.1); transition:transform .5s; }
:where(.page-home) .act:hover img{ transform:scale(1.18); }
:where(.page-home) .act::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(15,29,71,.95), transparent 60%); }
:where(.page-home) .act span{ position:absolute; z-index:1; inset-inline:16px; bottom:16px; color:#fff; font-weight:800; font-size:17px; display:flex; align-items:center; gap:10px; }
:where(.page-home) .act span i{ width:34px; height:34px; border-radius:50%; background:var(--gold); color:var(--navy); display:grid; place-items:center; font-size:14px; flex:none; }
:where(.page-home) .perks{ background:radial-gradient(circle at 15% 50%, rgba(245,158,11,.22), transparent 40%), linear-gradient(90deg, #1e3a8a, #2747a8); padding:46px 0 34px; border-block:3px solid var(--gold); }
:where(.page-home) .perks-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; }
:where(.page-home) .perk{ display:flex; align-items:center; gap:14px; color:#dfe6f3; }
:where(.page-home) .perk i{ width:56px; height:56px; border-radius:16px; display:grid; place-items:center; background:rgba(255,255,255,.1); color:var(--gold); font-size:22px; flex:none; }
:where(.page-home) .perk h3{ color:#fff; font-size:17.5px; line-height:1.4; }
:where(.page-home) .perk p{ font-size:14.5px; color:#c3cdea; }
:where(.page-home) .perks .slogan{ text-align:center; color:var(--gold); font-size:clamp(22px, 2.6vw, 30px); font-weight:900; margin-top:28px; }
:where(.page-home) .res-box{ max-width:860px; margin:0 auto; background:#fff; color:var(--text); border-radius:24px; padding:30px; box-shadow:0 24px 50px rgba(0,0,0,.3); border-top:5px solid var(--gold); }
:where(.page-home) .res-box label{ display:flex; align-items:center; gap:10px; color:var(--navy); font-weight:800; font-size:18px; margin-bottom:14px; }
:where(.page-home) .res-box label i{ color:var(--gold-text); }
:where(.page-home) .res-row{ display:flex; gap:10px; }
:where(.page-home) .res-row input{ flex:1; min-width:0; height:58px; border:2px solid var(--line); border-radius:16px; padding:0 18px; font:inherit; font-size:18px; font-weight:800; color:var(--navy); background:#f5f7fc; }
:where(.page-home) .res-row input:focus{ outline:none; border-color:var(--gold); background:#fff; }
:where(.page-home) .res-row .btn{ min-height:58px; }
:where(.page-home) .res-hint{ display:flex; align-items:center; gap:8px; color:var(--muted); font-size:14.5px; margin-top:12px; }
:where(.page-home) .res-steps{ max-width:860px; margin:26px auto 0; display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
:where(.page-home) .res-steps div{ display:flex; align-items:center; gap:12px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:16px; padding:14px 16px; color:#dfe6f3; font-weight:700; font-size:15px; }
:where(.page-home) .res-steps b{ width:36px; height:36px; border-radius:50%; background:var(--gold); color:var(--navy); display:grid; place-items:center; flex:none; }
@media (max-width:860px){
    :where(.page-home) .res-box{ padding:22px 16px; }
    :where(.page-home) .res-row{ flex-direction:column; }
    :where(.page-home) .res-row input{ flex:none; width:100%; }
    :where(.page-home) .res-steps{ grid-template-columns:1fr; gap:10px; }
}
@media (min-width:1251px){
    .nav .nav-cta{ display:none; }
}
@media (max-width:1380px){
    .brand small{ display:none; }
    :where(.page-home) .header .btn{ display:none; }
}
@media (max-width:1250px){
    .search-ico{ display:none; }
    :where(.page-home) .header .btn{ display:none; }
    .burger{ display:grid; place-items:center; }
    :where(.page-home) .nav{ display:none; position:absolute; top:100%; inset-inline:0; flex-direction:column; background:var(--navy); padding:10px 16px 18px; border-bottom:3px solid var(--gold); box-shadow:0 20px 40px rgba(30,58,138,.12); }
    .nav.open{ display:flex; }
    .nav a{ padding:12px; font-size:17px; }
    .nav a::after{ display:none; }
    .nav a.active{ background:rgba(255,255,255,.08); }
    .nav .nav-cta{ margin-top:8px; background:var(--gold); color:var(--navy); font-weight:800; text-align:center; border-radius:12px; }
    .brand small{ display:block; }
    :where(.page-home) .stats-grid{ grid-template-columns:repeat(2, 1fr); }
    :where(.page-home) .acts{ grid-template-columns:repeat(2, 1fr); }
    :where(.page-home) .perks-grid{ grid-template-columns:repeat(2, 1fr); }
    :where(.page-home) .about{ gap:30px; }
    :where(.page-home) .fees{ gap:16px; }
    :where(.page-home) .services{ grid-template-columns:repeat(2, 1fr); }
    :where(.page-home) .stages{ gap:18px; }
}
@media (max-width:860px){
    body:where(.page-home){ font-size:16.5px; padding-bottom:72px; }
    .topbar ul li.addr{ display:none; }
    .topbar .wrap{ justify-content:center; }
    :where(.page-home) .topbar .wrap > a{ display:none; }
    .header .wrap{ min-height:72px; gap:10px; }
    .brand img{ width:52px; height:52px; }
    .header.scrolled .brand img{ width:52px; height:52px; }
    .brand b{ font-size:16px; }
    .brand small{ font-size:12px; }
    :where(.page-home) .sec{ padding:64px 0; }
    :where(.page-home) .sec-head{ margin-bottom:32px; }
    :where(.page-home) .hero{ min-height:0; padding:60px 0 150px; }
    :where(.page-home) .hero::before{ background:linear-gradient(to top, rgba(30,58,138,.96) 0%, rgba(30,58,138,.85) 55%, rgba(39,71,168,.6) 100%); }
    :where(.page-home) .hero-btns .btn{ flex:1 1 100%; }
    :where(.page-home) .wave{ height:50px; }
    :where(.page-home) .stats{ margin-top:-100px; }
    :where(.page-home) .stats-grid{ gap:12px; }
    :where(.page-home) .stat{ flex-direction:column; align-items:flex-start; padding:18px 16px; gap:10px; }
    :where(.page-home) .stat .ico{ width:50px; height:50px; font-size:20px; border-radius:14px; }
    :where(.page-home) .stat b{ font-size:17px; }
    :where(.page-home) .stat b.num{ font-size:26px; }
    :where(.page-home) .stages{ grid-template-columns:1fr; }
    :where(.page-home) .news{ grid-template-columns:1fr; }
    .topbar .t-left .staff{ display:none; }
    :where(.page-home) .about{ grid-template-columns:1fr; }
    :where(.page-home) .about-img img{ height:260px; }
    :where(.page-home) .about-img::before{ inset:12px -10px -12px 10px; }
    :where(.page-home) .about-img .yrs{ inset-inline-end:10px; bottom:-14px; }
    :where(.page-home) .about-text p{ font-size:16.5px; }
    :where(.page-home) .fees{ grid-template-columns:1fr; gap:18px; }
    :where(.page-home) .fee.featured{ transform:none; }
    :where(.page-home) .fee.featured:hover{ transform:none; }
    :where(.page-home) .acts{ gap:10px; }
    :where(.page-home) .act{ height:190px; }
    :where(.page-home) .act span{ font-size:14px; inset-inline:10px; bottom:10px; }
    :where(.page-home) .act span i{ display:none; }
    :where(.page-home) .perks-grid{ grid-template-columns:1fr; gap:16px; }
    :where(.page-home) .services{ gap:12px; }
    :where(.page-home) .service{ padding:24px 14px 20px; }
    :where(.page-home) .service .ico{ width:62px; height:62px; font-size:24px; }
    :where(.page-home) .service h3{ font-size:17px; }
    :where(.page-home) .service p{ font-size:14px; }
    :where(.page-home) .gallery{ grid-template-columns:1fr 1fr; grid-template-rows:220px 150px 150px; gap:10px; }
    :where(.page-home) .g-item:nth-child(1){ grid-row:auto; }
    :where(.page-home) .g-item::after{ opacity:1; }
    :where(.page-home) .contact{ grid-template-columns:1fr; }
    :where(.page-home) .map{ min-height:300px; }
    .f-grid{ grid-template-columns:1fr; gap:28px; padding:44px 0 26px; }
    .f-bottom .wrap{ flex-direction:column; align-items:flex-start; }
    .to-top{ bottom:86px; inset-inline-end:16px; }
    .lightbox{ padding:70px 12px; }
    .lb-prev{ top:auto; bottom:18px; translate:none; }
    .lb-next{ top:auto; bottom:18px; translate:none; }
    :where(.page-home) .bottom-bar{ display:grid; grid-template-columns:repeat(5, 1fr); position:fixed; inset-inline:0; bottom:0; z-index:95; background:#fff; border-top:1px solid var(--line); box-shadow:0 -8px 24px rgba(30,58,138,.1); padding:6px 4px calc(6px + env(safe-area-inset-bottom)); }
    .bottom-bar a{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; min-height:56px; font-size:12.5px; font-weight:800; color:var(--muted); }
    .bottom-bar a i{ font-size:19px; }
    .bottom-bar a.active{ color:var(--navy); }
    .bottom-bar a.res i{ background:var(--gold); color:var(--navy); width:46px; height:30px; border-radius:20px; display:grid; place-items:center; font-size:15px; }
    .to-top{ width:40px; height:40px; font-size:15px; bottom:92px; inset-inline-end:12px; box-shadow:0 6px 14px rgba(0,0,0,.25); }
    .to-top.show{ opacity:.55; }
    .to-top.show:hover{ opacity:1; }
    .to-top.show:active{ opacity:1; }
    .to-top.show:focus-visible{ opacity:1; }
}
:root{ --ivory:#f5f7fc; --green:#15803d; --green-soft:#e7f6ec; --red:#b42318; --red-soft:#fdecea; }
:where(.inner) input{ font:inherit; }
:where(.inner) select{ font:inherit; }
:where(.inner) textarea{ font:inherit; }
:where(.inner) b{ font-weight:800; }
:where(.inner) strong{ font-weight:800; }
:where(.inner) .ic{ display:inline-block; width:1.25em; text-align:center; flex:none; }
:where(.inner) .tag{ display:inline-flex; align-items:center; gap:8px; color:var(--gold); font-weight:800; font-size:15px; }
:where(.inner) .tag::before{ content:""; width:22px; height:4px; border-radius:2px; background:var(--gold); }
:where(.inner) .h2{ color:#fff; font-size:clamp(26px, 3.3vw, 38px); line-height:1.4; margin:8px 0 8px; }
:where(.inner) .lead{ color:#c3cdea; max-width:640px; }
:where(.inner) .sec-head .lead{ margin-inline:auto; }
:where(.inner) .card{ background:#fff; border-radius:var(--r); }
:where(.inner) .card{ color:var(--text); }
:where(.inner) .checks li{ color:var(--text); }
:where(.inner) .goal{ color:var(--text); }
:where(.inner) .shift{ color:var(--text); }
:where(.inner) .featured{ color:var(--text); }
:where(.inner) .n-card{ color:var(--text); }
:where(.inner) .article{ color:var(--text); }
:where(.inner) .side-item{ color:var(--text); }
:where(.inner) .g-count{ color:var(--text); }
:where(.inner) .search-card{ color:var(--text); }
:where(.inner) .result{ color:var(--text); }
:where(.inner) .state{ color:var(--text); }
:where(.inner) .how div{ color:var(--text); }
:where(.inner) .cta-card{ color:var(--text); }
:where(.inner) .info li{ color:var(--text); }
:where(.inner) .card .lead{ color:var(--muted); }
:where(.inner) .cta-card .lead{ color:var(--muted); }
:where(.inner) .search-card .lead{ color:var(--muted); }
:where(.inner) .card .tag{ color:var(--gold-text); }
:where(.inner) .cta-card .tag{ color:var(--gold-text); }
:where(.inner) .card .tag::before{ background:var(--gold-text); }
:where(.inner) .cta-card .tag::before{ background:var(--gold-text); }
:where(.inner) .card .btn-line{ color:var(--navy); border-color:var(--line); background:#fff; }
:where(.inner) .state .btn-line{ color:var(--navy); border-color:var(--line); background:#fff; }
:where(.inner) .article .btn-line{ color:var(--navy); border-color:var(--line); background:#fff; }
:where(.inner) .result .btn-line{ color:var(--navy); border-color:var(--line); background:#fff; }
:where(.inner) .card .btn-line:hover{ border-color:var(--navy); color:var(--navy); }
:where(.inner) .state .btn-line:hover{ border-color:var(--navy); color:var(--navy); }
:where(.inner) .article .btn-line:hover{ border-color:var(--navy); color:var(--navy); }
:where(.inner) .result .btn-line:hover{ border-color:var(--navy); color:var(--navy); }
:where(.inner) .btn-gold{ background:var(--gold); color:var(--navy); }
:where(.inner) .banner{ position:relative; overflow:hidden; color:#fff; text-align:center; padding:70px 0 120px; }
:where(.inner) .banner-bg{ position:absolute; inset:0; }
:where(.inner) .banner-bg img{ width:100%; height:100%; object-fit:cover; transform:scale(1.1); }
:where(.inner) .banner::before{ content:""; position:absolute; inset:0; z-index:1; background:radial-gradient(circle at 80% 20%, rgba(245,158,11,.25), transparent 40%), linear-gradient(180deg, rgba(30,58,138,.88), rgba(15,29,71,.95)); }
:where(.inner) .banner .wrap{ position:relative; z-index:2; }
:where(.inner) .crumbs{ display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); border-radius:30px; padding:5px 18px; font-size:14.5px; font-weight:700; color:#dfe6f3; }
:where(.inner) .crumbs a:hover{ color:var(--gold); }
:where(.inner) .crumbs .ic{ font-size:11px; color:var(--gold); width:auto; }
:where(.inner) .crumbs span{ color:var(--gold); }
:where(.inner) .banner h1{ font-size:clamp(32px, 4.6vw, 52px); line-height:1.3; margin:16px 0 8px; }
:where(.inner) .banner h1::after{ content:""; display:block; width:80px; height:5px; margin:16px auto 0; border-radius:3px; background:linear-gradient(90deg, var(--gold) 0 65%, #6f8be0 0); }
:where(.inner) .banner p{ color:#cfd8ea; font-size:clamp(16.5px, 1.6vw, 19px); max-width:640px; margin-inline:auto; }
:where(.inner) .banner .wave{ position:absolute; inset-inline:0; bottom:-1px; z-index:2; width:100%; height:70px; }
:where(.inner) .cta .wrap{ display:grid; grid-template-columns:1.1fr 1fr; gap:24px; }
:where(.inner) .cta-card{ border-radius:var(--r); padding:36px; color:#dfe6f3 !important; border:2px solid var(--gold); background:radial-gradient(circle at 90% 10%, rgba(245,158,11,.3), transparent 40%), linear-gradient(135deg, #2747a8, #1e3a8a); }
:where(.inner) .cta-card h2{ color:#fff; font-size:clamp(24px, 2.8vw, 32px); line-height:1.45; margin:10px 0; }
:where(.inner) .cta-card .lead{ color:#cfd8ea !important; }
:where(.inner) .cta-card .tag{ color:var(--gold) !important; }
:where(.inner) .cta-card .tag::before{ background:var(--gold) !important; }
:where(.inner) .cta-card .btns{ display:flex; gap:12px; flex-wrap:wrap; margin-top:20px; }
:where(.inner) .cta-card .btn-line{ border-color:rgba(255,255,255,.5); color:#fff; }
:where(.inner) .info{ display:grid; gap:12px; }
:where(.inner) .info li{ display:flex; gap:14px; align-items:center; background:#fff; border-radius:18px; padding:16px 18px; box-shadow:var(--shadow); }
:where(.inner) .info .ico{ width:50px; height:50px; border-radius:14px; background:var(--navy); color:var(--gold); display:grid; place-items:center; font-size:20px; flex:none; }
:where(.inner) .info b{ display:block; color:var(--navy); font-size:16.5px; line-height:1.4; }
:where(.inner) .info span{ color:var(--muted); font-size:15px; }
:where(.page-about) .intro .wrap{ display:grid; grid-template-columns:1fr 1.1fr; gap:50px; align-items:center; }
:where(.page-about) .intro-img{ position:relative; }
:where(.page-about) .intro-img .ph{ border-radius:var(--r); overflow:hidden; aspect-ratio:4/3.4; }
:where(.page-about) .intro-img .ph img{ width:100%; height:100%; object-fit:cover; }
:where(.page-about) .intro-img .since{ position:absolute; inset-inline-end:-18px; bottom:28px; background:var(--navy); color:#c9d3e6; border-radius:18px; padding:14px 20px; text-align:center; box-shadow:0 18px 40px rgba(11,31,68,.3); }
:where(.page-about) .intro-img .since b{ display:block; color:var(--gold); font-size:32px; line-height:1.1; }
:where(.page-about) .intro-img .since span{ font-size:14px; }
:where(.page-about) .intro p{ color:#c3cdea; margin-bottom:18px; font-size:18px; line-height:2; }
:where(.page-about) .checks{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:24px; }
:where(.page-about) .checks li{ display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--line); border-radius:14px; padding:10px 14px; color:var(--navy); font-weight:800; font-size:15.5px; }
:where(.page-about) .checks .ic{ color:var(--green); }
:where(.page-about) .facts{ display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; }
:where(.page-about) .fact{ background:var(--navy); color:#c9d3e6; border-radius:var(--r); padding:24px; display:flex; align-items:center; gap:14px; }
:where(.page-about) .fact .ic{ font-size:30px; color:var(--gold); }
:where(.page-about) .fact b{ display:block; color:#fff; font-size:30px; line-height:1.2; }
:where(.page-about) .fact span{ font-size:15px; }
:where(.page-about) .vm{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
:where(.page-about) .vm .card{ padding:32px; display:flex; gap:18px; align-items:flex-start; }
:where(.page-about) .vm .ico{ width:58px; height:58px; border-radius:16px; background:var(--gold-soft); color:var(--gold-text); display:grid; place-items:center; font-size:26px; flex:none; }
:where(.page-about) .vm h3{ color:var(--navy); font-size:22px; }
:where(.page-about) .vm p{ color:var(--muted); }
:where(.page-about) .goals{ display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; }
:where(.page-about) .goal{ background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:24px; position:relative; transition:transform .25s, box-shadow .25s; }
:where(.page-about) .goal:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
:where(.page-about) .goal .num{ color:var(--gold-text); font-size:15px; }
:where(.page-about) .goal .ico{ width:52px; height:52px; border-radius:14px; background:var(--ivory); color:var(--navy); display:grid; place-items:center; font-size:24px; margin:10px 0 12px; }
:where(.page-about) .goal h3{ color:var(--navy); font-size:18px; line-height:1.55; }
:where(.page-about) .shift-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; }
:where(.page-about) .shift{ border-radius:var(--r); overflow:hidden; background:var(--ivory); box-shadow:0 16px 40px rgba(0,0,0,.3); }
:where(.page-about) .shift-top{ display:flex; align-items:center; gap:16px; padding:22px 24px; }
:where(.page-about) .shift-top .ico{ width:58px; height:58px; border-radius:16px; background:var(--navy); color:var(--gold); display:grid; place-items:center; font-size:26px; flex:none; }
:where(.page-about) .shift-top h3{ color:var(--navy); font-size:21px; line-height:1.4; }
:where(.page-about) .shift-top span{ color:var(--muted); font-size:15px; }
:where(.page-about) .shift-top .time{ margin-inline-start:auto; text-align:center; color:var(--navy); }
:where(.page-about) .shift-top .time b{ display:block; font-size:22px; line-height:1.3; }
:where(.page-about) .shift-top .time small{ color:var(--muted); font-size:13.5px; }
:where(.page-about) .fees{ display:grid; border-top:1px solid var(--line); background:#fff; }
:where(.page-about) .fees div{ display:flex; justify-content:space-between; align-items:center; padding:14px 24px; border-bottom:1px dashed var(--line); }
:where(.page-about) .fees div:last-child{ border-bottom:0; }
:where(.page-about) .fees b{ color:var(--navy); font-size:20px; }
:where(.page-about) .fees small{ color:var(--muted); font-size:14px; }
@media (max-width:1100px){
    :where(.page-about) .facts{ grid-template-columns:repeat(2, 1fr); }
    :where(.page-about) .goals{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:860px){
    :where(.page-about) .intro .wrap{ grid-template-columns:1fr; gap:34px; }
    :where(.page-about) .intro-img .since{ inset-inline-end:12px; bottom:-18px; }
    :where(.page-about) .checks{ grid-template-columns:1fr; }
    :where(.page-about) .facts{ gap:10px; }
    :where(.page-about) .fact{ padding:16px; flex-direction:column; align-items:flex-start; gap:6px; }
    :where(.page-about) .fact b{ font-size:24px; }
    :where(.page-about) .vm{ grid-template-columns:1fr; }
    :where(.page-about) .shift-grid{ grid-template-columns:1fr; }
    :where(.page-about) .vm .card{ padding:22px; }
    :where(.page-about) .goals{ gap:10px; }
    :where(.page-about) .goal{ padding:18px; }
    :where(.page-about) .goal h3{ font-size:16px; }
    :where(.page-about) .shift-top{ flex-wrap:wrap; padding:18px; }
    :where(.page-about) .shift-top .time{ margin-inline-start:0; text-align:start; width:100%; display:flex; gap:10px; align-items:baseline; }
    :where(.page-about) .fees div{ padding:12px 18px; }
}
@media (max-width:1250px){
    :where(.inner) .nav{ display:none; position:absolute; top:100%; inset-inline:0; flex-direction:column; background:var(--navy); padding:10px 16px 18px; border-bottom:3px solid var(--gold); box-shadow:0 20px 40px rgba(0,0,0,.25); }
}
@media (max-width:860px){
    body:where(.page-about){ font-size:16.5px; padding-bottom:72px; }
    :where(.inner) .sec{ padding:56px 0; }
    :where(.inner) .sec-head{ margin-bottom:30px; }
    :where(.inner) .banner{ padding:44px 0 90px; }
    :where(.inner) .banner .wave{ height:44px; }
    :where(.inner) .cta .wrap{ grid-template-columns:1fr; }
    :where(.inner) .cta-card{ padding:26px 20px; }
    :where(.inner) .bottom-bar{ display:grid; grid-template-columns:repeat(5, 1fr); position:fixed; inset-inline:0; bottom:0; z-index:95; background:#fff; border-top:1px solid var(--line); box-shadow:0 -8px 24px rgba(0,0,0,.2); padding:6px 4px calc(6px + env(safe-area-inset-bottom)); }
}
@media print{
    :where(.inner) .topbar{ display:none !important; }
    :where(.inner) .header{ display:none !important; }
    :where(.inner) .footer{ display:none !important; }
    :where(.inner) .bottom-bar{ display:none !important; }
    :where(.inner) .banner{ display:none !important; }
    :where(.inner) .to-top{ display:none !important; }
    :where(.inner) .cta{ display:none !important; }
    body:where(.page-about){ background:#fff; padding:0; }
    :where(.inner) .sec{ background:#fff !important; padding:0; }
    :where(.inner) .search-sec{ background:#fff !important; padding:0; }
}
:where(.page-news) .featured{ display:grid; grid-template-columns:1.25fr 1fr; background:#fff; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; margin-bottom:28px; transition:box-shadow .25s; }
:where(.page-news) .featured:hover{ box-shadow:var(--shadow); }
:where(.page-news) .featured .ph{ height:380px; overflow:hidden; }
:where(.page-news) .featured .ph img{ width:100%; height:100%; object-fit:cover; transition:transform .5s; }
:where(.page-news) .featured:hover .ph img{ transform:scale(1.04); }
:where(.page-news) .featured .txt{ padding:34px; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:10px; }
:where(.page-news) .featured h2{ color:var(--navy); font-size:clamp(22px, 2.5vw, 30px); line-height:1.5; }
:where(.page-news) .featured p{ color:var(--muted); }
:where(.page-news) .more{ display:inline-flex; align-items:center; gap:8px; color:var(--navy); font-weight:800; }
:where(.page-news) .date{ display:inline-flex; align-items:center; gap:6px; color:var(--gold-text); font-weight:800; font-size:14.5px; }
:where(.page-news) .n-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; }
:where(.page-news) .n-card{ background:#fff; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; display:flex; flex-direction:column; transition:transform .25s, box-shadow .25s; }
:where(.page-news) .n-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
:where(.page-news) .n-card .ph{ height:210px; overflow:hidden; }
:where(.page-news) .n-card .ph img{ width:100%; height:100%; object-fit:cover; }
:where(.page-news) .n-card .txt{ padding:20px 22px 24px; display:flex; flex-direction:column; gap:8px; flex:1; }
:where(.page-news) .n-card h3{ color:var(--navy); font-size:19px; line-height:1.55; }
:where(.page-news) .article-wrap{ display:grid; grid-template-columns:1fr 340px; gap:30px; align-items:start; }
:where(.page-news) .article{ background:#fff; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
:where(.page-news) .article .cover{ max-height:480px; overflow:hidden; cursor:zoom-in; border:0; padding:0; display:block; width:100%; background:none; }
:where(.page-news) .article .cover img{ width:100%; height:100%; max-height:480px; object-fit:cover; }
:where(.page-news) .article .body{ padding:32px 36px 36px; }
:where(.page-news) .article h2{ color:var(--navy); font-size:clamp(24px, 3vw, 34px); line-height:1.5; margin:8px 0 16px; }
:where(.page-news) .article .content{ font-size:18px; line-height:2; white-space:pre-line; }
:where(.page-news) .article .actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; padding-top:22px; border-top:1px solid var(--line); }
:where(.page-news) .side{ position:sticky; top:100px; }
:where(.page-news) .side h3{ color:#fff; font-size:19px; margin-bottom:14px; }
:where(.page-news) .side-list{ display:grid; gap:12px; }
:where(.page-news) .side-item{ display:grid; grid-template-columns:96px 1fr; gap:12px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:16px; padding:10px; transition:box-shadow .25s; }
:where(.page-news) .side-item:hover{ box-shadow:var(--shadow); }
:where(.page-news) .side-item img{ width:96px; height:72px; object-fit:cover; border-radius:10px; }
:where(.page-news) .side-item b{ display:block; color:var(--navy); font-size:15.5px; line-height:1.5; }
:where(.page-news) .side-item small{ color:var(--gold-text); font-weight:800; font-size:13px; }
:where(.page-news) .empty{ text-align:center; padding:50px 24px; }
:where(.page-news) .empty .ic{ font-size:46px; color:var(--gold-text); }
:where(.page-news) .empty h2{ color:var(--navy); margin:10px 0 6px; }
:where(.page-news) .empty p{ color:var(--muted); margin-bottom:20px; }
@media (max-width:1100px){
    :where(.page-news) .n-grid{ grid-template-columns:repeat(2, 1fr); }
    :where(.page-news) .article-wrap{ grid-template-columns:1fr; }
    :where(.page-news) .side{ position:static; }
}
@media (max-width:860px){
    :where(.page-news) .featured{ grid-template-columns:1fr; }
    :where(.page-news) .featured .ph{ height:220px; }
    :where(.page-news) .featured .txt{ padding:22px; }
    :where(.page-news) .n-grid{ grid-template-columns:1fr; gap:16px; }
    :where(.page-news) .n-card .ph{ height:190px; }
    :where(.page-news) .article .body{ padding:22px 20px 26px; }
    :where(.page-news) .article .content{ font-size:17px; }
    :where(.page-news) .article .actions{ flex-direction:column; }
    :where(.page-news) .article .cover img{ max-height:260px; }
    body:where(.page-news){ font-size:16.5px; padding-bottom:72px; }
}
@media print{
    body:where(.page-news){ background:#fff; padding:0; }
}
:where(.page-gallery) .g-bar{ display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; margin-bottom:26px; }
:where(.page-gallery) .g-count{ display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:30px; padding:6px 16px; color:var(--navy); font-weight:800; font-size:15px; }
:where(.page-gallery) .g-count .ic{ color:var(--gold-text); }
:where(.page-gallery) .g-grid{ display:grid; grid-template-columns:repeat(4, 1fr); grid-auto-rows:220px; grid-auto-flow:dense; gap:14px; }
:where(.page-gallery) .g-item{ position:relative; border:0; padding:0; border-radius:18px; overflow:hidden; cursor:zoom-in; background:var(--navy-2); text-align:start; }
:where(.page-gallery) .g-item.big{ grid-column:span 2; grid-row:span 2; }
:where(.page-gallery) .g-item.tall{ grid-row:span 2; }
:where(.page-gallery) .g-item img{ width:100%; height:100%; object-fit:cover; transform:scale(1.1); transition:transform .5s; }
:where(.page-gallery) .g-item:hover img{ transform:scale(1.16); }
:where(.page-gallery) .g-item figcaption{ position:absolute; inset-inline:0; bottom:0; padding:40px 16px 14px; background:linear-gradient(to top, rgba(11,31,68,.92), transparent); color:#fff; }
:where(.page-gallery) .g-item figcaption b{ display:block; font-size:16.5px; line-height:1.4; }
:where(.page-gallery) .g-item figcaption small{ color:#c9d3e6; font-size:13.5px; }
:where(.page-gallery) .g-note{ margin-top:30px; display:flex; align-items:center; gap:10px; color:#c3cdea; font-size:15.5px; }
:where(.page-gallery) .g-note .ic{ color:var(--gold-text); }
@media (max-width:1100px){
    :where(.page-gallery) .g-grid{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width:860px){
    :where(.page-gallery) .g-grid{ grid-template-columns:1fr 1fr; grid-auto-rows:150px; gap:10px; }
    :where(.page-gallery) .g-item.big{ grid-column:1 / -1; }
    :where(.page-gallery) .g-item.tall{ grid-row:auto; }
    :where(.page-gallery) .g-item figcaption{ padding:30px 10px 8px; }
    :where(.page-gallery) .g-item figcaption b{ font-size:14px; }
    :where(.page-gallery) .g-item figcaption small{ display:none; }
    body:where(.page-gallery){ font-size:16.5px; padding-bottom:72px; }
}
@media print{
    body:where(.page-gallery){ background:#fff; padding:0; }
}
:where(.page-results) .search-sec{ margin-top:-60px; position:relative; z-index:2; }
:where(.page-results) #out{ padding-bottom:80px; }
:where(.page-results) .search-card{ background:#fff; border:1px solid var(--line); border-radius:24px; box-shadow:var(--shadow); padding:28px; max-width:900px; margin-inline:auto; }
:where(.page-results) .search-card h2{ color:var(--navy); font-size:22px; display:flex; align-items:center; gap:10px; }
:where(.page-results) .search-card h2 .ic{ color:var(--gold-text); }
:where(.page-results) .search-card > p{ color:var(--muted); font-size:15.5px; margin-bottom:16px; }
:where(.page-results) .s-row{ display:flex; gap:10px; }
:where(.page-results) .s-field{ position:relative; flex:1; min-width:0; }
:where(.page-results) .s-field .ic{ position:absolute; inset-inline-start:16px; top:50%; translate:0 -50%; color:var(--muted); font-size:20px; pointer-events:none; }
:where(.page-results) .s-field input{ width:100%; height:56px; border:2px solid var(--line); border-radius:14px; padding-inline:48px 16px; font-size:17px; font-weight:800; color:var(--navy); background:var(--ivory); }
:where(.page-results) .s-field select{ width:100%; height:56px; border:2px solid var(--line); border-radius:14px; padding-inline:48px 16px; font-size:17px; font-weight:800; color:var(--navy); background:var(--ivory); }
:where(.page-results) .s-field select{ cursor:pointer; }
:where(.page-results) .s-field.year{ flex:0 0 210px; }
:where(.page-results) .s-field input:focus{ outline:none; border-color:var(--gold); background:#fff; }
:where(.page-results) .s-field select:focus{ outline:none; border-color:var(--gold); background:#fff; }
:where(.page-results) .s-row .btn{ min-height:56px; padding-inline:30px; }
:where(.page-results) .hint{ display:flex; align-items:center; gap:8px; margin-top:12px; color:var(--muted); font-size:14.5px; }
:where(.page-results) .result{ max-width:900px; margin:34px auto 0; background:#fff; border:1px solid var(--line); border-radius:24px; overflow:hidden; box-shadow:var(--shadow); }
:where(.page-results) .r-head{ background:var(--navy); color:#c9d3e6; padding:28px 30px; display:flex; justify-content:space-between; align-items:center; gap:24px; }
:where(.page-results) .r-head .label{ color:var(--gold); font-weight:800; font-size:14.5px; }
:where(.page-results) .r-head h2{ color:#fff; font-size:clamp(22px, 3vw, 30px); line-height:1.45; margin:4px 0 12px; }
:where(.page-results) .r-meta{ display:flex; flex-wrap:wrap; gap:8px; }
:where(.page-results) .r-meta li{ background:rgba(255,255,255,.08); border-radius:10px; padding:4px 12px; font-size:14.5px; }
:where(.page-results) .r-meta b{ color:#fff; }
:where(.page-results) .ring{ --p:0; flex:none; width:136px; height:136px; border-radius:50%; display:grid; place-items:center; background:conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
:where(.page-results) .ring div{ width:108px; height:108px; border-radius:50%; background:var(--navy); display:grid; place-items:center; text-align:center; line-height:1.2; }
:where(.page-results) .ring b{ color:#fff; font-size:24px; }
:where(.page-results) .ring small{ color:#aebbd3; font-size:12.5px; display:block; }
:where(.page-results) .r-stats{ display:grid; grid-template-columns:repeat(4, 1fr); }
:where(.page-results) .r-stats div{ padding:20px; text-align:center; border-inline-start:1px solid var(--line); }
:where(.page-results) .r-stats div:first-child{ border-inline-start:0; }
:where(.page-results) .r-stats span{ display:block; color:var(--muted); font-size:14.5px; }
:where(.page-results) .r-stats b{ color:var(--navy); font-size:24px; }
:where(.page-results) .pass{ color:var(--green) !important; }
:where(.page-results) .fail{ color:var(--red) !important; }
:where(.page-results) .r-badge{ display:inline-flex; align-items:center; gap:6px; padding:2px 14px; border-radius:20px; font-size:20px; }
:where(.page-results) .r-badge.pass{ background:var(--green-soft); }
:where(.page-results) .r-badge.fail{ background:var(--red-soft); }
:where(.page-results) .r-foot{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding:18px 30px; border-top:1px solid var(--line); background:var(--ivory); }
:where(.page-results) .r-foot p{ display:flex; align-items:center; gap:8px; color:var(--muted); font-size:14.5px; }
:where(.page-results) .r-foot .btns{ display:flex; gap:10px; flex-wrap:wrap; }
:where(.page-results) .print-head{ display:none; }
:where(.page-results) .state{ max-width:700px; margin:34px auto 0; text-align:center; background:#fff; border:1px solid var(--line); border-radius:24px; padding:40px 26px; }
:where(.page-results) .state > .ic{ font-size:50px; color:var(--red); }
:where(.page-results) .state.warn > .ic{ color:var(--gold-text); }
:where(.page-results) .state h2{ color:var(--navy); font-size:24px; margin:10px 0 6px; }
:where(.page-results) .state p{ color:var(--muted); margin-bottom:20px; }
:where(.page-results) .state .btns{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
:where(.page-results) .how{ max-width:900px; margin:34px auto 0; display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
:where(.page-results) .how div{ background:#fff; border:1px solid var(--line); border-radius:20px; padding:22px; }
:where(.page-results) .how .n{ width:40px; height:40px; border-radius:50%; background:var(--navy); color:var(--gold); display:grid; place-items:center; font-weight:800; margin-bottom:10px; }
:where(.page-results) .how h3{ color:var(--navy); font-size:18px; }
:where(.page-results) .how p{ color:var(--muted); font-size:15px; }
@media (max-width:860px){
    :where(.page-results) .search-sec{ margin-top:-30px; }
    :where(.page-results) .search-card{ padding:20px 16px; }
    :where(.page-results) .s-row{ flex-direction:column; }
    :where(.page-results) .s-field{ flex:none; width:100%; }
    :where(.page-results) .s-field.year{ flex:none; width:100%; }
    :where(.page-results) .r-head{ flex-direction:column-reverse; align-items:flex-start; padding:22px 20px; }
    :where(.page-results) .ring{ align-self:center; }
    :where(.page-results) .r-stats{ grid-template-columns:1fr 1fr; }
    :where(.page-results) .r-stats div:nth-child(3){ border-inline-start:0; }
    :where(.page-results) .r-stats div:nth-child(n+3){ border-top:1px solid var(--line); }
    :where(.page-results) .r-foot{ padding:18px 20px; }
    :where(.page-results) .r-foot .btns{ width:100%; }
    :where(.page-results) .r-foot .btn{ width:100%; }
    :where(.page-results) .how{ grid-template-columns:1fr; gap:10px; }
}
@media print{
    :where(.page-results) .search-sec{ display:none !important; }
    :where(.page-results) .how{ display:none !important; }
    :where(.page-results) .r-foot .btns{ display:none !important; }
    :where(.page-results) .result{ box-shadow:none; margin:0; border-color:#999; }
    :where(.page-results) .print-head{ display:flex; align-items:center; gap:12px; padding:16px 0; }
    :where(.page-results) .print-head img{ width:60px; height:60px; }
    :where(.page-results) .r-head{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
    :where(.page-results) .ring div{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}
@media (max-width:860px){
    body:where(.page-results){ font-size:16.5px; padding-bottom:72px; }
}
@media print{
    body:where(.page-results){ background:#fff; padding:0; }
}
:where(.page-contact) .c-cards{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin-top:-56px; position:relative; z-index:2; }
:where(.page-contact) .c-card{ background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:24px; box-shadow:var(--shadow); display:flex; gap:14px; align-items:flex-start; transition:transform .25s; }
:where(.page-contact) a.c-card:hover{ transform:translateY(-4px); }
:where(.page-contact) .c-card .ico{ width:54px; height:54px; border-radius:16px; background:var(--navy); color:var(--gold); display:grid; place-items:center; font-size:24px; flex:none; }
:where(.page-contact) .c-card b{ display:block; color:var(--navy); font-size:17.5px; }
:where(.page-contact) .c-card span{ color:var(--muted); font-size:15.5px; line-height:1.7; display:block; }
:where(.page-contact) .c-card .big{ color:var(--navy); font-size:22px; font-weight:800; }
:where(.page-contact) .c-main{ display:grid; grid-template-columns:1.3fr 1fr; gap:24px; align-items:start; }
:where(.page-contact) .form-card{ padding:32px; }
:where(.page-contact) .form-card h2{ color:var(--navy); font-size:26px; margin:8px 0 4px; }
:where(.page-contact) .form-card > p{ color:var(--muted); margin-bottom:20px; }
:where(.page-contact) .f-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
:where(.page-contact) .f{ display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
:where(.page-contact) .f label{ color:var(--navy); font-weight:800; font-size:15.5px; }
:where(.page-contact) .f label em{ color:var(--red); font-style:normal; }
:where(.page-contact) .f input{ width:100%; min-height:52px; border:2px solid var(--line); border-radius:14px; padding:10px 16px; font-size:16.5px; color:var(--navy); background:var(--ivory); }
:where(.page-contact) .f select{ width:100%; min-height:52px; border:2px solid var(--line); border-radius:14px; padding:10px 16px; font-size:16.5px; color:var(--navy); background:var(--ivory); }
:where(.page-contact) .f textarea{ width:100%; min-height:52px; border:2px solid var(--line); border-radius:14px; padding:10px 16px; font-size:16.5px; color:var(--navy); background:var(--ivory); }
:where(.page-contact) .f textarea{ min-height:150px; resize:vertical; line-height:1.8; }
:where(.page-contact) .f input:focus{ outline:none; border-color:var(--gold); background:#fff; }
:where(.page-contact) .f select:focus{ outline:none; border-color:var(--gold); background:#fff; }
:where(.page-contact) .f textarea:focus{ outline:none; border-color:var(--gold); background:#fff; }
:where(.page-contact) .f small{ color:var(--muted); font-size:13.5px; }
:where(.page-contact) .hp{ position:absolute; inset-inline-start:-9999px; width:1px; height:1px; opacity:0; }
:where(.page-contact) .alert{ display:flex; gap:12px; align-items:flex-start; border-radius:14px; padding:14px 16px; margin-bottom:18px; font-size:15.5px; }
:where(.page-contact) .alert .ic{ font-size:22px; margin-top:2px; }
:where(.page-contact) .alert.ok{ background:var(--green-soft); color:var(--green); }
:where(.page-contact) .alert.bad{ background:var(--red-soft); color:var(--red); }
:where(.page-contact) .alert ul{ list-style:disc; padding-inline-start:18px; }
:where(.page-contact) .form-card .btn{ width:100%; }
:where(.page-contact) .side-card{ overflow:hidden; }
:where(.page-contact) .side-card .ph{ height:230px; overflow:hidden; }
:where(.page-contact) .side-card .ph img{ width:100%; height:100%; object-fit:cover; transform:scale(1.08); }
:where(.page-contact) .side-card .txt{ padding:24px; }
:where(.page-contact) .side-card h3{ color:var(--navy); font-size:20px; margin-bottom:12px; }
:where(.page-contact) .hours{ display:grid; gap:10px; margin-bottom:20px; }
:where(.page-contact) .hours li{ display:flex; justify-content:space-between; gap:10px; padding:10px 14px; border-radius:12px; background:var(--ivory); font-size:15.5px; }
:where(.page-contact) .hours b{ color:var(--navy); white-space:nowrap; }
:where(.page-contact) .side-card .btn{ width:100%; }
@media (max-width:1100px){
    :where(.page-contact) .c-main{ grid-template-columns:1fr; }
}
@media (max-width:860px){
    :where(.page-contact) .c-cards{ grid-template-columns:1fr; margin-top:-24px; gap:10px; }
    :where(.page-contact) .c-card{ padding:18px; }
    :where(.page-contact) .form-card{ padding:22px 18px; }
    :where(.page-contact) .f-row{ grid-template-columns:1fr; gap:0; }
    body:where(.page-contact){ font-size:16.5px; padding-bottom:72px; }
}
@media print{
    body:where(.page-contact){ background:#fff; padding:0; }
}
.lang-btn{ display:inline-flex; align-items:center; gap:6px; padding:4px 12px; border-radius:999px; border:1px solid rgba(245,158,11,.6); color:var(--gold); font-weight:700; font-size:13px; line-height:1.6; white-space:nowrap; transition:.2s; }
.lang-btn i{ margin:0 !important; color:inherit !important; }
.lang-btn:hover{ background:var(--gold); color:var(--navy); }
[dir=ltr] .fa-arrow-left{ transform:scaleX(-1); }
[dir=ltr] .fa-chevron-left{ transform:scaleX(-1); }
[dir=ltr] .fa-chevron-right{ transform:scaleX(-1); }
@media (min-width:861px){
    [dir=ltr] :where(.page-home) .hero::before{ background:linear-gradient(to right, rgba(30,58,138,.95) 0%, rgba(30,58,138,.85) 42%, rgba(39,71,168,.55) 75%, rgba(39,71,168,.3) 100%); }
}
@media (max-width:860px){
    [dir=ltr] .brand{ flex:1 1 auto; min-width:0; }
    [dir=ltr] .brand > div{ min-width:0; }
    [dir=ltr] .brand b{ font-size:15px; }
    [dir=ltr] .brand small{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
}

/* #####################################################
   صفحة الطلاب المتفوقين + صفحة المعلمين
   ##################################################### */
.chips{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:0 auto 34px; }
.chips a, .chips button{ border:1px solid rgba(255,255,255,.25); background:transparent; color:#dfe6f3; padding:8px 18px; border-radius:50px; font-weight:700; font-size:15px; cursor:pointer; transition:.2s; }
.chips a:hover, .chips button:hover{ border-color:var(--gold); color:var(--gold); }
.chips .on{ background:var(--gold); border-color:var(--gold); color:var(--navy) !important; }
.finder{ max-width:760px; margin:0 auto; }
.find-box{ display:flex; align-items:center; gap:10px; background:#fff; border-radius:50px; padding:6px 20px; margin-bottom:18px; }
.find-box .ic{ color:var(--muted); }
.find-box input{ flex:1; min-width:0; border:0; outline:0; font:inherit; color:var(--text); padding:8px 0; background:transparent; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.people{ display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:24px; }
.person{ position:relative; background:#fff; border-radius:var(--r); padding:34px 22px 26px; text-align:center; box-shadow:var(--shadow); border-top:5px solid var(--navy-2); display:flex; flex-direction:column; align-items:center; gap:6px; transition:transform .25s; }
.person:hover{ transform:translateY(-4px); }
.person[hidden]{ display:none; }
.person .ava{ width:96px; height:96px; border-radius:50%; object-fit:cover; background:var(--navy); color:var(--gold); display:grid; place-items:center; font-size:38px; font-weight:900; margin-bottom:8px; border:4px solid var(--navy-soft); }
.person h3{ color:var(--navy); font-size:19px; line-height:1.5; }
.person .meta{ color:var(--muted); font-size:15px; }
.person .note{ color:var(--muted); font-size:14.5px; border-top:1px dashed var(--line); padding-top:10px; margin-top:6px; width:100%; }
.person .subj{ background:var(--gold-soft); color:var(--gold-text); font-weight:800; font-size:15px; padding:4px 14px; border-radius:50px; }
.person .big{ color:var(--gold-text); font-size:30px; font-weight:900; line-height:1.3; display:flex; flex-direction:column; }
.person .big small{ color:var(--muted); font-size:13px; font-weight:700; }
.person .medal{ position:absolute; top:12px; inset-inline-start:12px; background:var(--navy-soft); color:var(--navy); font-size:13px; font-weight:800; padding:3px 12px; border-radius:50px; }
.person.top1{ border-top-color:var(--gold); }
.person.top1 .medal{ background:var(--gold); color:var(--navy); }
.person.top2{ border-top-color:#9aa6b8; }
.person.top2 .medal{ background:#e5e9f0; color:#3d4757; }
.person.top3{ border-top-color:#c27c3e; }
.person.top3 .medal{ background:#f6e3d2; color:#7a4316; }
.person.top .ava{ border-color:var(--gold-soft); }
.empty{ display:flex; align-items:center; justify-content:center; gap:10px; color:#c3cdea; background:rgba(255,255,255,.05); border-radius:var(--r); padding:28px; text-align:center; margin-top:10px; }
@media (max-width:860px){
    .people{ grid-template-columns:repeat(2, 1fr); gap:14px; }
    .person{ padding:30px 12px 20px; }
    .person .ava{ width:72px; height:72px; font-size:28px; }
    .person h3{ font-size:16px; }
    .person .big{ font-size:24px; }
    .chips{ justify-content:flex-start; flex-wrap:nowrap; overflow-x:auto; padding-bottom:6px; }
    .chips a, .chips button{ white-space:nowrap; }
}
@media (max-width:340px){
    .people{ grid-template-columns:1fr; }
}
/* الإنجليزي: الاسم طويل، نخفي الشعار الصغير تحته باش القائمة تاخد مكانها */
@media (max-width:1560px) and (min-width:1251px){
    [dir=ltr] .brand small{ display:none; }
}
.person .meta bdi{ white-space:nowrap; }
@media (max-width:860px){
    .person{ padding-top:46px; }
    .person .medal{ top:10px; inset-inline-start:10px; }
}
/* تكريم الطلاب */
.honors{ display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:24px; }
.honor{ background:#fff; border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column; transition:transform .25s; }
.honor:hover{ transform:translateY(-4px); }
.honor img, .honor .h-ph{ width:100%; aspect-ratio:3/2; object-fit:cover; display:block; }
.honor .h-ph{ display:grid; place-items:center; background:linear-gradient(135deg, var(--navy), var(--navy-2)); color:var(--gold); font-size:64px; }
.honor .h-body{ padding:22px 24px 26px; display:flex; flex-direction:column; gap:8px; }
.honor .h-date{ color:var(--gold-text); font-weight:800; font-size:14px; }
.honor h3{ color:var(--navy); font-size:19px; line-height:1.5; }
.honor p{ color:var(--muted); font-size:15.5px; line-height:1.8; }
.honor .h-names{ margin-top:8px; border-top:1px dashed var(--line); padding-top:12px; }
.honor .h-names b{ display:block; color:var(--navy); font-size:15px; margin-bottom:8px; }
.honor .h-names b i{ color:var(--gold-text); }
.honor .h-names ul{ list-style:none; display:flex; flex-wrap:wrap; gap:8px; }
.honor .h-names li{ background:var(--navy-soft); color:var(--navy); font-weight:700; font-size:14px; padding:4px 12px; border-radius:50px; }
@media (max-width:860px){ .honors{ grid-template-columns:1fr; gap:16px; } }
