/* =========================================================
   Shining Star School & Eman Clinic
   Global stylesheet
   Palette: White + Navy/Deep Blue + Soft Green
            Lavender & Peach as accents
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy-900: #0a2143;
  --navy-800: #0f2c52;
  --navy-700: #163a68;
  --navy-600: #1d4a80;
  --navy-100: #e6edf6;
  --navy-50:  #f2f6fb;

  --green-600: #2f9c81;
  --green-500: #43b295;
  --green-400: #6bc7b0;
  --green-100: #dff3ed;
  --green-50:  #eef9f6;

  --lavender-500: #8f81d6;
  --lavender-200: #d9d3f4;
  --lavender-50:  #f2effc;

  --peach-500: #f08a5d;
  --peach-200: #ffd3bd;
  --peach-50:  #fff2ea;

  /* Neutrals */
  --white: #ffffff;
  --ink:   #16263a;
  --body:  #405266;
  --muted: #6b7b8d;
  --line:  #e2e9f1;
  --bg-soft: #f6f9fc;

  /* Type */
  --font-head: 'Nunito', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .05);
  --sh-2: 0 4px 12px rgba(11, 37, 69, .07), 0 12px 28px rgba(11, 37, 69, .07);
  --sh-3: 0 10px 24px rgba(11, 37, 69, .10), 0 24px 60px rgba(11, 37, 69, .10);

  /* Layout */
  --container: 1180px;
  --gutter: 20px;
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Bootstrap theme ----------
   Bootstrap ships its own palette and shapes; these variables point it at
   the tokens above so its components come out in the site's own colours. */
:root {
  --bs-body-font-family: var(--font-body);
  --bs-body-font-size: 17px;
  --bs-body-line-height: 1.7;
  --bs-body-color: var(--body);
  --bs-body-bg: var(--white);
  --bs-heading-color: var(--navy-900);
  --bs-border-color: var(--line);
  --bs-border-radius: var(--r-sm);
  --bs-link-color: var(--navy-600);
  --bs-link-color-rgb: 29, 74, 128;
  --bs-link-hover-color: var(--green-600);
  --bs-primary: var(--green-600);
  --bs-primary-rgb: 47, 156, 129;
  --bs-focus-ring-color: rgba(67, 178, 149, .3);
  --bs-btn-focus-box-shadow: 0 0 0 3px var(--green-50);
}
/* Bootstrap hard-codes a blue ring on these two. */
.navbar-nav .nav-link:focus-visible { box-shadow: 0 0 0 3px var(--green-100); }
.btn-close { --bs-btn-close-focus-shadow: 0 0 0 3px var(--green-100); }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 60px);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  width: 100%;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

p, a, li, h1, h2, h3, h4, h5, span {
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.22;
  margin: 0 0 .55em;
  font-weight: 800;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 2.9vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.45rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-600); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
li::marker { color: var(--green-500); }

strong { color: var(--ink); font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--green-100); color: var(--navy-900); }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-900); color: #cfdcec; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--mint { background: linear-gradient(180deg, var(--green-50), #fff); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--green-400);
}
.section--navy .eyebrow { color: var(--green-400); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; color: var(--muted); }

