/* =========================================================
   Design tokens — change colours & fonts here
   ========================================================= */
:root {
  --bg: #FBF9F6;
  --surface: #FFFFFF;
  --soft: #F3EFE9;
  --ink: #23262B;
  --muted: #5F6670;
  --line: #E8E3DC;
  --primary: #2F6B62;
  --primary-dark: #24554E;
  --primary-soft: #E4EFEC;
  --sun: #E5A33B;
  --sun-soft: #FBF0DC;
  --footer: #1F3532;

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(35, 38, 43, .04), 0 8px 24px rgba(35, 38, 43, .06);
  --max: 1120px;
  --gutter: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { color: var(--muted); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 246, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { height: 58px; width: auto; flex: none; }
.brand-name { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 600; white-space: nowrap;
}
.main-nav a:hover { background: var(--soft); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary-dark); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-actions .btn, .main-nav .nav-cta a { white-space: nowrap; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--primary);
  background: var(--primary); color: #fff; font: 700 .95rem var(--font-body);
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary-soft); color: var(--primary-dark); }
.btn-sm { padding: 8px 16px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 12px; font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }

/* Page header (inner pages) */
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--sun-soft), var(--bg)); }
.page-hero p { max-width: 620px; margin-top: 14px; font-size: 1.08rem; }

/* Home hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.15rem; margin-top: 18px; max-width: 520px; }
.hero-media { position: relative; }
.hero-media img { border-radius: 28px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -20px; bottom: 28px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; gap: 12px; align-items: center; max-width: 260px;
}
.hero-badge strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--primary); line-height: 1; }
.hero-badge span { font-size: .85rem; color: var(--muted); line-height: 1.35; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.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: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card .icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.checklist { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.checklist li { padding-left: 32px; position: relative; color: var(--muted); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232F6B62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 24px 12px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--primary); font-weight: 500; }
.stat span { color: var(--muted); font-size: .95rem; }

/* Program cards */
.program-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.program-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.program-card .body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.program-card .btn { align-self: flex-start; margin-top: auto; }
.age-badge {
  align-self: flex-start; font-size: .8rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
  background: var(--sun-soft); color: #8A5A12; margin-bottom: 12px;
}
.meta-list { list-style: none; margin: 16px 0 24px; display: grid; gap: 6px; font-size: .94rem; color: var(--muted); }
.meta-list b { color: var(--ink); font-weight: 700; }

/* Program detail rows */
.program-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.program-detail:last-child { border-bottom: 0; }
.program-detail:nth-child(even) .program-detail-media { order: 2; }
.program-detail img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Program rows (Programs page) */
.program-rows { padding-top: 24px; }
.program-row {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  padding: 48px 0; border-bottom: 1px solid var(--line);
}
.program-row header h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.program-row-text p + p { margin-top: 12px; }
.schedule-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.schedule-facts li {
  background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; font-size: .88rem;
  padding: 6px 14px; border-radius: 999px;
}

/* Photo collage */
.collage {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px;
  grid-auto-flow: dense; gap: 8px;
}
.collage a { display: block; overflow: hidden; border-radius: var(--radius-sm); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.collage a:hover img { transform: scale(1.04); }
.collage .wide { grid-column: span 2; }
.collage .tall { grid-row: span 2; }
.collage .big { grid-column: span 2; grid-row: span 2; }

/* Intelligences */
.intel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.intel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px;
}
.intel .num { font-family: var(--font-head); font-size: .95rem; color: var(--sun); }
.intel h4 { font-size: 1.05rem; margin: 4px 0 6px; }
.intel p { font-size: .9rem; line-height: 1.5; }

/* Philosophy page: compact list of the 8 intelligences (fills column by column) */
.intel-list {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto);
  grid-auto-flow: column; gap: 28px 56px; max-width: 980px; margin: 0 auto;
}
.intel-item { display: flex; align-items: center; gap: 22px; scroll-margin-top: 90px; }
.intel-item img { width: 104px; height: 104px; flex: none; }
.intel-item h3 {
  font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 4px; padding-left: 10px; border-left: 4px solid var(--accent);
}
.intel-item p { font-size: .98rem; line-height: 1.55; }

/* Why us? */
.container-wide { max-width: 1320px; }
.why-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why-num { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--sun); line-height: 1; margin-bottom: 12px; }
.why-list p { color: var(--ink); }

