/* ==========================================================================
   SMART EDUCATION CENTRE — main stylesheet (hand-written, mobile-first)
   1. Design tokens      6. Header & navigation   11. Forms
   2. Base & typography  7. Hero                  12. Footer
   3. Layout helpers     8. Sections & cards      13. Contact bar, WhatsApp, cookie bar
   4. Buttons & links    9. Trending strip        14. Utilities
   5. Badges & tiles    10. Home blocks
   ========================================================================== */

/* Size-matched fallback fonts: text keeps the same size while Poppins/Inter load (no layout shift) */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"); size-adjust: 112.16%; ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }

/* 1. Design tokens ------------------------------------------------------- */
:root {
  /* Brand colours (exact) */
  --charcoal: #20242B;
  --navy: #17243A;
  --gold: #D6A51D;
  --cream: #FFF7DF;
  --white: #FFFFFF;
  --grey: #F3F5F7;

  /* Supporting shades (derived) */
  --navy-700: #22344F;
  --navy-600: #2E4466;
  --gold-600: #B98C10;         /* hover state for gold buttons (text stays charcoal) */
  --gold-soft: #FBEFC9;
  --text: var(--charcoal);
  --muted: #545B67;            /* 7:1 on white */
  --line: #E1E5EA;
  --line-strong: #CBD2DB;
  --input-border: #7C8798;     /* 3.6:1 on white (form field outlines) */
  --on-navy: #FFFFFF;
  --on-navy-muted: #C5CEDB;    /* 9:1 on navy */
  --error: #B42318;
  --success: #1E7B4E;

  /* Typography */
  --font-head: "Poppins", "Poppins Fallback", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Inter Fallback", "Segoe UI", Arial, sans-serif;
  --font-deva: "Noto Sans Devanagari", "Inter", sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.2rem, 1.1rem + 0.4vw, 1.375rem);
  --fs-xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-3xl: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);

  /* Shape & depth */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(23, 36, 58, .06), 0 1px 3px rgba(23, 36, 58, .06);
  --shadow: 0 4px 16px rgba(23, 36, 58, .08);
  --shadow-lg: 0 18px 40px rgba(23, 36, 58, .12);

  --container: 1200px;
  --header-h: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base & typography --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 var(--s-3); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-3xl); font-weight: 700; }
h2 { font-size: var(--fs-2xl); font-weight: 700; }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-600); }
ul, ol { padding-left: 1.25rem; }
address { font-style: normal; }
strong { font-weight: 600; }
small { font-size: var(--fs-xs); }
[lang="mr"], [lang="hi"], .deva { font-family: var(--font-deva); }
::selection { background: var(--gold-soft); color: var(--charcoal); }

/* Visible focus for keyboard users (navy ring on light, gold ring on navy) */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.section--navy :focus-visible, .footer-main :focus-visible, .topbar :focus-visible { outline-color: var(--gold); }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); color: var(--white); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 3. Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 600px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1100px) { .container { padding-inline: 2rem; } }
.narrow { max-width: 760px; }
.text-center { text-align: center; }

.section { padding-block: var(--section-y); }
.section--grey { background: var(--grey); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--on-navy-muted); }
.section--navy h2, .section--navy h3 { color: var(--on-navy); }

.section-head { max-width: 720px; margin-bottom: var(--s-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { margin-bottom: var(--s-3); }
.section-lead { font-size: var(--fs-md); color: var(--muted); }
.section--navy .section-lead { color: var(--on-navy-muted); }
.section-more { margin-top: var(--s-6); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-600); margin-bottom: var(--s-3);
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--gold); }
.eyebrow--gold { color: var(--gold); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s-5); box-shadow: var(--shadow-sm);
}
@media (min-width: 600px) { .card { padding: var(--s-6); } }

/* 4. Buttons & links ------------------------------------------------------ */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-border: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: .75rem 1.375rem;
  font-family: var(--font-body); font-size: var(--fs-base); font-weight: 600; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-border); border-radius: 10px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn--navy { --btn-bg: var(--navy); --btn-border: var(--navy); --btn-fg: var(--white); }
