/* ================================================================
   DOWNER'S EDUCATIONAL INSTITUTE
   Main Stylesheet  ·  Mobile-first  ·  BEM naming
   ================================================================ */

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  /* Palette */
  --c-navy:        #0c2040;
  --c-navy-700:    #153063;
  --c-navy-600:    #1c408a;
  --c-navy-500:    #2353b4;
  --c-gold:        #c5973a;
  --c-gold-lt:     #d9b05e;
  --c-gold-dk:     #9e7520;
  --c-teal:        #0c7075;
  --c-teal-lt:     #0f9499;
  --c-green:       #25d366;   /* WhatsApp */
  --c-white:       #ffffff;
  --c-cream:       #f8f9fd;
  --c-grey-50:     #f2f4f9;
  --c-grey-100:    #e8ebf4;
  --c-grey-200:    #d0d6e8;
  --c-grey-400:    #8e98b8;
  --c-grey-600:    #525c7a;
  --c-grey-800:    #2b3150;
  --c-text:        #18213c;
  --c-text-soft:   #3f4a6a;
  --c-error:       #c0392b;

  /* Type */
  --f-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px;

  /* Layout */
  --max-w: 1200px;
  --gutter: 24px;
  --section-py: 88px;

  /* Radii */
  --r-sm:  6px;
  --r:     12px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(12,32,64,.06);
  --shadow-sm: 0 2px 8px rgba(12,32,64,.08);
  --shadow-md: 0 6px 24px rgba(12,32,64,.10);
  --shadow-lg: 0 12px 40px rgba(12,32,64,.14);
}

/* ── Base ───────────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--f-sans);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; touch-action: manipulation; }
svg  { fill: currentColor; display: block; flex-shrink: 0; }
abbr { text-decoration: none; color: var(--c-gold); }

/* ── Container ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  min-height: 44px;
  border-radius: var(--r-sm);
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn--gold {
  background: var(--c-gold);
  color: var(--c-navy);
  border-color: var(--c-gold);
}
.btn--gold:hover {
  background: var(--c-gold-lt);
  border-color: var(--c-gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(197,151,58,.38);
}
.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.6);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--c-white);
}
.btn--gold-outline {
  background: transparent;
  color: var(--c-gold);
  border-color: var(--c-gold);
}
.btn--gold-outline:hover {
  background: var(--c-gold);
  color: var(--c-navy);
}
.btn--navy-sm {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
  padding: 9px 20px;
  font-size: .875rem;
}
.btn--navy-sm:hover {
  background: var(--c-navy-600);
  border-color: var(--c-navy-600);
  transform: translateY(-1px);
}
.btn--submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  margin-top: var(--sp-4);
}
.btn--submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Eyebrow / section headers ──────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.eyebrow--gold { color: var(--c-gold); }
.eyebrow__line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--c-gold);
  flex-shrink: 0;
}
.section { padding: var(--section-py) 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header--light .eyebrow,
.section-header--light .section-title { color: var(--c-white); }
.section-title {
  font-family: var(--f-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  color: var(--c-navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title--white { color: var(--c-white); }
.section-lead {
  font-size: 1.0625rem;
  color: var(--c-text-soft);
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.7;
}
.section-lead--muted { color: rgba(255,255,255,.65); }

/* ================================================================
   TOP BAR
   ================================================================ */
