/* حاضر — the school's public website (home, news, posts). RTL, Cairo, the school's green + gold. */
@font-face { font-family: Cairo; font-weight: 400; font-display: swap; src: url(../fonts/Cairo-Regular.ttf) format("truetype"); }
@font-face { font-family: Cairo; font-weight: 600; font-display: swap; src: url(../fonts/Cairo-SemiBold.ttf) format("truetype"); }
@font-face { font-family: Cairo; font-weight: 700; font-display: swap; src: url(../fonts/Cairo-Bold.ttf) format("truetype"); }
@font-face { font-family: Cairo; font-weight: 800; font-display: swap; src: url(../fonts/Cairo-ExtraBold.ttf) format("truetype"); }

:root {
  --g0: #03170f; --g1: #062a21; --g2: #0a3b2e; --g3: #12553e; --teal: #0e5a50; --g-soft: #e3eee7;
  --gold: #d7af76; --gold-2: #b7915a; --gold-3: #9c7742; --gold-soft: #f6ecda;
  --bg: #f7f3ea; --bg-2: #efe8d8; --surface: #fffdf8; --line: #e6ddc9; --line-2: #d6cab0;
  --ink: #10231b; --ink-2: #3c5047; --muted: #6b7a72;
  --red: #b23a2e; --blue: #2f6690;
  --r: 20px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(16,35,27,.05), 0 14px 34px -18px rgba(16,35,27,.28);
  --wrap: 1240px;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23d7af76' stroke-width='1'%3E%3Cpath d='M48 10l10 28 28 10-28 10-10 28-10-28-28-10 28-10z' stroke-opacity='.16'/%3E%3Cpath d='M48 26l6 16 16 6-16 6-6 16-6-16-16-6 16-6z' stroke-opacity='.10'/%3E%3Cpath d='M0 0l14 14M96 0L82 14M0 96l14-14M96 96L82 82' stroke-opacity='.12'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.75 Cairo, "Segoe UI", Tahoma, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--g3); text-decoration: none; }
h1, h2, h3 { line-height: 1.35; margin: 0; }
p { margin: 0 0 .9em; }
button { font: inherit; cursor: pointer; }
.i { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--g1); padding: 8px 16px; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------- buttons + badges ---------- */
.btn-gold, .btn-green { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; font-weight: 800; font-size: 15px; border: 0; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-gold { background: linear-gradient(135deg, #f0cf95, var(--gold) 45%, var(--gold-2)); color: var(--g1); box-shadow: 0 8px 22px -10px rgba(215,175,118,.9); }
.btn-green { background: var(--g3); color: #fff; }
.btn-gold:hover, .btn-green:hover { transform: translateY(-2px); }
.btn-green:hover { background: var(--g2); }
.btn-gold .i, .btn-green .i { width: 18px; height: 18px; }
.badge { display: inline-flex; align-items: center; padding: 1px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.8; }
.badge-gold { background: var(--gold-soft); color: var(--gold-3); }
.badge-green { background: var(--g-soft); color: var(--g3); }
.badge-blue { background: #e0ebf4; color: var(--blue); }
.badge-red { background: #f8e1dc; color: var(--red); }

/* ---------- header ---------- */
.sh { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, var(--g1), #0b4434 55%, var(--teal)); color: #fff; box-shadow: 0 6px 24px -14px rgba(0,0,0,.6); transition: box-shadow .25s; }
.sh::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent); opacity: .55; }
.sh-in { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; height: 78px; display: flex; align-items: center; gap: 20px; transition: height .25s; }
.sh.scrolled .sh-in { height: 64px; }
.sh-brand { display: flex; align-items: center; gap: 12px; color: #fff; min-width: 0; }
.sh-logo { width: 50px; height: 50px; border-radius: 14px; background: #fbf8f0; display: grid; place-items: center; flex: none; box-shadow: 0 6px 16px -8px rgba(0,0,0,.6); transition: width .25s, height .25s; }
.sh-logo img { width: 40px; height: 40px; }
.sh.scrolled .sh-logo { width: 42px; height: 42px; }
.sh-name { display: grid; line-height: 1.3; min-width: 0; }
.sh-name b { font-size: 16.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-name small { font-size: 11.5px; color: var(--gold); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.sh-nav > a { color: #e9f1ec; font-weight: 700; font-size: 15px; padding: 8px 13px; border-radius: 10px; position: relative; transition: color .2s, background .2s; white-space: nowrap; }
.sh-nav > a::after { content: ""; position: absolute; inset-inline: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.sh-nav > a:hover, .sh-nav > a.on { color: #fff; background: rgba(255,255,255,.07); }
.sh-nav > a:hover::after, .sh-nav > a.on::after { transform: scaleX(1); }
.sh-nav-social { display: none; }
.sh-tools { display: flex; align-items: center; gap: 8px; }
.sh-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .2s, color .2s; }
.sh-ic:hover { background: var(--gold); color: var(--g1); }
.sh-ic .i { width: 18px; height: 18px; }
.sh-login { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 12px; font-weight: 800; font-size: 14.5px; color: var(--g1); background: linear-gradient(135deg, #f3d59f, var(--gold) 50%, var(--gold-2)); box-shadow: 0 8px 20px -10px rgba(215,175,118,.9); white-space: nowrap; transition: transform .2s; }
.sh-login:hover { transform: translateY(-1px); }
.sh-login .i { width: 18px; height: 18px; }
.sh-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; place-items: center; }

/* ---------- moving notices strip ---------- */
.tk { background: var(--surface); border-bottom: 1px solid var(--line); }
.tk-in { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 12px; height: 46px; }
.tk-tag { display: inline-flex; align-items: center; gap: 6px; flex: none; background: var(--g3); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.tk-tag .i { width: 16px; height: 16px; color: var(--gold); }
.tk-view { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tk-track { display: inline-flex; white-space: nowrap; animation: tk var(--tk-dur, 40s) linear infinite; will-change: transform; }
.tk-copy { display: inline-flex; }
.tk-item { font-weight: 700; font-size: 14.5px; color: var(--ink-2); padding-inline: 22px; position: relative; }
.tk-item::before { content: ""; position: absolute; inset-inline-start: 4px; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); }
.tk:hover .tk-track, .tk.paused .tk-track { animation-play-state: paused; }
.tk-pause { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); display: grid; place-items: center; }
.tk-pause .i { width: 14px; height: 14px; }
@keyframes tk { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- hero: slides + side panel + service cards ---------- */
.hero { position: relative; color: #fff; padding: 26px 0 0; overflow: hidden; background: radial-gradient(900px 500px at 85% -10%, rgba(215,175,118,.22), transparent 60%), radial-gradient(700px 520px at 0% 110%, rgba(14,90,80,.55), transparent 65%), linear-gradient(160deg, var(--g2), var(--g1) 55%, var(--g0)); }
.hero-bg { position: absolute; inset: 0; background-image: var(--pattern); background-size: 96px; opacity: .9; pointer-events: none; animation: drift 60s linear infinite; }
@keyframes drift { to { background-position: 96px 192px; } }
.hero-in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr); gap: 22px; align-items: stretch; }

.slider { position: relative; border-radius: var(--r); overflow: hidden; background: var(--g0); width: 100%; min-height: 420px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.75); isolation: isolate; }
.sl-track { position: absolute; inset: 0; }
.sl { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.sl.on { opacity: 1; visibility: visible; transition: opacity 1.1s ease; z-index: 1; }
.sl-media { position: absolute; inset: 0; overflow: hidden; display: block; }
.sl img { width: 100%; height: 100%; object-fit: cover; transform-origin: 70% 40%; }
.sl.on img { animation: kb 9s ease-out both; }
.sl:nth-child(even).on img { transform-origin: 25% 60%; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.13); } }
.sl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,23,15,.86) 0%, rgba(3,23,15,.35) 42%, transparent 70%), linear-gradient(270deg, rgba(3,23,15,.45), transparent 55%); pointer-events: none; }
.sl.no-cap::after { display: none; }
.sl-cap { position: absolute; z-index: 2; inset-inline-start: 0; bottom: 0; max-width: min(640px, 54%); padding: 0 34px 74px; }
.sl-cap h2 { font-size: clamp(21px, 2.5vw, 36px); font-weight: 800; text-shadow: 0 3px 18px rgba(0,0,0,.45); }
.sl-cap p { font-size: clamp(14px, 1.4vw, 18px); color: #e8efe9; margin: 8px 0 14px; max-width: 560px; }
.sl.on .sl-cap > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.sl.on .sl-cap > :nth-child(2) { animation-delay: .15s; }
.sl.on .sl-cap > :nth-child(3) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sl-fallback { background: radial-gradient(600px 300px at 20% 30%, rgba(215,175,118,.3), transparent 70%), linear-gradient(135deg, var(--g3), var(--g1)); }
.sl-fallback::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 80px; }
.sl-art { position: absolute; inset-inline-end: 8%; top: 50%; transform: translateY(-50%); width: 34%; max-width: 260px; aspect-ratio: 1; border-radius: 36%; background: rgba(251,248,240,.95); display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.sl-art img { width: 72%; }

.sl-ctrl { position: absolute; z-index: 3; inset-inline-end: 18px; bottom: 18px; display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(3,23,15,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); }
.sl-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .2s; }
.sl-btn:hover { background: var(--gold); color: var(--g1); }
.sl-btn .i { width: 18px; height: 18px; }
.sl-play .i-play, .slider.paused .sl-play .i-pause { display: none; }
.slider.paused .sl-play .i-play { display: block; }
.sl-dots { display: flex; gap: 6px; padding: 0 6px; }
.sl-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.sl-dots button.on { width: 26px; background: var(--gold); }
.sl-bar { position: absolute; z-index: 3; inset: auto 0 0 0; height: 3px; background: rgba(255,255,255,.12); }
.sl-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.sl-bar i.run { animation: bar var(--sl-int, 6.5s) linear forwards; }
.slider.paused .sl-bar i { animation-play-state: paused; }
@keyframes bar { to { width: 100%; } }

.hero-side { display: grid; gap: 16px; align-content: stretch; grid-auto-rows: minmax(0, auto); }
.hs-box { border-radius: var(--r); padding: 16px 18px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); min-width: 0; }
.hs-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hs-h h2 { font-size: 18px; font-weight: 800; flex: 1; }
.hs-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(215,175,118,.18); color: var(--gold); }
.hs-ic .i { width: 18px; height: 18px; }
.hs-all { color: var(--gold); font-size: 13px; font-weight: 800; }
.ann-track { position: relative; min-height: 84px; display: grid; }
.ann { grid-area: 1 / 1; display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: rgba(3,23,15,.28); color: #fff; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .6s, transform .6s, visibility 0s linear .6s; }
.ann.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s, transform .6s; }
.ann:hover { background: rgba(3,23,15,.42); }
.ann-pin { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--g1); flex: none; }
.ann-pin .i { width: 16px; height: 16px; }
.ann-t { display: grid; gap: 4px; min-width: 0; }
.ann-t b { font-size: 15px; font-weight: 700; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ann-t small { display: flex; gap: 8px; align-items: center; color: #c8d6ce; font-size: 12.5px; }
.ann-dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.ann-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.35); transition: width .3s, background .3s; }
.ann-dots i.on { width: 20px; background: var(--gold); }
.hn { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hn a { display: flex; gap: 12px; align-items: center; color: #fff; padding: 6px; border-radius: 12px; transition: background .2s; }
.hn a:hover { background: rgba(255,255,255,.08); }
.hn-img { width: 92px; height: 62px; border-radius: 10px; overflow: hidden; flex: none; background: rgba(3,23,15,.35); display: grid; place-items: center; color: var(--gold); }
.hn-img img { width: 100%; height: 100%; object-fit: cover; }
.hn-t { display: grid; min-width: 0; }
.hn-t b { font-size: 14px; font-weight: 700; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hn-t small { display: flex; align-items: center; gap: 5px; color: #c8d6ce; font-size: 12px; }
.hn-t small .i { width: 13px; height: 13px; }
.hs-welcome p { font-size: 20px; font-weight: 800; line-height: 1.6; margin: 6px 0 16px; }

.svc { position: relative; margin-top: 26px; background: rgba(3,23,15,.32); border-top: 1px solid rgba(255,255,255,.1); }
.svc-in { max-width: var(--wrap); margin: 0 auto; padding: 18px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.svc-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; color: #fff; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); transition: background .25s, transform .25s, border-color .25s; min-width: 0; }
a.svc-card:hover { background: rgba(215,175,118,.16); border-color: rgba(215,175,118,.5); transform: translateY(-3px); }
.svc-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold); color: var(--gold); flex: none; transition: background .25s, color .25s; }
a.svc-card:hover .svc-ic { background: var(--gold); color: var(--g1); }
.svc-ic .i { width: 24px; height: 24px; stroke-width: 1.6; }
.svc-t { display: grid; min-width: 0; line-height: 1.45; }
.svc-t b { font-size: 15.5px; font-weight: 800; }
.svc-t small { font-size: 12.5px; color: #c8d6ce; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- today + numbers ---------- */
.band { padding: 34px 0 0; }
.band-in { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 18px; align-items: stretch; }
.today { border-radius: var(--r); padding: 20px 22px; color: #fff; background: linear-gradient(135deg, var(--g3), var(--g1)); position: relative; overflow: hidden; display: grid; gap: 14px; box-shadow: var(--shadow); }
.today::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 84px; opacity: .7; }
.today > * { position: relative; }
.today-date { display: flex; gap: 12px; align-items: center; }
.today-date b { display: block; font-size: 17px; font-weight: 800; }
.today-date small { color: var(--gold); font-weight: 700; }
.today-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(215,175,118,.2); color: var(--gold); flex: none; }
.today-clock { font-size: 40px; font-weight: 800; letter-spacing: .5px; line-height: 1.1; font-variant-numeric: tabular-nums; direction: rtl; }
.today-bell { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(3,23,15,.3); }
.today-bell b { display: block; font-weight: 800; }
.today-bell small { color: #c8d6ce; font-size: 13px; }
.today-bell .dot { width: 12px; height: 12px; border-radius: 50%; background: #9fb7aa; flex: none; }
.now-period .today-bell .dot, .now-break .today-bell .dot { background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 1.8s infinite; }
.now-break .today-bell .dot { background: var(--gold); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.st { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px; display: grid; justify-items: center; text-align: center; gap: 2px; position: relative; overflow: hidden; }
.st::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--g3)); }
.st-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-3); margin-bottom: 6px; }
.st-ic .i { width: 24px; height: 24px; }
.st-n { font-size: 36px; font-weight: 800; color: var(--g2); line-height: 1.2; font-variant-numeric: tabular-nums; }
.st-l { font-weight: 700; color: var(--ink-2); line-height: 1.4; }
.st-l small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .4px; }

/* ---------- sections ---------- */
.sec { padding: 70px 0; }
.sec-in { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sec-h { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 18px; margin-bottom: 30px; }
.sec-h .eyebrow { flex-basis: 100%; }
.sec-h h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--g1); position: relative; padding-bottom: 12px; }
.sec-h h2::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-2); }
.sec-more { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--g3); padding-bottom: 12px; }
.sec-more .i { width: 18px; height: 18px; transition: transform .2s; }
.sec-more:hover .i { transform: translateX(-4px); }

.about { background: var(--surface); border-block: 1px solid var(--line); position: relative; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.about-grid.solo { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.about-text { font-size: 17.5px; line-height: 2.05; color: var(--ink-2); }
.slogan { margin: 22px 0 0; display: flex; gap: 14px; align-items: center; padding: 18px 22px; border-radius: var(--r); background: linear-gradient(135deg, var(--gold-soft), #fbf5ea); border-inline-start: 5px solid var(--gold); color: var(--g1); font-size: 20px; font-weight: 800; line-height: 1.6; }
.slogan .i { width: 34px; height: 34px; color: var(--gold-2); }
.vm { display: grid; gap: 16px; }
.vm-card { padding: 22px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); position: relative; overflow: hidden; }
.vm-card h3 { font-size: 19px; font-weight: 800; color: var(--g1); margin-bottom: 8px; }
.vm-card p { color: var(--ink-2); margin: 0; }
.vm-ic { float: inline-end; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--g3); color: var(--gold); margin-inline-start: 12px; }
.principal { margin: 40px 0 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border-radius: 26px; background: linear-gradient(135deg, var(--g1), var(--g3)); color: #fff; position: relative; overflow: hidden; }
.principal::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 90px; opacity: .6; }
.principal > * { position: relative; }
.pr-photo { width: 200px; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: rgba(255,255,255,.1); border: 3px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.pr-photo img { width: 100%; height: 100%; object-fit: cover; }
.pr-photo .i { width: 72px; height: 72px; stroke-width: 1.3; }
.pr-body .eyebrow { color: var(--gold); }
.pr-body blockquote { margin: 8px 0 14px; font-size: 17.5px; line-height: 2; color: #eef4f0; }
.pr-body figcaption b { display: block; font-size: 18px; font-weight: 800; }
.pr-body figcaption small { color: var(--gold); font-weight: 700; }

/* ---------- news / notice cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(16,35,27,.06), 0 26px 46px -24px rgba(16,35,27,.4); }
.card-a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--g3), var(--g1)); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.07); }
.card-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); background-image: var(--pattern); background-size: 70px; }
.card-ph .i { width: 54px; height: 54px; stroke-width: 1.3; }
.card-notice .card-img { background: linear-gradient(135deg, #8a6a3c, var(--gold-2)); }
.card-img.no-img { aspect-ratio: 16 / 7; }
.card-notice .card-ph { color: #fff8ea; }
.card-pin { position: absolute; top: 12px; inset-inline-start: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--g1); }
.card-pin .i { width: 16px; height: 16px; }
.card-b { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.card-t { font-size: 17.5px; font-weight: 800; line-height: 1.55; color: var(--g1); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-s { color: var(--ink-2); font-size: 14.5px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 4px; color: var(--gold-3); font-weight: 800; font-size: 14px; }
.card-more .i { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-more .i { transform: translateX(-4px); }

/* ---------- achievements ---------- */
.awards { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.aw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.aw { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.aw-open { display: block; width: 100%; padding: 0; border: 0; background: var(--g1); aspect-ratio: 1; overflow: hidden; }
.aw-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.aw-open:hover img { transform: scale(1.08); opacity: .9; }
.aw figcaption { padding: 12px 14px; display: grid; line-height: 1.5; }
.aw figcaption b { font-weight: 800; color: var(--g1); }
.aw figcaption small { color: var(--muted); }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(3,23,15,.92); display: grid; place-items: center; padding: 24px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: min(1100px, 100%); display: grid; gap: 12px; justify-items: center; }
.lb img { max-height: 78vh; width: auto; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.lb figcaption { color: #fff; text-align: center; display: grid; }
.lb figcaption small { color: var(--gold); }
.lb-x { position: absolute; top: 16px; inset-inline-end: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }

/* ---------- contact ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: stretch; }
.ct-grid.no-map { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.ct-list { display: grid; gap: 12px; align-content: start; }
.ct { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, transform .2s, background .2s; }
.ct:hover { border-color: var(--gold); background: #fff; transform: translateX(-3px); }
.ct-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--g3); color: var(--gold); flex: none; }
.ct-t { display: grid; flex: 1; min-width: 0; line-height: 1.5; }
.ct-t small { color: var(--muted); font-weight: 600; font-size: 13px; }
.ct-t bdi, .ct-t b { font-weight: 800; font-size: 16.5px; color: var(--g1); text-align: start; }
.ct-go { color: var(--gold-2); }
.ct-staff { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--g3), var(--g1)); margin-top: 4px; }
.ct-staff .ct-ic { background: rgba(215,175,118,.2); }
.ct-staff div { flex: 1; min-width: 180px; display: grid; line-height: 1.5; }
.ct-staff small { color: #c8d6ce; }
.ct-staff .btn-green { background: var(--gold); color: var(--g1); }
.ct-map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--bg-2); box-shadow: var(--shadow); }
.ct-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- inner pages ---------- */
.ph { color: #fff; position: relative; overflow: hidden; padding: 34px 0 30px; background: radial-gradient(700px 300px at 90% 0%, rgba(215,175,118,.25), transparent 60%), linear-gradient(160deg, var(--g2), var(--g1) 60%, var(--g0)); }
.ph::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 96px; }
.ph-in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ph h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin: 8px 0 4px; }
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; color: #c8d6ce; }
.crumbs a { color: var(--gold); font-weight: 700; }
.crumbs .i { width: 14px; height: 14px; opacity: .7; }
.ph-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.ph-tabs a { padding: 6px 16px; border-radius: 999px; color: #e8efe9; font-weight: 700; border: 1px solid rgba(255,255,255,.2); }
.ph-tabs a.on, .ph-tabs a:hover { background: var(--gold); border-color: var(--gold); color: var(--g1); }
.post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; color: #c8d6ce; font-size: 14px; }
.post-meta time { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .i { width: 16px; height: 16px; }
.post-lead { font-size: 18px; color: #e3ece6; max-width: 820px; margin: 6px 0 0; }
.post { padding-top: 34px; }
.post-in { max-width: 880px; }
.post-img { margin: 0 0 26px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.post-img img { width: 100%; }
.post-body { font-size: 18px; line-height: 2.05; color: var(--ink-2); }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; color: var(--muted); }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-weight: 700; font-size: 14px; }
.share a:hover, .share button:hover { border-color: var(--gold); color: var(--g3); }
.share .i { width: 16px; height: 16px; }
.share-wa .i { color: #25d366; }
.share [hidden] { display: none; }
.post-body, .post-lead, .ph h1, .about-text, .vm-card, .pr-body, .card-b, .ann-t, .hn-t { overflow-wrap: anywhere; }
.more { background: var(--bg-2); padding-top: 50px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 34px; font-weight: 800; color: var(--muted); }
.pager a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.pager .i { width: 16px; height: 16px; }
.empty-s { text-align: center; padding: 50px 20px; color: var(--muted); display: grid; justify-items: center; gap: 6px; }
.empty-s > .i { width: 64px; height: 64px; color: var(--gold-2); stroke-width: 1.3; }
.empty-s h1, .empty-s h2 { font-size: 22px; color: var(--g1); }
.empty-s .btn-green { margin-top: 10px; }

/* ---------- footer ---------- */
.sf { color: #d9e4dd; background: linear-gradient(180deg, var(--g1), var(--g0)); position: relative; overflow: hidden; }
.sf::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 110px; opacity: .55; pointer-events: none; }
.sf-in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 54px 20px 34px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.sf-logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.sf-logo img { width: 58px; height: 58px; padding: 8px; border-radius: 16px; background: #fbf8f0; }
.sf-logo span { display: grid; line-height: 1.4; }
.sf-logo b { font-size: 17px; font-weight: 800; }
.sf-logo small { color: var(--gold); font-size: 12px; }
.sf-slogan { margin: 16px 0 6px; font-size: 17px; font-weight: 800; color: var(--gold); }
.sf-note { font-size: 14px; color: #a9bbb1; }
.sf h2 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 12px; position: relative; padding-bottom: 8px; }
.sf h2::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--gold); }
.sf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.sf ul a { color: #c9d7cf; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.sf ul a:hover { color: var(--gold); }
.sf ul .i { width: 17px; height: 17px; color: var(--gold); }
.sf ul .ext { width: 13px; height: 13px; opacity: .7; }
.sf-contact a { flex-wrap: wrap; }
.sf-contact bdi { color: #fff; font-weight: 700; }
.sf-bar { position: relative; background: rgba(0,0,0,.25); border-top: 1px solid rgba(255,255,255,.08); }
.sf-bar-in { max-width: var(--wrap); margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: #a9bbb1; }
.sf-by a { color: var(--gold); font-weight: 800; }

.totop { position: fixed; z-index: 40; inset-inline-end: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--g1); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }

/* reveal on scroll (only when JS runs — without it everything is simply visible) */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-side { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .slider { aspect-ratio: 16 / 9; min-height: 0; }
  .band-in { grid-template-columns: minmax(0, 1fr); }
  .sf-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .sh-tools { margin-inline-start: auto; }
  .sh-burger { display: grid; }
  .sh-nav { position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 16px; background: var(--g1); border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 30px -16px rgba(0,0,0,.6); max-height: calc(100vh - 70px); overflow-y: auto; display: none; }
  .sh.open .sh-nav { display: flex; }
  .sh-nav > a { padding: 12px 14px; font-size: 16px; }
  .sh-nav > a::after { display: none; }
  .sh-nav > a.on { background: rgba(215,175,118,.15); color: var(--gold); }
  .sh-nav-social { display: flex; gap: 10px; padding: 12px 14px 0; }
  .sh-nav-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); }
  .sh-tools .sh-ic:not([href^="tel:"]) { display: none; }
}
@media (max-width: 960px) {
  .about-grid, .ct-grid { grid-template-columns: minmax(0, 1fr); }
  .principal { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .pr-photo { width: 150px; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .sh-in { height: 66px; gap: 10px; padding: 0 14px; }
  .sh.scrolled .sh-in { height: 60px; }
  .sh-logo { width: 42px; height: 42px; border-radius: 12px; }
  .sh-logo img { width: 34px; height: 34px; }
  .sh-name b { font-size: 14.5px; }
  .sh-name small { font-size: 10.5px; }
  .sh-login { padding: 8px 12px; font-size: 13.5px; }
  .sh-login span { display: none; }
  .sh-login .i { width: 20px; height: 20px; }
  .sh-tools .sh-ic { display: none; }
  .tk-in { padding: 0 14px; height: 42px; }
  .tk-tag span { display: none; }
  .hero { padding-top: 14px; }
  .hero-in { padding: 0 14px; gap: 14px; }
  /* phones: the picture on top, the words under it (never over the art) */
  .slider { aspect-ratio: auto; border-radius: 16px; min-height: 0; }
  .sl-track { position: relative; height: calc((100vw - 28px) * .5625 + 226px); }
  .sl { display: flex; flex-direction: column; background: linear-gradient(180deg, var(--g2), var(--g1)); }
  .sl::after { display: none; }
  .sl-media { position: relative; inset: auto; flex: none; aspect-ratio: 16 / 9; }
  .sl-fallback .sl-art { top: 32%; }
  .sl-cap { position: static; padding: 12px 16px 60px; max-width: none; flex: 1; }
  .sl.no-cap .sl-media { flex: 1; aspect-ratio: auto; }
  .sl-fallback .sl-cap { flex: none; margin-top: auto; }
  .sl-cap h2 { text-shadow: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sl-cap p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; }
  .sl-cap p { margin: 4px 0 10px; }
  .sl-cap .btn-gold { padding: 7px 16px; font-size: 14px; }
  .sl-ctrl { left: 50%; right: auto; transform: translateX(-50%); top: auto; bottom: 10px; }
  .sl-art { width: 46%; left: 50%; right: auto; transform: translate(-50%, -62%); }
  .hero-side { grid-template-columns: minmax(0, 1fr); }
  .svc-in { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px; gap: 10px; scrollbar-width: none; }
  .svc-in::-webkit-scrollbar { display: none; }
  .svc-card { flex: 0 0 auto; width: 74%; max-width: 280px; scroll-snap-align: start; }
  .band { padding-top: 22px; }
  .band-in { padding: 0 14px; }
  .today-clock { font-size: 34px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .st { padding: 14px 10px; }
  .st-n { font-size: 28px; }
  .sec { padding: 48px 0; }
  .sec-in, .ph-in { padding: 0 14px; }
  .about-text { font-size: 16.5px; }
  .slogan { font-size: 17px; padding: 14px 16px; }
  .principal { padding: 22px 16px; border-radius: 20px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .aw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ct-map, .ct-map iframe { min-height: 280px; }
  .sf-in { grid-template-columns: minmax(0, 1fr); padding: 40px 14px 24px; gap: 24px; }
  .sf-bar-in { padding: 12px 14px 70px; }
  .post-body { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .tk-track { animation: none !important; }
  .tk-view { overflow-x: auto; }
  html.js .reveal { opacity: 1; transform: none; }
}
@media print {
  .sh, .tk, .totop, .sl-ctrl, .share, .sf-bar { display: none !important; }
  .hero, .ph { background: none; color: var(--ink); }
}