.btn--navy:hover { --btn-bg: var(--navy-700); --btn-border: var(--navy-700); }
/* Gold button: text is always charcoal (brand rule; 7.9:1 contrast) */
.btn--gold { --btn-bg: var(--gold); --btn-border: var(--gold); --btn-fg: var(--charcoal); }
.btn--gold:hover { --btn-bg: #E2B232; --btn-border: #E2B232; }
.btn--outline { --btn-bg: transparent; --btn-border: var(--line-strong); --btn-fg: var(--navy); }
.btn--outline:hover { --btn-border: var(--navy); --btn-bg: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-border: var(--white); --btn-fg: var(--navy); }
.btn--sm { min-height: 44px; padding: .5rem 1rem; font-size: var(--fs-sm); }
.btn--lg { min-height: 54px; padding: .875rem 1.75rem; font-size: var(--fs-md); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn-row--center { justify-content: center; margin-block: var(--s-6) var(--s-5); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 600; color: var(--navy); text-decoration: none; min-height: 44px;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

.icon { width: 20px; height: 20px; flex: none; }

/* 5. Badges & icon tiles ----------------------------------------------- */
.badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.badge {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 500; line-height: 1.5;
  background: var(--grey); color: var(--navy); border: 1px solid var(--line);
}
.badge--classroom { background: #EEF2F8; border-color: #DCE4F0; }
.badge--hybrid { background: #F1EEF8; border-color: #E2DCF0; }
.badge--online { background: #EAF5F1; border-color: #D3EAE1; color: #14513A; }
.badge--recorded { background: var(--cream); border-color: #F2E3B4; color: #5C4508; }
.badge--gold { background: var(--gold); border-color: var(--gold); color: var(--charcoal); font-weight: 600; }

.icon-tile {
  display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none;
  border-radius: 14px; background: var(--cream); color: var(--navy); border: 1px solid #F2E3B4;
}
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile--sm { width: 44px; height: 44px; border-radius: 12px; }
.icon-tile--sm .icon { width: 22px; height: 22px; }

.meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.meta-item .icon { width: 16px; height: 16px; color: var(--navy-600); }

/* 6. Header & navigation ------------------------------------------------- */
.topbar { display: none; background: var(--navy); color: var(--on-navy-muted); font-size: var(--fs-xs); }
@media (min-width: 1240px) { .topbar { display: block; } }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; }
.topbar__text { display: flex; align-items: center; gap: 6px; margin: 0; }
.topbar__text .icon { width: 14px; height: 14px; color: var(--gold); }
.topbar__right { display: flex; align-items: center; gap: var(--s-5); }
.topbar__link { display: inline-flex; align-items: center; gap: 6px; color: var(--white); text-decoration: none; font-weight: 500; }
.topbar__link .icon { width: 14px; height: 14px; color: var(--gold); }
.topbar__link:hover { color: var(--gold); }

.social-list { display: flex; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.social-list a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--navy); background: var(--grey); transition: background-color .2s, color .2s;
}
.social-list a:hover { background: var(--navy); color: var(--white); }
.social-list--small a { width: 32px; height: 32px; background: transparent; color: var(--on-navy-muted); }
.social-list--small a:hover { background: var(--navy-700); color: var(--gold); }
.social-list--small .icon { width: 16px; height: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(23, 36, 58, .08); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-4); min-height: 106px; transition: min-height .25s var(--ease); }
.is-scrolled .site-header__inner { min-height: 98px; }

/* Logo: official PNG, min 90px wide, clear space around it, never boxed or recoloured */
.brand { display: flex; align-items: center; gap: 14px; flex: none; padding: 4px 0; border-radius: 6px; text-decoration: none; }
.brand picture { flex: none; }
/* Institute name beside the logo (text on white, navy) */
.brand__text { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--gold); }
.brand__name {
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  text-transform: uppercase; display: flex; flex-direction: column;
}
/* "SMART" large, "EDUCATION CENTRE" smaller underneath */
.brand__smart { font-size: 2rem; line-height: 1; letter-spacing: .06em; }
.brand__rest { font-size: .8rem; line-height: 1.2; letter-spacing: .1em; margin-top: 4px; white-space: nowrap; }
.brand__tagline { font-size: .75rem; font-weight: 500; color: var(--muted); white-space: nowrap; margin-top: 2px; }
@media (min-width: 420px) { .brand__smart { font-size: 2.25rem; } .brand__rest { font-size: .875rem; } }
@media (min-width: 768px) { .brand__smart { font-size: 2.5rem; } .brand__rest { font-size: .95rem; } }
@media (max-width: 359.98px) { .brand__tagline { display: none; } }
.brand__logo { width: 90px; height: 90px; object-fit: contain; transition: width .25s var(--ease), height .25s var(--ease); }
@media (min-width: 1240px) {
  .site-header__inner { min-height: 112px; }
  .brand__logo { width: 96px; height: 96px; }
  .is-scrolled .site-header__inner { min-height: 100px; }
  .is-scrolled .brand__logo { width: 90px; height: 90px; }
}

.main-nav { display: none; margin-left: auto; }
@media (min-width: 1240px) { .main-nav { display: block; } }
.main-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav__list > li { position: relative; display: flex; align-items: center; }
.main-nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .6rem; white-space: nowrap;
  font-weight: 500; font-size: .96rem; color: var(--navy); text-decoration: none; border-radius: 8px;
  position: relative;
}
.main-nav__link::after {
  content: ""; position: absolute; left: .6rem; right: .6rem; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease);
}
.main-nav__link:hover { color: var(--navy); background: var(--grey); }
.main-nav__link:hover::after, .main-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.main-nav__link[aria-current="page"] { font-weight: 600; }
.has-dropdown .main-nav__link { padding-right: .2rem; }
.dropdown-toggle {
  display: grid; place-items: center; width: 28px; height: 44px; padding: 0; border: 0; background: none;
  color: var(--navy); cursor: pointer; border-radius: 6px;
}
.dropdown-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -12px; width: 340px;
  list-style: none; margin: 0; padding: var(--s-2);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .75rem .9rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); }