.topbar {
  background: var(--c-navy);
  padding: 8px 0;
  font-size: .8125rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.75);
  transition: color .15s;
}
.topbar__item:hover { color: var(--c-gold); }
.topbar__item svg { width: 13px; height: 13px; }
.topbar__divider { color: rgba(255,255,255,.25); }
.topbar__item--email svg { width: 14px; height: 14px; }
.topbar__wa {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--c-green);
  color: var(--c-white);
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 24px;
  transition: filter .15s;
}
.topbar__wa:hover { filter: brightness(1.08); }
.topbar__wa svg { width: 14px; height: 14px; }

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--c-white);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header--scrolled {
  border-color: var(--c-grey-100);
  box-shadow: 0 2px 16px rgba(12,32,64,.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.header__logo-name {
  font-family: var(--f-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: -.01em;
}
.header__logo-sub {
  font-family: var(--f-sans);
  font-size: .72rem;
  font-weight: 500;
  color: var(--c-grey-600);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Nav (desktop) ──────────────────────────────────────────────── */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  padding: 7px 13px;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--c-grey-800);
  border-radius: var(--r-sm);
  transition: background .15s, color .15s;
  touch-action: manipulation;
}
.nav__link:hover,
.nav__link.active { color: var(--c-navy); background: var(--c-grey-50); }
.nav__link.active { font-weight: 600; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  margin-left: 10px;
  background: var(--c-gold);
  color: var(--c-navy);
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--r-sm);
  transition: background .15s, transform .15s;
}
.nav__cta:hover { background: var(--c-gold-lt); transform: translateY(-1px); }

/* ── Burger ─────────────────────────────────────────────────────── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  padding: 6px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-700) 55%, #1a3d8a 100%);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 80% 50%, rgba(197,151,58,.07) 0%, transparent 65%),
    url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.018'%3E%3Cpath d='M8 16c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zm33.414-6l5.95-5.95L45.95.636 40 6.586 34.05.636 32.636 2.05 38.586 8l-5.95 5.95 1.414 1.414L40 9.414l5.95 5.95 1.414-1.414L41.414 8zM40 48c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zM9.414 40l5.95-5.95-1.414-1.414L8 38.586l-5.95-5.95L.636 34.05 6.586 40l-5.95 5.95 1.414 1.414L8 41.414l5.95 5.95 1.414-1.414L9.414 40z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 40px;
  align-items: center;
  min-height: 86vh;
  padding-block: 80px;
}
.hero__copy { max-width: 600px; }
.hero__eyebrow { color: var(--c-gold); margin-bottom: 20px; }
.hero__eyebrow .eyebrow__line { background: var(--c-gold); }
.hero__title {
  font-family: var(--f-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  color: var(--c-white);
  line-height: 1.12;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero__title em { font-style: normal; }
.hero__title-accent { color: var(--c-gold); display: block; }
.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__stat {
  flex: 1;
  padding-right: 24px;
}
.hero__stat strong {
  display: block;
  font-family: var(--f-serif);
  font-size: 2.125rem;
  color: var(--c-gold);
  line-height: 1;
  font-weight: 700;
}
.hero__stat strong span { font-size: 1.4rem; }
.hero__stat > span {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  letter-spacing: .02em;
}
.hero__stat-sep {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.15);
  margin-right: 24px;
  flex-shrink: 0;
}

/* ── Hero right panel ────────────────────────────────────────────── */
.hero__panel {
  align-self: center;
}
.hero__panel-inner {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  padding: 40px 32px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.hero__badge {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--c-gold-dk) 0%, var(--c-gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--c-navy);
}
.hero__badge svg { width: 36px; height: 36px; }
.hero__panel-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.hp-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.07);
  border-radius: var(--r-sm);
  padding: 12px 16px;
}
.hp-stat__label {
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}
.hp-stat__value {
  font-family: var(--f-serif);
  font-size: 1rem;
  color: var(--c-gold);
  font-weight: 600;
}
.hero__panel-tagline {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: .9375rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 20px;
}
.hero__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.hero__dots span {
  display: block;
  border-radius: 50%;
}
.hero__dots span:nth-child(1) { width: 10px; height: 10px; background: var(--c-gold); }
.hero__dots span:nth-child(2) { width: 8px;  height: 8px;  background: rgba(197,151,58,.5); margin-top: 1px; }
.hero__dots span:nth-child(3) { width: 6px;  height: 6px;  background: rgba(197,151,58,.3); margin-top: 2px; }
.hero__dots span:nth-child(4) { width: 4px;  height: 4px;  background: rgba(197,151,58,.15); margin-top: 3px; }

/* ================================================================
   ANNOUNCEMENT
   ================================================================ */
