/* ============================================================
   Child Jesus Matriculation School Design System
   Navy & gold institutional theme
   ============================================================ */

:root {
  --navy: #1f365c;
  --navy-dark: #16273f;
  --navy-deep: #0f1b2d;
  --gold: #c19434;
  --gold-light: #d9b35e;
  --gold-pale: #f3e8cf;
  --red: #a93636;
  --ink: #1c2430;
  --text: #3a4452;
  --text-soft: #6b7280;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-navy-tint: #eef1f6;
  --shadow-sm: 0 1px 3px rgba(15, 27, 45, 0.08);
  --shadow-md: 0 6px 24px rgba(15, 27, 45, 0.1);
  --shadow-lg: 0 16px 48px rgba(15, 27, 45, 0.16);
  --radius: 10px;
  --radius-sm: 6px;
  --font-head: "Marcellus", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --container: 1180px;
  --header-h: 86px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

a { color: var(--navy); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--gold); }

ul { padding-left: 1.2em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255, 255, 255, 0.65); color: #fff; background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn svg { width: 17px; height: 17px; }

/* ---------- topbar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.topbar-group { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, 0.85); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold-light); }
.topbar svg { width: 14px; height: 14px; opacity: 0.8; }
.topbar-motto { color: var(--gold-light); font-style: italic; letter-spacing: 0.04em; }

/* ---------- header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.32rem;
  color: var(--navy);
  line-height: 1.15;
}
.brand-sub {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- nav ---------- */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav li { position: relative; }
.site-nav a {
  display: block;
  position: relative;
  padding: 10px 13px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-sm);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.site-nav .has-children > a { display: inline-flex; align-items: center; gap: 5px; }
.site-nav .has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.7;
}
.site-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 215px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px;
  flex-direction: column;
  gap: 0;
}
.site-nav .has-children:hover .dropdown,
.site-nav .has-children:focus-within .dropdown { display: flex; }
.site-nav .dropdown a { padding: 9px 14px; font-weight: 500; }