.dropdown a:hover { background: var(--grey); }
.dropdown strong { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 600; }
.dropdown span { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; margin-top: 2px; }
.dropdown .dropdown__all { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); margin-top: 4px; }
.dropdown .dropdown__all .icon { width: 16px; height: 16px; }

.header-actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
@media (min-width: 1240px) { .header-actions { margin-left: 0; } }
.header-actions__cta { display: none; }
@media (min-width: 600px) { .header-actions__cta { display: inline-flex; } }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--navy);
  cursor: pointer; text-decoration: none; transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--grey); border-color: var(--line-strong); color: var(--navy); }
.icon-btn--wa { color: #128C4A; }
.menu-toggle { background: var(--navy); border-color: var(--navy); color: var(--white); }
.menu-toggle:hover { background: var(--navy-700); color: var(--white); }
@media (min-width: 1240px) { .menu-toggle { display: none; } }
@media (max-width: 380px) { .header-actions .icon-btn:not(.menu-toggle) { display: none; } }
/* Desktop: phone/WhatsApp icons are already in the top bar and floating button */
@media (min-width: 1240px) {
  .header-actions .icon-btn:not(.menu-toggle) { display: none; }
  .site-header .container, .topbar .container { max-width: 1320px; }
}

/* Mobile slide-in menu */
.mobile-menu { position: fixed; inset: 0; z-index: 300; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(23, 36, 58, .55); opacity: 0; transition: opacity .25s; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
  display: flex; flex-direction: column; gap: var(--s-5);
  background: var(--white); padding: var(--s-4) var(--s-5) var(--s-6); overflow-y: auto;
  transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg);
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__title { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: var(--fs-md); }
.mobile-nav { list-style: none; margin: 0; padding: 0; }
.mobile-nav > li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: flex; align-items: center; min-height: 52px; color: var(--navy); font-weight: 500; font-size: var(--fs-md); text-decoration: none; }
.mobile-nav a[aria-current="page"] { font-weight: 700; box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
.mobile-nav__sub { list-style: none; margin: 0 0 var(--s-3); padding: 0 0 0 var(--s-4); border-left: 2px solid var(--line); }
.mobile-nav__sub a { min-height: 44px; font-size: var(--fs-base); color: var(--muted); }
.mobile-menu__actions { display: grid; gap: var(--s-3); }
body.menu-open { overflow: hidden; }

/* 7. Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--grey);
  background-image: radial-gradient(rgba(23, 36, 58, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: var(--s-6); } }
.hero__title { font-size: var(--fs-3xl); margin-bottom: var(--s-4); letter-spacing: -0.02em; }
.hero__accent { position: relative; white-space: nowrap; z-index: 0; }
.hero__accent::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .32em; z-index: -1;
  background: var(--gold); opacity: .55; border-radius: 3px;
}
.hero__lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 34rem; margin-bottom: var(--s-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }
@media (max-width: 480px) { .hero__actions .btn { width: 100%; } }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); color: var(--charcoal); font-weight: 500; }
.hero__facts li { display: inline-flex; align-items: center; gap: 6px; }
.hero__facts .icon { width: 18px; height: 18px; color: var(--white); background: var(--navy); border-radius: 50%; padding: 3px; stroke-width: 3; }

.hero__visual { position: relative; }
.hero__image { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; object-position: 50% 30%; aspect-ratio: 16 / 13; }
.hero-illustration { position: relative; max-width: 560px; margin-inline: auto; }
.hero-illustration svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(23, 36, 58, .12)); }
.hero-chip {
  position: absolute; display: inline-flex; align-items: center; gap: var(--s-2);
  padding: .55rem .85rem; border-radius: 12px; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: var(--fs-sm); font-weight: 600; color: var(--navy);
  animation: float 6s ease-in-out infinite;
}
.hero-chip .icon { width: 18px; height: 18px; }
.hero-chip--a { top: 2%; right: 0; }
.hero-chip--b { top: 40%; left: -2%; animation-delay: -2s; }
.hero-chip--c { bottom: 2%; right: 4%; animation-delay: -4s; padding: .6rem .9rem .6rem .6rem; }
.hero-chip--c small { display: block; font-weight: 500; color: var(--muted); }
.hero-chip--c strong { display: block; line-height: 1.2; }
.hero-chip__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--gold); color: var(--charcoal); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 480px) { .hero-chip { font-size: var(--fs-xs); padding: .4rem .6rem; } .hero-chip__icon { width: 30px; height: 30px; } }

/* 8. Sections & cards ------------------------------------------------- */
.course-grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .course-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); } }
@media (min-width: 1024px) { .course-grid { grid-template-columns: repeat(3, 1fr); } }
.course-card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-3);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s-5); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.course-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.course-card__cat { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.course-card__title { font-size: var(--fs-lg); margin: 0; }
.course-card__title a { color: var(--navy); text-decoration: none; }
.course-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.course-card__tagline { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.course-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: auto; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.course-card__fee { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.course-card__fee strong { color: var(--charcoal); font-size: var(--fs-md); font-family: var(--font-head); }
.course-card .link-arrow { position: relative; z-index: 1; }

/* Image placeholder (until the owner uploads a real photo) */
.placeholder {
  display: grid; place-items: center; gap: var(--s-2); text-align: center;
  background: repeating-linear-gradient(45deg, #EDF0F3, #EDF0F3 10px, #E6EAEE 10px, #E6EAEE 20px);
  border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted);
  font-size: var(--fs-sm); font-weight: 500; aspect-ratio: 4 / 3; padding: var(--s-4);
}
.placeholder .icon { width: 28px; height: 28px; margin-inline: auto; }

/* 9. Trending strip ------------------------------------------------------ */
.trending { background: var(--white); border-bottom: 1px solid var(--line); padding-block: var(--s-6); }
.trending__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-4); }
.trending__title { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-md); margin: 0; }
.trending__title .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.trending__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 78%);
  gap: var(--s-3); list-style: none; margin: 0; padding: 4px 2px var(--s-3);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