.announcement {
  background: var(--c-navy-600);
  padding: 11px 0;
  font-size: .9375rem;
}
.announcement__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.announcement__badge {
  background: var(--c-gold);
  color: var(--c-navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  flex-shrink: 0;
}
.announcement p { flex: 1; color: rgba(255,255,255,.9); }
.announcement a { color: var(--c-gold); font-weight: 600; }
.announcement a:hover { text-decoration: underline; }
.announcement__close {
  color: rgba(255,255,255,.5);
  padding: 4px;
  border-radius: 4px;
  transition: color .15s;
  display: flex;
  align-items: center;
}
.announcement__close svg { width: 18px; height: 18px; }
.announcement__close:hover { color: var(--c-white); }

/* ================================================================
   MISSION STRIP
   ================================================================ */
.mission {
  background: var(--c-navy);
  padding: 60px 0;
}
.mission__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
}
.mission__mark {
  width: 64px;
  height: 64px;
  background: rgba(197,151,58,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  flex-shrink: 0;
}
.mission__mark svg { width: 30px; height: 30px; }
.mission__quote {
  font-family: var(--f-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-style: italic;
  color: rgba(255,255,255,.9);
  line-height: 1.65;
  margin-bottom: 8px;
}
.mission__sub {
  font-size: .875rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .02em;
}

/* ================================================================
   WHY CHOOSE
   ================================================================ */
.why { background: var(--c-cream); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-grey-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-grey-100);
}
.why__item {
  background: var(--c-white);
  padding: 36px 32px;
  display: flex;
  gap: 20px;
  transition: background .2s;
}
.why__item:hover { background: var(--c-cream); }
.why__num {
  font-family: var(--f-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--c-grey-100);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  transition: color .2s;
}
.why__item:hover .why__num { color: var(--c-gold); }
.why__body h3 {
  font-family: var(--f-serif);
  font-size: 1.125rem;
  color: var(--c-navy);
  margin-bottom: 8px;
}
.why__body p {
  font-size: .9375rem;
  color: var(--c-text-soft);
  line-height: 1.65;
}

/* ================================================================
   FOUNDER QUOTE
   ================================================================ */
.founder {
  background: var(--c-navy);
  padding-block: var(--sp-3xl);
  overflow: hidden;
}

.founder__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

/* ── Photo ── */
.founder__photo-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0,0,0,.45);
}

.founder__photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(12,32,64,.55));
  z-index: 1;
  pointer-events: none;
}

.founder__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Gold accent bar on the left edge */
.founder__photo-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--c-gold);
  z-index: 2;
}

/* ── Quote ── */
.founder__quote {
  margin: 0;
  padding: 0;
}

.founder__text {
  font-family: var(--ff-heading);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--c-white);
  position: relative;
  padding-left: 1.5rem;
  margin: 0 0 var(--sp-lg);
}

/* decorative opening quote mark */
.founder__text::before {
  content: '\201C';
  position: absolute;
  left: -0.5rem;
  top: -0.35em;
  font-size: 5em;
  line-height: 1;
  color: var(--c-gold);
  opacity: .25;
  font-family: Georgia, serif;
  pointer-events: none;
}

.founder__attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 1.5rem;
  border-left: 3px solid var(--c-gold);
}

.founder__name {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-gold);
  letter-spacing: .03em;
}

.founder__title {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .founder__inner {
    grid-template-columns: 260px 1fr;
    gap: var(--sp-2xl);
  }
}

@media (max-width: 680px) {
  .founder__inner {
    grid-template-columns: 1fr;
  }

  .founder__photo-wrap {
    max-width: 280px;
    margin-inline: auto;
  }

  .founder__text {
    font-size: 1.2rem;
  }
}

/* ================================================================
   PROGRAMMES
   ================================================================ */
.programmes { background: var(--c-white); }
.prog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.prog-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-grey-100);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.prog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.prog-card__head {
  padding: 28px 22px 22px;
  color: var(--c-white);
}
.prog-card__head--navy  { background: linear-gradient(145deg, var(--c-navy) 0%, var(--c-navy-600) 100%); }
.prog-card__head--gold  { background: linear-gradient(145deg, var(--c-gold-dk) 0%, #b8862a 100%); }
.prog-card__head--teal  { background: linear-gradient(145deg, var(--c-teal) 0%, var(--c-teal-lt) 100%); }
.prog-card__head--dark  { background: linear-gradient(145deg, #111836 0%, var(--c-navy-700) 100%); }
.prog-card__tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255,255,255,.18);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.prog-card__head h3 {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 5px;
}
.prog-card__head p {
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
}
.prog-card__levels {
  flex: 1;
  padding: 18px 20px;
}
.prog-card__levels li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--c-grey-50);
  font-size: .9375rem;
}
.prog-card__levels li:last-child { border-bottom: none; }
.prog-card__levels li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
}
.prog-card__levels span { color: var(--c-text); font-weight: 500; }
.prog-card__levels em  { font-style: normal; font-size: .8rem; color: var(--c-grey-400); margin-left: 2px; }
.prog-card__foot {
  padding: 4px 20px 20px;
}

/* ================================================================
   LEARNING FORMATS
   ================================================================ */