/* Home welcome slideshow: [photo] [welcome panel] — uses the site's fonts & colours */
.welcome {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 34%);
  height: clamp(420px, 36vw, 620px); background: var(--bg); border-bottom: 1px solid var(--line);
}
.welcome-main { position: relative; overflow: hidden; }
.welcome-slides { position: absolute; inset: 0; }
.welcome-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s ease;
}
.welcome-slides img.active { opacity: 1; }
.welcome-text {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 32px 36px; background: linear-gradient(180deg, var(--sun-soft), var(--bg));
}
.welcome-text .eyebrow { margin-bottom: 18px; }
.welcome h1 { font-size: clamp(2.1rem, 3.4vw, 3.2rem); }
.welcome-tagline { font-size: 1.15rem; margin-top: 20px; font-style: italic; }
.welcome-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 72px;
  background: none; border: 0; cursor: pointer; display: grid; place-items: center; opacity: .9; transition: opacity .2s, transform .2s;
}
.welcome-arrow svg { width: 22px; height: 44px; fill: none; stroke: #fff; stroke-width: 2.2; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.welcome-arrow:hover { opacity: 1; }
.welcome-arrow.prev { left: 14px; }
.welcome-arrow.next { right: 14px; }
.welcome-arrow.prev:hover { transform: translateY(-50%) translateX(-3px); }
.welcome-arrow.next:hover { transform: translateY(-50%) translateX(3px); }
.welcome-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.welcome-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .55); cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.welcome-dots button[aria-selected="true"] { background: #fff; transform: scale(1.25); }
@media (max-width: 960px) {
  .welcome { grid-template-columns: 1fr; height: auto; }
  .welcome-main { aspect-ratio: 4 / 3; }
  .welcome-text { padding: 36px 20px 40px; }
}
@media (prefers-reduced-motion: reduce) { .welcome-slides img { transition: none; } }

/* Home page teasers (Programs, School Life) */
.teaser-media { display: block; border-radius: var(--radius); overflow: hidden; }
.split .teaser-media img { aspect-ratio: 4 / 3; border-radius: 0; transition: transform .5s; }
.teaser-media:hover img { transform: scale(1.03); }
.teaser-list { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.teaser-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s;
}
.teaser-list a:hover { border-color: var(--primary); transform: translateX(3px); color: var(--ink); }
.teaser-list span { font-size: .85rem; font-weight: 700; color: #8A5A12; background: var(--sun-soft); padding: 3px 10px; border-radius: 999px; }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.split .teaser-grid img { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }

/* Jump-to chips under a page heading */
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip-nav a {
  padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-size: .88rem; font-weight: 700;
}
.chip-nav a:hover { border-color: var(--primary); color: var(--primary-dark); }

/* School Life activities: text + small gallery, alternating sides */
.activity { padding: 64px 0; scroll-margin-top: 76px; }
.activity:nth-of-type(odd) { background: var(--soft); }
.activity-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.activity:nth-of-type(odd) .activity-text { order: 2; }
.activity-num { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--sun); margin-bottom: 6px; }
.activity-text h2 { margin-bottom: 14px; }
.activity-text p + p { margin-top: 12px; }
.mini-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.mini-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.mini-gallery a:hover img { transform: scale(1.05); }

/* Testimonials: 3 per row; a last row of 2 (or 1) stretches to fill the width */
.quotes { gap: 20px; }
@media (min-width: 961px) {
  .quotes { grid-template-columns: repeat(6, 1fr); }
  .quotes > * { grid-column: span 2; }
  .quotes > :nth-child(3n+1):nth-last-child(2),
  .quotes > :nth-child(3n+2):last-child { grid-column: span 3; }
  .quotes > :nth-child(3n+1):last-child { grid-column: span 6; }
}
.quote { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.5; color: var(--ink); }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: .9rem; color: var(--muted); font-weight: 700; }

/* Daily schedule */
.schedule { list-style: none; border-left: 2px solid var(--line); margin-left: 8px; }
.schedule li { position: relative; padding: 0 0 26px 28px; }
.schedule li::before {
  content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--primary);
}
.schedule time { font-weight: 800; color: var(--primary); font-size: .9rem; }
.schedule h4 { font-size: 1.08rem; margin: 2px 0 2px; }
.schedule p { font-size: .94rem; }

/* Team */
.team-card { text-align: center; padding: 32px 0 26px; }
.team-card img {
  width: 168px; height: 168px; aspect-ratio: 1; object-fit: cover; object-position: center top;
  border-radius: 50%; margin: 0 auto 20px;
  border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; padding: 0 16px; }
.team-card .role { font-size: .88rem; font-weight: 700; color: var(--primary); }
.team-card p { font-size: .9rem; padding: 8px 20px 0; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 16px;
  font: 700 .88rem var(--font-body); color: var(--muted); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: .88rem; font-weight: 700; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .45));
}
.gallery [hidden] { display: none; }
.filters .count { font-weight: 600; opacity: .6; margin-left: 2px; }