@media (min-width: 640px) { .trending__list { grid-auto-columns: minmax(230px, 40%); } }
@media (min-width: 1024px) {
  .trending__list { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); overflow: visible; padding-bottom: 4px; }
}
.trend-card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-2); scroll-snap-align: start;
  padding: var(--s-4); border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  border-top: 3px solid var(--gold); transition: box-shadow .2s, transform .2s var(--ease);
}
.trend-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.trend-card__title { font-size: var(--fs-base); margin: 0; }
.trend-card__title a { color: var(--navy); text-decoration: none; }
.trend-card__title a::after { content: ""; position: absolute; inset: 0; }
.trend-card .link-arrow { margin-top: auto; min-height: 0; font-size: var(--fs-sm); padding-top: var(--s-1); }
.badges--compact .badge { padding: 1px 8px; font-size: .75rem; }

/* 10. Home blocks ---------------------------------------------------------- */
.category-grid { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .category-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.category-block {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-5); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 600px) { .category-block { padding: var(--s-6); } }
.category-block__num { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); margin-bottom: var(--s-2); color: #8A6A0C; }
.category-block__title { font-size: var(--fs-xl); margin-bottom: var(--s-2); }
.category-block__title a { text-decoration: none; color: var(--navy); }
.category-block__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.category-block__audience { color: var(--muted); margin: 0; }
.category-block__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.category-block__list li { border-bottom: 1px solid var(--line); }
.category-block__list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  min-height: 52px; padding-block: var(--s-2); text-decoration: none; color: var(--charcoal); font-weight: 500;
}
.category-block__list a:hover .category-block__course { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }
.category-block__dur { flex: none; font-size: var(--fs-xs); color: var(--muted); background: var(--grey); border-radius: 999px; padding: 2px 10px; }
.category-block .link-arrow { margin-top: auto; }

.mode-grid { display: grid; gap: var(--s-4); }
@media (min-width: 600px) { .mode-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mode-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.mode-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); }
.mode-card .icon-tile { margin-bottom: var(--s-4); }
.mode-card__title { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.mode-card p { color: var(--muted); font-size: var(--fs-sm); }

.why-grid { display: grid; gap: var(--s-4); list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(5, 1fr); } }
.why-item { padding: var(--s-5); border-radius: var(--radius-lg); background: var(--navy-700); border: 1px solid rgba(255, 255, 255, .08); }
.why-item__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--gold); color: var(--charcoal); margin-bottom: var(--s-4); }
.why-item__icon .icon { width: 24px; height: 24px; }
.why-item__title { font-size: var(--fs-base); margin-bottom: var(--s-2); }
.why-item p { font-size: var(--fs-sm); }

