/* Defence Public School, Jodhpur — site styles */

:root {
  --navy-950: #0A1730;
  --navy-900: #0E1F3D;
  --navy-800: #142B52;
  --navy-700: #1B3A6B;
  --navy-100: #E8EEF8;
  --indigo: #3B3A9A;
  --gold-500: #F2B705;
  --gold-400: #F8C93A;
  --gold-100: #FFF4D2;
  --gold-ink: #7A5600;
  --saffron: #FF9933;
  --green: #138808;
  --cream: #FBF7EE;
  --paper: #FFFFFF;
  --ink: #18202F;
  --muted: #586174;
  --line: #E3E7EE;
  --radius: 14px;
  --shadow-1: 0 1px 2px rgba(10, 23, 48, .06), 0 6px 18px rgba(10, 23, 48, .06);
  --shadow-2: 0 18px 48px rgba(10, 23, 48, .14);
  --font-head: "Oswald", "Hind", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Hind", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 3vw, 32px);
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--indigo); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--navy-900);
  margin: 0 0 .55em;
}
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
[hidden] { display: none !important; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.icon {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -.15em;
}
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--gold-500); color: var(--navy-950); padding: 10px 18px; border-radius: 8px; font-weight: 800;
}
.skip-link:focus { left: 12px; }
.center { text-align: center; }
.mt-l { margin-top: 40px; }
.lang-hi, [lang="hi"] { font-family: "Hind", var(--font-body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: .85em 1.5em;
  border: 2px solid transparent; border-radius: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; line-height: 1.2;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-400); color: var(--navy-950); box-shadow: 0 10px 26px rgba(242, 183, 5, .35); }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; box-shadow: 0 10px 26px rgba(14, 31, 61, .25); }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy-900); }
.btn-outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn-outline:hover { background: var(--navy-700); color: #fff; }
.btn-wa { background: #1FAF55; color: #fff; }
.btn-wa:hover { background: #18984A; color: #fff; }
.btn-sm { font-size: .9rem; padding: .62em 1.1em; }
.btn .icon { width: 1.15em; height: 1.15em; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-cream { background: var(--cream); }
.section-navy {
  background-color: var(--navy-900);
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0);
  background-size: 22px 22px;
  color: rgba(255, 255, 255, .88);
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-body); font-weight: 800; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--indigo);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--gold-500); }
.section-navy .eyebrow, .cta-band .eyebrow, .page-hero .eyebrow { color: var(--gold-400); }
.title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-navy .lead { color: rgba(255, 255, 255, .8); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Top of page ---------- */
.tricolour { height: 4px; background: linear-gradient(90deg, var(--saffron) 0 33.34%, #fff 33.34% 66.67%, var(--green) 66.67%); }
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .82); font-size: .86rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--gold-400); }
.topbar-contact, .topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-contact a, .topbar-loc { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { color: var(--gold-400); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(10, 23, 48, .10); }
.navbar-inner { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; text-decoration: none; }
.brand img { width: 56px; }
.brand-name {
  display: block;
  font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; line-height: 1.1;
  letter-spacing: .03em; text-transform: uppercase; color: var(--navy-900);
}
.brand-sub { display: block; margin-top: 3px; font-size: .76rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a {
  position: relative; display: block; padding: 8px 9px;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: var(--navy-900);
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 1px; height: 3px; border-radius: 2px;
  background: var(--gold-500); transform: scaleX(0); transition: transform .25s ease;
}
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); }
.site-nav ul a.is-active { color: var(--indigo); }
.site-nav .nav-index { display: none; }
.site-nav-extra { display: none; }
.nav-cta { padding: .7em 1.2em; font-size: .95rem; }
.nav-toggle { display: none; }

