/* Landmark public website — brand: sky blue, sun orange, charcoal. RTL/LTR via logical properties. */
:root {
  --blue: #0b8fd0;
  --blue-bright: #00adef;
  --blue-deep: #075a85;
  --navy: #0b2233;
  --orange: #f7941d;
  --orange-deep: #d8740c;
  --charcoal: #1d2327;
  --ink: #15212b;
  --muted: #5b6b78;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --card: #ffffff;
  --success: #12805c;
  --danger: #c0392b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(11, 34, 51, .08);
  --shadow-lg: 0 24px 60px rgba(11, 34, 51, .14);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.lang-ar { --font: "Tajawal", system-ui, "Segoe UI", Tahoma, Arial, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 16px; overflow-x: hidden; }
.lang-ar body, body.lang-ar { font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--navy); font-weight: 800; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lang-ar h1, .lang-ar h2 { letter-spacing: 0; }
.muted { color: var(--muted); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.icon { flex: none; }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
.back-link .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .back-link .icon-arrow { transform: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-family: inherit; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease; text-align: center; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(11, 143, 208, .3); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-accent { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff; box-shadow: 0 8px 22px rgba(247, 148, 29, .35); }
.btn-accent:hover { color: #fff; box-shadow: 0 12px 28px rgba(247, 148, 29, .45); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { color: #fff; background: #a93226; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 34, 51, .08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.brand-text small { font-size: .78rem; color: var(--muted); font-weight: 500; }
.brand-light strong { color: #fff; }
.brand-light small { color: #9fb3c2; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav ul a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .98rem; position: relative; }
.main-nav ul a:hover { color: var(--blue); background: var(--bg-soft); }
.main-nav ul a.active { color: var(--blue); }
.main-nav ul a.active::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; }
.lang-switch:hover { border-color: var(--blue); color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; border-radius: 10px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 12px; background: #fff; padding: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s ease; max-height: calc(100vh - 76px); overflow-y: auto; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 12px 14px; font-size: 1.05rem; }
  .main-nav ul a.active::after { display: none; }
  .main-nav ul a.active { background: var(--bg-soft); }
  .nav-actions { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
}

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 85% -10%, rgba(0, 173, 239, .55), transparent 60%),
  radial-gradient(700px 500px at 10% 110%, rgba(247, 148, 29, .35), transparent 60%),
  linear-gradient(135deg, #0b2233 0%, #0a3a57 55%, #0b5f8a 100%); }
[dir="rtl"] .hero-bg { transform: scaleX(-1); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 88px 0 110px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero .lead { font-size: 1.15rem; color: #d7e6f0; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--orange-deep); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.lang-ar .kicker { text-transform: none; letter-spacing: 0; font-size: .98rem; }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--orange); }
.kicker-light { color: #ffd29a; background: rgba(255, 255, 255, .1); padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); }
.kicker-light::before { display: none; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(247, 148, 29, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(247, 148, 29, 0); } }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.sun-rays { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(247, 148, 29, .0), rgba(247, 148, 29, .35), rgba(0, 173, 239, .0), rgba(0, 173, 239, .35), rgba(247, 148, 29, .0)); filter: blur(30px); animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.emblem { position: relative; width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; background: #fff; padding: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 0 0 10px rgba(255, 255, 255, .08), 0 0 0 22px rgba(255, 255, 255, .04); }
.emblem img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--navy); padding: 12px 16px; border-radius: 14px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.float-card .icon { color: var(--blue); }
.fc-1 { inset-inline-start: -10px; top: 18%; }
.fc-2 { inset-inline-end: -6px; bottom: 14%; animation-delay: -3s; }
.fc-2 .icon { color: var(--orange-deep); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Stats */
.stats-band { position: relative; margin-top: -56px; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 18px; gap: 4px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(11, 143, 208, .1); color: var(--blue); margin-bottom: 6px; }
.stat:nth-child(even) .stat-icon { background: rgba(247, 148, 29, .12); color: var(--orange-deep); }
.stat-value { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-weight: 600; }
.stats-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .88rem; margin: 14px 0 0; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 60ch; margin: 0; }
.empty-state { background: var(--bg-soft); border: 1px dashed #c8d6e2; border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-copy p { color: #3d4c58; font-size: 1.05rem; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar:nth-child(2) { transform: translateY(24px); }
.pillar:nth-child(4) { transform: translateY(24px); }
.pillar:nth-child(2):hover, .pillar:nth-child(4):hover { transform: translateY(20px); }
.pillar p { color: var(--muted); margin: 0; font-size: .97rem; }
.pillar-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, rgba(0, 173, 239, .15), rgba(11, 143, 208, .08)); color: var(--blue); margin-bottom: 14px; }
.pillar:nth-child(even) .pillar-icon, .contact-card:nth-child(even) .pillar-icon { background: linear-gradient(135deg, rgba(247, 148, 29, .18), rgba(247, 148, 29, .06)); color: var(--orange-deep); }

/* Programs journey */
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; position: relative; }
.journey-step { position: relative; display: block; background: #fff; border-radius: var(--radius); padding: 28px 24px; color: var(--ink); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.journey-step::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: var(--kind, var(--blue)); }
.journey-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.journey-num { position: absolute; inset-inline-end: 18px; top: 14px; font-size: 3rem; font-weight: 800; color: rgba(11, 34, 51, .06); line-height: 1; }
.journey-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: color-mix(in srgb, var(--kind, var(--blue)) 14%, #fff); color: var(--kind, var(--blue)); margin-bottom: 16px; flex: none; }
.journey-step h3 { margin-bottom: 2px; }
.journey-step .muted { margin: 0 0 14px; font-size: .95rem; }
.kind-kindergarten { --kind: #e2558b; }
.kind-primary { --kind: #f7941d; }
.kind-middle { --kind: #00a3a3; }
.kind-secondary { --kind: #0b8fd0; }
.kind-other { --kind: #6c5ce7; }
.meta-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.meta-list li { font-size: .85rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--navy); }

/* Programs page */
.page-hero { background: linear-gradient(135deg, #0b2233, #0a4566 60%, #0b6a9a); color: #fff; padding: 72px 0 80px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 148, 29, .45), transparent 65%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #d0e1ec; font-size: 1.1rem; max-width: 62ch; margin: 0; }
.page-hero-sm { padding: 56px 0 60px; }
.page-hero time, .article time { display: inline-flex; align-items: center; gap: 6px; color: #bcd3e2; font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: #ffd29a; font-weight: 700; margin-bottom: 14px; }
.back-link:hover { color: #fff; }
.branch-title { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--blue-deep); }
.program-list { display: grid; gap: 28px; }
.program-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-inline-start: 6px solid var(--kind, var(--blue)); scroll-margin-top: 100px; }
.program-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.program-head .journey-icon { margin: 0; }
.program-head h2 { font-size: 1.6rem; margin: 0; }
.program-head .muted { margin: 0; }
.program-head .meta-list { margin-inline-start: auto; }
.stage { padding: 18px 0; border-top: 1px solid var(--line); }
.stage h3 { font-size: 1.05rem; color: var(--blue-deep); margin-bottom: 12px; }
.grade-track { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: g; }
.grade-track li { counter-increment: g; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 12px; background: var(--bg-soft); font-weight: 600; }
[dir="rtl"] .grade-track li { padding: 8px 8px 8px 14px; }
.grade-track li::before { content: counter(g); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--kind, var(--blue)); color: #fff; font-size: .8rem; font-weight: 800; }
.subjects { padding-top: 18px; border-top: 1px solid var(--line); }
.subjects h4 { display: flex; align-items: center; gap: 8px; font-size: 1rem; color: var(--navy); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; background: #fff; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-media { aspect-ratio: 16 / 9; background: var(--bg-soft); display: block; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-media img { transform: scale(1.04); }
.news-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0, 173, 239, .12), rgba(247, 148, 29, .12)); }
.news-placeholder img { width: 72px; height: 72px; opacity: .8; border-radius: 50%; }
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-body time { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.news-body h3 a { color: var(--navy); }
.news-body h3 a:hover { color: var(--blue); }
.news-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; font-weight: 700; }
.article-body { padding: 48px 0 80px; font-size: 1.1rem; }
.article-body p { color: #33424e; }
.article-image { border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow); width: 100%; }

/* CTA */
.cta-band { padding: 0 0 96px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 48px; border-radius: 28px; color: #fff; background: radial-gradient(600px 300px at 100% 0%, rgba(247, 148, 29, .5), transparent 60%), linear-gradient(135deg, #0b5f8a, #0b2233); box-shadow: var(--shadow-lg); }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { color: #d0e1ec; margin: 0; font-size: 1.08rem; }

/* Forms */
.admission-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 32px; align-items: start; }
.steps-card { position: sticky; top: 100px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; background-image: radial-gradient(400px 200px at 100% 0, rgba(0, 173, 239, .35), transparent 70%); }
.steps-card h2 { color: #fff; font-size: 1.4rem; }
.steps { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 16px; }
.steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: #dbe8f1; }
.steps li span { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--orange); font-weight: 800; }
.contact-line { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; margin-top: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.contact-line:hover { color: var(--navy); background: #fff; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form legend { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; padding: 0; display: flex; align-items: center; gap: 10px; }
.form legend::before { content: ""; width: 6px; height: 22px; border-radius: 4px; background: var(--orange); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 700; font-size: .95rem; color: var(--navy); }
.req { color: var(--danger); }
input, select, textarea { font: inherit; color: var(--ink); width: 100%; padding: 12px 14px; border: 1.5px solid #d3dee8; border-radius: var(--radius-sm); background: #fbfdff; transition: border-color .15s ease, box-shadow .15s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 143, 208, .15); background: #fff; }
input[type="checkbox"], input[type="radio"] { width: auto; }
textarea { resize: vertical; }
.segmented { display: flex; gap: 10px; }
.segmented label { flex: 1; position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: block; text-align: center; padding: 11px; border: 1.5px solid #d3dee8; border-radius: var(--radius-sm); font-weight: 700; transition: .15s; }
.segmented input:checked + span { border-color: var(--blue); background: rgba(11, 143, 208, .08); color: var(--blue-deep); }
.segmented input:focus-visible + span { outline: 3px solid var(--orange); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-weight: 600; }
.alert-success { background: #e8f7f0; color: var(--success); border: 1px solid #b9e6d2; }
.alert-error { background: #fdecea; color: var(--danger); border: 1px solid #f5c6c0; display: block; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-bottom: 32px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-card h3 { margin-bottom: 6px; }
.contact-card a { font-weight: 700; word-break: break-word; }
.contact-card p { margin: 0; }
.location { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.location-text { padding: 36px; }
.location-map { min-height: 340px; background: var(--bg-soft); }
.location-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-placeholder { height: 100%; min-height: 340px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0, 173, 239, .12), rgba(247, 148, 29, .12)); }
.map-placeholder img { border-radius: 50%; opacity: .7; }

/* Footer */
.site-footer { background: var(--charcoal); color: #b8c6d0; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { margin-top: 16px; max-width: 40ch; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #d7e2ea; }
.site-footer a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--orange); margin-top: 4px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer-meta { display: flex; gap: 18px; flex-wrap: wrap; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .pillar.reveal.in:nth-child(2), .js .pillar.reveal.in:nth-child(4) { transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 96px; text-align: center; gap: 24px; }
  .hero .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 300px; order: -1; }
  .emblem { width: 220px; }
  .sun-rays { width: 300px; height: 300px; }
  .float-card { display: none; }
  .about-grid, .admission-grid, .location { grid-template-columns: 1fr; }
  .steps-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 10px; }
  .stat + .stat { border-inline-start: 0; }
  .stat:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(2), .pillar:nth-child(4), .js .pillar.reveal.in:nth-child(2), .js .pillar.reveal.in:nth-child(4) { transform: none; }
  .form fieldset { grid-template-columns: 1fr; }
  .form-card, .program-card, .cta-inner, .location-text { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .program-head .meta-list { margin-inline-start: 0; }
}