.review-grid { display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-5); } }
.review-card { margin: 0; padding: var(--s-5); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; gap: var(--s-4); }
.review-card blockquote { margin: 0; font-size: var(--fs-base); }
.review-card blockquote::before { content: "\201C"; display: block; font-family: var(--font-head); font-size: 3rem; line-height: 1; color: var(--gold); height: 1.6rem; }
.review-card figcaption { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; }
.review-card figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.review-card figcaption small { display: block; color: var(--muted); }

.video-grid { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { margin: 0; }
.video-card figcaption { margin-top: var(--s-3); font-weight: 600; color: var(--navy); }
.video-facade { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--navy); aspect-ratio: 16 / 9; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade__play { position: absolute; inset: 0; display: grid; place-items: center; color: #FF0000; }
.video-facade__play .icon { width: 64px; height: 64px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.video-facade iframe, .video-card iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }

.centre-grid { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .centre-grid { grid-template-columns: repeat(2, 1fr); } }
.centre-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.centre-card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.centre-card__title { font-size: var(--fs-lg); margin: 0; }
.centre-card address { color: var(--muted); }
.centre-card__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: auto; }
.map-facade {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9;
  background-color: #E9EDF1;
  background-image:
    linear-gradient(rgba(23, 36, 58, .06) 2px, transparent 2px),
    linear-gradient(90deg, rgba(23, 36, 58, .06) 2px, transparent 2px);
  background-size: 48px 48px;
}
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade__btn {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: .5rem 1rem;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--navy);
  font: 600 var(--fs-sm) var(--font-body); cursor: pointer; box-shadow: var(--shadow-sm);
}
.map-facade__btn:hover { border-color: var(--navy); }

.enquiry-layout { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 960px) { .enquiry-layout { grid-template-columns: .8fr 1.2fr; gap: var(--s-7); } }
.contact-points { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.contact-points a { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-md); }
.contact-points small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: var(--fs-xs); }
.contact-points .icon-tile { background: var(--white); }

.page-title { font-size: var(--fs-2xl); }
.page-404 { min-height: 50vh; }
.muted { color: var(--muted); }

/* 11. Forms ----------------------------------------------------------------- */
.form-grid { display: grid; gap: var(--s-4); }
@media (min-width: 600px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 500; font-size: var(--fs-sm); color: var(--charcoal); margin-bottom: 6px; }
.field .req { color: var(--error); }
.field .optional { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="search"],
.field input[type="password"], .field input[type="url"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: 400 var(--fs-base) var(--font-body); color: var(--charcoal);
  background: var(--white); border: 1.5px solid var(--input-border); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2317243A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23, 36, 58, .15); }
.field__error { display: none; margin: 6px 0 0; font-size: var(--fs-xs); color: var(--error); font-weight: 500; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field.has-error .field__error { display: block; }
.field--check { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: var(--s-3); }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); }
.field--check label { margin: 0; font-weight: 400; font-size: var(--fs-base); }
.field--check .field__error { grid-column: 2; margin-top: 0; }
.form-actions { margin-top: var(--s-5); display: grid; gap: var(--s-3); }
@media (min-width: 600px) { .form-actions { grid-template-columns: auto 1fr; align-items: center; gap: var(--s-5); } }
.form-note { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.form-alert { padding: var(--s-3) var(--s-4); border-radius: 10px; background: #FDECEA; color: var(--error); border: 1px solid #F5C2BC; font-weight: 500; margin-bottom: var(--s-4); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* 12. Footer ----------------------------------------------------------------- */
.footer-brand { background: var(--grey); border-top: 1px solid var(--line); padding-block: var(--s-6); }
.footer-brand__inner { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 768px) { .footer-brand__inner { grid-template-columns: auto 1fr; gap: var(--s-6); } }
.footer-brand__logo { display: inline-block; padding: 8px; border-radius: 8px; }
.footer-brand__logo img { width: 110px; height: 110px; }
.footer-brand__name { font-family: var(--font-head); font-weight: 700; color: var(--navy); letter-spacing: .04em; margin-bottom: var(--s-2); }
.footer-brand__text p:last-child { color: #3E4450; max-width: 62rem; }

.footer-main { background: var(--navy); color: var(--on-navy-muted); padding-top: var(--s-7); padding-bottom: var(--s-4); font-size: var(--fs-sm); }
.footer-main__grid { display: grid; gap: var(--s-6); }
@media (min-width: 600px) { .footer-main__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-main__grid { grid-template-columns: .8fr .8fr 1fr 1.4fr; } }
.footer-col__title { font-size: var(--fs-sm); color: var(--white); letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s-4); }
.footer-col__title::after { content: ""; display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--gold); margin-top: var(--s-2); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; min-width: 44px; color: var(--on-navy-muted); text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); }
.footer-links--icons .icon { width: 16px; height: 16px; color: var(--gold); }
.footer-address { margin-bottom: var(--s-4); line-height: 1.6; }
.footer-address strong { display: block; color: var(--white); }
.footer-address a { display: flex; width: fit-content; align-items: center; min-height: 44px; color: var(--gold); font-weight: 600; text-decoration: none; }
.footer-address a:hover { text-decoration: underline; }
.social-list--footer a { background: var(--navy-700); color: var(--white); }
.social-list--footer a:hover { background: var(--gold); color: var(--charcoal); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }
.footer-bottom__links { display: flex; gap: var(--s-4); list-style: none; margin: 0; padding: 0; }
.footer-bottom__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-navy-muted); }
.footer-bottom__links a:hover { color: var(--white); }

