/* ==========================================================================
   Solomon Bennett Memorial School & Kiddies — Shared Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color — green & white primary, blue as the supporting accent */
  --navy: #0F5C3C;         /* deep green — headings, header/footer bg */
  --navy-2: #14794E;       /* mid green — hover states, gradients */
  --navy-tint: #EAF6EF;    /* light green tint — soft section backgrounds */
  --emerald: #1C8A5C;      /* core brand green — buttons, icons */
  --emerald-dark: #146B47;
  --emerald-tint: #E7F5EE;
  --amber: #2E7CD6;        /* supporting blue — used sparingly for contrast */
  --amber-dark: #1E5FA8;
  --blue: #2E7CD6;
  --blue-dark: #1E5FA8;
  --blue-tint: #EAF2FC;
  --cream: #F5FAF7;
  --white: #FFFFFF;
  --ink: #1B2430;
  --slate: #5B6472;
  --slate-light: #8A93A0;
  --border: #E3E9E4;
  --border-dark: #D3DCD5;

  /* Type */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(18, 50, 79, 0.08);
  --shadow-md: 0 8px 24px rgba(18, 50, 79, 0.10);
  --shadow-lg: 0 20px 48px rgba(18, 50, 79, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }

p { color: var(--slate); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.78); }

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

/* ---------- Eyebrow / Section headers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--emerald-dark);
  background: var(--emerald-tint);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section--navy .eyebrow { background: rgba(255,255,255,0.12); color: var(--amber); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--emerald); color: var(--white); }
.btn-primary:hover { background: var(--emerald-dark); box-shadow: var(--shadow-md); }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--amber-dark); color: var(--white); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-navy { background: transparent; border-color: var(--border-dark); color: var(--navy); }
.btn-outline-navy:hover { border-color: var(--navy); background: var(--navy-tint); }
.btn-ghost { background: transparent; color: var(--emerald-dark); padding: 8px 4px; gap: 6px; }
.btn-ghost:hover { color: var(--navy); transform: translateX(3px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav — floating liquid-glass bar ---------- */
header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 32px));
  z-index: 1000;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 100px;
  box-shadow: 0 10px 34px rgba(15,92,60,0.14), inset 0 1px 0 rgba(255,255,255,0.6);
  transition: top 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 22px;
}
@media (max-width: 900px) {
  header { top: 12px; width: calc(100% - 24px); border-radius: 28px; }
  .header-inner { padding: 8px 12px 8px 16px; }
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-marks { display: flex; }
.brand-marks img { width: 40px; height: 40px; object-fit: contain; }
.brand-marks img + img { margin-left: -10px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--navy); line-height: 1.2; }
.brand-name span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.74rem; color: var(--slate); letter-spacing: 0.03em; }

nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
nav ul li a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
nav ul li a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--emerald);
  transition: width 0.25s var(--ease);
}
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }
nav ul li a.active { color: var(--emerald-dark); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.4rem;
}

@media (max-width: 900px) {
  nav ul { position: fixed; top: 74px; left: 12px; right: 12px; flex-direction: column; align-items: flex-start; gap: 0; background: rgba(255,255,255,0.75); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%); border: 1px solid rgba(255,255,255,0.65); border-radius: 24px; box-shadow: 0 10px 34px rgba(15,92,60,0.14); padding: 8px 20px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.2s var(--ease); }
  nav ul.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  nav ul li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  nav ul li:last-child { border-bottom: none; padding-top: 16px; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero image slider (auto-swiping background) ---------- */
.hero-slider { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.4s var(--ease), transform 7s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slider-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,54,36,0.82) 0%, rgba(10,54,36,0.64) 55%, rgba(10,54,36,0.82) 100%);
}
.hero-dots { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(255,255,255,0.45); transition: all 0.25s var(--ease); }
.hero-dots button.active { background: var(--white); width: 22px; border-radius: 5px; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: opacity 0.3s ease; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 96px;
  color: var(--white);
}
.hero .container { position: relative; z-index: 1; }
.hero h1, .hero h2, .hero h3 { color: var(--white); }
.hero p, .hero p.lead { color: rgba(255,255,255,0.85); }
.hero .eyebrow { background: rgba(255,255,255,0.14); color: var(--white); }
.hero:not(.has-slider) {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(28,138,92,0.14), transparent 60%),
    linear-gradient(180deg, var(--navy-tint) 0%, var(--white) 100%);
}
.hero:not(.has-slider), .hero:not(.has-slider) h1, .hero:not(.has-slider) h2 { color: var(--navy); }
.hero:not(.has-slider) p.lead { color: var(--slate); }
.hero:not(.has-slider) .eyebrow { background: var(--emerald-tint); color: var(--emerald-dark); }
.hero.has-slider .stage-rail { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); backdrop-filter: blur(6px); }
.hero.has-slider .stage-rail a { background: transparent; border-right-color: rgba(255,255,255,0.16); }
.hero.has-slider .stage-rail a:hover { background: rgba(255,255,255,0.08); }
.hero.has-slider .stage-rail .stage-name { color: var(--white); }
.hero.has-slider .stage-rail .stage-age { color: rgba(255,255,255,0.65); }
.hero.has-slider .stage-rail a.current { background: var(--emerald); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy p.lead { font-size: 1.12rem; margin: 20px 0 32px; max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(6px);
  border-radius: var(--radius-md); padding: 14px 18px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-display); font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 12px; font-size: 0.9rem;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald); flex-shrink: 0; }

