/* =========================================================
   Unique Public School — main stylesheet
   Edit the colour tokens below to re-theme the whole site.
   ========================================================= */
:root {
  --navy: #0e2a47;
  --navy-2: #163a5f;
  --gold: #c99a2e;
  --gold-soft: #f3e6c4;
  --cream: #faf7f0;
  --ink: #1d2733;
  --muted: #5d6b7a;
  --line: #e5e0d4;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 42, 71, 0.10);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: 90px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--navy); color: #d9e2ec; }
.section.dark h2, .section.dark h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--muted); }
.section.dark .section-head p { color: #b8c6d4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #b2861f; }
.btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c6d3e0; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; flex-wrap: wrap; }
.topbar .info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; fill: var(--gold); }
.topbar .notice { color: var(--gold-soft); font-weight: 500; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(14,42,71,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 54px; height: 54px; flex-shrink: 0; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); line-height: 1.1; }
.brand-text small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav a { font-weight: 500; font-size: .95rem; color: var(--ink); position: relative; padding: 6px 0; }
.nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .25s;
}
.nav ul a:hover::after, .nav ul a.active::after { width: 100%; }
.nav ul a.active { color: var(--navy); font-weight: 600; }
.nav .btn { padding: 10px 22px; color: var(--white); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  color: var(--white); overflow: hidden; background: var(--navy);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,42,71,.92) 0%, rgba(14,42,71,.72) 45%, rgba(14,42,71,.25) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.5vw, 4rem); margin-bottom: 20px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p { font-size: 1.15rem; color: #dbe5ef; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 5; margin-top: -60px; }
.stats-grid {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.stat { padding: 32px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--serif); font-size: 2.5rem; color: var(--navy); font-weight: 700; line-height: 1; }
.stat .num span { color: var(--gold); }
.stat .label { color: var(--muted); font-size: .9rem; margin-top: 8px; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.split p { color: var(--muted); }
.img-stack { position: relative; }
.img-stack .main { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; background: var(--gold-soft); }
.img-stack .badge {
  position: absolute; bottom: -26px; right: -18px;
  background: var(--gold); color: var(--white); padding: 22px 26px; border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center;
}
.img-stack .badge strong { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.img-stack .badge small { font-size: .8rem; letter-spacing: .05em; }
.check-list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check-list li::before {
  content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold); font-size: .8rem; font-weight: 700;
  display: grid; place-items: center; margin-top: 2px;
}

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature .icon {
  width: 56px; height: 56px; border-radius: 12px; background: var(--navy);
  display: grid; place-items: center; margin-bottom: 20px;
}
.feature .icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.25rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Program cards ---------- */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.program { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.program .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--gold-soft); }
.program .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.program:hover .thumb img { transform: scale(1.07); }
.program .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.program .grade { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.program h3 { font-size: 1.2rem; margin-bottom: 8px; }
.program p { color: var(--muted); font-size: .92rem; flex: 1; }
.program .more { color: var(--navy); font-weight: 600; font-size: .9rem; }
.program .more:hover { color: var(--gold); }

/* ---------- Facilities gallery ---------- */
.facility-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.facility { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); }
.facility.wide { grid-column: span 2; }
.facility.tall { grid-row: span 2; }
.facility img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.facility:hover img { transform: scale(1.06); }
.facility .cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px;
  background: linear-gradient(transparent, rgba(14,42,71,.9)); color: var(--white);
}
.facility .cap h4 { color: var(--white); font-size: 1.1rem; margin: 0; }
.facility .cap span { font-size: .85rem; color: #d0dbe6; }

/* ---------- Principal message ---------- */
.principal { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: center; }
.principal img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; border: 6px solid rgba(255,255,255,.08); background: var(--navy-2); }
.principal blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--white); font-style: italic; position: relative; }
.principal blockquote::before { content: "\201C"; font-size: 5rem; color: var(--gold); position: absolute; top: -50px; left: -6px; line-height: 1; }
.principal .sign { margin-top: 26px; }
.principal .sign strong { display: block; color: var(--gold); font-size: 1.1rem; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial p { color: var(--muted); font-style: italic; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-family: var(--serif); }
.testimonial .who strong { display: block; color: var(--navy); }
.testimonial .who small { color: var(--muted); }

/* ---------- News & events ---------- */
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.news-card { display: grid; grid-template-columns: 1fr; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.news-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--gold-soft); }
.news-card .body { padding: 28px; }
.news-card .meta { font-size: .82rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.events { display: flex; flex-direction: column; gap: 16px; }
.event { display: flex; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: border-color .2s; }
.event:hover { border-color: var(--gold); }
.event .date { flex-shrink: 0; width: 70px; height: 70px; border-radius: 12px; background: var(--navy); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.event .date strong { font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.event .date small { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.event h4 { font-size: 1.05rem; margin: 0 0 4px; }
.event p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; padding: 90px 0; color: var(--white); text-align: center; overflow: hidden; background: var(--navy);
}
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(14,42,71,.85); }
.cta .container { position: relative; z-index: 2; max-width: 760px; }
.cta h2 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.cta p { color: #d4dfea; font-size: 1.1rem; margin-bottom: 30px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 110px 0 90px; color: var(--white); background: var(--navy); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,42,71,.93), rgba(14,42,71,.6)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 10px; }
.breadcrumb { font-size: .9rem; color: #c6d3e0; }
.breadcrumb a { color: var(--gold); }

/* ---------- Generic content blocks ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: var(--white); border-radius: var(--radius); padding: 34px; border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.value-card h3 { font-size: 1.3rem; }
.value-card p { color: var(--muted); margin: 0; }

.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 34px; border-left: 2px solid var(--gold-soft); }
.timeline .item { position: relative; margin-bottom: 36px; }
.timeline .item::before { content: ""; position: absolute; left: -43px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--gold); }
.timeline .year { font-family: var(--serif); font-weight: 700; color: var(--gold); font-size: 1.1rem; }
.timeline h4 { font-size: 1.2rem; margin: 2px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { text-align: center; }
.member img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; width: 100%; background: var(--gold-soft); }
.member h4 { margin: 0; font-size: 1.1rem; }
.member small { color: var(--gold); font-weight: 600; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 560px; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: var(--white); font-weight: 600; font-size: .9rem; letter-spacing: .03em; }
tr:last-child td { border-bottom: 0; }
tr:nth-child(even) td { background: var(--cream); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--gold-soft); display: block; line-height: 1; margin-bottom: 12px; }
.step h4 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doc-list li { background: var(--white); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 8px; box-shadow: 0 2px 10px rgba(14,42,71,.05); }

/* Gallery page */
.filter-bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-bar button { border: 1px solid var(--line); background: var(--white); padding: 9px 20px; border-radius: 999px; font: inherit; font-weight: 500; cursor: pointer; transition: .2s; }
.filter-bar button.active, .filter-bar button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; background: var(--gold-soft); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgba(14,42,71,.85)); color: var(--white); font-weight: 500; font-size: .92rem; }
.gallery figure.hide { display: none; }
.lightbox { position: fixed; inset: 0; background: rgba(8,20,35,.94); display: none; align-items: center; justify-content: center; z-index: 200; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 85vh; border-radius: 10px; }
.lightbox button { position: absolute; top: 20px; right: 26px; background: none; border: 0; color: var(--white); font-size: 2.4rem; cursor: pointer; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
.contact-info { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; background: var(--white); padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-item .icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; }
.contact-item .icon svg { width: 22px; height: 22px; fill: var(--gold); }
.contact-item h4 { margin: 0 0 4px; font-size: 1.05rem; }
.contact-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.form-card { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; background: var(--cream); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.form-msg { display: none; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.form-msg.ok { display: block; background: #e6f4ea; color: #1e6b34; }
.form-msg.err { display: block; background: #fdecea; color: #a02a1f; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 60px; }
.map iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1f36; color: #a9b8c8; padding: 80px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand-text strong { color: var(--white); }
.footer-about p { margin-top: 18px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--gold); }
.socials svg { width: 16px; height: 16px; fill: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

.back-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--white); display: grid; place-items: center; font-size: 1.2rem;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 60; border: 0; cursor: pointer;
}
.back-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .programs, .team { grid-template-columns: repeat(2, 1fr); }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 82px 0 auto 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 10px 20px 24px; gap: 14px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(14,42,71,.1); transform: translateY(-130%); transition: transform .35s; z-index: -1; }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav .btn { justify-content: center; }
  .menu-toggle { display: block; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .split, .principal, .news-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .principal img { max-width: 340px; }
  .features, .testimonials, .cards-3, .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .topbar .notice { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .container { width: calc(100% - 32px); }
  .features, .testimonials, .cards-3, .programs, .team, .gallery, .steps, .footer-grid, .form-row, .check-list { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .facility.wide, .facility.tall { grid-column: auto; grid-row: auto; }
  .hero { min-height: 80vh; }
  .img-stack .badge { right: 10px; }
  .form-card { padding: 26px; }
  .brand-text strong { font-size: 1.1rem; }
  .topbar .info span.hide-sm { display: none; }
}