/* 13. Contact bar, WhatsApp float, cookie bar ------------------------------- */
.contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2);
  padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(23, 36, 58, .08);
}
.contact-bar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 50px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: var(--fs-md);
}
.contact-bar__btn--call { background: var(--navy); color: var(--white); }
.contact-bar__btn--call:hover { color: var(--white); background: var(--navy-700); }
.contact-bar__btn--wa { background: var(--gold); color: var(--charcoal); }
.contact-bar__btn--wa:hover { color: var(--charcoal); }
@media (max-width: 1023.98px) { body { padding-bottom: 68px; } }
@media (min-width: 1024px) { .contact-bar { display: none; } }

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 200; display: none;
  place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--gold); color: var(--charcoal); box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); color: var(--charcoal); }
@media (min-width: 1024px) { .wa-float { display: grid; } }

.cookie-bar {
  position: fixed; left: var(--s-3); right: var(--s-3); bottom: 80px; z-index: 250;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3);
  max-width: 560px; padding: var(--s-4); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: var(--fs-sm);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 260px; }
@media (min-width: 1024px) { .cookie-bar { left: 24px; right: auto; bottom: 24px; } }

/* 15. Inner pages ----------------------------------------------------------- */
[hidden] { display: none !important; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }

.page-hero {
  background-color: var(--grey);
  background-image: radial-gradient(rgba(23, 36, 58, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  border-bottom: 1px solid var(--line);
  padding-block: var(--s-6) clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.page-hero__title { font-size: var(--fs-2xl); margin-bottom: var(--s-3); max-width: 22ch; }
.page-hero--course .page-hero__title { max-width: 26ch; }
.page-hero__lead { font-size: var(--fs-md); color: var(--muted); max-width: 46rem; margin: 0; }
.page-hero .eyebrow a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.page-hero--course .eyebrow { margin-bottom: 0; }
.page-hero .eyebrow a:hover { text-decoration: underline; }

.breadcrumb { margin-bottom: var(--s-4); font-size: var(--fs-sm); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-inline: .5rem; color: var(--line-strong); }
.breadcrumb a { color: var(--navy-600); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--charcoal); font-weight: 500; }

/* Course detail */
.course-hero { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 960px) { .course-hero:has(.course-hero__image) { grid-template-columns: 1.3fr .7fr; } }
.course-hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-5) 0 var(--s-3); }
.meta-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500; color: var(--charcoal);
}
.meta-pill .icon { width: 16px; height: 16px; color: var(--navy-600); }
.meta-pill--fee { background: var(--cream); border-color: #F2E3B4; }
.meta-pill--fee strong { font-family: var(--font-head); color: var(--navy); }
.course-hero__actions { margin-top: var(--s-5); }
@media (max-width: 600px) { .course-hero__actions .btn { width: 100%; white-space: normal; } }
.course-hero__image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }

.course-layout { display: grid; gap: var(--s-6); padding-block: var(--s-7); }
@media (min-width: 1024px) { .course-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-7); align-items: start; } }
.course-main { min-width: 0; }
.course-section { padding-block: var(--s-6); border-bottom: 1px solid var(--line); }
.course-section:first-child { padding-top: 0; }
.course-section:last-child { border-bottom: 0; }
.course-section__title { font-size: var(--fs-xl); margin-bottom: var(--s-4); }
.prose { max-width: 70ch; }
.prose p { margin-bottom: var(--s-4); }
.prose--lg { font-size: var(--fs-md); }

