:root {
  --navy: #10304A;
  --navy-deep: #0B2336;
  --navy-line: #1B3B53;
  --ink: #12222E;
  --gold: #DAA425;
  --gold-light: #E7C77A;
  --bone: #F8F6F2;
  --bone-warm: #FFFDF7;
  --line: #E5E0D6;
  --line-light: #F0EBE1;
  --body: #4C5D6A;
  --body-light: #5A6B78;
  --meta: #6A7B88;
  --meta-light: #8A97A2;
  --on-navy: #C3D0DA;
  --on-navy-strong: #E3EBF1;
  --on-navy-muted: #B9C7D2;
  --input-line: #D9D3C6;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Lato', system-ui, -apple-system, sans-serif;
  --wrap: 1360px;
  --pad-x: clamp(20px, 5vw, 64px);
  --sec-y: clamp(48px, 6vw, 92px);
  --sec-y-lg: clamp(56px, 7vw, 100px);
  --gap-col: clamp(32px, 5vw, 64px);
  --header-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; }

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

::selection { background: var(--gold); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3, blockquote, p, figure { margin: 0; }

button { font: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 200;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; width: 100%; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.label {
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  text-wrap: pretty;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  color: var(--navy);
  text-wrap: pretty;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.14;
  color: var(--navy);
}
.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.68;
  color: var(--body);
}
.body { font-size: 17px; line-height: 1.75; color: #3F5260; text-wrap: pretty; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 32px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s cubic-bezier(0.16,1,0.3,1), box-shadow 0.18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--navy); color: #FFFFFF; box-shadow: 0 10px 24px rgba(16,48,74,0.18); }
.btn-navy { background: var(--navy); color: #FFFFFF; }
.btn-navy:hover { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px rgba(218,164,37,0.22); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #FFFFFF; }
.btn-ghost-light { border-color: #7C93A5; color: #FFFFFF; }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 14px 24px; font-size: 12.5px; }

.textlink {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  display: inline-block;
}
.textlink-light { color: #FFFFFF; }
.textlink-light:hover { color: var(--gold); }

/* ---------- header ---------- */
.utility {
  background: var(--navy);
  color: var(--on-navy-muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  justify-content: flex-end;
  padding: 9px clamp(16px, 4vw, 64px);
}
.utility a { color: var(--gold-light); }
.utility a:hover { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #FFFFFF;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 28px rgba(11,35,54,0.1); }
.header-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px var(--pad-x);
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
}
.logo { display: flex; align-items: center; min-width: 0; }
.logo img { height: clamp(44px, 5.6vw, 64px); width: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
  margin-left: auto;
}
.nav a.navlink {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.nav a.navlink[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
}
.nav a.navlink:not([aria-current])::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1);
}
.nav a.navlink:not([aria-current]):hover::before { transform: scaleX(1); }
.nav .btn { padding: 13px 22px; font-size: 12.5px; letter-spacing: 0.11em; font-weight: 900; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  display: block;
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1), opacity 0.2s ease;
}
.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); }

.nav-mobile {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px solid transparent;
  padding: 0 var(--pad-x);
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease, padding 0.35s ease, border-color 0.3s ease;
}
.nav-mobile.open {
  max-height: 640px;
  opacity: 1;
  padding: 8px var(--pad-x) 24px;
  border-top-color: var(--line);
}
.nav-mobile a.navlink {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 15px 0;
  border-bottom: 1px solid var(--line-light);
}
.nav-mobile .btn { margin-top: 18px; padding: 17px 22px; }

@media (max-width: 1079px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- sections ---------- */
.section { padding: var(--sec-y) var(--pad-x); background: #FFFFFF; }
.section-lg { padding: var(--sec-y-lg) var(--pad-x); }
.section-bone { background: var(--bone); }
.section-navy { background: var(--navy); color: #FFFFFF; }
.section-navy .h2, .section-navy .h1 { color: #FFFFFF; }
.section-navy .body, .section-navy .lead { color: var(--on-navy); }

.page-hero { background: var(--navy); color: #FFFFFF; padding: clamp(44px, 6vw, 84px) var(--pad-x); }
.page-hero .h1 { margin-bottom: 18px; max-width: 20ch; }
.page-hero p { font-size: 17px; line-height: 1.7; color: var(--on-navy); max-width: 62ch; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap-col);
  align-items: center;
}
.split-top { align-items: start; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 3.5vw, 48px);
}

/* hairline grid: 2px gaps over the line colour */
.hairline {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hairline > * { background: #FFFFFF; flex: 1 1 300px; }
.hairline.bone > * { background: var(--bone); }
.cell { padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.cell-title { font-family: var(--serif); font-size: 23px; line-height: 1.2; color: var(--navy); }
.cell p { font-size: 15px; line-height: 1.7; color: var(--body-light); }
.cell-num { font-family: var(--serif); font-size: 32px; color: var(--gold); line-height: 1; }

.ruled { border-top: 2px solid var(--gold); padding-top: 20px; }

.starlist { display: flex; flex-direction: column; }
.starlist li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line-light);
  padding: 15px 0;
  font-size: 16px;
  line-height: 1.7;
  color: #3F5260;
}
.starlist li::before { content: "\2605"; color: var(--gold); font-size: 13px; line-height: 1.7; }

ul.plain { list-style: none; margin: 0; padding: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 20px;
}
.chip-soft {
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 14px 20px;
}

.quote {
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.35;
  color: var(--navy);
  padding-left: 24px;
  border-left: 3px solid var(--gold);
  text-wrap: pretty;
}

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; background: var(--line-light); }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-54 { aspect-ratio: 5 / 4; }
.ratio-45 { aspect-ratio: 4 / 5; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.card:hover .media img,
.school-card:hover .media img,
.news-item:hover .media img,
a.school-card:hover .media img { transform: scale(1.045); }

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: var(--bone);
  border: 1px dashed var(--line);
  color: var(--meta);
  font-size: 13px;
  line-height: 1.6;
  min-height: 200px;
}

/* ---------- home hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #FFFFFF;
  overflow: hidden;
  min-height: clamp(520px, 76vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: clamp(64px, 10vw, 150px) var(--pad-x) clamp(52px, 7vw, 110px);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scrim, .hero-scrim-2 { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-scrim {
  background: linear-gradient(100deg, rgba(11,35,54,0.95) 0%, rgba(11,35,54,0.88) 38%, rgba(16,48,74,0.62) 72%, rgba(16,48,74,0.5) 100%);
}
.hero-scrim-2 {
  background: linear-gradient(to top, rgba(11,35,54,0.9) 0%, rgba(11,35,54,0.25) 42%, rgba(11,35,54,0.45) 100%);
}
.hero-seal {
  position: absolute;
  right: -7%;
  bottom: -22%;
  width: min(520px, 62vw);
  opacity: 0.09;
  z-index: 2;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 3; max-width: var(--wrap); margin: 0 auto; width: 100%; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-badge, .hero h1, .hero p, .hero .btn-row, .hero-schools {
    animation: fade-up 0.85s cubic-bezier(0.16,1,0.3,1) both;
  }
  .hero-badge { animation-delay: 0.05s; }
  .hero h1 { animation-delay: 0.16s; }
  .hero p { animation-delay: 0.3s; }
  .hero .btn-row { animation-delay: 0.42s; }
  .hero-schools { animation-delay: 0.54s; }

  .page-hero .h1, .page-hero p, .page-hero .btn-row {
    animation: fade-up 0.75s cubic-bezier(0.16,1,0.3,1) both;
  }
  .page-hero .h1 { animation-delay: 0.05s; }
  .page-hero p { animation-delay: 0.16s; }
  .page-hero .btn-row { animation-delay: 0.26s; }
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: 1.03;
  margin-bottom: 24px;
  text-wrap: pretty;
  text-shadow: 0 2px 24px rgba(7,22,35,0.45);
}
.hero p { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; color: var(--on-navy-strong); max-width: 56ch; margin-bottom: 34px; }
.stars { color: var(--gold); letter-spacing: 0.34em; font-size: 15px; }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.hero-badge span:last-child {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #DCE5EC;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-schools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  border-top: 1px solid rgba(218,164,37,0.45);
  padding-top: 20px;
  margin-top: clamp(36px, 5vw, 60px);
}
.hero-schools strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--gold);
  line-height: 1.1;
}
.hero-schools span {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-navy-strong);
}

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  border: 1px solid var(--line);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}
.card:hover { border-color: var(--navy); transform: translateY(-5px); box-shadow: 0 18px 36px rgba(16,48,74,0.09); }
.card-body { padding: 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.card-title { font-family: var(--serif); font-size: 24px; line-height: 1.18; color: var(--navy); }
.card-body p { font-size: 15px; line-height: 1.6; color: var(--body-light); flex: 1; }
.card-more {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  padding-top: 6px;
}

.school-card {
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  flex: 1 1 280px;
  min-height: 260px;
  transition: background 0.18s ease, box-shadow 0.18s ease;
  box-shadow: inset 0 0 0 0 var(--gold);
}
.school-card:hover { background: var(--bone-warm); box-shadow: inset 0 -4px 0 0 var(--gold); }
.school-card-body { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.school-card-num { font-family: var(--serif); font-size: 30px; color: var(--gold); line-height: 1; }
.school-card-name { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.15; color: var(--navy); }
.school-card p { font-size: 15px; line-height: 1.65; color: var(--body-light); flex: 1; }
.school-card-more { font-size: 12px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.filter {
  display: inline-flex;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 22px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--navy);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter:active { transform: scale(0.97); }
.filter[aria-pressed="true"],
.filter[aria-current="page"] { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
.filter[aria-current="page"]:hover { color: #FFFFFF; }

.card-grid { transition: opacity 0.2s ease; }
.card-grid.is-filtering { opacity: 0.4; }

/* ---------- about sub-nav ---------- */
.subnav {
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  padding: 0 var(--pad-x);
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  box-shadow: 0 6px 18px rgba(11,35,54,0.06);
}
.subnav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  gap: 0 clamp(22px, 3vw, 40px);
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--meta);
  padding: 19px 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  flex: 0 0 auto;
}
.subnav a:hover { color: var(--navy); }
.subnav a[aria-current] { color: var(--navy); border-bottom-color: var(--gold); }

/* ---------- story columns ---------- */
.story {
  columns: 2 320px;
  column-gap: clamp(32px, 5vw, 72px);
  column-rule: 1px solid var(--line);
}
.story p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 18px;
  break-inside: avoid;
  text-wrap: pretty;
}

/* ---------- overlap collage ---------- */
.collage {
  position: relative;
  max-width: 636px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 clamp(44px, 9%, 76px) clamp(44px, 9%, 76px);
}
.collage-back { box-shadow: 0 18px 44px rgba(16,48,74,0.16); }
.collage-front {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56%;
  border: 6px solid #FFFFFF;
  box-shadow: 0 18px 44px rgba(16,48,74,0.22);
}

/* ---------- forms ---------- */
.form-card {
  background: var(--bone);
  border-top: 3px solid var(--gold);
  padding: clamp(28px, 3.5vw, 44px);
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > span {
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 16px;
  padding: 15px 16px;
  border: 1px solid var(--input-line);
  background: #FFFFFF;
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(218,164,37,0.25);
}
.form-note { font-size: 12.5px; line-height: 1.6; color: var(--meta); margin-top: 14px; }
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  background: #FFFFFF;
  border-left: 3px solid var(--gold);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}
.form-status[hidden] { display: none; }
.field-error { color: #96301B; font-size: 13px; font-weight: 700; }

/* ---------- steps ---------- */
.steps { display: flex; flex-direction: column; gap: 26px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num { font-family: var(--serif); font-size: 30px; color: var(--gold); line-height: 1; min-width: 44px; }
.step h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 15.5px; line-height: 1.65; color: var(--body-light); }

/* ---------- detail page ---------- */
.enquire-card {
  background: var(--bone);
  border-top: 3px solid var(--gold);
  padding: clamp(26px, 3vw, 36px);
}
.enquire-card .h4 { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--navy); margin-bottom: 12px; }
.enquire-card p { font-size: 15.5px; line-height: 1.65; color: var(--body); margin-bottom: 22px; }
.enquire-contact { margin-top: 20px; font-size: 14px; line-height: 1.7; color: var(--body); }
.back-link {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
  display: inline-block;
  margin-bottom: 26px;
}
.back-link:hover { color: var(--gold); }
.modules { display: flex; flex-wrap: wrap; gap: 2px; background: var(--line); border: 1px solid var(--line); margin-bottom: 38px; }
.modules div { background: #FFFFFF; padding: 18px 20px; font-size: 15px; line-height: 1.5; color: var(--ink); flex: 1 1 220px; }
.subhead {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.news-item { display: flex; flex-direction: column; gap: 12px; }
.news-item h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.25; color: var(--navy); }
.news-item p { font-size: 15px; line-height: 1.65; color: var(--body-light); }

/* ---------- contact ---------- */
.contact-blocks { display: flex; flex-wrap: wrap; gap: 30px var(--gap-col); }
.contact-block { border-top: 2px solid var(--gold); padding-top: 18px; flex: 1 1 280px; }
.contact-block .value { font-family: var(--serif); font-size: 24px; line-height: 1.3; color: var(--navy); }
.contact-block .note { font-size: 15px; line-height: 1.6; color: var(--body-light); margin-top: 6px; }
.map-block { margin-top: clamp(40px, 5vw, 68px); border: 1px solid var(--line); }
.map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
  padding: 22px clamp(20px, 3vw, 30px);
}
.map-head .addr { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; color: var(--navy); }
.map-block iframe { width: 100%; height: clamp(320px, 46vw, 460px); border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--bone);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 84px) var(--pad-x);
}
.cta-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.14;
  color: var(--navy);
  margin-bottom: 12px;
  text-wrap: pretty;
}
.cta p { font-size: 16.5px; line-height: 1.65; color: var(--body); }
.cta-copy { max-width: 46ch; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #A9BAC7;
  padding: clamp(48px, 6vw, 80px) var(--pad-x) 34px;
}
.footer-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.site-footer img { width: 118px; height: auto; display: block; margin-bottom: 22px; }
.site-footer p { font-size: 15px; line-height: 1.7; max-width: 34ch; }
.footer-head {
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-list { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.6; }
.footer-list a, .site-footer address a { color: #D6E0E8; }
.footer-list a:hover, .site-footer address a:hover { color: var(--gold); }
.site-footer address { font-style: normal; }
.footer-bottom {
  max-width: var(--wrap);
  margin: clamp(36px, 4vw, 56px) auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--navy-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-size: 13px;
  color: #7E93A3;
}

/* ---------- WhatsApp overlay ---------- */
.wa {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.wa-panel {
  width: min(330px, calc(100vw - 40px));
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  background: #FFFFFF;
  box-shadow: 0 18px 48px rgba(11,35,54,0.28);
  border-top: 3px solid var(--gold);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.25s cubic-bezier(0.16,1,0.3,1), transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.wa-panel.open { opacity: 1; transform: translateY(0) scale(1); }
.wa-panel[hidden] { display: none; }
.wa-head {
  background: var(--navy);
  color: #FFFFFF;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.wa-head strong { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; }
.wa-head p { font-size: 13px; line-height: 1.55; color: var(--on-navy); margin-top: 4px; }
.wa-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--on-navy-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
}
.wa-close:hover { color: var(--gold); }
.wa-topics { display: flex; flex-direction: column; padding: 8px 0; }
.wa-topics a {
  font-size: 15px;
  line-height: 1.45;
  color: var(--navy);
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  gap: 12px;
  align-items: center;
  transition: background 0.15s ease, padding-left 0.2s ease;
}
.wa-topics a:hover { background: var(--bone); color: var(--navy); padding-left: 26px; }
.wa-topics a::before { content: "\2605"; color: var(--gold); font-size: 12px; }
.wa-foot { padding: 16px 22px 20px; font-size: 12.5px; line-height: 1.6; color: var(--meta); }
.wa-foot a { font-weight: 700; }
.wa-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: #FFFFFF;
  border: none;
  border-bottom: 3px solid var(--gold);
  padding: 16px 22px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(11,35,54,0.3);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, transform 0.2s cubic-bezier(0.16,1,0.3,1), box-shadow 0.2s ease;
}
.wa-trigger:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(11,35,54,0.36); }
.wa-trigger:active { transform: translateY(0); }
.wa-trigger svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
