/* ============================================================
   Priyadarshini School of K.A.L.P.A.N.A — Enroll Page 2026–27
   Layout patterns adapted from the reference template design,
   100% Kalpana palette / fonts / photos.
   ============================================================ */

:root {
  /* Kalpana brand palette (from the main website globals.css) */
  --maroon-950: #3a0f1a;
  --maroon-900: #4a1420;
  --maroon-800: #5c1826;
  --maroon-700: #74202f;
  --maroon-600: #8c2938;
  --cream-50: #fdfbf6;
  --cream-100: #f8f2e6;
  --cream-200: #f0e6d0;
  --gold-500: #b98a3d;
  --gold-600: #9c7230;
  --green-900: #16302a;
  --green-800: #1e4038;
  --green-700: #2a5548;
  --ink-950: #1a1210;
  --ink-900: #241a17;
  --ink-700: #4a3d38;
  --ink-500: #7a6c65;

  /* Fonts (same as the main website) */
  --font-display: "Fraunces", "Georgia", serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --header-h: 84px;
  --topbar-h: 46px;
  --section-space: clamp(4rem, 8vw, 6rem);

  /* Radii & shadows (reference scale: 8 / 16 / 30 / full) */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 30px;
  --radius-full: 999px;
  --shadow-soft: 0 18px 40px -24px rgba(58, 15, 26, 0.25);
  --shadow-card: 0 34px 64px -32px rgba(58, 15, 26, 0.35);

  /* Motion (main-site spring + main-site ease) */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--cream-50);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-900);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6, p, ul, ol { margin: 0; }

a { color: var(--maroon-700); text-decoration: none; }

button { font: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--maroon-700);
  color: var(--cream-50);
  padding: 10px 18px;
  border-radius: var(--radius-s);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Layout primitives (reference pattern) ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 3rem);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: var(--section-space); }

.section--alt { background-color: var(--cream-100); }

.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section--flush-top { padding-top: 0; }

[id] { scroll-margin-top: calc(var(--header-h) + var(--topbar-h) + 16px); }

.center-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  max-width: 21ch;
}

.section-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-700);
  font-weight: 500;
}

.body-text {
  color: var(--ink-700);
  margin-bottom: 1.1rem;
  max-width: 62ch;
}

/* Eyebrow tag pill (reference tag pill, Kalpana colours) */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(116, 32, 47, 0.08);
  color: var(--maroon-700);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  margin: 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: none;
}

/* ---------- Buttons (reference button, springy hover) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 2.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: transform 0.325s var(--spring), background-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(-1px); }

.btn--primary { background: var(--maroon-700); color: var(--cream-50); }
.btn--primary:hover { background: var(--maroon-800); }

.btn--ghost { border-color: var(--maroon-700); color: var(--maroon-700); background: transparent; }
.btn--ghost:hover { background: rgba(116, 32, 47, 0.08); }

.btn--gold { background: var(--gold-500); color: var(--maroon-950); }
.btn--gold:hover { background: var(--gold-600); color: var(--cream-50); }

.btn--sm { padding: 0.8rem 1.9rem; font-size: 0.95rem; }
.btn--lg { padding: 1.1rem 3rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- 1 · Top bar + header ---------- */
.top-bar {
  background: var(--maroon-950);
  color: var(--cream-100);
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--topbar-h);
}

.top-bar-contacts { display: flex; align-items: center; gap: 1.4rem; }

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cream-100);
  font-weight: 500;
}
.top-bar-link:hover { color: var(--gold-500); }
.top-bar-link .icon { color: var(--gold-500); width: 1em; height: 1em; }

.top-bar-actions { display: flex; align-items: center; gap: 1.1rem; }

.top-bar-social { display: flex; align-items: center; gap: 4px; }

.social-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--cream-100);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.social-mini:hover { color: var(--gold-500); }
.social-mini .icon { width: 15px; height: 15px; }
.social-mini--pending { color: rgba(253, 251, 246, 0.38); cursor: help; }

.top-bar-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--gold-500);
  color: var(--maroon-950);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--spring);
}
.top-bar-cta:hover { background: var(--gold-600); color: var(--cream-50); transform: translateY(-1px); }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream-50);
  transition: box-shadow 0.3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(58, 15, 26, 0.28); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.brand-logo { width: 52px; height: auto; flex: none; }

.brand-text { display: flex; flex-direction: column; min-width: 0; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.15;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--maroon-700);
  letter-spacing: 0.02em;
}