.module-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
@media (min-width: 700px) { .module-list { grid-template-columns: repeat(2, 1fr); } }
.module { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.module__num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); }
.module__title { font-size: var(--fs-base); margin: 6px 0 2px; }
.module__desc { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

.info-grid { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .info-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (min-width: 700px) { .info-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.info-card { padding: var(--s-5); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.info-card .icon-tile { margin-bottom: var(--s-3); }
.info-card__title { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.info-card p { color: var(--muted); }
.info-card--warn { border-color: #F2E3B4; background: var(--cream); }
.info-card--warn p { color: var(--charcoal); }

/* Fee table: table on desktop, stacked cards on mobile */
.fee-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-base); }
.fee-table th, .fee-table td { text-align: left; vertical-align: top; padding: var(--s-4); }
.fee-table thead th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); }
.fee-table thead th:first-child { border-top-left-radius: var(--radius); }
.fee-table thead th:last-child { border-top-right-radius: var(--radius); }
.fee-table tbody th, .fee-table tbody td { border-bottom: 1px solid var(--line); background: var(--white); }
.fee-table tbody tr > :first-child { border-left: 1px solid var(--line); }
.fee-table tbody tr > :last-child { border-right: 1px solid var(--line); }
.fee-table tbody tr:last-child > :first-child { border-bottom-left-radius: var(--radius); }
.fee-table tbody tr:last-child > :last-child { border-bottom-right-radius: var(--radius); }
.fee-table tbody th { font-weight: 600; color: var(--navy); }
.fee { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-lg); color: var(--charcoal); }
.fee-list { margin-left: var(--s-2); color: var(--muted); font-size: var(--fs-sm); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li + li { margin-top: 4px; }
@media (max-width: 699.98px) {
  .fee-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table th, .fee-table td { display: block; width: 100%; }
  .fee-table tr { margin-bottom: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
  .fee-table tbody th, .fee-table tbody td { border: 0 !important; border-radius: 0 !important; padding: var(--s-3) var(--s-4); }
  .fee-table tbody th { background: var(--navy); color: var(--white); }
  .fee-table tbody th a { color: var(--white); }
  .fee-table td { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s-3); border-top: 1px solid var(--line) !important; }
  .fee-table td::before { content: attr(data-label); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 4px; }
}
.fine-print { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s-3); }
.cert-box { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5); border-radius: var(--radius-lg); background: var(--cream); border: 1px solid #F2E3B4; }
.cert-box .icon-tile { background: var(--white); }
.cert-box__text { font-weight: 500; font-size: var(--fs-md); color: var(--charcoal); margin: 0; }
.notice { padding: var(--s-4) var(--s-5); border-left: 4px solid var(--navy); background: var(--grey); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: var(--s-3); }
.notice--disclaimer { border-left-color: var(--gold); background: var(--cream); font-weight: 500; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.check-list li { display: flex; gap: var(--s-2); align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; color: var(--white); background: var(--navy); border-radius: 50%; padding: 4px; stroke-width: 3; margin-top: 3px; }

.course-aside { display: none; }
@media (min-width: 1024px) { .course-aside { display: block; position: sticky; top: calc(var(--header-h) + 20px); } }
.summary-card { padding: var(--s-5); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.summary-card__label { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0; }
.summary-card__fee { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xl); color: var(--navy); margin: 2px 0 var(--s-4); }
.summary-list { margin: 0 0 var(--s-4); border-top: 1px solid var(--line); }
.summary-list div { display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 500; text-align: right; }
.summary-card__actions { display: grid; gap: var(--s-2); }
.summary-card__call { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }

/* Courses hub filters */
.course-filters { display: grid; gap: var(--s-4); margin-bottom: var(--s-3); }
@media (min-width: 900px) { .course-filters { grid-template-columns: 1fr 340px; align-items: center; } }
.filter-tabs { display: flex; gap: var(--s-2); overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.filter-tab {
  flex: none; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: .5rem 1rem;
  border-radius: 999px; border: 1.5px solid var(--input-border); background: var(--white); color: var(--navy);
  font: 500 var(--fs-sm) var(--font-body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.filter-tab:hover { border-color: var(--navy); }
.filter-tab.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-tab .count { font-size: var(--fs-xs); padding: 0 7px; border-radius: 999px; background: var(--grey); color: var(--navy); }
.filter-tab.is-active .count { background: var(--gold); color: var(--charcoal); }
.search-field { position: relative; }
.search-field .icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-field input[type="search"] { padding-left: 2.6rem; }
.filter-status { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-4); min-height: 1.5em; }
.empty-state { text-align: center; padding: var(--s-7) var(--s-4); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--grey); }
.category-intro { font-size: var(--fs-md); color: var(--muted); max-width: 60rem; margin-bottom: var(--s-6); }
.other-cats { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .other-cats { grid-template-columns: repeat(2, 1fr); } }
.other-cat { position: relative; display: block; padding: var(--s-5) var(--s-7) var(--s-5) var(--s-5); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--muted); }
.other-cat strong { display: block; font-family: var(--font-head); font-size: var(--fs-lg); color: var(--navy); margin-bottom: 4px; }
.other-cat .icon { position: absolute; right: var(--s-5); top: 50%; transform: translateY(-50%); color: var(--navy); }
.other-cat:hover { border-color: var(--navy); color: var(--muted); }

/* About */
.about-intro { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 960px) { .about-intro { grid-template-columns: 1.5fr 1fr; gap: var(--s-8); } }
.stat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.stat-list li { padding: var(--s-4); border-radius: var(--radius); background: var(--cream); border: 1px solid #F2E3B4; text-align: center; }
.stat-list strong { display: block; font-family: var(--font-head); font-size: var(--fs-2xl); color: var(--navy); line-height: 1.1; }
.stat-list span { font-size: var(--fs-xs); color: var(--muted); }
.mode-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .mode-strip { grid-template-columns: repeat(2, 1fr); } }
.mode-strip li { display: flex; gap: var(--s-3); align-items: flex-start; }
.mode-strip strong { display: block; color: var(--navy); font-family: var(--font-head); }
.mode-strip li > span:last-child { color: var(--muted); font-size: var(--fs-sm); }
.gallery-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery-item { margin: 0; }
.gallery-item img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; width: 100%; }
.gallery-item figcaption { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s-2); }