/* ---------- News ticker ---------- */
.ticker { display: flex; align-items: stretch; background: var(--gold-500); color: var(--navy-950); font-weight: 700; font-size: .95rem; }
.ticker-label {
  position: relative; z-index: 1; flex: none;
  display: flex; align-items: center; gap: 8px; padding: 10px 18px;
  background: var(--navy-950); color: var(--gold-400);
  font-family: var(--font-head); font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.ticker-viewport { overflow: hidden; flex: 1; min-width: 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker-list li { position: relative; padding: 10px 30px 10px 26px; white-space: nowrap; }
.ticker-list li::before { content: "★"; position: absolute; left: 4px; top: 10px; font-size: .8em; opacity: .55; }
.ticker a { color: inherit; text-decoration: none; }
.ticker a:hover { text-decoration: underline; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(540px, 82vh, 760px);
  background: var(--navy-950); color: #fff;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 7.5s ease-out; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide figcaption {
  position: absolute; right: var(--gutter); bottom: 26px;
  padding: 6px 12px; border-radius: 6px;
  background: rgba(10, 23, 48, .55); color: rgba(255, 255, 255, .9);
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 23, 48, .94) 0%, rgba(10, 23, 48, .78) 38%, rgba(10, 23, 48, .25) 72%, rgba(10, 23, 48, .1) 100%),
    linear-gradient(0deg, rgba(10, 23, 48, .65) 0%, transparent 35%);
}
.hero-content { padding: 72px 0 120px; }
.hero-content > * { max-width: 640px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; margin-bottom: 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  font-size: .9rem; font-weight: 700; letter-spacing: .02em;
}
.hero-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 0 rgba(242, 183, 5, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(242, 183, 5, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 183, 5, 0); } }
.hero h1 {
  color: #fff; font-size: clamp(2.6rem, 6.4vw, 4.8rem); line-height: 1.02;
  text-transform: uppercase; letter-spacing: .015em; margin-bottom: 22px;
}
.hero h1 span { color: var(--gold-500); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .86); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 84px; display: flex; gap: 10px; }
.hero-dot { width: 34px; height: 5px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background-color .3s, width .3s; }
.hero-dot[aria-current="true"] { width: 54px; background: var(--gold-500); }

/* Highlights under the hero */
.highlights {
  position: relative; z-index: 3; margin-top: -64px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-2); overflow: hidden;
}
.highlight { display: flex; gap: 16px; padding: 28px 26px; border-right: 1px solid var(--line); }
.highlight:last-child { border-right: 0; }
.highlight-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-100); color: var(--navy-700); }
.highlight-icon .icon { width: 24px; height: 24px; }
.highlight h3 { font-size: 1.12rem; margin: 2px 0 4px; }
.highlight p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* ---------- About collage ---------- */
.collage { position: relative; padding: 0 44px 60px 0; }
.collage-main { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-2); }
.collage-sub {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 7px solid #fff; border-radius: 16px; box-shadow: var(--shadow-2);
}
.collage-badge {
  position: absolute; left: -14px; top: 26px;
  padding: 14px 20px; border-radius: 12px; text-align: center;
  background: var(--gold-500); color: var(--navy-950); box-shadow: var(--shadow-1);
}
.collage-badge .hi { display: block; font-family: "Hind", sans-serif; font-weight: 600; font-size: 1.3rem; line-height: 1.3; }
.collage-badge small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.vision {
  margin: 0 0 24px; padding: 18px 22px;
  border-left: 4px solid var(--gold-500); border-radius: 0 12px 12px 0;
  background: var(--cream); color: var(--navy-800); font-size: 1.04rem;
}
.vision strong { display: block; font-family: var(--font-head); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; color: var(--indigo); margin-bottom: 4px; }
.checks { display: grid; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { width: 24px; height: 24px; margin-top: 2px; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3; }

/* ---------- Feature cards ---------- */
.feature {
  position: relative; overflow: hidden;
  padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold-500), var(--green));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.feature:hover::before { transform: scaleX(1); }
.feature-icon { width: 56px; height: 56px; margin-bottom: 18px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-400); }
.feature-icon .icon { width: 26px; height: 26px; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Pride / achievements ---------- */
.pride .split { grid-template-columns: 1.1fr .9fr; }
.achievers { display: grid; gap: 18px; margin: 28px 0 32px; }
.achievers-label { margin: 0 0 10px; font-family: var(--font-head); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .88rem; color: var(--gold-400); }
.chip {
  display: inline-flex; align-items: baseline; gap: 8px;
  margin: 0 8px 8px 0; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
  color: #fff; font-weight: 800;
}
.chip small { font-weight: 600; color: rgba(255, 255, 255, .65); font-size: .78rem; }
.poster-card {
  display: block; padding: 10px; border-radius: 16px; background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4); transform: rotate(1.6deg); transition: transform .3s ease;
}
.poster-card:hover { transform: rotate(0) scale(1.01); }
.poster-card img { border-radius: 10px; }