.nav { display: flex; align-items: center; gap: 0.35rem; }

.nav-link {
  padding: 9px 13px;
  border-radius: var(--radius-full);
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav-link:hover { color: var(--maroon-700); background: rgba(116, 32, 47, 0.07); }

.nav-link--apply {
  background: var(--maroon-700);
  color: var(--cream-50);
  margin-left: 0.4rem;
}
.nav-link--apply:hover { background: var(--maroon-800); color: var(--cream-50); }

.nav-link--enquire {
  border: 2px solid var(--maroon-700);
  color: var(--maroon-700);
}
.nav-link--enquire:hover { background: rgba(116, 32, 47, 0.08); color: var(--maroon-700); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  border-radius: var(--radius-s);
  background: rgba(116, 32, 47, 0.08);
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 2px;
  background: var(--maroon-700);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 2 · Hero (reference hero pattern) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream-50);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}
.hero-blob--one {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -140px;
  background: radial-gradient(circle at 40% 40%, rgba(185, 138, 61, 0.16), rgba(185, 138, 61, 0) 65%);
}
.hero-blob--two {
  width: 460px;
  height: 460px;
  bottom: -160px;
  left: -160px;
  background: radial-gradient(circle at 55% 45%, rgba(116, 32, 47, 0.12), rgba(116, 32, 47, 0) 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(5rem, 9vw, 7rem);
}

.hero-stars { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.hero-stars .star { width: 22px; height: 22px; color: var(--gold-500); }
.hero-stars .star--sm { width: 13px; height: 13px; color: var(--maroon-600); opacity: 0.75; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin-top: 18px;
}

.hero-title-sub {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  color: var(--maroon-700);
  letter-spacing: -0.01em;
  margin-top: 8px;
}

.hero-lead {
  max-width: 46ch;
  margin-top: 18px;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--ink-700);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-collage { position: relative; }

.hero-collage-main {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}
.hero-collage-main img { width: 100%; height: 100%; object-fit: cover; }

.hero-collage-small {
  position: absolute;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 5px solid var(--cream-50);
  box-shadow: var(--shadow-soft);
}
.hero-collage-small img { width: 100%; height: 100%; object-fit: cover; }

.hero-collage-small--one {
  width: 34%;
  aspect-ratio: 16 / 10;
  left: -7%;
  bottom: 8%;
  transform: rotate(-3deg);
}

.hero-collage-small--two {
  width: 30%;
  aspect-ratio: 4 / 3;
  right: -4%;
  top: -7%;
  transform: rotate(3deg);
}

.hero-collage-badge {
  position: absolute;
  right: 6%;
  bottom: -18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 22px;
  border-radius: var(--radius-m);
  background: var(--maroon-700);
  color: var(--cream-50);
  box-shadow: var(--shadow-soft);
  transform: rotate(2deg);
}
.hero-collage-badge-top {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.hero-collage-badge-main {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
}

.wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; color: var(--cream-100); }
.wave svg { width: 100%; height: clamp(30px, 5vw, 70px); display: block; }

/* ---------- 3 · Welcome (feature cards, reference stacked-paper pattern) ---------- */
.welcome-fullform {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  font-weight: 600;
  color: var(--maroon-700);
  letter-spacing: 0.01em;
}

.welcome-kicker {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--ink-700);
}
.welcome-kicker strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-900);
  font-size: 1.15em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.feature-card { position: relative; filter: drop-shadow(0 24px 28px rgba(58, 15, 26, 0.16)); }

/* Two tilted layers behind the content (reference block-bg pattern) */
.feature-card::before,
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-m);
}
.feature-card::before { background: var(--gold-500); transform: rotate(-2deg) skew(-1deg); }
.feature-card::after { background: var(--maroon-700); transform: rotate(2deg) skew(-1deg); }

.feature-card:hover::before { transform: rotate(-3.2deg) skew(-1deg); }
.feature-card:hover::after { transform: rotate(3.2deg) skew(-1deg); }
.feature-card::before, .feature-card::after { transition: transform 0.35s var(--ease); }

.feature-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 30px 22px;
  border-radius: var(--radius-m);
  background: var(--maroon-700);
  color: var(--cream-50);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(253, 251, 246, 0.14);
  color: var(--gold-500);
  margin-bottom: 4px;
}
.feature-icon .icon { width: 26px; height: 26px; }

.feature-title {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cream-50);
}

.feature-text { font-size: 0.92rem; line-height: 1.55; color: rgba(253, 251, 246, 0.82); }