/* Learning modes */
.mode-detail-grid { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .mode-detail-grid { grid-template-columns: repeat(2, 1fr); } }
.mode-detail { padding: var(--s-6); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); scroll-margin-top: calc(var(--header-h) + 16px); }
.mode-detail .icon-tile { margin-bottom: var(--s-4); }
.mode-detail__title { font-size: var(--fs-xl); }
.mode-detail > p { color: var(--muted); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-sm); }
.compare-table th, .compare-table td { padding: var(--s-3) var(--s-4); text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; }
.compare-table tbody th { color: var(--navy); font-weight: 600; background: var(--grey); width: 24%; }
.compare-table tr:last-child > * { border-bottom: 0; }
.split { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr .8fr; gap: var(--s-8); } }
.split .check-list { margin-top: var(--s-4); }
.highlight-card { display: flex; flex-direction: column; gap: 2px; padding: var(--s-6); border-radius: var(--radius-lg); background: var(--navy); color: var(--on-navy-muted); }
.highlight-card__big { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-2xl); color: var(--gold); line-height: 1.15; }
.highlight-card hr { width: 100%; border: 0; border-top: 1px solid rgba(255, 255, 255, .15); margin: var(--s-4) 0; }

/* Admissions steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: var(--s-5); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--charcoal); font-family: var(--font-head); font-weight: 700; font-size: var(--fs-md); margin-bottom: var(--s-4); }
.step__title { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.step p { color: var(--muted); font-size: var(--fs-sm); }
.step .link-arrow { margin-top: auto; font-size: var(--fs-sm); }

/* Certificates */
.cert-types { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .cert-types { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.cert-type { padding: var(--s-6); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.cert-type .icon-tile { margin-bottom: var(--s-4); }
.cert-type__title { font-size: var(--fs-lg); }
.cert-type p { color: var(--muted); }
.cert-type--accent { background: var(--cream); border-color: #F2E3B4; }
.cert-type--accent .icon-tile { background: var(--white); }
.cert-type--accent p { color: var(--charcoal); }
.cert-table tbody th a { color: var(--navy); }

/* FAQ */
.faq-list { display: grid; gap: var(--s-3); }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 56px; padding: var(--s-3) var(--s-5); cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: var(--fs-base);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 20px; height: 20px; transition: transform .2s; }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq summary:focus-visible { outline-offset: -3px; }
.faq__answer { padding: 0 var(--s-5) var(--s-5); color: var(--charcoal); }
.faq-cta { margin-top: var(--s-6); padding: var(--s-5); border-radius: var(--radius-lg); background: var(--cream); border: 1px solid #F2E3B4; text-align: center; }
.faq-cta .btn-row { justify-content: center; margin-top: var(--s-3); }

/* Contact */
.contact-grid { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.contact-card { padding: var(--s-6); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.contact-card__title { font-size: var(--fs-lg); margin: 0; }
.contact-card p { color: var(--muted); margin: 0; }
.contact-card__list { list-style: none; margin: 0; padding: 0; }
.contact-card__list a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-lg); color: var(--navy); text-decoration: none; }
.contact-card__list a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.contact-card p a { display: inline-flex; align-items: center; gap: 6px; }

/* Legal pages */
.legal h2 { font-size: var(--fs-lg); margin-top: var(--s-6); }
.legal ul { margin: 0 0 var(--s-4); }
.legal li { margin-bottom: var(--s-2); }

/* Thank-you */
.thank-you { min-height: 55vh; }
.thank-you__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: var(--charcoal); margin-bottom: var(--s-5); }
.thank-you__icon .icon { width: 36px; height: 36px; stroke-width: 3; }

/* 14. Utilities ------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