.formats {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-700) 100%);
  padding: var(--section-py) 0;
}
.formats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fmt-item {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  transition: background .2s, transform .2s;
}
.fmt-item:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.fmt-item__icon {
  width: 68px;
  height: 68px;
  background: rgba(197,151,58,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--c-gold);
}
.fmt-item__icon svg { width: 30px; height: 30px; }
.fmt-item h3 {
  font-family: var(--f-serif);
  font-size: 1.2rem;
  color: var(--c-white);
  margin-bottom: 12px;
}
.fmt-item p { font-size: .9375rem; color: rgba(255,255,255,.65); line-height: 1.68; }

/* ================================================================
   SUBJECTS
   ================================================================ */
.subjects { background: var(--c-cream); }
.subjects__cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.subcat {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-grey-100);
  box-shadow: var(--shadow-xs);
}
.subcat__title {
  background: var(--c-navy);
  color: var(--c-white);
  font-family: var(--f-serif);
  font-size: 1rem;
  padding: 14px 20px;
  font-weight: 600;
}
.subcat__list {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.subcat__list li {
  padding: 9px 0;
  font-size: .9375rem;
  color: var(--c-text-soft);
  border-bottom: 1px solid var(--c-grey-50);
  display: flex;
  align-items: center;
  gap: 10px;
}
.subcat__list li:last-child { border-bottom: none; }
.subcat__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
}

/* ================================================================
   LOCATIONS
   ================================================================ */
.locations { background: var(--c-white); }
.locations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.loc-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-grey-100);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.loc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.loc-card__accent {
  height: 6px;
  background: linear-gradient(to right, var(--c-navy), var(--c-gold));
}
.loc-card__body {
  display: flex;
  gap: 24px;
  padding: 36px 32px;
  align-items: flex-start;
}
.loc-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--c-navy), var(--c-navy-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  flex-shrink: 0;
}
.loc-card__icon svg { width: 24px; height: 24px; }
.loc-card h3 {
  font-family: var(--f-serif);
  font-size: 1.375rem;
  color: var(--c-navy);
  margin-bottom: 10px;
}
.loc-card p { font-size: .9375rem; color: var(--c-text-soft); line-height: 1.65; margin-bottom: 20px; }
.loc-card__contacts { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.loc-card__tel {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--c-navy-600);
  border-bottom: 2px solid var(--c-gold);
  padding-bottom: 1px;
  transition: color .15s;
}
.loc-card__tel:hover { color: var(--c-gold); }
.loc-card__wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-green);
  color: var(--c-white);
  font-size: .8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  transition: filter .15s;
}
.loc-card__wa:hover { filter: brightness(1.08); }
.loc-card__wa svg { width: 14px; height: 14px; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials { background: var(--c-cream); }
.testimonials .container { padding-bottom: 0; }
.test-slider {
  overflow: hidden;
  padding-bottom: 48px;
}
.test-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.test-card {
  min-width: 100%;
  padding: 8px var(--gutter);
}
.test-card > div,
.test-card > p,
.test-card > footer {
  max-width: 720px;
  margin-inline: auto;
}
.test-card > div { /* stars */
  text-align: center;
}
.test-card__stars {
  font-size: 1.25rem;
  color: var(--c-gold);
  letter-spacing: 3px;
  display: block;
  text-align: center;
  margin-bottom: 24px;
}
.test-card p {
  font-family: var(--f-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-style: italic;
  color: var(--c-navy);
  line-height: 1.72;
  text-align: center;
  margin-bottom: 20px;
}
.test-card footer { text-align: center; }
.test-card cite {
  font-style: normal;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--c-text-soft);
}
.test-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.test-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-white);
  border: 1.5px solid var(--c-grey-200);
  color: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.test-btn svg { width: 20px; height: 20px; }
.test-btn:hover { background: var(--c-navy); color: var(--c-white); border-color: var(--c-navy); }
.test-dots { display: flex; gap: 8px; }
.test-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-grey-200);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.test-dot--active { background: var(--c-navy); transform: scale(1.35); }

/* ================================================================
   ADMISSIONS
   ================================================================ */
.admissions { background: var(--c-white); }