/* Interactive gallery: mixed-height photo grid */
.masonry { columns: 4 260px; column-gap: 12px; }
.masonry figure { break-inside: avoid; margin-bottom: 12px; animation: fade-in .35s ease; }
.masonry figure[hidden] { display: none; }
.masonry a { display: block; position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--soft); }
.masonry img { width: 100%; height: auto; transition: transform .5s ease; }
.masonry figcaption {
  position: absolute; inset: auto 0 0 0; padding: 28px 14px 10px; color: #fff; font-size: .9rem; font-weight: 700;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.masonry a:hover img, .masonry a:focus-visible img { transform: scale(1.05); }
.masonry a:hover figcaption, .masonry a:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .masonry figcaption { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Lightbox (photo viewer) */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(16, 18, 22, .95);
  display: none; grid-template-rows: auto 1fr auto; align-items: center; justify-items: center;
}
.lightbox.open { display: grid; }
.lb-top { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; color: #E8E3DC; }
.lb-count { font-weight: 700; font-size: .95rem; letter-spacing: .04em; }
.lb-tools { display: flex; gap: 8px; }
.lb-stage { width: 100%; height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 72px; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 210px); width: auto; border-radius: 10px; opacity: 0; transform: scale(.98); transition: opacity .25s, transform .25s; }
.lb-stage img.in { opacity: 1; transform: none; }
.lb-stage figcaption { color: #E8E3DC; margin-top: 10px; font-size: .95rem; text-align: center; min-height: 1.4em; }
.lb-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.1rem; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-btn[hidden] { display: none; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.7rem; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-thumbs { width: 100%; display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px 14px; justify-content: safe center; scrollbar-width: thin; }
.lb-thumbs[hidden] { display: none; }
.lb-thumbs button { flex: none; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; opacity: .55; transition: opacity .2s; }
.lb-thumbs button:hover { opacity: .9; }
.lb-thumbs button[aria-current="true"] { border-color: var(--sun); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) {
  .lb-stage { padding: 0 8px; }
  .lb-stage img { max-height: calc(100vh - 190px); }
  .lb-prev, .lb-next { top: auto; bottom: 74px; transform: none; width: 44px; height: 44px; }
  .lb-thumbs button { width: 52px; height: 40px; }
}

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { font-size: .93rem; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 780px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; }

/* Callout */
.callout {
  background: var(--primary); color: #fff; border-radius: 28px; padding: 56px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.callout h2 { color: #fff; }
.callout p { color: rgba(255, 255, 255, .82); margin-top: 10px; }
.callout .btn { background: #fff; color: var(--primary-dark); border-color: #fff; }
.callout .btn:hover { background: var(--sun-soft); }
.callout .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.callout .btn-outline:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.form-note { font-size: .85rem; margin-top: 14px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 700; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--primary-soft); color: var(--primary-dark); }
.form-status.err { background: #FBE7E4; color: #9B3328; }

/* Contact */
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: .9rem; }
.contact-list span, .contact-list a { color: var(--muted); }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); display: block; }

/* Footer */
.site-footer { background: var(--footer); color: #C9D3D1; padding: 64px 0 28px; margin-top: 0; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer p, .site-footer a, .site-footer li { color: #C9D3D1; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
/* footer columns: logo | Explore | Visit us | Contact */
.footer-grid { display: grid; grid-template-columns: 1.1fr .7fr 1.7fr 1.1fr; gap: 36px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-name small { color: #9FB0AD; }
.site-footer .brand-mark { height: 72px; background: #fff; border-radius: 14px; padding: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 22px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .main-nav a { padding: 8px 9px; font-size: .9rem; }
  .header-actions .btn { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; padding: 12px var(--gutter) 20px;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; border-radius: 12px; }
  .main-nav .nav-cta { display: block; margin-top: 8px; }
  .main-nav .nav-cta a, .main-nav .nav-cta a:hover { color: #fff; justify-content: center; }
  .hero-grid, .split, .program-detail { grid-template-columns: 1fr; gap: 36px; }
  .program-detail:nth-child(even) .program-detail-media { order: 0; }
  .grid-3, .gallery { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .intel-grid, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .callout { grid-template-columns: 1fr; padding: 40px 32px; }
  .hero-badge { left: 12px; }
  .program-row { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .activity { padding: 48px 0; }
  .activity-row { grid-template-columns: 1fr; gap: 24px; }
  .activity:nth-of-type(odd) .activity-text { order: 0; }
  .intel-list { gap: 24px 32px; }
  .intel-item img { width: 84px; height: 84px; }
  .why-list { grid-template-columns: repeat(2, 1fr); }
  .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quotes > :nth-child(odd):last-child { grid-column: span 2; }
}
@media (min-width: 961px) { .main-nav .nav-cta { display: none; } }
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .page-hero { padding: 48px 0 40px; }
  .grid-2, .grid-3, .grid-4, .gallery, .form-grid, .steps, .intel-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .callout { padding: 32px 22px; border-radius: 20px; }
  .brand-name small { display: none; }
  .site-header .brand-mark { height: 50px; }
  .intel-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 22px; }
  .intel-item { gap: 16px; align-items: flex-start; }
  .intel-item img { width: 72px; height: 72px; }
  .why-list { grid-template-columns: 1fr; gap: 12px; }
  .quotes { grid-template-columns: 1fr; gap: 14px; }
  .quotes > :nth-child(odd):last-child { grid-column: auto; }
  .quote { padding: 24px 20px; }
  .why-list li { display: flex; gap: 16px; align-items: baseline; padding: 18px 20px; }
  .why-num { margin-bottom: 0; font-size: 1.4rem; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; box-shadow: none; border: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