@media (max-width: 900px) {
  .hero { padding: 128px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Stage rail (signature element: real KG→Primary→JHS→Cambridge progression) ---------- */
.stage-rail { display: flex; align-items: stretch; gap: 0; margin-top: 44px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.stage-rail a { flex: 1; background: var(--white); padding: 18px 16px; text-align: center; border-right: 1px solid var(--border); transition: background 0.2s var(--ease); }
.stage-rail a:last-child { border-right: none; }
.stage-rail a:hover { background: var(--cream); }
.stage-rail a.current { background: var(--emerald); }
.stage-rail .stage-age { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.05em; color: var(--slate-light); text-transform: uppercase; margin-bottom: 4px; }
.stage-rail a.current .stage-age { color: rgba(255,255,255,0.75); }
.stage-rail .stage-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--navy); }
.stage-rail a.current .stage-name { color: var(--white); }
@media (max-width: 700px) {
  .stage-rail { flex-direction: column; }
  .stage-rail a { border-right: none; border-bottom: 1px solid var(--border); }
  .stage-rail a:last-child { border-bottom: none; }
}

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.stat-cell { background: var(--white); padding: 34px 20px; text-align: center; }
.stat-cell .num { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--emerald-dark); display: block; }
.stat-cell .label { font-size: 0.88rem; color: var(--slate); margin-top: 4px; }
@media (max-width: 700px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--emerald-tint); color: var(--emerald-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.card p { font-size: 0.95rem; margin: 0; }
.card a.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--emerald-dark); }

.dept-card { display: block; }
.dept-card.kg .icon { background: var(--blue-tint); color: var(--blue-dark); }
.dept-card.cambridge .icon { background: var(--navy-tint); color: var(--navy-2); }

.media-card { border-radius: var(--radius-md); overflow: hidden; background: var(--white); border: 1px solid var(--border); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.media-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.media-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.media-card:hover .thumb img { transform: scale(1.06); }
.media-card .body { padding: 20px 22px 24px; }
.media-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.media-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split, .split.reverse .split-media { grid-template-columns: 1fr; order: 0; } }

/* ---------- Age-stage cards (KG/Primary/JHS level bands) ---------- */
.stage-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stage-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stage-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px 22px; text-align: center; }
.stage-card .age { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--amber-dark); }
.stage-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy); margin: 6px 0 4px; }
.stage-card p { font-size: 0.86rem; margin: 0; }
@media (max-width: 900px) { .stage-cards, .stage-cards.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stage-cards, .stage-cards.cols-3 { grid-template-columns: 1fr; } }

/* ---------- Timeline (process steps, schedules, awards) ---------- */
.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--border-dark); }
.timeline-step { position: relative; padding-bottom: 30px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: attr(data-index);
  position: absolute; left: -36px; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--emerald); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
}
.timeline-step h4 { font-size: 1rem; margin-bottom: 4px; }
.timeline-step p { font-size: 0.92rem; margin: 0; }

.schedule-row { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.schedule-row:last-child { border-bottom: none; }
.schedule-time { font-family: var(--font-display); font-weight: 700; color: var(--emerald-dark); font-size: 0.88rem; min-width: 150px; flex-shrink: 0; }
.schedule-label { color: var(--ink); font-size: 0.95rem; }

/* ---------- Achievement / award timeline (horizontal-ish list) ---------- */
.award-row { display: flex; gap: 22px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.award-row:last-child { border-bottom: none; }
.award-year { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--amber); min-width: 70px; }
.award-row h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.award-row p { margin: 0; font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; }
.testimonial-card .quote-mark { font-family: var(--font-display); font-size: 2.6rem; color: var(--amber); line-height: 1; margin-bottom: 6px; display: block; }
.testimonial-card p.quote { font-size: 1rem; color: var(--ink); margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--emerald-tint); color: var(--emerald-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; flex-shrink: 0; }
.testimonial-person h4 { font-size: 0.92rem; margin: 0; }
.testimonial-person span { font-size: 0.82rem; color: var(--slate); }

/* ---------- Staff cards ---------- */
.staff-card { text-align: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px 20px; }
.staff-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--navy-tint); color: var(--navy-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 0 auto 16px; }
.staff-card h3 { font-size: 1.02rem; margin-bottom: 2px; }
.staff-role { color: var(--emerald-dark); font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; margin-bottom: 6px; }
.staff-card p.credentials { font-size: 0.85rem; margin: 0; }