.checklist {
  list-style: none;
  padding: 0;
  margin: clamp(1.8rem, 3.5vw, 2.6rem) auto 0;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 34px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 1.02rem;
  padding: 14px 18px;
  background: var(--cream-50);
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-s);
}
.checklist li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--gold-500) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="m4.5 12.5 5 5 10-11"/></svg>') center / 13px no-repeat;
}

.center-cta { display: flex; justify-content: center; margin-top: clamp(1.8rem, 3.5vw, 2.6rem); }

/* ---------- 4 · Programme cards (reference programme-card pattern) ---------- */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.2rem);
}

.programme-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-50);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.programme-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.programme-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.programme-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.programme-card:hover .programme-media img { transform: scale(1.04); }

.programme-stage {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(253, 251, 246, 0.94);
  color: var(--maroon-700);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.programme-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: 26px 28px 30px;
  align-items: flex-start;
}

.programme-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

.programme-text { color: var(--ink-700); font-size: 0.98rem; flex: 1; }

/* ---------- 5 · About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.2rem, 5vw, 4rem);
  align-items: center;
}

.about-media { position: relative; padding-bottom: 56px; }

.about-media-main {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}
.about-media-main img { width: 100%; height: 100%; object-fit: cover; }

.about-media-small {
  position: absolute;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 5px solid var(--cream-50);
  box-shadow: var(--shadow-soft);
  width: 38%;
  aspect-ratio: 4 / 3;
}
.about-media-small img { width: 100%; height: 100%; object-fit: cover; }
.about-media-small--one { left: -6%; bottom: 0; transform: rotate(-3deg); }
.about-media-small--two { right: 4%; bottom: 12%; transform: rotate(2.5deg); width: 34%; }

.about-text .title { margin-bottom: 1.2rem; }
.about-text .tag { margin-bottom: 1.2rem; }

/* ---------- 6 · Vision & Mission ---------- */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.4rem, 3vw, 2rem);
}

.vision-card {
  position: relative;
  padding: 34px 32px;
  border-radius: var(--radius-l);
  background: var(--cream-50);
  border: 1.5px solid var(--cream-200);
  box-shadow: var(--shadow-soft);
}

.vision-card--gold { background: var(--maroon-700); border-color: var(--maroon-700); }

.vision-label {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(116, 32, 47, 0.08);
  color: var(--maroon-700);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.vision-card--gold .vision-label { background: rgba(253, 251, 246, 0.14); color: var(--gold-500); }

.vision-text { color: var(--ink-700); font-size: 1rem; }
.vision-text em { font-style: italic; font-weight: 600; }
.vision-card--gold .vision-text { color: rgba(253, 251, 246, 0.92); }

/* ---------- 7 · CBSE band ---------- */
.cbse-card {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--radius-l);
  background: var(--cream-100);
  border: 1.5px solid var(--cream-200);
}

.cbse-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--maroon-700);
  color: var(--gold-500);
}
.cbse-icon .icon { width: 34px; height: 34px; }

.cbse-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  color: var(--ink-900);
  margin-bottom: 10px;
}

.cbse-text { color: var(--ink-700); max-width: 70ch; }

/* ---------- 8 · Explore cards ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.3rem, 2.5vw, 1.8rem);
}

.explore-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-50);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.explore-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.explore-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.explore-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.explore-card:hover .explore-media img { transform: scale(1.06); }

.explore-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 22px 24px 26px;
}

.explore-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink-900);
}

.explore-text { color: var(--ink-700); font-size: 0.92rem; flex: 1; }

.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--maroon-700);
}
.explore-link .arrow { transition: transform 0.3s var(--ease); }
.explore-link:hover .arrow { transform: translateX(4px); }
.explore-link:hover { color: var(--maroon-800); }

/* ---------- 9 · Admission CTA band (reference enrolling band) ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.2rem, 5vw, 3.4rem) clamp(1.8rem, 5vw, 4rem);
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, var(--maroon-900), var(--maroon-700));
  box-shadow: var(--shadow-card);
}

.cta-band-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-band-deco--one {
  width: 340px;
  height: 340px;
  top: -170px;
  right: -80px;
  background: radial-gradient(circle, rgba(185, 138, 61, 0.35), rgba(185, 138, 61, 0) 70%);
}
.cta-band-deco--two {
  width: 260px;
  height: 260px;
  bottom: -140px;
  left: 10%;
  background: radial-gradient(circle, rgba(253, 251, 246, 0.14), rgba(253, 251, 246, 0) 70%);
}

.cta-band-text { position: relative; display: flex; flex-direction: column; gap: 12px; }

.cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cream-50);
  max-width: 22ch;
}

.cta-text { color: rgba(253, 251, 246, 0.85); font-size: 1.05rem; }

.cta-band .btn { position: relative; flex: none; }

/* ---------- 10 · Forms ---------- */
.form-shell {
  max-width: 880px;
  margin-inline: auto;
  background: var(--cream-50);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 4vw, 2.8rem);
}

