/* ==========================================================================
   School website styles
   Colours live in :root — change them there to rebrand the whole site.
   ========================================================================== */
:root {
  --navy: #13315c;
  --navy-2: #1b4b8a;
  --gold: #f4b400;
  --gold-2: #dc9f00;
  --green: #2f9e6e;
  --coral: #d9302c;
  --sky: #4aa3df;
  --ink: #1f2937;
  --muted: #5b6575;
  --line: #e4e7ec;
  --bg: #fffdf8;
  --soft: #f1f6fc;
  --card: #fff;
  --radius: 16px;
  --shadow: 0 12px 32px -14px rgba(19, 49, 92, .28);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--coral); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 900; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mt { margin-top: 2.5rem; }
.req { color: var(--coral); }
.empty { color: var(--muted); padding: 1.5rem; text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* Top bar & header */
.topbar { background: var(--navy); color: #dbe6f5; font-size: .88rem; }
.topbar-inner { display: flex; gap: 1.5rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar-hours { margin-left: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff;
  box-shadow: 0 2px 14px rgba(19,49,92,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand img { border-radius: 10px; }
.brand strong { display: block; font-size: 1.2rem; font-weight: 900; line-height: 1.1; }
.brand small { display: block; font-size: .78rem; color: var(--muted); font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.site-nav li { position: relative; }
.site-nav > ul > li > a, .sub-toggle { display: block; padding: .55rem .8rem; border-radius: 10px; color: var(--navy); font: inherit;
  font-weight: 800; font-size: .97rem; text-decoration: none; background: none; border: 0; cursor: pointer; }
.sub-toggle::after { content: ""; display: inline-block; margin-left: .4rem; border: 5px solid transparent; border-top-color: currentColor; vertical-align: -.1em; }
.site-nav > ul > li > a:hover, .sub-toggle:hover, .site-nav li.active > a, .site-nav li.active > .sub-toggle { background: var(--soft); color: var(--navy-2); }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; list-style: none; margin: 0; padding: .5rem;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.sub a { display: block; padding: .5rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 700; }
.sub a:hover, .sub a[aria-current] { background: var(--soft); color: var(--navy-2); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--soft); border-radius: 12px; cursor: pointer; padding: 12px 11px; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); border-radius: 3px; margin: 4px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Flash messages */
.flashes { margin-top: 1rem; display: grid; gap: .5rem; }
.flash { position: relative; padding: .9rem 3rem .9rem 1.1rem; border-radius: 12px; font-weight: 700; }
.flash-success { background: #e5f6ee; color: #135c3c; border: 1px solid #b6e3cc; }
.flash-error { background: #fdecea; color: #8a2414; border: 1px solid #f6c3b8; }
.flash-close { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: inherit; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 4.5rem 0 7rem;
  background: radial-gradient(circle at 85% 15%, rgba(74,163,223,.35), transparent 40%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.hero::after { content: ""; position: absolute; inset: auto -10% -60px; height: 120px; background: var(--bg); border-radius: 50% 50% 0 0; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero .hl { color: var(--gold); position: relative; white-space: nowrap; }
.hero .lead { font-size: 1.15rem; color: #dbe6f5; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 25px 35px rgba(0,0,0,.25)); }
/* School photo blended into the hero background under a navy tint */
.hero-with-photo { background:
  linear-gradient(100deg, rgba(19,49,92,.97) 0%, rgba(19,49,92,.9) 45%, rgba(27,75,138,.72) 100%),
  var(--hero-photo) center 70% / cover no-repeat, var(--navy); }
.hero-badge { display: flex; justify-content: center; }
.hero-badge img { width: min(360px, 80%); height: auto; border-radius: 22%;
  filter: drop-shadow(0 25px 35px rgba(0,0,0,.4)); animation: badge-in .8s ease-out both; }
@keyframes badge-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.photo-strip a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.photo-strip a:hover img { transform: scale(1.06); }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-bottom: .7rem; }
.hero .eyebrow { color: var(--gold); background: rgba(255,255,255,.1); padding: .35rem .9rem; border-radius: 999px; }
.eyebrow-green { color: var(--green); }
.eyebrow-coral { color: var(--coral); }
.lead { font-size: 1.12rem; }

/* Stats */
.stats { position: relative; z-index: 2; margin-top: -5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 1.6rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2.2rem; font-weight: 900; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 700; font-size: .92rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 700px; margin-bottom: 2.4rem; }
.section-head-row { display: flex; justify-content: space-between; align-items: baseline; max-width: none; margin-bottom: 1.2rem; }
.section-head-row a { font-weight: 800; text-decoration: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-reverse > :first-child { order: 0; }
.center-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2.5rem; }
.stack { display: grid; gap: 1.2rem; }

/* Cards */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(19,49,92,.06); }
.quote-card { background: var(--navy); color: #fff; padding: 2.4rem; border-radius: var(--radius); position: relative; font-size: 1.15rem; font-weight: 700; }
.quote-card::before { content: "\201C"; position: absolute; top: -.3rem; right: 1.5rem; font-size: 7rem; line-height: 1; color: var(--gold); opacity: .5; font-family: Georgia, serif; }
.quote-card span { color: var(--gold); font-weight: 800; }
.quote-card-large { font-size: 1.05rem; font-weight: 600; }

.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.level { display: block; padding: 2rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  border-top: 6px solid var(--c); transition: transform .2s; }
.level:hover { transform: translateY(-6px); color: var(--ink); }
.level-green { --c: var(--green); } .level-blue { --c: var(--sky); } .level-coral { --c: var(--coral); }
.level-tag { display: inline-block; background: color-mix(in srgb, var(--c) 15%, white); color: var(--navy); font-weight: 800; font-size: .8rem; padding: .25rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.level h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.level-grades { font-weight: 900; color: var(--c); margin-bottom: .6rem; }
.level .link { font-weight: 800; color: var(--navy-2); display: inline-flex; align-items: center; gap: .3rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.features-5 { grid-template-columns: repeat(5, 1fr); }
.feature { background: #fff; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); }
.feature > .icon { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: #fff4d1; color: var(--navy); margin-bottom: 1rem; }
.feature:nth-child(3n+2) > .icon { background: #e1f3ea; }
.feature:nth-child(3n) > .icon { background: #fde6e0; }
.feature p { margin: 0; color: var(--muted); }

.mv-cards { display: grid; gap: 1.2rem; }
.mv { background: var(--soft); padding: 1.6rem; border-radius: var(--radius); border-left: 5px solid var(--gold); }
.mv .icon { width: 30px; height: 30px; color: var(--navy-2); margin-bottom: .5rem; }
.mv p { margin: 0; }
.checklist { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; }
.checklist .icon { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: .15rem; }

.subject-card { padding: 1.6rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { background: var(--soft); color: var(--navy); font-weight: 700; padding: .4rem .85rem; border-radius: 999px; font-size: .92rem; }
.section-soft .tags li { background: #fff4d1; }

/* News & events */
.news-events { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-grid-home { grid-template-columns: 1fr; }
.news-grid-home .news-card { display: grid; grid-template-columns: 150px 1fr; }
.news-grid-home .news-thumb { aspect-ratio: auto; height: 100%; }
.news-card { overflow: hidden; display: flex; flex-direction: column; }
.news-thumb { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy-2), var(--sky)); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.thumb-placeholder strong { font-size: 2.2rem; line-height: 1; }
.news-card:nth-child(3n+2) .news-thumb { background: linear-gradient(135deg, var(--green), #8bc34a); }
.news-card:nth-child(3n) .news-thumb { background: linear-gradient(135deg, var(--coral), var(--gold)); }
.card-body { padding: 1.2rem 1.4rem 1.4rem; }
.card-body time { color: var(--coral); font-weight: 800; font-size: .85rem; }
.card-body h3 { margin: .3rem 0 .4rem; }
.card-body h3 a { color: var(--navy); text-decoration: none; }
.card-body h3 a:hover { color: var(--coral); }
.card-body p { margin: 0; color: var(--muted); font-size: .96rem; }

.events-list { padding: .5rem 1.4rem; }
.event { display: flex; gap: 1.1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.event:last-child { border-bottom: 0; }
.event-date { flex: 0 0 62px; height: 66px; border-radius: 12px; background: var(--gold); color: var(--navy); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.event-date span { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.event-date strong { font-size: 1.6rem; line-height: 1; font-weight: 900; }
.events-past .event-date { background: var(--line); }
.event-info h3 { margin: 0 0 .2rem; }
.event-info p { margin: 0; color: var(--muted); font-size: .95rem; }
.event-info .meta { color: var(--navy-2); font-weight: 700; font-size: .9rem; margin-bottom: .3rem; }

.article .meta { color: var(--coral); font-weight: 800; display: flex; align-items: center; gap: .4rem; }
.article-image { border-radius: var(--radius); margin-bottom: 1.5rem; width: 100%; }
.article p { font-size: 1.08rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2.5rem; font-weight: 800; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, #b71c1c, var(--coral)); color: #fff; padding: 3.5rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Page header */
.page-header { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 3rem 0 3.3rem; position: relative; overflow: hidden; }
.page-header::after { content: ""; position: absolute; width: 340px; height: 340px; right: -80px; top: -120px; border-radius: 50%; background: rgba(244,180,0,.18); }
.page-header h1 { color: #fff; margin-bottom: .3rem; position: relative; }
.page-header p { color: #dbe6f5; font-size: 1.12rem; margin: 0; max-width: 680px; position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; font-weight: 700; color: #b9cbe6; margin-bottom: .8rem; position: relative; }
.crumbs a { color: var(--gold); text-decoration: none; }

/* Admissions */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 900; font-size: 1.2rem; margin-bottom: .9rem; }
.steps p { margin: 0; color: var(--muted); }
.info-card { padding: 1.8rem; }
.simple-table { width: 100%; border-collapse: collapse; margin-bottom: .6rem; }
.simple-table td { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.simple-table td:last-child { text-align: right; font-weight: 700; }
.info-links { display: grid; gap: .5rem; margin-top: 1rem; }
.info-links a { display: flex; gap: .5rem; align-items: center; font-weight: 800; text-decoration: none; }

/* Forms */
.form { padding: 2rem; display: grid; gap: 1.1rem; }
.form h2 { margin: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 .6rem; display: grid; gap: 1.1rem; }
legend { font-weight: 900; color: var(--navy); font-size: 1.15rem; margin-bottom: 1rem; padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .35rem; font-weight: 700; font-size: .95rem; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1.5px solid #cfd6e0; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(27,75,138,.12); }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; }
.form .check input { width: 20px; height: 20px; margin-top: .2rem; flex-shrink: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Fees */
.fee-block { margin-bottom: 2.5rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.fee-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.fee-table th { background: var(--navy); color: #fff; text-align: left; padding: .9rem 1rem; font-weight: 800; }
.fee-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.fee-table tbody tr:nth-child(even) { background: #fafbfd; }
.fee-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pay-card { padding: 1.8rem; }
.pay-card ol, .pay-card ul { padding-left: 1.2rem; margin: 0; display: grid; gap: .4rem; }
.pay-card dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0 0 1rem; }
.pay-card dt { color: var(--muted); }
.pay-card .mt-sm { margin-top: 1.4rem; }
.notice { margin: 2rem 0 0; padding: 1rem 1.3rem; border-radius: 12px; background: #fdecea; color: #8a2414; border: 1px solid #f6c3b8; text-align: center; }
.fee-block h2 small { font-size: .55em; font-weight: 700; }
.pay-card dd { margin: 0; font-weight: 800; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip { font: inherit; font-weight: 800; padding: .5rem 1.1rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.chip.active, .chip:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.gallery-item[hidden] { display: none; }
.gallery-item a { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item a:hover img { transform: scale(1.06); }
.gallery-item figcaption { padding: .7rem 1rem; font-weight: 700; font-size: .95rem; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 20, 40, .9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 86vw; max-height: 80vh; border-radius: 10px; margin: auto; }
.lightbox figcaption { color: #fff; font-weight: 700; margin-top: .8rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.3); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; }
.lb-next { right: 1.2rem; top: 50%; }

/* Staff */
.staff-group { margin-bottom: 3rem; }
.staff-group h2 { border-bottom: 3px solid var(--gold); display: inline-block; padding-bottom: .3rem; margin-bottom: 1.5rem; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; }
.staff-card { padding: 1.8rem 1.4rem; text-align: center; }
.avatar { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 4px solid #fff4d1; }
.avatar-initials { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-2), var(--sky)); color: #fff; font-size: 2rem; font-weight: 900; }
.staff-card:nth-child(3n+2) .avatar-initials { background: linear-gradient(135deg, var(--green), #8bc34a); }
.staff-card:nth-child(3n) .avatar-initials { background: linear-gradient(135deg, var(--coral), var(--gold)); }
.staff-card h3 { margin-bottom: .1rem; }
.staff-card .role { color: var(--coral); font-weight: 800; font-size: .92rem; }
.staff-card p:last-child { color: var(--muted); font-size: .93rem; margin: 0; }

/* Downloads */
.download-group { margin-bottom: 2.5rem; }
.download-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.download { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.4rem; }
.download > div { flex: 1; }
.download h3 { margin: 0 0 .1rem; }
.download p { margin: 0; color: var(--muted); font-size: .95rem; }
.download .meta { font-size: .85rem; margin-top: .2rem; }
.file-badge { flex: 0 0 56px; height: 64px; border-radius: 10px; display: grid; place-items: center; background: #fde6e0; color: var(--coral); font-weight: 900; font-size: .85rem; }

/* FAQ */
.faq-list { display: grid; gap: .9rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.4rem; font-weight: 800; color: var(--navy); list-style: none; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--coral); }
.faq[open] summary::after { content: "−"; }
.faq[open] summary { background: var(--soft); }
.faq-answer { padding: 1rem 1.4rem .3rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; padding: 1.3rem; }
.contact-item > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff4d1; color: var(--navy); }
.contact-item h3 { margin: 0 0 .2rem; }
.contact-item p { margin: 0; color: var(--muted); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Legal */
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose ul { padding-left: 1.3rem; display: grid; gap: .4rem; margin-bottom: 1rem; }

/* Error */
.error-page { text-align: center; }
.error-code { font-size: 6rem; font-weight: 900; color: var(--gold); line-height: 1; margin: 0; }

/* Footer */
.site-footer { background: #0e2442; color: #b9c7da; padding-top: 3.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #dbe6f5; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.brand-light { color: #fff; margin-bottom: 1rem; }
.brand-light small { color: #b9c7da; }
.footer-contact li { display: flex; gap: .6rem; }
.footer-contact .icon { color: var(--gold); margin-top: .25rem; }
.social { display: flex; gap: .6rem; flex-wrap: wrap; }
.social a { padding: .35rem .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .88rem; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.1rem 0; font-size: .88rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom-inner span:last-child { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff; flex-direction: column; align-items: stretch;
    padding: 5rem 1.2rem 2rem; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; overflow-y: auto; z-index: 40; }
  .site-nav.open { transform: none; visibility: visible; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li > a, .sub-toggle { width: 100%; text-align: left; padding: .8rem 1rem; }
  .sub { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .nav-cta { justify-content: center; margin-top: 1rem; }
  .nav-toggle { position: relative; z-index: 45; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10,20,40,.4); z-index: 30; }
  .features-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero { padding: 3rem 0 6.5rem; }
  .hero-inner, .split, .news-events, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { max-width: 420px; }
  .split-reverse > :first-child { order: 2; }
  .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); }
  .levels, .news-grid, .pay-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .hero-badge { order: -1; }
  .hero-badge img { width: min(200px, 55%); }
  .features, .features-5, .steps { grid-template-columns: 1fr 1fr; }
  .topbar-hours { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 2rem); }
  .section { padding: 3.2rem 0; }
  .brand small { display: none; }
  .features, .features-5, .steps, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .news-grid-home .news-card { grid-template-columns: 1fr; }
  .news-grid-home .news-thumb { aspect-ratio: 16 / 7; }
  .form { padding: 1.4rem; }
  .download { flex-wrap: wrap; }
  .download .btn { width: 100%; justify-content: center; }
  .topbar-inner { justify-content: center; gap: .3rem 1rem; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