/* Steps */
.adm-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 64px;
  position: relative;
  counter-reset: steps;
}
.adm-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 4px);
  right: calc(12.5% + 4px);
  height: 2px;
  background: linear-gradient(to right, var(--c-navy-600), var(--c-gold));
  z-index: 0;
}
.adm-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.adm-step__bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-600) 100%);
  color: var(--c-gold);
  font-family: var(--f-serif);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 0 5px var(--c-white);
}
.adm-step__content h3 {
  font-family: var(--f-serif);
  font-size: 1.0625rem;
  color: var(--c-navy);
  margin-bottom: 8px;
}
.adm-step__content p { font-size: .875rem; color: var(--c-text-soft); line-height: 1.6; }

/* Registration form */
.reg-form__wrap {
  max-width: 820px;
  margin-inline: auto;
  background: var(--c-cream);
  border: 1px solid var(--c-grey-100);
  border-radius: var(--r-xl);
  padding: 52px;
  box-shadow: var(--shadow-sm);
}
.reg-form__heading {
  font-family: var(--f-serif);
  font-size: 1.625rem;
  color: var(--c-navy);
  text-align: center;
  margin-bottom: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-grey-800);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--c-grey-200);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: .9375rem;
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23525c7a' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 36px;
  background-color: var(--c-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-navy-600);
  box-shadow: 0 0 0 3px rgba(28, 64, 138, .12);
}
.form-group input.has-error,
.form-group select.has-error { border-color: var(--c-error); }
.form-group textarea { resize: vertical; min-height: 96px; margin-bottom: 4px; }
.form-error {
  font-size: .8rem;
  color: var(--c-error);
  min-height: 1em;
}
.form-note {
  font-size: .8rem;
  color: var(--c-grey-600);
  text-align: center;
  margin-top: 10px;
}

/* Honeypot — must be invisible to real users */
.form-honeypot {
  display: none !important;
  visibility: hidden !important;
}

/* Turnstile widget spacing */
.cf-turnstile {
  margin-bottom: var(--sp-md);
}
.reg-success {
  text-align: center;
  padding: 48px 24px;
}
.reg-success__icon {
  width: 64px;
  height: 64px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #2e7d32;
}
.reg-success__icon svg { width: 36px; height: 36px; }
.reg-success h3 {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  color: var(--c-navy);
  margin-bottom: 10px;
}
.reg-success p { color: var(--c-text-soft); margin-bottom: 24px; }

/* ================================================================
   FAQ
   ================================================================ */
.faq { background: var(--c-cream); }
.faq__list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq__item {
  background: var(--c-white);
  border: 1px solid var(--c-grey-100);
  border-radius: var(--r);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-navy);
  text-align: left;
  background: none;
  cursor: pointer;
  transition: color .15s;
}
.faq__q:hover { color: var(--c-navy-600); }
.faq__q svg {
  width: 22px;
  height: 22px;
  color: var(--c-gold);
  flex-shrink: 0;
  transition: transform .3s;
}
.faq__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s;
}
.faq__a.open { max-height: 240px; padding-bottom: 20px; }
.faq__a p {
  padding: 0 24px;
  font-size: .9375rem;
  color: var(--c-text-soft);
  line-height: 1.72;
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contact-section {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-700) 100%);
  padding: var(--section-py) 0;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.con-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  display: block;
  transition: background .2s, transform .2s;
}
.con-card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.con-card--wa .con-card__icon { background: linear-gradient(135deg, #075e54 0%, var(--c-green) 100%); color: var(--c-white); }
.con-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--c-gold);
}
.con-card__icon svg { width: 26px; height: 26px; }
.con-card h3 {
  font-family: var(--f-serif);
  font-size: 1.125rem;
  color: var(--c-white);
  margin-bottom: 10px;
}
.con-card p {
  font-size: .9375rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  line-height: 1.6;
}
.con-card__note { font-size: .8125rem; color: rgba(255,255,255,.45) !important; margin-top: 6px; font-weight: 400 !important; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--c-navy);
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 64px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer__logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.footer__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.footer__logo-name {
  font-family: var(--f-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -.01em;
}
.footer__logo-sub {
  font-family: var(--f-sans);
  font-size: .72rem;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer__mission {
  font-size: .9375rem;
  color: rgba(255,255,255,.55);
  line-height: 1.72;
  margin-bottom: 24px;
}
.footer__wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-green);
  color: var(--c-white);
  font-weight: 600;
  font-size: .875rem;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  transition: filter .15s;
}
.footer__wa-btn:hover { filter: brightness(1.08); }
.footer__wa-btn svg { width: 16px; height: 16px; }
.footer__col-title {
  font-family: var(--f-serif);
  font-size: 1rem;
  color: var(--c-white);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer__col ul li { margin-bottom: 9px; font-size: .9375rem; }
.footer__col a {
  color: rgba(255,255,255,.55);
  transition: color .15s;
}
.footer__col a:hover { color: var(--c-gold); }
.footer__loc { color: rgba(255,255,255,.35); font-size: .9375rem; }
.footer__bar { padding: 18px 0; }
.footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__bar p { font-size: .85rem; color: rgba(255,255,255,.3); }
.footer__bar-cta {
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-gold);
  transition: color .15s;
}
.footer__bar-cta:hover { color: var(--c-gold-lt); }