.enquiry-form .form-grid,
.modal-form-slot .form-grid,
.footer-form-slot .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
}

.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }

.form-field label,
.label-like {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-900);
}

.req { color: var(--maroon-700); }
.optional { color: var(--ink-500); font-weight: 500; }

.form-field input[type="text"],
.form-field input[type="date"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-s);
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-field textarea { height: auto; min-height: 110px; padding: 12px 16px; resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--maroon-700);
  box-shadow: 0 0 0 3px rgba(116, 32, 47, 0.12);
}

.form-field.has-error input,
.form-field.has-error select {
  border-color: var(--maroon-600);
  box-shadow: 0 0 0 3px rgba(140, 41, 56, 0.12);
}

.field-error { font-size: 0.8rem; font-weight: 600; color: var(--maroon-600); min-height: 0; }
.field-error:empty { display: none; }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 4px; }

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink-700);
  cursor: pointer;
}

.radio-label input[type="radio"] {
  appearance: none;
  width: 19px;
  height: 19px;
  margin: 0;
  border: 2px solid var(--cream-200);
  border-radius: 50%;
  background: var(--cream-50);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.radio-label input[type="radio"]:checked {
  border-color: var(--maroon-700);
  box-shadow: inset 0 0 0 4.5px var(--maroon-700);
}

.hp-field { display: none !important; }

.recaptcha-slot:empty { display: none; }
.recaptcha-slot { min-height: 78px; }

.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }

.form-status { font-weight: 600; color: var(--ink-700); }
.form-status.is-success { color: var(--green-700); }
.form-status.is-error { color: var(--maroon-600); }
.form-status:empty { display: none; }

/* ---------- 12 · Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 3.2rem);
  align-items: stretch;
}

.contact-media { position: relative; }

.contact-media > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
}

.contact-card {
  position: relative;
  margin: -84px 18px 0;
  padding: 26px 28px;
  border-radius: var(--radius-m);
  background: var(--cream-50);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink-900);
}

.contact-note { color: var(--ink-500); font-size: 0.92rem; }

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 0.98rem;
}
a.contact-line:hover { color: var(--maroon-700); }
.contact-line .icon { color: var(--maroon-700); margin-top: 4px; }
.contact-line--static { color: var(--ink-700); font-weight: 500; }

.contact-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}
.contact-socials a { color: var(--maroon-700); }
.contact-socials a:hover { text-decoration: underline; }
.contact-socials-sep { color: var(--ink-500); }
.contact-socials-pending { color: var(--ink-500); cursor: help; }

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--cream-100);
  padding: 12px;
  border: 1.5px solid var(--cream-200);
}
.contact-map iframe {
  flex: 1;
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius-m);
}
.contact-map .btn { align-self: center; }

/* ---------- 13 · FAQ accordion ---------- */
.questions-holder {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.question-item {
  background: var(--cream-50);
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-m);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.question-item.is-open {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-soft);
}

.question {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 22px;
  background: none;
  border: none;
  text-align: left;
  color: var(--ink-900);
}

.question-icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(116, 32, 47, 0.08);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--spring);
}
.plus-h, .plus-v {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2.4px;
  border-radius: 2px;
  background: var(--maroon-700);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.plus-v { transform: translate(-50%, -50%) rotate(90deg); }
.question-item.is-open .question-icon { background: var(--gold-500); transform: rotate(135deg); }
.question-item.is-open .plus-h, .question-item.is-open .plus-v { background: var(--cream-50); }

.question-text {
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
}
.question-item.is-open .question-text { color: var(--maroon-700); }

.answer-holder { overflow: hidden; padding: 0 22px; }
.answer-holder > :first-child { margin-top: 0; }

.answer-text,
.answer-list {
  color: var(--ink-700);
  font-size: 0.97rem;
  padding-bottom: 20px;
  padding-left: 48px;
}

.answer-list { list-style: none; margin-top: -8px; }
.answer-list li { position: relative; padding: 3px 0 3px 24px; }
.answer-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ---------- 14 · Footer ---------- */
.footer {
  background: var(--maroon-950);
  color: var(--cream-100);
  border-radius: var(--radius-l) var(--radius-l) 0 0;
  margin-top: var(--section-space);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-form-block {
  background: rgba(253, 251, 246, 0.06);
  border: 1.5px solid rgba(253, 251, 246, 0.14);
  border-radius: var(--radius-l);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}

.footer-form-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--cream-50);
}