/* ---------- admission strip ---------- */
.admission-strip {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  padding: 8px 18px;
}
.admission-strip a { color: var(--navy-deep); text-decoration: underline; text-underline-offset: 3px; }
.admission-strip a:hover { color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bgs { position: absolute; inset: 0; z-index: 0; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-bg.active { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(15, 27, 45, 0.94) 0%, rgba(22, 39, 63, 0.86) 45%, rgba(15, 27, 45, 0.62) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 79h80v1H0zM79 0h1v80h-1z' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
}
.hero-emblem {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 460px;
  opacity: 0.05;
  pointer-events: none;
  filter: grayscale(55%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 96px 0 110px;
  max-width: 760px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.hero-kicker::before { content: ""; width: 38px; height: 1px; background: var(--gold); }
.hero .hero-title {
  font-family: var(--font-head);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  font-size: clamp(1.9rem, 4.3vw, 3.2rem);
  margin: 0 0 14px;
  text-wrap: balance;
}
.hero .hero-title .gold { color: var(--gold-light); }
.hero-sub {
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero slider */
.hero-slides { position: relative; }
.hero-slide { display: none; }
.hero-slide.active { display: block; animation: fadeUp 0.7s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-dots { display: flex; gap: 9px; margin-top: 44px; }
.hero-dots button {
  width: 30px; height: 4px;
  border: 0; border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.25s;
  padding: 0;
}
.hero-dots button.active { background: var(--gold); }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: rgba(255, 255, 255, 0.88); }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head.center .kicker::after { content: ""; width: 30px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-navy .kicker { color: var(--gold-light); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-navy-tint);
  color: var(--navy);
  margin-bottom: 18px;
}
.icon-badge svg { width: 25px; height: 25px; }
.card:hover .icon-badge { background: var(--gold); color: #fff; }
.icon-badge, .card .icon-badge { transition: background 0.22s ease, color 0.22s ease; }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat-value {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--gold-light);
  line-height: 1.1;
}
.stat-label { font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; margin-top: 6px; }

/* ---------- split (text+image) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold-pale);
  border-radius: var(--radius);
  z-index: -1;
}

/* ---------- founder ---------- */
.founder-photo {
  max-width: 360px;
  margin: 0 auto;
}
.founder-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  filter: sepia(8%);
}
.founder-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.founder-caption strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--navy); }

blockquote.pull-quote {
  margin: 38px auto;
  max-width: 560px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.45;
  padding: 28px 30px;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
blockquote.pull-quote cite { display: block; margin-top: 12px; font-family: var(--font-body); font-size: 0.9rem; font-style: normal; color: var(--text-soft); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(193, 148, 52, 0.16), transparent 55%),
    linear-gradient(160deg, var(--navy-dark), var(--navy-deep));
  color: #fff;
  padding: 64px 0 58px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; margin: 0 0 6px; }
.page-hero .crumb { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); }
.page-hero .crumb a { color: var(--gold-light); }
.page-hero-emblem {
  position: absolute;
  right: -30px;
  bottom: -70px;
  width: 280px;
  opacity: 0.08;
  pointer-events: none;
}

/* ---------- prose ---------- */
.prose { max-width: 760px; }
.prose p { text-align: justify; }
.prose-wide { max-width: 100%; }

/* ---------- message cards ---------- */
.message-card { display: flex; flex-direction: column; }
.message-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.message-name { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); margin: 4px 0 14px; }
.message-card .avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-navy-tint);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.styled {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.styled th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 13px 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
table.styled td { padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.styled tr:last-child td { border-bottom: 0; }
table.styled tr:nth-child(even) td { background: var(--bg-soft); }

/* ---------- accordion (FAQ) ---------- */
.accordion details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.3rem; color: var(--gold); flex-shrink: 0; }
.accordion details[open] summary::after { content: "–"; }
.accordion details[open] summary { border-bottom: 1px solid var(--line); }
.accordion .acc-body { padding: 14px 20px 18px; }
.accordion .acc-body p:last-child { margin-bottom: 0; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}
.step h3 { font-size: 1.12rem; margin-bottom: 4px; }
.step p { margin: 0; }

/* ---------- rule lists ---------- */
.rule-section { margin-bottom: 36px; }
.rule-section h3 {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-pale);
  margin-bottom: 16px;
}
.rule-section ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rule-section li { padding-left: 26px; position: relative; }
.rule-section li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- news ---------- */
.news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 18px;
}
.news-date {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.news-item h3 { margin: 6px 0 10px; }
.news-item .pin {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 11px;
  margin-left: 10px;
  vertical-align: middle;
}
.news-images { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.news-images img { width: 130px; height: 95px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; }

/* ---------- gallery ---------- */
.album-card { overflow: hidden; padding: 0; cursor: pointer; }
.album-cover { aspect-ratio: 4 / 3; background: var(--bg-navy-tint); position: relative; overflow: hidden; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.album-card:hover .album-cover img { transform: scale(1.05); }
.album-cover .album-count {
  position: absolute;
  right: 10px; bottom: 10px;
  background: rgba(15, 27, 45, 0.78);
  color: #fff;
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 4px 12px;
}
.album-meta { padding: 18px 20px; }
.album-meta h3 { font-size: 1.1rem; margin-bottom: 2px; }
.album-meta .news-date { font-size: 0.78rem; }

.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.photo-grid a:hover img { transform: scale(1.06); }

.empty-state {
  text-align: center;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 64px 30px;
  color: var(--text-soft);
}
.empty-state img { width: 74px; margin: 0 auto 18px; opacity: 0.4; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 26, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 46px; height: 46px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox button:hover { background: var(--gold); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-caption {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label.field { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
label.field span { display: block; margin-bottom: 7px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(193, 148, 52, 0.18);
}
textarea { resize: vertical; min-height: 130px; }

.contact-info-card { display: grid; gap: 4px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.contact-line strong { display: block; color: var(--ink); font-size: 0.93rem; }
.contact-line a { word-break: break-word; }

.map-embed {
  border: 0;
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- video embed (responsive 16:9) ---------- */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-deep);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 44px;
  padding: 62px 22px 48px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.footer-brand img { width: 56px; height: 56px; object-fit: contain; }
.footer-brand .brand-name { color: #fff; font-size: 1.15rem; }
.footer-motto { color: var(--gold-light); font-style: italic; font-size: 0.92rem; }
.site-footer h4 {
  color: #fff;
  font-size: 0.86rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer h4::after { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-top: 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: rgba(255, 255, 255, 0.78); }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.footer-contact a { color: rgba(255, 255, 255, 0.78); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9rem; }
.footer-hours span { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--gold); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; width: 100%; }

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 80;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }


/* ---------- placeholder photo slot ---------- */
.photo-slot {
  background:
    linear-gradient(150deg, var(--bg-navy-tint), var(--bg-soft));
  border: 1px dashed #c9d2e0;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-soft);
  font-size: 0.88rem;
  min-height: 280px;
  text-align: center;
  padding: 24px;
}
.photo-slot img { width: 84px; opacity: 0.35; }

/* ---------- utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.13rem; color: var(--text); }
.gold-text { color: var(--gold); }
.divider-gold { width: 64px; height: 3px; background: var(--gold); border: 0; border-radius: 3px; margin: 26px auto; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .split-media { order: -1; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .topbar-group.right { display: none; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 1.05rem; }
  .hero-inner { padding: 64px 0 72px; }
  .hero-emblem { width: 260px; right: -70px; bottom: -50px; opacity: 0.04; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }

}

/* ---------- mobile + tablet nav (hamburger drawer, applies <= 960px) ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(340px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: var(--navy-deep);
    padding: 76px 26px 30px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
    z-index: 95;
    overflow-y: auto;
  }
  .site-nav.open { transform: translateX(0); visibility: visible; transition: transform 0.28s ease, visibility 0s; box-shadow: var(--shadow-lg); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { color: #fff; padding: 13px 10px; font-size: 1.02rem; }
  .site-nav .has-children > a { display: flex; justify-content: flex-start; }
  .site-nav a[aria-current="page"]::before { left: 10px; right: auto; width: 22px; }
  .site-nav .dropdown {
    display: flex;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 18px;
  }
  .site-nav .dropdown a { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
  .nav-close {
    display: block;
    position: absolute;
    top: 18px; right: 16px;
    background: none; border: 0;
    color: #fff;
    padding: 10px;
    cursor: pointer;
  }
  .nav-close svg { width: 24px; height: 24px; }
  .nav-overlay {
    position: fixed; inset: 0;
    background: rgba(10, 16, 26, 0.5);
    z-index: 94;
    display: none;
  }
  .nav-overlay.show { display: block; }
}

@media (min-width: 961px) {
  .nav-close { display: none; }
}

/* ---------- print ---------- */
@media print {
  .topbar, .site-nav, .nav-toggle, .admission-strip, .wa-float, .site-footer, .hero-dots { display: none !important; }
}