/* ================================================================
   FLOATING WHATSAPP
   ================================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-green);
  color: var(--c-white);
  padding: 13px 22px 13px 15px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9375rem;
  box-shadow: 0 6px 28px rgba(37,211,102,.38);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(37,211,102,.5);
}
.wa-float svg { width: 22px; height: 22px; }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.sr {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}
.sr.in-view { opacity: 1; transform: translateY(0); }

/* ================================================================
   RESPONSIVE, 1024px
   ================================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .hero__container   { grid-template-columns: 1fr; }
  .hero__panel       { display: none; }
  .hero__container   { min-height: auto; }

  .prog__grid        { grid-template-columns: repeat(2, 1fr); }
  .subjects__cats    { grid-template-columns: repeat(2, 1fr); }
  .footer__grid      { grid-template-columns: 1fr 1fr; }
  .footer__brand     { grid-column: 1 / -1; }

  .mission__inner    { grid-template-columns: auto 1fr; gap: 32px; }
  .mission__inner .btn { display: none; }
}

/* ================================================================
   RESPONSIVE, 768px
   ================================================================ */
@media (max-width: 768px) {
  :root { --section-py: 56px; --gutter: 18px; }

  /* Top bar */
  .topbar__contacts { gap: 8px; }
  .topbar__item--email { display: none; }

  /* Header / nav */
  .burger { display: flex; }
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--c-white);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s;
    border-top: 1px solid transparent;
    box-shadow: none;
  }
  .nav.open {
    max-height: 480px;
    padding: 12px 16px 20px;
    border-color: var(--c-grey-100);
    box-shadow: 0 8px 24px rgba(12,32,64,.1);
  }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { padding: 13px 16px; display: block; }
  .nav__cta  { margin-left: 0; margin-top: 10px; text-align: center; padding: 12px; }

  /* Hero */
  .hero__container { padding-block: 64px 72px; }
  .hero__actions   { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }

  /* Why */
  .why__grid { grid-template-columns: 1fr; }

  /* Programmes */
  .prog__grid { grid-template-columns: 1fr; }

  /* Formats */
  .formats__grid { grid-template-columns: 1fr; gap: 16px; }

  /* Subjects */
  .subjects__cats { grid-template-columns: 1fr; }

  /* Locations */
  .locations__grid { grid-template-columns: 1fr; }
  .loc-card__body  { flex-direction: column; }

  /* Admissions steps */
  .adm-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .adm-steps::before { display: none; }
  .adm-step { flex-direction: row; text-align: left; gap: 20px; align-items: flex-start; }
  .adm-step__bubble { margin-bottom: 0; flex-shrink: 0; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .reg-form__wrap { padding: 28px 20px; border-radius: var(--r-lg); }

  /* Mission */
  .mission__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .mission__mark  { display: none; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid  { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { grid-column: unset; }

  /* Float */
  .wa-float__label { display: none; }
  .wa-float { padding: 15px; border-radius: 50%; }
}

/* ================================================================
   RESPONSIVE, 480px
   ================================================================ */
@media (max-width: 480px) {
  .topbar__contacts { display: none; }
  .hero__title { font-size: 2.4rem; }
  .test-card p { font-size: 1.05rem; }
  .header__logo-text { display: none; }
}

/* ================================================================
   SPEED COURSES
   ================================================================ */
.speed-courses {
  background: linear-gradient(135deg, #08172e 0%, var(--c-navy-700) 60%, #1a3d8a 100%);
  padding: var(--section-py) 0;
}
.speed__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}
.speed-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background .2s, transform .2s;
}
.speed-card:hover { background: rgba(255,255,255,.11); transform: translateY(-4px); }
.speed-card--featured {
  border-color: var(--c-gold);
  background: rgba(197,151,58,.07);
}
.speed-card--featured:hover { background: rgba(197,151,58,.13); }
.speed-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-gold);
  color: var(--c-navy);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.speed-card__num {
  font-family: var(--f-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(197,151,58,.2);
  line-height: 1;
}
.speed-card h3 {
  font-family: var(--f-serif);
  font-size: 1.375rem;
  color: var(--c-white);
  margin-top: -8px;
  line-height: 1.25;
}
.speed-card > p {
  font-size: .9375rem;
  color: rgba(255,255,255,.65);
  line-height: 1.68;
  flex: 1;
}
.speed-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.speed-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.78);
}
.speed-card__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
}
.speed__cta {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.speed__cta p {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}
.speed__cta strong { color: var(--c-white); }
.speed__cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================================
   SOCIAL PROOF STRIP
   ================================================================ */
.social-proof {
  background: var(--c-navy);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.social-proof__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.sp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 44px;
  text-align: center;
}
.sp-stat strong {
  font-family: var(--f-serif);
  font-size: 2rem;
  color: var(--c-gold);
  font-weight: 700;
  line-height: 1;
}
.sp-stat span {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  margin-top: 5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sp-sep {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}
.sp-fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1877f2;
  color: var(--c-white);
  font-weight: 600;
  font-size: .875rem;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  margin-left: 44px;
  transition: filter .15s, transform .15s;
  flex-shrink: 0;
}
.sp-fb-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.sp-fb-btn svg { width: 16px; height: 16px; fill: var(--c-white); }

/* ── Location address ────────────────────────────────────────── */
.loc-card__address {
  font-size: .8125rem !important;
  font-weight: 600 !important;
  color: var(--c-navy-600) !important;
  margin-bottom: 8px !important;
  letter-spacing: .01em;
}
.loc-card__map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--c-navy-600);
  text-decoration: none;
  font-weight: 600;
  font-size: inherit;
  transition: color .2s;
}
.loc-card__map-link svg { fill: var(--c-gold); flex-shrink: 0; }
.loc-card__map-link:hover { color: var(--c-gold); text-decoration: underline; }