.footer-form-sub { color: rgba(253, 251, 246, 0.75); margin: 8px 0 22px; }

.footer-form-slot .form-field label,
.footer-form-slot .label-like { color: var(--cream-100); }

.footer-form-slot input[type="text"],
.footer-form-slot input[type="date"],
.footer-form-slot input[type="tel"],
.footer-form-slot input[type="email"],
.footer-form-slot select,
.footer-form-slot textarea {
  background: rgba(253, 251, 246, 0.08);
  border-color: rgba(253, 251, 246, 0.22);
  color: var(--cream-50);
}
.footer-form-slot select option { color: var(--ink-900); background: var(--cream-50); }
.footer-form-slot input:focus, .footer-form-slot select:focus, .footer-form-slot textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(185, 138, 61, 0.25);
}

.footer-form-slot .radio-label { color: rgba(253, 251, 246, 0.85); }
.footer-form-slot .radio-label input { background: rgba(253, 251, 246, 0.1); border-color: rgba(253, 251, 246, 0.4); }
.footer-form-slot .radio-label input:checked { border-color: var(--gold-500); box-shadow: inset 0 0 0 4.5px var(--gold-500); }

.footer-form-slot .form-status { color: rgba(253, 251, 246, 0.85); }
.footer-form-slot .form-status.is-success { color: var(--gold-500); }
.footer-form-slot .form-status.is-error { color: rgba(253, 251, 246, 0.92); font-weight: 800; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr 0.8fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-logo { width: 180px; margin-bottom: 14px; }

.footer-blurb { color: rgba(253, 251, 246, 0.7); font-size: 0.94rem; max-width: 34ch; }

.footer-heading {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}

.footer-block { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.footer-link { color: rgba(253, 251, 246, 0.78); font-size: 0.95rem; transition: color 0.25s var(--ease); }
a.footer-link:hover { color: var(--gold-500); }
.footer-link--static { cursor: default; max-width: 30ch; }
.footer-link--pending { color: rgba(253, 251, 246, 0.45); cursor: help; }

.footer-bottom {
  border-top: 1px solid rgba(253, 251, 246, 0.14);
  padding: 20px 0 26px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(253, 251, 246, 0.65);
}

/* ---------- 15 · Floating controls ---------- */
.floating-controls {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--spring), background-color 0.3s var(--ease);
}
.float-btn .icon { width: 24px; height: 24px; }
.float-btn:hover { transform: translateY(-4px) scale(1.05); }

.float-btn--phone { background: var(--maroon-700); color: var(--cream-50); }
.float-btn--phone:hover { background: var(--maroon-800); }

.float-btn--whatsapp { background: var(--gold-500); color: var(--cream-50); }
.float-btn--whatsapp:hover { background: var(--gold-600); }

.contact-tab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 90;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  padding: 18px 9px;
  border: none;
  border-radius: 12px 0 0 12px;
  background: var(--maroon-700);
  color: var(--cream-50);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: background-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.contact-tab:hover { background: var(--maroon-800); padding-right: 13px; }

.contact-panel {
  position: fixed;
  top: 50%;
  right: 54px;
  z-index: 95;
  transform: translateY(-50%);
  width: min(330px, calc(100vw - 70px));
  max-height: min(78vh, 640px);
  overflow-y: auto;
  padding: 20px;
  border-radius: var(--radius-m);
  background: var(--cream-50);
  box-shadow: var(--shadow-card);
}
.contact-panel[hidden] { display: none; }

.contact-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.contact-panel-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink-900);
}

.panel-close, .modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(116, 32, 47, 0.08);
  color: var(--maroon-700);
  font-size: 1.3rem;
  line-height: 1;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--spring);
}
.panel-close:hover, .modal-close:hover { background: rgba(116, 32, 47, 0.16); transform: rotate(90deg); }

.quick-form { display: flex; flex-direction: column; gap: 14px; }