/* ---------- Photo tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; margin-bottom: 40px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--navy-900); color: #fff; text-decoration: none; }
.tile-big { grid-column: span 2; grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 23, 48, .9) 0%, rgba(10, 23, 48, .15) 55%, transparent 100%); }
.tile-body { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.tile-tag { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); }
.tile h3 { margin: 4px 0 0; color: #fff; font-size: 1.35rem; }
.tile-big h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

/* ---------- Campus cards ---------- */
.campus { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-1); }
.campus > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.campus-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 28px; }
.campus h3 { margin: 0; font-size: 1.55rem; }
.tag {
  align-self: flex-start; padding: 4px 10px; border-radius: 6px;
  background: var(--gold-100); color: var(--gold-ink);
  font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.info-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .icon { margin-top: 5px; color: var(--indigo); }
.info-list a { text-decoration: none; font-weight: 700; }
.campus-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }

/* ---------- Photo strips (click to enlarge) ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip-3 { grid-template-columns: repeat(3, 1fr); }
.strip-item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--navy-100); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.strip-item::after { content: ""; position: absolute; inset: 0; background: rgba(10, 23, 48, 0); transition: background-color .3s; }
.strip-item:hover img { transform: scale(1.06); }
.strip-item:hover::after { background: rgba(10, 23, 48, .18); }

/* ---------- Call-to-action band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 60px); border-radius: 24px;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 55%, var(--indigo));
  color: rgba(255, 255, 255, .86);
}
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--saffron) 0 33.34%, #fff 33.34% 66.67%, var(--green) 66.67%); }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0 clamp(52px, 7vw, 84px);
  background: var(--navy-900); color: #fff;
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 23, 48, .95) 0%, rgba(10, 23, 48, .78) 50%, rgba(10, 23, 48, .5) 100%); }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 3.7rem); text-transform: uppercase; margin-bottom: 12px; }
.page-hero p { max-width: 640px; margin: 0; font-size: 1.12rem; color: rgba(255, 255, 255, .86); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); }
.crumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .45); }

/* Jump links under page heroes */
.jump { position: sticky; top: 84px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.jump ul { display: flex; gap: 6px; margin: 0; padding: 12px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: block; padding: 7px 14px; border-radius: 999px; background: var(--navy-100); color: var(--navy-900); font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.jump a:hover { background: var(--navy-900); color: #fff; }

/* ---------- Generic cards & bits ---------- */
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card h3 { margin-bottom: 8px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-top { border-top: 5px solid var(--navy-700); }
.card-top.saffron { border-top-color: var(--saffron); }
.card-top.green { border-top-color: var(--green); }
.card-top.gold { border-top-color: var(--gold-500); }
.card-photo { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.card-photo > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-photo .card-body { padding: 24px 26px 26px; }
.card-icon { width: 48px; height: 48px; margin-bottom: 14px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-ink); }
.card-icon .icon { width: 24px; height: 24px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pills li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--navy-100); color: var(--navy-900); font-weight: 700; font-size: .92rem; }
.pills .icon { color: var(--indigo); }

.callout { display: flex; gap: 14px; padding: 18px 22px; border-left: 4px solid var(--gold-500); border-radius: 0 12px 12px 0; background: var(--gold-100); color: #4B3A08; }
.callout .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--gold-ink); }
.callout p { margin: 0; }

.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value { padding: 24px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.value .icon { width: 30px; height: 30px; color: var(--gold-400); margin-bottom: 10px; }
.value h3 { font-size: 1.15rem; margin: 0 0 6px; }
.value p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .75); line-height: 1.5; }

.message { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: #fff; box-shadow: var(--shadow-1); border: 1px solid var(--line); }
.message-photo { aspect-ratio: 4 / 5; border-radius: 14px; background: linear-gradient(160deg, var(--navy-100), #fff); border: 2px dashed #B8C3D6; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .85rem; padding: 16px; }
.message-photo .icon { width: 36px; height: 36px; margin: 0 auto 8px; color: var(--navy-700); }
.message .quote-mark { width: 40px; height: 40px; color: var(--gold-500); margin-bottom: 8px; }
.message-sign { margin: 18px 0 0; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy-900); letter-spacing: .03em; }
.message-sign small { display: block; font-family: var(--font-body); font-size: .9rem; color: var(--muted); letter-spacing: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 26px 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
  border-radius: 50%; background: var(--gold-500); color: var(--navy-950); font-family: var(--font-head); font-size: 1.3rem;
}
.steps h3 { font-size: 1.12rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.55; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table th, .table td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--navy-900); color: #fff; font-family: var(--font-head); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .88rem; }
.table tbody tr:nth-child(even) { background: #F8FAFD; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 700; color: var(--navy-900); }
.table .num { width: 64px; color: var(--muted); font-weight: 700; }
.pending { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #F1F3F7; color: var(--muted); font-size: .84rem; font-weight: 700; }

.doc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.doc-list li { display: flex; gap: 12px; align-items: flex-start; }
.doc-list .icon { margin-top: 5px; color: var(--green); stroke-width: 2.6; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800; color: var(--navy-900); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--indigo); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* Timeline (year at a glance) */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.month { padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.month h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); }
.month ul { margin: 0; padding-left: 1.1em; }
.month li { margin-bottom: 4px; }

/* Activities page sections */
.activity { padding: clamp(48px, 7vw, 80px) 0; border-bottom: 1px solid var(--line); }
.activity:nth-of-type(even) { background: var(--cream); }
.activity-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 32px; }
.activity-head p { margin: 0; color: var(--muted); }
.event { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; padding: 26px 0; border-top: 1px dashed #CDD4E0; }
.event:first-of-type { border-top: 0; padding-top: 0; }
.event-info h3 { font-size: 1.45rem; margin-bottom: 6px; }
.event-date { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: .85rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.event-info p { color: var(--muted); }
.event-info a.more { font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* News */
.news-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.news { display: grid; gap: 18px; }
.news-item { display: grid; grid-template-columns: 82px 1fr 170px; gap: 22px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; scroll-margin-top: 110px; }
.news-item:target { border-color: var(--gold-500); box-shadow: 0 0 0 4px var(--gold-100); }
.news-date { padding: 10px 6px; border-radius: 12px; background: var(--navy-900); color: #fff; text-align: center; font-family: var(--font-head); line-height: 1.1; }
.news-date .d { display: block; font-size: 1.7rem; }
.news-date .m { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); }
.news-item h3 { font-size: 1.25rem; margin-bottom: 4px; }
.news-item p { margin: 0; color: var(--muted); font-size: .96rem; }
.news-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.notice-board { position: sticky; top: 110px; padding: 26px; border-radius: 18px; background: var(--navy-900); color: rgba(255, 255, 255, .86); }
.notice-board h2 { color: #fff; font-size: 1.4rem; display: flex; gap: 10px; align-items: center; }
.notice-board h2 .icon { color: var(--gold-400); }
.notice { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.notice strong { display: block; color: #fff; }
.notice p { margin: 4px 0 0; font-size: .92rem; }

/* Forms */
.panel { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-2); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .92rem; color: var(--navy-900); }
.field label .req { color: #C0392B; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #C9D1DE; border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(27, 58, 107, .14); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .88rem; color: var(--muted); }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border-radius: 10px; background: #E9F7EE; color: #145A2A; font-weight: 700; }

/* Map */
.map { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 14px; background: var(--navy-100); }

/* ---------- Gallery page ---------- */
.album-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 40px; }
.chip-btn {
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font: inherit; font-weight: 700; font-size: .9rem; color: var(--navy-900); cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip-btn:hover { border-color: var(--navy-700); }
.chip-btn .n { margin-left: 4px; font-weight: 600; opacity: .6; }
.chip-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.album { margin-bottom: 56px; }
.album-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 16px; margin-bottom: 8px; }
.album-head h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.album-meta { margin: 0; font-size: .9rem; font-weight: 700; color: var(--gold-ink); }
.album-desc { margin: 0 0 16px; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.photo { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 10px; background: var(--navy-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo:hover img { transform: scale(1.06); }
.album-more { margin-top: 16px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 64px 80px 40px; background: rgba(6, 13, 28, .95); }
.lb.is-open { display: flex; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lb-img { max-width: min(1400px, 100%); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-cap { color: #fff; font-weight: 700; text-align: center; }
.lb-count { margin-left: 10px; color: rgba(255, 255, 255, .6); font-weight: 600; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-btn .icon { width: 26px; height: 26px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
body.lb-lock { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 0; background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1fr; gap: 40px; }
.footer-title { position: relative; margin-bottom: 18px; padding-bottom: 10px; color: #fff; font-size: 1.08rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 2px; background: var(--gold-500); }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.footer-brand img { width: 64px; }
.footer-name { margin: 14px 0 8px; font-family: var(--font-head); font-size: 1.4rem; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.footer-motto { margin: 16px 0; font-family: "Hind", sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--gold-400); }
.footer-social { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-social .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-info { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.footer-info li { display: flex; gap: 12px; align-items: flex-start; }
.footer-info .icon { margin-top: 5px; color: var(--gold-400); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 56px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.footer-bottom p { margin: 0; }

/* ---------- Floating buttons ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.float-btn:hover { transform: scale(1.07); color: #fff; }
.float-btn .icon { width: 26px; height: 26px; }
.float-wa { background: #25D366; }
.float-wa .icon { width: 30px; height: 30px; }
.float-call { display: none; background: var(--navy-700); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1239px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; margin: 0 auto; border-radius: 2px; background: var(--navy-900); transition: transform .25s, opacity .25s; }
  .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); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - 80px); overflow-y: auto;
    padding: 6px var(--gutter) 22px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(10, 23, 48, .14);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav .nav-index { display: block; }
  .site-nav ul a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav ul a::after { display: none; }
  .site-nav-extra { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 4px 4px; font-weight: 700; font-size: .95rem; }
  .site-nav-extra a { text-decoration: none; }
  .nav-cta { margin-top: 14px; }
}
@media (max-width: 1024px) {
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(2) { border-right: 0; }
  .highlight:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-4, .values { grid-template-columns: repeat(2, 1fr); }
  .values .value:last-child { grid-column: 1 / -1; }
  .grid-3, .timeline { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .notice-board { position: static; }
  .event { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 860px) {
  .topbar-links, .topbar-loc { display: none; }
  .topbar-inner { justify-content: center; }
  .split, .pride .split, .activity-head, .grid-2 { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .message { grid-template-columns: 1fr; gap: 24px; }
  .message-photo { max-width: 200px; }
  .float-call { display: grid; }
  .jump { top: 70px; }
  html { scroll-padding-top: 80px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .navbar-inner { min-height: 70px; gap: 12px; }
  .brand img { width: 44px; }
  .brand-name { font-size: 1.08rem; }
  .brand-sub { font-size: .68rem; }
  .site-nav { max-height: calc(100vh - 70px); }
  .ticker { font-size: .88rem; }
  .ticker-label { padding: 10px 12px; }
  .ticker-label span { display: none; }
  .hero { min-height: 600px; }
  .hero::after { background: linear-gradient(0deg, rgba(10, 23, 48, .95) 0%, rgba(10, 23, 48, .78) 55%, rgba(10, 23, 48, .45) 100%); }
  .hero-content { padding: 56px 0 128px; }
  .hero-slide figcaption { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-dots { bottom: 88px; }
  .highlights { grid-template-columns: 1fr; margin-top: -56px; }
  .highlight { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
  .highlight:last-child { border-bottom: 0; }
  .collage { padding: 0 24px 44px 0; }
  .collage-badge { left: 8px; top: 12px; padding: 10px 14px; }
  .grid-3, .grid-4, .timeline, .steps, .values { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .tile-big { grid-column: auto; grid-row: span 1; }
  .strip, .strip-3 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .form { grid-template-columns: 1fr; }
  .doc-list { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 64px 1fr; gap: 16px; padding: 16px; }
  .news-item img { display: none; }
  .news-date .d { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { padding-bottom: 96px; }
  .album-filter { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .album-filter::-webkit-scrollbar { display: none; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lb { padding: 56px 8px 72px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; width: 46px; height: 46px; }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { right: calc(50% - 58px); }
  .table th, .table td { padding: 11px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
  .ticker-viewport { overflow-x: auto; }
  .hero-slide img { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .float-actions, .ticker, .hero-dots, .lb { display: none !important; }
  .hero, .page-hero { min-height: 0; color: #000; }
}
.news-item.no-img { grid-template-columns: 82px 1fr; }
@media (max-width: 640px) { .news-item.no-img { grid-template-columns: 64px 1fr; } }
.float-actions { transition: opacity .3s ease, transform .3s ease; }
.float-actions.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (min-width: 861px) { .float-actions.is-hidden { opacity: 1; transform: none; pointer-events: auto; } }
.nav-open .float-actions { opacity: 0; pointer-events: none; }

/* Album pages & cards */
.album-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.album-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.album-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: var(--ink); }
.album-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.album-card span { display: block; padding: 12px 14px 14px; font-weight: 800; line-height: 1.3; color: var(--navy-900); }
.album-card small { display: block; margin-top: 3px; font-weight: 600; color: var(--muted); }
.album-head h2 a { color: inherit; text-decoration: none; }
.album-head h2 a:hover { color: var(--indigo); text-decoration: underline; }
@media (max-width: 640px) { .album-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Home hero: school name as part of the main heading */
.hero h1 .h1-kicker {
  display: block; margin-bottom: 14px;
  font-family: var(--font-body); font-weight: 800; font-size: clamp(.82rem, 1.2vw, .98rem);
  letter-spacing: .2em; line-height: 1.4; color: rgba(255, 255, 255, .9);
}

/* Small phones (320–380px wide): keep the school name on one line */
@media (max-width: 380px) {
  .navbar-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 40px; }
  .brand-name { font-size: .98rem; letter-spacing: .01em; }
  .brand-sub { font-size: .62rem; letter-spacing: 0; }
  .nav-toggle { width: 42px; height: 42px; }
}
@media (max-width: 340px) { .brand-sub { display: none; } }

/* Chairman's photo in the message card */
.message-photo-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-1); }
@media (max-width: 860px) { .message-photo-img { max-width: 220px; } }

/* School bus panel (Facilities page) */
.bus-panel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 320px; padding: 40px 28px; border-radius: 20px;
  background: linear-gradient(135deg, #F6C21A 0%, #F2B705 60%, #E5A800 100%);
  color: var(--navy-950); box-shadow: var(--shadow-2);
}
.bus-panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(90deg, var(--saffron) 0 33.34%, #fff 33.34% 66.67%, var(--green) 66.67%); }
.bus-panel .icon { width: 120px; height: 120px; margin-bottom: 14px; stroke-width: 1.4; color: var(--navy-900); }
.bus-panel-title { margin: 0 0 6px; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-950); }
.bus-panel-sub { margin: 0; font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* "In numbers" strip */
.facts {
  padding: clamp(40px, 6vw, 64px) 0;
  background-color: var(--navy-900);
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0);
  background-size: 22px 22px;
  color: #fff;
}
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 24px; text-align: center; }
.fact-value { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--gold-500); }
.fact-label { display: block; max-width: 220px; margin: 10px auto 0; font-size: .95rem; font-weight: 700; line-height: 1.4; color: rgba(255, 255, 255, .85); }

/* Parent testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.testimonial { display: flex; flex-direction: column; margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1); }
.testimonial .quote-mark { width: 34px; height: 34px; margin-bottom: 10px; color: var(--gold-500); }
.testimonial blockquote { flex: 1; margin: 0 0 18px; font-size: 1.02rem; color: var(--ink); }
.testimonial figcaption strong { display: block; font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .02em; color: var(--navy-900); }
.testimonial figcaption span { display: block; font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .fact-value { font-size: 2.3rem; }
  .fact-label { font-size: .86rem; }
}