/* ================================================================
   GALLERY
   ================================================================ */
.gallery-section { background: var(--c-white); }

/* Filter buttons */
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.gallery__filter {
  padding: 8px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--c-navy-600);
  background: transparent;
  color: var(--c-navy-600);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.gallery__filter:hover,
.gallery__filter--active {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}

/* Grid */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md, 12px);
  cursor: pointer;
  background: var(--c-navy-100);
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
  transition: transform .4s ease;
}
.gallery__item--wide img { aspect-ratio: 16/9; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(12,32,64,.7));
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .25s;
}
.gallery__item:hover figcaption { opacity: 1; }
.gallery__item--hidden { display: none; }

/* Lightbox */
.gallery-lb {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.gallery-lb--open { opacity: 1; pointer-events: all; }
.gallery-lb__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.gallery-lb__close {
  position: fixed;
  top: 20px; right: 24px;
  background: none; border: none;
  color: #fff; font-size: 2rem;
  cursor: pointer; line-height: 1;
  opacity: .8;
}
.gallery-lb__close:hover { opacity: 1; }
.gallery-lb__nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none; color: #fff;
  font-size: 2rem; cursor: pointer;
  padding: 12px 18px; border-radius: 8px;
  transition: background .2s;
}
.gallery-lb__nav:hover { background: rgba(255,255,255,.3); }
.gallery-lb__prev { left: 16px; }
.gallery-lb__next { right: 16px; }

/* Responsive gallery */
@media (max-width: 768px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item figcaption { opacity: 1; }
}
@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; gap: 8px; }
  .gallery__item--wide { grid-column: span 1; }
  .gallery__item--wide img { aspect-ratio: 4/3; }
}

/* ── Footer Facebook social link ─────────────────────────────── */
.footer__social-fb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.55) !important;
  transition: color .15s !important;
}
.footer__social-fb:hover { color: #1877f2 !important; }
.footer__social-fb svg { fill: currentColor; flex-shrink: 0; }

/* ================================================================
   SPEED COURSES RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .speed__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .speed__grid { grid-template-columns: 1fr; gap: 28px; }
  .social-proof__inner { gap: 16px 0; }
  .sp-stat { padding: 10px 24px; }
  .sp-sep { display: none; }
  .sp-fb-btn { margin-left: 0; margin-top: 4px; }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .sr {
    opacity: 1;
    transform: none;
  }
}