/* ---------- 11 · Timed popup modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(26, 18, 16, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-overlay[hidden] { display: none; }

.modal-card {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border-radius: var(--radius-l);
  background: var(--cream-50);
  box-shadow: var(--shadow-card);
  animation: modal-in 0.45s var(--spring);
}

.modal-close { position: absolute; top: 16px; right: 16px; }

.modal-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--ink-900);
  padding-right: 40px;
}

.modal-sub { color: var(--ink-700); font-weight: 500; margin: 6px 0 20px; }

.modal-form-slot .form-grid { grid-template-columns: repeat(2, 1fr); }

@keyframes modal-in {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Scroll animation (reference fade-in) ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .btn, .float-btn, .programme-card, .explore-card, .modal-card { transition: none; animation: none; }
}

/* ---------- Thank-you page ---------- */
.thankyou-card {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.2rem);
  border-radius: var(--radius-l);
  background: var(--cream-50);
  border: 1.5px solid var(--cream-200);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.thankyou-stars { display: flex; align-items: flex-end; gap: 10px; }
.thankyou-stars .star { width: 26px; height: 26px; color: var(--gold-500); }
.thankyou-stars .star--sm { width: 15px; height: 15px; color: var(--maroon-600); opacity: 0.75; }

.thankyou-text { color: var(--ink-700); max-width: 46ch; font-size: 1.05rem; }
.thankyou-text a { font-weight: 700; }

.thankyou-media {
  width: 100%;
  border-radius: var(--radius-m);
  overflow: hidden;
}
.thankyou-media img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 16 / 9; }

.thankyou-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.footer--slim { margin-top: 0; border-radius: 0; }

/* ---------- Responsive (reference breakpoints: 991 / 767 / 479) ---------- */
@media (max-width: 991px) {
  :root { --header-h: 72px; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 120;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: min(340px, 86vw);
    height: 100dvh;
    padding: 92px 22px 30px;
    background: var(--cream-50);
    box-shadow: var(--shadow-card);
    transform: translateX(105%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }

  .nav-link { padding: 13px 16px; font-size: 1.02rem; }
  .nav-link--apply { margin-left: 0; margin-top: 10px; text-align: center; justify-content: center; display: flex; }
  .nav-link--enquire { text-align: center; justify-content: center; display: flex; }

  .nav-toggle { display: flex; position: relative; z-index: 130; }

  .nav-toggle.is-open { background: var(--cream-200); }

  .hero-inner { grid-template-columns: 1fr; padding-bottom: clamp(4rem, 8vw, 5rem); }
  .hero-collage { max-width: 620px; margin-inline: auto; width: 100%; }
  .hero-collage-small--one { left: -3%; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .explore-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 640px; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .contact-tab { writing-mode: horizontal-tb; transform: none; top: auto; bottom: 146px; right: 0;
    border-radius: 12px 0 0 12px; padding: 12px 16px; }
  .contact-panel { top: auto; bottom: 194px; transform: none; }
}

@media (max-width: 767px) {
  .top-bar-link--email { display: none; }
  .top-bar-social { display: none; }
  .top-bar-inner { justify-content: center; gap: 0.9rem; }

  .hero-collage-small--two { right: -2%; top: -5%; }

  .enquiry-form .form-grid,
  .modal-form-slot .form-grid,
  .footer-form-slot .form-grid { grid-template-columns: 1fr; }

  .checklist { grid-template-columns: 1fr; }

  .vision-grid { grid-template-columns: 1fr; }

  .programme-grid { grid-template-columns: 1fr; }

  .cta-band { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr; }

  .contact-card { margin: -70px 12px 0; }
}

@media (max-width: 479px) {
  .feature-grid { grid-template-columns: 1fr; }
  .explore-grid { grid-template-columns: 1fr; }

  .brand-logo { width: 42px; }
  .brand-name { font-size: 0.88rem; }
  .brand-tag { font-size: 0.64rem; }

  .hero-collage-badge { right: 4%; padding: 10px 16px; }
  .hero-collage-badge-main { font-size: 0.88rem; }

  .btn { padding: 0.95rem 2rem; }
  .form-actions .btn { width: 100%; }

  .floating-controls { right: 12px; bottom: 12px; }
  .float-btn { width: 48px; height: 48px; }

  .answer-text, .answer-list { padding-left: 0; }
  .answer-list { margin-top: 4px; }

  .contact-tab { bottom: 128px; padding: 10px 14px; }
  .contact-panel { bottom: 176px; width: min(300px, calc(100vw - 62px)); max-height: min(56vh, 470px); }
}