/* ---------- FAQ Accordion ---------- */
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--navy);
}
.accordion-trigger .plus { font-size: 1.3rem; color: var(--emerald); transition: transform 0.25s var(--ease); flex-shrink: 0; margin-left: 16px; }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.accordion-panel p { padding: 0 4px 22px; font-size: 0.96rem; max-width: 70ch; }

/* ---------- Admission requirement lists ---------- */
.req-list { list-style: none; }
.req-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 0.96rem; color: var(--ink); }
.req-list li:last-child { border-bottom: none; }
.req-list li i, .req-list li .tick { color: var(--emerald); flex-shrink: 0; margin-top: 3px; }

/* ---------- Tag / subject chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--cream); border: 1px solid var(--border); padding: 9px 18px; border-radius: 100px; font-size: 0.9rem; font-weight: 600; color: var(--navy); }

/* ---------- Contact method / department cards ---------- */
.contact-method { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; text-align: center; }
.contact-method .icon { width: 54px; height: 54px; border-radius: 50%; background: var(--emerald-tint); color: var(--emerald-dark); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin: 0 auto 16px; }
.contact-method .value { font-family: var(--font-display); font-weight: 700; color: var(--navy); margin: 10px 0 16px; }

.dept-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.dept-row:last-child { border-bottom: none; }
.dept-row h4 { font-size: 1rem; margin-bottom: 3px; }
.dept-row .dept-focus { font-size: 0.86rem; color: var(--emerald-dark); font-weight: 600; }
.dept-row .dept-contact { text-align: right; font-size: 0.9rem; color: var(--slate); }
.dept-row .dept-contact a { color: var(--navy); font-weight: 600; }

/* ---------- Form ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--navy); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border-dark); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.96rem; color: var(--ink); background: var(--white);
  transition: border-color 0.2s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--emerald); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Map / location card ---------- */
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; border-radius: var(--radius-lg); padding: 64px 40px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 56ch; margin: 14px auto 32px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-grid h4 { color: var(--white); font-family: var(--font-display); font-size: 0.92rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid ul li a:hover { color: var(--amber); }
.footer-about p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin: 16px 0 20px; max-width: 34ch; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1rem; }
.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: background 0.2s var(--ease); }
.social-row a:hover { background: var(--emerald); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li i { margin-top: 4px; color: var(--amber); flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 0.85rem; color: rgba(255,255,255,0.55); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.75); text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s var(--ease); }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: var(--shadow-lg);
  transition: transform 0.2s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Sub-page header (page title band under nav) ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 64px;
  background: linear-gradient(180deg, var(--navy-tint) 0%, var(--white) 100%);
  text-align: center;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-head { margin-left: auto; margin-right: auto; }
.page-hero .hero-actions { justify-content: center; }
.page-hero.has-slider { overflow: hidden; padding: 176px 0 76px; color: var(--white); }
.page-hero.has-slider h1 { color: var(--white); }
.page-hero.has-slider p { color: rgba(255,255,255,0.85); }
.page-hero.has-slider .eyebrow { background: rgba(255,255,255,0.14); color: var(--white); }
.page-hero.has-slider .stage-rail { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); backdrop-filter: blur(6px); }
.page-hero.has-slider .stage-rail a { background: transparent; border-right-color: rgba(255,255,255,0.16); }
.page-hero.has-slider .stage-rail a:hover { background: rgba(255,255,255,0.08); }
.page-hero.has-slider .stage-rail .stage-name { color: var(--white); }
.page-hero.has-slider .stage-rail .stage-age { color: rgba(255,255,255,0.65); }
.page-hero.has-slider .stage-rail a.current { background: var(--emerald); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Gallery ---------- */
.gallery-grid { column-count: 4; column-gap: 18px; }
.gallery-grid figure { break-inside: avoid; margin: 0 0 18px; }
.gallery-grid img {
  width: 100%; display: block; border-radius: var(--radius-md);
  cursor: zoom-in; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.gallery-grid img:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
@media (max-width: 900px) { .gallery-grid { column-count: 3; } }
@media (max-width: 620px) { .gallery-grid { column-count: 2; column-gap: 12px; } .gallery-grid figure { margin-bottom: 12px; } }

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(8,20,14,0.92);
  display: flex; align-items: center; justify-content: center; padding: 30px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: var(--white); border: none; font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
.small-note { font-size: 0.85rem; color: var(--slate-light); }