.lead { font-size: 1.14rem; color: var(--body); }
/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--primary { background: var(--navy-800); color: #fff; box-shadow: var(--sh-2); }
.btn--primary:hover { background: var(--navy-700); color: #fff; box-shadow: var(--sh-3); }

.btn--green { background: var(--green-500); color: #fff; box-shadow: var(--sh-2); }
.btn--green:hover { background: var(--green-600); color: #fff; box-shadow: var(--sh-3); }

.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-100); }
.btn--outline:hover { background: var(--navy-50); border-color: var(--navy-600); color: var(--navy-800); }

.btn--white { background: #fff; color: var(--navy-900); box-shadow: var(--sh-2); }
.btn--white:hover { background: #fff; color: var(--navy-900); box-shadow: var(--sh-3); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.75); }

.btn--wa { background: #25d366; color: #08331a; }
.btn--wa:hover { background: #1fbe5b; color: #08331a; }

.btn--sm { padding: 11px 20px; font-size: .92rem; }
.btn--lg { padding: 17px 34px; font-size: 1.06rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 800;
  color: var(--navy-700);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
  isolation: isolate;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself
   would make it the containing block for the fixed offcanvas menu inside. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.site-header.is-stuck { box-shadow: var(--sh-2); }

.topbar {
  background: var(--navy-900);
  color: #b9cade;
  font-size: .86rem;
}
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  align-items: center; justify-content: space-between;
  min-height: 40px; padding-block: 6px;
}
.topbar a { color: #dbe6f2; }
.topbar a:hover { color: var(--green-400); }
.topbar-list { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.topbar-list li { display: flex; align-items: center; gap: 7px; margin: 0; }
.topbar-list svg { width: 15px; height: 15px; color: var(--green-400); flex: none; }

/* ---------- Header / navigation ----------
   The bar itself is a Bootstrap navbar with an offcanvas panel below lg;
   everything here is theming on top of Bootstrap's own variables.        */
.navbar {
  --bs-navbar-padding-y: 0;
  --bs-navbar-color: var(--navy-800);
  --bs-navbar-hover-color: var(--navy-900);
  --bs-navbar-active-color: var(--green-600);
  --bs-navbar-brand-padding-y: 0;
  --bs-navbar-brand-margin-end: 0;
  --bs-navbar-toggler-padding-x: 0;
  --bs-navbar-toggler-padding-y: 0;
  --bs-navbar-toggler-border-radius: var(--r-sm);
  --bs-navbar-toggler-focus-width: 0;
  min-height: var(--header-h);
  gap: 12px;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}
.brand:hover { color: inherit; }
.brand img, .brand > svg { width: 56px; height: 56px; flex: none; }
/* The logo artwork sits on its own white disc, so it stays legible on the
   navy footer as well as the light header. */
.brand-logo { background: #fff; border-radius: 50%; flex-shrink: 0; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
  min-width: 0;
  overflow: hidden;
}
.brand-name {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(0.96rem, 3.8vw, 1.08rem);
  color: var(--navy-900); letter-spacing: -.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-sub {
  font-size: clamp(0.66rem, 2.5vw, 0.72rem);
  color: var(--muted); letter-spacing: .05em; text-transform: uppercase; font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-toggle {
  flex: 0 0 auto;
  margin-left: auto;
}

.navbar-nav {
  --bs-nav-link-padding-x: 13px;
  --bs-nav-link-padding-y: 10px;
  gap: 2px;
}
.navbar-nav .nav-link {
  font-family: var(--font-head); font-weight: 700; font-size: .97rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible { background: var(--navy-50); }
/* ::before, because ::after on a dropdown toggle is Bootstrap's caret. */
.navbar-nav .nav-link.active::before {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 3px; border-radius: 2px; background: var(--green-500);
}
.nav-link.dropdown-toggle::after {
  border: 0;
  width: 12px; height: 12px;
  margin-left: 6px;
  vertical-align: -2px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s var(--ease);
}
.nav-link.dropdown-toggle.show::after { transform: rotate(180deg); }

.dropdown-menu {
  --bs-dropdown-min-width: 290px;
  --bs-dropdown-padding-x: 8px;
  --bs-dropdown-padding-y: 8px;
  --bs-dropdown-font-size: .94rem;
  --bs-dropdown-border-color: var(--line);
  --bs-dropdown-border-radius: var(--r-md);
  --bs-dropdown-item-padding-x: 12px;
  --bs-dropdown-item-padding-y: 10px;
  --bs-dropdown-link-color: var(--navy-800);
  --bs-dropdown-link-hover-color: var(--green-600);
  --bs-dropdown-link-hover-bg: var(--green-50);
  --bs-dropdown-divider-bg: var(--line);
  --bs-dropdown-divider-margin-y: 6px;
  box-shadow: var(--sh-3);
}
.dropdown-item {
  display: flex; align-items: center; gap: 11px;
  border-radius: var(--r-sm); font-weight: 600;
}
.dd-ico { font-size: 1.05rem; line-height: 1; width: 22px; text-align: center; flex: none; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.navbar-toggler {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-50); border: 1px solid var(--line);
  color: var(--navy-900);
}
.navbar-toggler svg { width: 22px; height: 22px; }

.offcanvas { --bs-offcanvas-width: min(370px, 88vw); }
.offcanvas:focus, .offcanvas:focus-visible { outline: none; }
.offcanvas-header { border-bottom: 1px solid var(--line); }
.offcanvas-body { gap: 4px; }
.offcanvas .nav-cta { margin-top: 14px; }

@media (min-width: 992px) {
  /* Open the services menu on hover, the way the old menu behaved. */
  .navbar .nav-item.dropdown:hover > .dropdown-menu { display: block; }
  .navbar .dropdown-menu { margin-top: 8px; }
  .offcanvas .nav-cta { margin-top: 0; margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% -12%, rgba(107,199,176,.30), transparent 60%),
    radial-gradient(760px 460px at 4% 8%, rgba(143,129,214,.20), transparent 62%),
    linear-gradient(180deg, var(--navy-50), #fff 78%);
  padding: clamp(52px, 6.5vw, 92px) 0 clamp(56px, 7vw, 100px);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero-tagline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-family: var(--font-head); font-weight: 800;
  color: var(--green-600); font-size: 1.02rem;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-tagline span { display: inline-flex; align-items: center; gap: 14px; }
.hero-tagline span::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--lavender-500); display: inline-block;
}
.hero-tagline span:last-child::after { display: none; }

.hero-quote {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem);
  font-weight: 700;
  color: var(--navy-800);
  border-left: 4px solid var(--green-400);
  padding: 4px 0 4px 18px;
  margin: 0 0 26px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

.hero-art { position: relative; }
.hero-art .art-frame {
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  overflow: hidden;
  background: #fff;
}
.hero-card {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 800; color: var(--navy-900);
  font-size: .93rem; line-height: 1.3;
}
.hero-card small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .8rem; }
.hero-card .hc-ico {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 1.15rem;
}
.hero-card--a { left: -14px; bottom: 40px; }
.hero-card--a .hc-ico { background: var(--green-100); }
.hero-card--b { right: -10px; top: 30px; }
.hero-card--b .hc-ico { background: var(--peach-50); }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  background:
    radial-gradient(760px 380px at 92% -30%, rgba(107,199,176,.26), transparent 60%),
    radial-gradient(620px 340px at 2% 0%, rgba(143,129,214,.18), transparent 62%),
    linear-gradient(180deg, var(--navy-50), #fff);
  padding: clamp(38px, 5vw, 62px) 0 clamp(42px, 5.5vw, 70px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { max-width: 720px; }
.page-hero-inner { max-width: 820px; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin: 0 0 18px; padding: 0;
  font-size: .87rem; color: var(--muted);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: #c6d2e0; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--green-600); }
.breadcrumb [aria-current] { color: var(--navy-800); font-weight: 700; }

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: .88rem; font-weight: 650; color: var(--navy-800);
  box-shadow: var(--sh-1);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); flex: none; }
.pill--green { background: var(--green-50); border-color: var(--green-100); color: var(--green-600); }
.pill--lav   { background: var(--lavender-50); border-color: var(--lavender-200); color: var(--lavender-500); }
.pill--peach { background: var(--peach-50); border-color: var(--peach-200); color: var(--peach-500); }
.pill--navy  { background: var(--navy-50); border-color: var(--navy-100); color: var(--navy-700); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Grids & cards ---------- */
/* Card grids are Bootstrap rows; this only sets the gutter and makes
   every card fill the height of its column so rows stay level. */
.grid-row {
  --bs-gutter-x: clamp(18px, 2.2vw, 26px);
  --bs-gutter-y: clamp(18px, 2.2vw, 26px);
}
.grid-row > .col > .card,
.grid-row > .col > .path-card { height: 100%; }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .98rem; }
.card > :last-child { margin-bottom: 0; }
.card--link:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: var(--green-100); }
.card--flat { box-shadow: none; }
.card .card-foot { margin-top: auto; padding-top: 18px; }

.card-ico {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-size: 1.6rem; line-height: 1;
  margin-bottom: 18px;
  flex: none;
}
.card-ico svg { width: 28px; height: 28px; }
.ico-green  { background: var(--green-100); color: var(--green-600); }
.ico-navy   { background: var(--navy-100); color: var(--navy-700); }
.ico-lav    { background: var(--lavender-50); color: var(--lavender-500); }
.ico-peach  { background: var(--peach-50); color: var(--peach-500); }

/* Highlighted card used for the two main paths on the home page */
.path-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 38px);
  color: #fff;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 100%;
  box-shadow: var(--sh-2);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.path-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.path-card h3 { color: #fff; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.path-card p { color: rgba(255,255,255,.9); }
.path-card .path-ico {
  width: 60px; height: 60px; border-radius: 20px;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center; font-size: 1.7rem;
  margin-bottom: 16px;
}
.path-card--school { background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); }
.path-card--clinic { background: linear-gradient(150deg, var(--green-500), var(--green-600)); }
.path-card .card-foot { margin-top: auto; padding-top: 22px; }
.path-card .tick-list li,
.path-card .footer-list a { color: rgba(255, 255, 255, .94); }
.path-card .footer-list a:hover { color: #fff; text-decoration: underline; }
.path-card .link-arrow { color: #fff; }
.path-card .link-arrow:hover { color: #fff; }

/* Feature list with tick marks */
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tick-list li {
  position: relative; padding-left: 34px; margin: 0;
  color: var(--body);
}
.tick-list li::before {
  content: "";
  position: absolute; left: 0; top: .34em;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9c81' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.tick-list--2col { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tick-list--tight li { padding-left: 30px; }

/* Split content sections */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4.5vw, 66px);
  align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split-media { position: relative; }
.split-media .art-frame {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-2); background: #fff;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: #fff; padding: 26px 24px; text-align: center; }
.stat-num {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem);
  color: var(--navy-900); line-height: 1.1; display: block;
}
.stat-label { font-size: .9rem; color: var(--muted); }

/* Steps / process */
.steps { counter-reset: step; display: grid; gap: 26px 20px; }
.steps-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 24px 24px;
  box-shadow: var(--sh-1);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -18px; left: 24px;
  width: 40px; height: 40px; border-radius: 14px;
  background: var(--navy-800); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 900; font-size: 1.05rem;
  box-shadow: var(--sh-2);
}
.step h3 { font-size: 1.1rem; margin-top: 12px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
.step > :last-child { margin-bottom: 0; }
.section--navy .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.section--navy .step::before { background: var(--green-500); }
.section--navy .step p { color: #b9cade; }
.section--navy .tick-list li { color: #dbe6f2; }

/* Timeline (a day at school) */
.timeline {
  position: relative; display: grid; gap: 6px;
  /* Rail, dot and body column are all derived from these, so they cannot drift
     apart and let the dot sit on top of the time label. */
  --tl-time-col: 78px;   /* width of the right-aligned time column   */
  --tl-rail: 100px;      /* x-position of the rail / dot centre      */
  --tl-dot: 13px;        /* dot diameter                            */
  --tl-body-gap: 24px;   /* clear space between the dot and the text */
}
.timeline::before {
  content: ""; position: absolute; left: var(--tl-rail); top: 14px; bottom: 14px;
  width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, var(--green-100), var(--lavender-200));
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: var(--tl-time-col) 1fr;
  gap: calc(var(--tl-rail) + var(--tl-dot) / 2 + var(--tl-body-gap) - var(--tl-time-col));
  padding: 12px 0;
}
.tl-item::before {
  content: ""; position: absolute; left: var(--tl-rail); top: 20px;
  width: var(--tl-dot); height: var(--tl-dot);
  margin-left: calc(var(--tl-dot) / -2);
  border-radius: 50%;
  background: #fff; border: 3px solid var(--green-500);
}
.tl-time {
  font-family: var(--font-head); font-weight: 800; font-size: .92rem;
  color: var(--green-600); text-align: right; padding-top: 2px;
  /* keeps a long label ("10:30 AM") from growing into the dot */
  white-space: nowrap;
}
.tl-body { position: relative; }
.tl-body h4 { margin-bottom: .2em; }
.tl-body p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Accordion / FAQ — Bootstrap accordion, themed as separate cards */
.accordion {
  --bs-accordion-bg: #fff;
  --bs-accordion-color: var(--body);
  --bs-accordion-border-color: var(--line);
  --bs-accordion-border-radius: var(--r-md);
  --bs-accordion-inner-border-radius: var(--r-md);
  --bs-accordion-btn-padding-x: 22px;
  --bs-accordion-btn-padding-y: 20px;
  --bs-accordion-btn-color: var(--navy-900);
  --bs-accordion-btn-bg: #fff;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-color: var(--navy-900);
  --bs-accordion-active-bg: #fff;
  --bs-accordion-body-padding-x: 22px;
  --bs-accordion-body-padding-y: 0;
  display: grid;
  gap: 12px;
}
.accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.accordion-header { margin: 0; }
.accordion-button {
  align-items: flex-start; gap: 16px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.02rem;
  line-height: 1.45;
}
.accordion-button:hover { background: var(--navy-50); }
.accordion-button::after {
  flex: none;
  width: 26px; height: 26px; margin-top: 1px;
  border-radius: 50%;
  background-color: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9c81' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
  background-color: var(--navy-800);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.accordion-body p { margin: 0; padding-bottom: 20px; color: var(--muted); font-size: .98rem; }

/* Callout / note boxes */
.note {
  border-radius: var(--r-md);
  padding: 20px 24px;
  border-left: 4px solid var(--green-500);
  background: var(--green-50);
  color: var(--navy-800);
  font-size: .98rem;
}
.note--lav { background: var(--lavender-50); border-left-color: var(--lavender-500); }
.note--peach { background: var(--peach-50); border-left-color: var(--peach-500); }
.note--navy { background: var(--navy-50); border-left-color: var(--navy-700); }
.note strong { display: block; margin-bottom: 4px; font-family: var(--font-head); }

/* Banner strip */
.banner {
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.4vw, 46px);
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900) 62%, #123a63);
  color: #cfdcec;
  position: relative; overflow: hidden;
}
.banner::before {
  content: ""; position: absolute; right: -70px; top: -70px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107,199,176,.34), transparent 68%);
}
.banner h2, .banner h3 { color: #fff; }
.banner .banner-inner { position: relative; z-index: 1; display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) {
  .banner .banner-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 34px; }
}
.banner--green { background: linear-gradient(140deg, var(--green-500), var(--green-600)); color: rgba(255,255,255,.95); }
.banner--green::before { background: radial-gradient(circle, rgba(255,255,255,.28), transparent 68%); }

/* Info boxes */
.info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 18px;
}
.info-box {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--sh-1);
  display: flex; gap: 15px; align-items: flex-start;
}
.info-box .ib-ico {
  width: 46px; height: 46px; border-radius: 15px; flex: none;
  display: grid; place-items: center; font-size: 1.3rem;
}
.info-box h4 { margin-bottom: .12em; font-size: 1rem; }
.info-box p { margin: 0; font-size: .95rem; color: var(--muted); }
.info-box a { font-weight: 600; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--sh-2);
}
/* The form is a Bootstrap row of columns; the controls are Bootstrap
   form-control / form-select / form-check, themed to the site palette. */
.form-grid { --bs-gutter-x: 18px; --bs-gutter-y: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  margin: 0;
  font-family: var(--font-head); font-weight: 700; font-size: .93rem; color: var(--navy-900);
}
.field .req { color: var(--peach-500); }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 400; }

.form-control,
.form-select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background-color: var(--navy-50);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-control:focus,
.form-select:focus {
  color: var(--ink);
  background-color: #fff;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px var(--green-50);
}
.form-control::placeholder { color: #9aa8b6; }
textarea.form-control { min-height: 128px; resize: vertical; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7b8d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #e05c5c;
  background-color: #fdf2f2;
}
.form-control.is-invalid:focus,
.form-select.is-invalid:focus { box-shadow: 0 0 0 4px #fdecec; }
.form-select.is-invalid { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7b8d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); padding-right: 42px; }
.invalid-feedback { font-size: .84rem; color: #c53d3d; font-weight: 600; }

.form-check.consent {
  display: flex; flex-wrap: wrap; gap: 11px; align-items: flex-start;
  padding-left: 0;
  font-size: .92rem; color: var(--muted);
}
.consent .form-check-input {
  float: none; margin: 3px 0 0;
  width: 19px; height: 19px; flex: none;
  border: 1.5px solid var(--line); background-color: var(--navy-50);
}
.consent .form-check-label { flex: 1; }
.form-check-input:checked { background-color: var(--green-500); border-color: var(--green-500); }
.form-check-input:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px var(--green-50); }
.form-check-input.is-invalid { border-color: #e05c5c; }

.form-status {
  display: none;
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 22px;
  font-size: .97rem;
  border-left: 4px solid var(--green-500);
  background: var(--green-50);
  color: var(--navy-800);
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: #fdf2f2; border-left-color: #e05c5c; color: #8f2b2b; }
.form-status strong { display: block; margin-bottom: 3px; font-family: var(--font-head); }

/* ---------- Contact / map ---------- */
.map-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  background: var(--navy-50);
  min-height: 340px;
  display: grid; place-items: center;
  text-align: center; padding: 34px;
}
.map-frame iframe { width: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #a9bdd4;
  padding: clamp(48px, 6vw, 76px) 0 0;
  font-size: .96rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 46px);
}
.site-footer h4 {
  color: #fff; font-size: 1rem; margin-bottom: 1.1em;
  letter-spacing: .02em;
}
.site-footer a { color: #a9bdd4; }
.site-footer a:hover { color: var(--green-400); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand svg, .footer-brand img { width: 64px; height: 64px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #7f97b3; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list li { margin: 0; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; margin: 0; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--green-400); flex: none; margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.footer-social a:hover { background: var(--green-500); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; color: #fff; }
.footer-bottom {
  margin-top: clamp(34px, 4vw, 52px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  justify-content: center; align-items: center;
  text-align: center;
  font-size: .88rem; color: #7f97b3;
}

/* ---------- Floating actions ---------- */
.float-actions {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--sh-3);
  border: 0; cursor: pointer;
  transition: transform .2s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab svg { width: 26px; height: 26px; }
.fab--wa { background: #25d366; color: #fff; }
.fab--top {
  background: #fff; color: var(--navy-800); border: 1px solid var(--line);
  opacity: 0; visibility: hidden;
}
.fab--top.is-visible { opacity: 1; visibility: visible; }
.fab--top svg { width: 22px; height: 22px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- INP Performance: Content Visibility ---------- */
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ---------- AEO & GEO Semantic Components ---------- */
.aeo-box {
  background: linear-gradient(135deg, var(--green-50), #fff);
  border: 1px solid var(--green-100);
  border-left: 5px solid var(--green-600);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 24px 0 32px;
  box-shadow: var(--sh-1);
}
.aeo-header {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 0.96rem;
  color: var(--green-600); text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.aeo-badge {
  background: var(--green-600); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 3px 8px;
  border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 4px;
}
.aeo-text {
  font-size: 1.04rem; line-height: 1.65; color: var(--navy-900); font-weight: 500;
  margin: 0;
}

/* Definition specs list for Generative Engine Optimization */
.geo-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 28px 0 34px;
  padding: 0;
}
.geo-spec-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.geo-spec-item dt {
  font-family: var(--font-head); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted); font-weight: 800; margin: 0;
}
.geo-spec-item dd {
  font-family: var(--font-head); font-size: 1.02rem; font-weight: 800;
  color: var(--navy-900); margin: 0;
}

/* E-E-A-T Clinical Governance Bar */
.eeat-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 12px 18px; background: var(--navy-50);
  border: 1px solid var(--navy-100); border-radius: var(--r-sm);
  font-size: 0.88rem; color: var(--navy-800); margin: 20px 0 28px;
}
.eeat-item { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.eeat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--navy-100);
  padding: 4px 10px; border-radius: var(--r-pill); font-weight: 700;
  font-size: 0.82rem; color: var(--green-600);
}

/* Interactive Parent Checklist Widget (Programmatic SEO & Utility) */
.checklist-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.5vw, 36px);
  box-shadow: var(--sh-2);
  margin: 32px 0 42px;
}
.checklist-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.checklist-title { font-family: var(--font-head); font-weight: 800; color: var(--navy-900); margin: 0; font-size: 1.25rem; }
.checklist-count {
  background: var(--navy-50); color: var(--navy-700);
  padding: 6px 14px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 800; font-size: 0.86rem;
}
.checklist-items {
  display: grid; gap: 12px; margin-bottom: 24px;
}
.check-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.check-item:hover { background: var(--green-50); border-color: var(--green-400); }
.check-item input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-600); cursor: pointer; flex: none;
}
.check-item span { font-size: 0.95rem; color: var(--navy-900); font-weight: 500; }
.checklist-status {
  padding: 14px 18px; border-radius: var(--r-sm); font-family: var(--font-head);
  font-weight: 700; font-size: 0.95rem; background: var(--navy-50); color: var(--navy-800);
  transition: all .25s var(--ease);
}
.status--mild { background: var(--green-50); color: var(--green-600); border-left: 4px solid var(--green-500); }
.status--moderate { background: var(--peach-50); color: #c35c2e; border-left: 4px solid var(--peach-500); }
.status--high { background: #fdf2f2; color: #b91c1c; border-left: 4px solid #ef4444; }

/* Digital PR & Entity Citation Kit */
.citation-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  margin: 28px 0;
  box-shadow: var(--sh-1);
}
.citation-pre {
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-family: monospace, monospace;
  font-size: 0.88rem;
  color: var(--navy-900);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 12px 0 16px;
}
.btn--copied { background: var(--green-600) !important; color: #fff !important; }

/* Zero-Click Fast Answers Strip */
.zero-click-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}
.zc-chip {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 12px 14px;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: var(--sh-1);
}
.zc-chip small { font-size: 0.76rem; text-transform: uppercase; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; }
.zc-chip strong { font-size: 0.96rem; color: var(--navy-900); font-weight: 800; }

/* Topical Authority Cluster Navigation */
.cluster-nav {
  margin: 36px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.cluster-nav h4 {
  font-size: 1.05rem; margin-bottom: 12px; color: var(--navy-900);
}
.cluster-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cluster-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy-50); border: 1px solid var(--navy-100);
  padding: 7px 14px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 700; font-size: 0.86rem;
  color: var(--navy-700); transition: all .15s var(--ease);
}
.cluster-chip:hover {
  background: var(--green-50); border-color: var(--green-400); color: var(--green-600);
}

/* ---------- Responsive ----------
   Column counts come from Bootstrap's row-cols-* classes; what is left
   here is the layout Bootstrap does not know about.                    */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  /* Inside the offcanvas panel the menu reads as a stacked list. */
  .navbar-nav { --bs-nav-link-padding-x: 12px; --bs-nav-link-padding-y: 14px; }
  .navbar-nav .nav-link { font-size: 1.04rem; justify-content: space-between; width: 100%; }
  .navbar-nav .nav-link.active::before { display: none; }
  .navbar-nav .nav-link.active { background: var(--green-50); }
  .navbar .dropdown-menu {
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 2px 0 8px 14px; padding: 0 0 0 6px;
    min-width: 0;
  }
  /* Service names are long — let them wrap inside the narrow panel. */
  .navbar-nav .nav-link,
  .navbar .dropdown-item { white-space: normal; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 620px; margin-inline: auto; width: 100%; }
  .hero-card--a { left: 8px; }
  .hero-card--b { right: 8px; }
  .split { grid-template-columns: 1fr; }
  .split--wide-left { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .split--media-last .split-media { order: 0; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .topbar { font-size: 0.8rem; }
  .topbar .container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 5px;
    padding-block: 6px;
  }
  .topbar-list {
    justify-content: center;
    gap: 4px 14px;
    flex-wrap: wrap;
  }
  .topbar-list li {
    font-size: 0.78rem;
    gap: 5px;
  }
  .topbar-list svg {
    width: 13px;
    height: 13px;
  }

  /* Footer 1 column on mobile to eliminate horizontal scrolling */
  .site-footer {
    padding-top: 42px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-contact li,
  .footer-contact a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 0 24px;
  }

  .btn-row .btn { width: 100%; }
  .timeline { --tl-rail: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 2px; padding-left: 30px; }
  .tl-item::before { top: 15px; }
  .tl-time { text-align: left; }
  .hero-card { position: static; margin-top: 14px; }

  /* Mobile single line for highlighted hero tagline & heading */
  .hero-tagline {
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: clamp(0.55rem, 2.7vw, 0.88rem);
    gap: clamp(4px, 1.2vw, 10px);
    margin-bottom: 14px;
    max-width: 100%;
  }
  .hero-tagline span {
    gap: clamp(4px, 1.2vw, 10px);
    white-space: nowrap;
  }
  .hero-tagline span::after {
    width: clamp(3px, 0.8vw, 4px);
    height: clamp(3px, 0.8vw, 4px);
  }
  .hero h1 {
    white-space: nowrap;
    font-size: clamp(1.02rem, 5.3vw, 1.95rem);
    letter-spacing: -0.02em;
  }
}

@media (max-width: 576px) {
  :root {
    --gutter: 14px;
  }
  .container {
    padding-inline: 14px;
  }
  .section {
    padding: 42px 0;
  }
  .section--tight {
    padding: 30px 0;
  }
  .section-head {
    margin-bottom: 26px;
  }
  .brand img, .brand > svg {
    width: 44px;
    height: 44px;
  }
  .brand-sub {
    display: none;
  }
  .navbar-toggler {
    width: 42px;
    height: 42px;
  }
  .navbar-toggler svg {
    width: 20px;
    height: 20px;
  }
  .card {
    padding: 20px 16px;
  }
  .step {
    padding: 24px 16px 16px;
  }
  .step::before {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    top: -14px;
    left: 16px;
    border-radius: 10px;
  }
  .steps-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .btn-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .btn-row .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .float-actions {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }
  .fab {
    width: 46px;
    height: 46px;
  }
  .fab svg {
    width: 22px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .float-actions, .btn-row { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .card, .form-card { box-shadow: none; border-color: #ccc; }
}
