﻿/* =========================================================
   New Soch Rehab — Homepage styles
   Palette matched to the client site: navy + brand blue + green CTA + lime accent
   ========================================================= */

:root {
  --teal-900: #0a1222;
  --teal-800: #0260ad;
  --teal-700: #006ac0;
  --teal-500: #0077d8;
  --teal-100: #e6f0fa;
  --cream: #f5f9ff;
  --cream-dark: #e8eef5;
  --coral: #2dca42;
  --coral-dark: #11a725;
  --gold: #c1df2c;
  --whatsapp: #0ad454;
  --text: #555555;
  --muted: #6e6e6e;
  --white: #ffffff;
  --border: #ccd3dd;
  --heading: #292929;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", Arial, sans-serif;
  --font-title: "Montserrat", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(2, 63, 114, 0.08);
  --shadow-lg: 0 20px 50px rgba(2, 63, 114, 0.15);
  --container: 1440px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--teal-700);
  text-decoration: none;
}
a:hover {
  color: var(--coral);
}
h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--heading);
  margin: 0 0 0.6em;
}
h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
}
h3 {
  font-size: 1.3rem;
}
p {
  margin: 0 0 1em;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
address {
  font-style: normal;
}
button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal-800);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  color: #fff;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Image placeholder look while real images are not added yet */
img {
  background-color: var(--cream-dark);
}

.icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}
.icon--lg {
  width: 34px;
  height: 34px;
}
.icon--xl {
  width: 48px;
  height: 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 12px 26px;
  border-radius: 50px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}
.btn--block {
  width: 100%;
}
.btn--coral {
  background: var(--coral);
  color: #fff;
}
.btn--coral:hover {
  background: var(--coral-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(59, 179, 75, 0.35);
}
.btn--teal {
  background: var(--teal-700);
  color: #fff;
}
.btn--teal:hover {
  background: var(--teal-800);
  color: #fff;
}
.btn--whatsapp {
  background: var(--whatsapp);
  color: #08361b;
}
.btn--whatsapp:hover {
  background: #1ebe5a;
  color: #08361b;
}
.btn--outline {
  border-color: var(--teal-700);
  color: var(--teal-700);
  background: transparent;
}
.btn--outline:hover {
  background: var(--teal-700);
  color: #fff;
}
.btn--light {
  background: #fff;
  color: var(--teal-800);
}
.btn--light:hover {
  background: var(--cream);
  color: var(--teal-800);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.7em;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--gold);
}
.eyebrow--light {
  color: var(--gold);
  border-color: rgba(181, 210, 33, 0.5);
}

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230260AD' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
.checklist--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  margin: 1.2em 0 1.6em;
}

/* ---------- Sections ---------- */
.section {
  padding: 90px 0;
}
.section--cream {
  background: var(--cream);
}
.section--teal {
  background: var(--teal-800);
  color: #dce7f3;
}
.section--teal h2,
.section--teal h3 {
  color: #fff;
}
.section__head {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}
.section__head p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}
.section__foot {
  text-align: center;
  margin-top: 44px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--teal-900);
  color: #dce7f3;
  font-size: 0.95rem;
  font-weight: 500;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.topbar__note {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar__note .icon {
  color: var(--gold);
}
.topbar__links {
  display: flex;
  gap: 22px;
}
.topbar__links a {
  color: #dce7f3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar__links a:hover {
  color: var(--gold);
}

/* ----- Phone/tablet top bar (two rows) -----
   Row 1: phone number in a glass pill + brand-coloured social icons.
   Row 2: address (opens Google Maps). Deep navy-to-brand-blue background
   with a thin blue-to-green line along the bottom. Desktop keeps the bar above. */
.topbar__m {
  display: none;
}
@media (max-width: 768px) {
  .topbar {
    position: relative;
    background: linear-gradient(110deg, #0a1222 0%, #0b2547 55%, #004c8a 100%);
  }
  .topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #0071ce 0%, #10bf28 100%);
  }
  .topbar__inner {
    display: none;
  }
  .topbar__m {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
    padding-top: 9px;
    padding-bottom: 10px;
  }
  .topbar__m-phone {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 12px 3px 3px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    font-family: var(--font-title);
    font-size: 0.86rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
  }
  .topbar__m-phone:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
  }
  .topbar__m-ico {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--coral);
    color: #fff;
  }
  .topbar__m-ico .icon {
    width: 14px;
    height: 14px;
  }
  .topbar__m .topbar__m-social {
    gap: 6px;
  }
  .topbar__m .topbar__m-social a {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  }
  .topbar__m .topbar__m-social .icon {
    width: 15px;
    height: 15px;
  }
  .topbar__m .topbar__m-social .social__yt .icon {
    width: 19px;
    height: 19px;
  }
  .topbar__m .topbar__m-social a:hover {
    transform: translateY(-2px);
  }
  .topbar__m-addr {
    grid-column: 1 / -1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #c9d8ea;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar__m-addr:hover {
    color: #fff;
  }
  .topbar__m-addr .icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: var(--coral);
  }
}
/* very narrow phones: slightly smaller so the phone + 4 icons fit one row */
@media (max-width: 360px) {
  .topbar__m-phone {
    font-size: 0.8rem;
    padding-right: 10px;
  }
  .topbar__m .topbar__m-social {
    gap: 4px;
  }
  .topbar__m .topbar__m-social a {
    width: 27px;
    height: 27px;
  }
}

/* ---------- Header / nav ---------- */
.nav__extra,
.nav__brand {
  display: none; /* only shown inside the phone/tablet slide-out menu */
}
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.header.is-scrolled {
  box-shadow: 0 6px 20px rgba(2, 63, 114, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 80px;
}
.logo img {
  width: 150px;
  height: auto;
  background: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
/* Desktop: nav fills the space after the logo, links sit centred
   between the logo and the Book Appointment button */
@media (min-width: 1025px) {
  .nav {
    flex: 1;
  }
  .nav__list {
    margin: 0 auto;
    /* more breathing room between the top links; grows with the screen
       (≈5px on small laptops → 18px on wide desktops) */
    gap: clamp(4px, calc(2.4vw - 20px), 18px);
  }
  /* bigger top-level links on laptop/desktop only (dropdown items and
     the phone/tablet menu keep their own sizes); 1.12rem at 1025px,
     up to 1.25rem on wide screens */
  .nav__list > li > a {
    font-size: clamp(1.12rem, calc(0.55rem + 0.9vw), 1.25rem);
  }
}
.nav__list > li {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__list a {
  display: block;
  white-space: nowrap;
  padding: 10px 10px;
  color: var(--teal-800);
  font-weight: 600;
  font-size: 1.12rem;
}
.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--coral);
}
.dropdown-toggle {
  background: none;
  border: 0;
  padding: 4px;
  color: var(--teal-800);
  margin-left: -8px;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s;
}
.dropdown a {
  padding: 9px 14px;
  border-radius: 6px;
}
.nav-submenu {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.nav-submenu__toggle {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--teal-800);
  cursor: pointer;
}
.nav-submenu__toggle:hover,
.nav-submenu__toggle[aria-expanded="true"] {
  background: var(--cream);
}
.nav-submenu__links {
  display: none;
  grid-column: 1 / -1;
  min-width: 0;
}
.nav-submenu__toggle[aria-expanded="true"] + .nav-submenu__links {
  display: block;
}
.nav-submenu__text {
  display: block;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.nav-submenu__links a {
  white-space: normal;
  font-size: 0.9375rem;
}
@media (width > 1024px) {
  .dropdown:has(> .nav-submenu) {
    width: max-content;
    min-width: 320px;
  }
  .nav-submenu__links {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 100%;
    width: min(290px, 25vw);
    max-height: 55vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow-lg);
  }
  .nav-submenu__toggle .icon {
    transform: rotate(-90deg);
  }
}
@media (max-width: 1024px) {
  .nav-submenu > a {
    white-space: normal;
  }
  .nav-submenu__links {
    margin-left: 14px;
    border-left: 2px solid var(--border);
  }
}
[id="featured-services"] h3[id],
[id="mental-health-services"] h3[id] {
  scroll-margin-top: 120px;
}

.dropdown a:hover {
  background: var(--cream);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__cta {
  padding: 10px 20px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--teal-800);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 64px 0 84px;
  /* top bar (~52px) + header (~81px) — hero fills the rest of the screen */
  --above-hero: 133px;
  min-height: calc(100vh - var(--above-hero));
  min-height: calc(100svh - var(--above-hero));
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--teal-800);
}
/* photos stay clear: only a soft neutral shade at the very top and bottom
   (helps the header edge and the progress bars), no colour tint */
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0) 22%,
    rgba(0, 0, 0, 0) 72%,
    rgba(0, 0, 0, 0.32) 100%
  );
}

/* ----- Hero slider -----
   The incoming photo fades in on top of the outgoing one (which stays
   fully visible underneath until the fade ends, so there is no dark dip),
   and every photo slowly zooms out while it is on screen. */
.hero__slides {
  position: absolute;
  z-index: 0;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
}
.hero__slide.is-leaving {
  opacity: 1;
  z-index: 1;
}
.hero__slide.is-active {
  opacity: 1;
  z-index: 2;
  transition: opacity 1.6s ease;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* slow zoom-out; each photo drifts from a different corner */
@keyframes hero-zoom {
  from {
    transform: scale(1.14);
  }
  to {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__slide.is-active img,
  .hero__slide.is-leaving img {
    animation: hero-zoom 8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }
  .hero__slide:nth-child(2) img {
    transform-origin: 30% 40%;
  }
  .hero__slide:nth-child(3) img {
    transform-origin: 70% 60%;
  }
  .hero__slide:nth-child(4) img {
    transform-origin: 60% 30%;
  }
}

/* progress bars (bottom centre): the current one fills up over 4s */
.hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 30px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.hero__dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 24px; /* bigger tap area than the 4px bar */
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hero__dot span {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.25s ease;
}
.hero__dot span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot[aria-current] span::after {
  animation: hero-fill 4s linear forwards;
}
@keyframes hero-fill {
  to {
    transform: scaleX(1);
  }
}
.hero__dot:hover span {
  background: rgba(255, 255, 255, 0.6);
}
.hero__dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .hero__dot[aria-current] span::after {
    animation: none;
    transform: scaleX(1);
  }
}
@media (max-width: 768px) {
  .hero__dots {
    bottom: 18px;
  }
  .hero__dot {
    width: 34px;
  }
}
/* heading and stars flow as one line of text: the stars (with the short
   green accent line in front of them) sit right after "Islamabad" */
.hero__title {
  margin-bottom: 24px;
}
.hero__title h1 {
  display: inline;
  margin: 0;
}
.hero__stars {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 0 16px;
  vertical-align: baseline;
  white-space: nowrap;
  color: #f5b301;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  font-size: 2.9rem;
  letter-spacing: 4px;
  line-height: 1;
}
.hero__stars::before {
  content: "";
  width: 84px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--coral) 0%, #10bf28 100%);
}
.hero__inner {
  position: relative;
  z-index: 2; /* above the slider and its overlay */
  width: 100%;
}
/* frosted-glass panel behind the text: the photo shows through, blurred
   and darkened just enough for the white text to read on any slide */
.hero__content {
  max-width: 860px;
  padding: 34px 42px 30px;
  /* almost clear glass: a faint tint + light edge; readability comes from
     the soft dark shadow right behind the letters (see text-shadow below) */
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(8, 20, 40, 0.14) 0%,
    rgba(8, 20, 40, 0.06) 100%
  );
  -webkit-backdrop-filter: blur(2px) saturate(110%);
  backdrop-filter: blur(2px) saturate(110%);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
/* browsers without backdrop blur: a little more tint instead */
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .hero__content {
    background: rgba(8, 20, 40, 0.28);
  }
}
.hero h1 {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 49px;
  line-height: 49px;
  letter-spacing: -2px;
  /* darkness only around the letters: tight shadow for edges + soft halo */
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 4px 26px rgba(0, 0, 0, 0.5);
  margin-bottom: 18px;
}
.hero__text {
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 2px 16px rgba(0, 0, 0, 0.55);
}
.hero__text {
  font-size: 1.15rem;
  color: #dce7f3;
  max-width: 620px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 18px;
}
.hero__book,
.hero__text-short {
  display: none;
}
.hero__actions--center {
  justify-content: center;
}
.hero__link {
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero__link:hover {
  color: #fff;
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--teal-700);
  color: #fff;
  padding: 26px 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  text-align: center;
  padding: 12px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}
.trust__item:last-child {
  border-right: 0;
}
.trust__item strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  line-height: 1.1;
  color: #fff;
}
.trust__item span {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

/* ---------- About ----------
   Left: the IHRA certificate at a readable but compact size, in a white
   frame tilted slightly over a brand-gradient block, with an "IHRA
   Certified" seal and the 15+ years badge; click opens it full size.
   Right: heading with a gradient highlight, icon point tiles, two buttons. */
.about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      520px 420px at 8% 30%,
      color-mix(in srgb, var(--teal-100) 85%, transparent),
      transparent 70%
    ),
    var(--white);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: center;
}
.about__media {
  position: relative;
  display: flex;
  justify-content: center;
}
.about__frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 370px;
  margin: 0 22px 22px 0; /* room for the gradient block */
}
/* brand gradient block offset behind the certificate */
.about__frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 22px -22px -22px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0071ce 0%, #0061b1 50%, #10bf28 100%);
  opacity: 0.9;
}
/* soft dot pattern peeking out at the top left */
.about__frame::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: -26px;
  left: -26px;
  width: 120px;
  height: 120px;
  background: radial-gradient(
      circle,
      color-mix(in srgb, var(--teal-700) 35%, transparent) 2px,
      transparent 2.5px
    )
    0 0 / 16px 16px;
}
.about__cert {
  position: relative;
  display: block;
  padding: 8px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 50px rgba(2, 63, 114, 0.2);
  cursor: zoom-in;
  transform: rotate(-2deg);
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.4s ease;
}
.about__cert img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 908 / 1280;
  object-fit: cover;
  border-radius: 12px;
}
/* small zoom chip, always visible so it reads as clickable on phones too */
.about__cert-zoom {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-700);
  box-shadow: 0 6px 16px rgba(2, 30, 60, 0.22);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.about__cert-zoom .icon {
  width: 20px;
  height: 20px;
}
/* hover: dark wash + "Click to view full size" */
.about__cert-hint {
  position: absolute;
  inset: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 26px;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(4, 24, 48, 0.72) 100%
  );
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about__seal {
  position: absolute;
  top: 36px;
  left: -40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(2, 30, 60, 0.18);
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--muted);
}
.about__seal small {
  display: block;
  font-size: inherit;
}
.about__seal strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
}
.about__seal-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0071ce 0%, #10bf28 100%);
  color: #fff;
}
.about__seal-icon .icon {
  width: 20px;
  height: 20px;
}
.about__frame .about__badge {
  position: absolute;
  right: -46px;
  bottom: 64px;
  padding: 18px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2dca42 0%, #10a52a 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 34px rgba(16, 165, 42, 0.35);
}
.about__badge strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1;
}
.about__badge span {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* content */
/* same sharp sans as the hero heading (Montserrat bold, tight tracking) */
.about__content h2,
.virtual-tour__copy h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.about__hl {
  background: linear-gradient(110deg, #0071ce 0%, #0061b1 45%, #10bf28 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about__lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}
.about__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 30px;
}
.about__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--white);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--teal-700) 12%, var(--white)),
    0 4px 14px rgba(2, 63, 114, 0.06);
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--heading);
}
.about__point-ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal-100);
  color: var(--teal-700);
}
.about__point-ico .icon {
  width: 19px;
  height: 19px;
}
.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.about__actions .icon {
  width: 18px;
  height: 18px;
}

@media (hover: hover) {
  .about__cert:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 30px 60px rgba(2, 63, 114, 0.26);
  }
  .about__cert:hover .about__cert-hint {
    opacity: 1;
  }
  .about__cert:hover .about__cert-zoom {
    background: var(--teal-700);
    color: #fff;
  }
}
.about__cert:focus-visible {
  outline: 3px solid var(--teal-700);
  outline-offset: 4px;
}
@media (max-width: 1150px) {
  .about__grid {
    gap: 60px;
  }
  .about__seal {
    left: -20px;
  }
  .about__frame .about__badge {
    right: -30px;
  }
}
@media (max-width: 1024px) {
  .about__grid .about__media {
    max-width: none;
  }
  .about__frame {
    max-width: 340px;
  }
}
@media (max-width: 520px) {
  .about__frame {
    max-width: 280px;
    margin: 0 14px 14px 0;
  }
  .about__frame::before {
    inset: 14px -14px -14px 14px;
  }
  .about__seal {
    top: 18px;
    left: -14px;
    padding: 8px 12px 8px 8px;
  }
  .about__seal-icon {
    width: 34px;
    height: 34px;
  }
  .about__seal small {
    display: none;
  }
  .about__frame .about__badge {
    right: -14px;
    bottom: 40px;
    padding: 12px 16px;
  }
  .about__badge strong {
    font-size: 1.9rem;
  }
  .about__badge span {
    font-size: 0.75rem;
  }
  .about__points {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .about__actions .btn {
    flex: 1 1 100%;
  }
}

/* certificate viewer: single image, no arrows or thumbnails */
.lightbox--single .lightbox__stage {
  padding: 0 24px 28px;
  touch-action: auto;
  user-select: auto;
}
.lightbox--single .lightbox__img {
  cursor: default;
  background: #fff;
}
@media (max-width: 768px) {
  .lightbox--single .lightbox__stage {
    padding: 0 12px 20px;
  }
}

/* ---------- Cards (services + blog) ---------- */
.cards {
  display: grid;
  gap: 26px;
}
.cards--services {
  grid-template-columns: repeat(4, 1fr);
}
:is(#services, #featured-services, #mental-health-services) .cards--services .card {
  border: 1px solid #bdd4e9;
  box-shadow: 0 4px 14px rgba(2, 63, 114, 0.1);
}
:is(#services, #featured-services, #mental-health-services) .cards--services .card:hover,
:is(#services, #featured-services, #mental-health-services) .cards--services .card:focus-within {
  border-color: #7caed5;
  box-shadow: 0 8px 20px rgba(2, 63, 114, 0.16);
}
.service-link__mobile {
  display: none;
}
.card__link[aria-disabled="true"] {
  pointer-events: none;
  color: var(--muted);
}
.cards--blog {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card__media img {
  width: 100%;
  aspect-ratio: 400 / 260;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover .card__media img {
  transform: scale(1.05);
}
.card__media {
  overflow: hidden;
}
.card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45em;
}
.card__body h3 a {
  color: var(--teal-800);
}
.card__body h3 a:hover {
  color: var(--coral);
}
.card__body p {
  font-size: 0.95rem;
  color: var(--muted);
  flex: 1;
}
.card__link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--coral);
  font-size: 0.95rem;
}

/* ---------- Why us ---------- */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}
.why__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px;
}
.why__card .icon {
  color: var(--gold);
  margin-bottom: 12px;
}
.why__card h3 {
  font-size: 1.25rem;
}
.why__card p {
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Split (support programs) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
  align-items: start;
}
.split__media {
  position: sticky;
  top: 110px;
}
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 15 / 16;
  object-fit: cover;
}
.split__content h3 {
  font-size: 1.35rem;
  margin-top: 1.2em;
}

/* ---------- Process: recovery journey timeline ----------
   Brand blue -> brand green section (same colours as the live site),
   glass markers joined by a white line, smoked-glass cards.
   Motion: see "Process motion" just above RESPONSIVE. */
.process {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  /* brand blue (#0260ad) on the left, blending into brand green on the right */
  background: linear-gradient(100deg, #0071ce 0%, #0061b1 45%, #10bf28 100%);
}
/* A regular (not hero-sized) section: compact padding, fits one screen */
.section.process {
  padding: clamp(56px, 7vh, 72px) 0;
}
.process .section__head {
  max-width: 900px;
  margin-bottom: 40px;
}
.process .section__head h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin: 0;
}
.process .section__foot {
  margin-top: 32px;
}

.steps {
  --marker: 52px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
/* Connector line through the markers: faint base + white line on top.
   It runs from the centre of the first column to the centre of the last. */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: calc(var(--marker) / 2 - 1px);
  left: calc((100% - 3 * 28px) / 8);
  right: calc((100% - 3 * 28px) / 8);
  height: 2px;
  border-radius: 2px;
}
.steps::before {
  background: rgba(255, 255, 255, 0.18);
}
.steps::after {
  background: rgba(255, 255, 255, 0.75);
  transform-origin: left center;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step__marker {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: var(--marker);
  height: var(--marker);
  margin-bottom: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}
.step__num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1;
  color: #fff;
}
.step:hover .step__marker {
  background: #fff;
}
.step:hover .step__num {
  color: #0260ad;
}
/* Smoked-glass card: a slightly dark tint keeps white text readable on
   both the blue and the green side */
.step__card {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
  padding: 24px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(0, 30, 60, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 18px 40px rgba(0, 30, 60, 0.18);
  text-align: center;
}
/* White bar that slides in along the top on hover */
.step__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}
.step:hover .step__card {
  background: rgba(0, 30, 60, 0.26);
  border-color: rgba(255, 255, 255, 0.45);
}
.step:hover .step__card::before {
  transform: scaleX(1);
}
.step__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: #fff;
  color: #0260ad;
  box-shadow: 0 10px 24px rgba(0, 30, 60, 0.22);
  display: grid;
  place-items: center;
}
.step__icon .icon {
  width: 22px;
  height: 22px;
}
.step h3 {
  color: #fff;
  margin-bottom: 0.55em;
}
.step p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ---------- Team ----------
   Reference-style grid: centred header, 1100px wide, 4 equal cards per row.
   Card = photo area (soft brand tint + faint circle behind the transparent
   cut-out) + light info panel. Scoped with .team-section so the shared
   .section__head / .eyebrow styles of other sections are untouched. */
.team-section .section__head {
  max-width: 760px;
  margin-bottom: 44px;
}
.team-section .eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--teal-700);
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 8px;
}
.team-section .section__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 10px;
}
.team-section .section__head p:last-child {
  max-width: 680px; /* the sentence needs 669px to stay on one line at 16px */
  margin: 0 auto;
  font-size: 16px;
}
.team-section .section__foot {
  margin-top: 40px;
}

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr; /* every row as tall as the tallest -> all cards equal */
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
/* Center team cards when the last row has one or two cards. */
@media (width > 1024px) {
  .team > .member:nth-last-child(2):nth-child(4n + 1) {
    grid-column: 2;
  }
  .team > .member:last-child:nth-child(4n + 1) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 66px) / 4);
  }
}
@media (768px < width <= 1024px) {
  .team > .member:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}
@media (max-width: 768px) {
  .team > .member:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 14px) / 2);
  }
}
@media (max-width: 420px) {
  .team > .member:last-child:nth-child(2n + 1) {
    width: calc((100% - 12px) / 2);
  }
}
.member {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(2, 63, 114, 0.06);
}
/* Photo area: same shape as the photos (500 × 666), so each photo fills it
   edge to edge and nothing is cut. Layers (back to front): soft brand tint ->
   ::after hover gradient -> transparent cut-out photo. */
.member__photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 500 / 666;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--teal-700) 22%, var(--white)) 0%,
    var(--teal-100) 100%
  );
}
.member__photo::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(180deg, var(--teal-700) 0%, var(--teal-800) 100%);
  opacity: 0;
}
.member__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
}
.member__info {
  flex: 1;
  min-height: 84px;
  padding: 16px 18px 20px;
  background: var(--cream);
  text-align: left;
}
.member__info h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin: 0 0 4px;
}
/* Role: max 2 lines */
.member__info p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* Hover (desktop only): photo background turns brand blue, card lifts 4px */
@media (hover: hover) {
  .member {
    transition: box-shadow 0.3s ease;
  }
  .member__photo::after {
    transition: opacity 0.3s ease;
  }
  .member:hover,
  .member:focus-within {
    box-shadow: var(--shadow);
  }
  .member:hover .member__photo::after,
  .member:focus-within .member__photo::after {
    opacity: 1;
  }
  @media (prefers-reduced-motion: no-preference) {
    .member {
      transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    }
    .member:hover,
    .member:focus-within {
      transform: translateY(-4px);
    }
  }
}

/* ---------- Gallery + videos ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
/* Each photo is a link that opens the lightbox */
.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.5s ease;
}
/* blue tint + zoom icon on hover */
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 106, 192, 0.35),
    rgba(10, 18, 34, 0.45)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery__zoom {
  position: absolute;
  z-index: 1;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.gallery__zoom .icon {
  width: 24px;
  height: 24px;
}
.gallery__item:focus-visible {
  outline: 3px solid var(--teal-700);
  outline-offset: 3px;
}
@media (hover: hover) {
  .gallery__item:hover img {
    transform: scale(1.06);
  }
  .gallery__item:hover::after,
  .gallery__item:hover .gallery__zoom {
    opacity: 1;
  }
  .gallery__item:hover .gallery__zoom {
    transform: none;
  }
}

/* ---------- Gallery lightbox ---------- */
html.lb-open {
  overflow: hidden; /* no page scroll behind the viewer */
}
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(6, 12, 24, 0.94);
  color: #fff;
  overflow: hidden;
}
.lightbox[open] {
  display: flex;
  flex-direction: column;
  animation: lb-fade 0.3s ease;
}
.lightbox.is-closing {
  animation: lb-fade 0.22s ease reverse forwards;
}
.lightbox::backdrop {
  background: rgba(6, 12, 24, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@keyframes lb-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.lightbox__count {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
  font-variant-numeric: tabular-nums;
}
.lightbox__close,
.lightbox__arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}
.lightbox__close {
  width: 46px;
  height: 46px;
}
.lightbox__close .icon {
  width: 22px;
  height: 22px;
}
.lightbox__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 90px;
  touch-action: pan-y; /* horizontal swipes are handled by JS */
  user-select: none;
}
.lightbox__figure {
  margin: 0;
  height: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100% - 44px);
  min-height: 0;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  -webkit-user-drag: none;
  cursor: grab;
}
.lightbox__img:active {
  cursor: grabbing;
}
.lightbox__caption {
  margin-top: 14px;
  font-size: 0.95rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}
.lightbox__arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 56px;
  height: 56px;
  margin-top: -28px;
}
.lightbox__arrow--prev {
  left: 20px;
}
.lightbox__arrow--next {
  right: 20px;
}
.lightbox__arrow .icon {
  width: 28px;
  height: 28px;
}
/* the sprite chevron points down: turn it left / right */
.lightbox__arrow--prev .icon {
  transform: rotate(90deg);
}
.lightbox__arrow--next .icon {
  transform: rotate(-90deg);
}
.lightbox__thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lightbox__thumbs::-webkit-scrollbar {
  display: none;
}
.lightbox__thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: none;
  opacity: 0.5;
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    border-color 0.25s ease;
}
.lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox__thumb[aria-current="true"] {
  opacity: 1;
  border-color: var(--coral);
}
.lightbox button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}
@media (hover: hover) {
  .lightbox__close:hover,
  .lightbox__arrow:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
  }
  .lightbox__close:hover {
    transform: rotate(90deg);
  }
  .lightbox__thumb:hover {
    opacity: 0.85;
  }
}
@media (max-width: 768px) {
  .lightbox__bar {
    padding: 12px 14px;
  }
  .lightbox__stage {
    padding: 0 12px;
  }
  /* phones: smaller arrows sitting on the photo (swipe also works) */
  .lightbox__arrow {
    width: 42px;
    height: 42px;
    margin-top: -21px;
    background: rgba(6, 12, 24, 0.55);
  }
  .lightbox__arrow--prev {
    left: 18px;
  }
  .lightbox__arrow--next {
    right: 18px;
  }
  .lightbox__arrow .icon {
    width: 22px;
    height: 22px;
  }
  .lightbox__thumbs {
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 14px 18px;
  }
  .lightbox__thumb {
    width: 52px;
    height: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox[open],
  .lightbox.is-closing {
    animation: none;
  }
}

.gallery__big {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery__wide {
  grid-column: span 2;
}
.virtual-tour {
  background:
    radial-gradient(ellipse at 85% 22%, #245c7770, transparent 58%),
    radial-gradient(ellipse at 20% 100%, #147a682e, transparent 50%),
    linear-gradient(100deg, #052f89, #0072d3);
  color: var(--white);
  padding-block: clamp(3rem, 6.5vw, 7rem);
  scroll-margin-top: 7rem;
}
.virtual-tour__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 5rem);
}
.virtual-tour__copy h2 {
  color: inherit;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 4px 20px #02162e66;
}
.virtual-tour__copy h2::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 3px;
  margin-top: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #a2efc2, #75d5ff);
  box-shadow: 0 0 1rem #76edbf80;
  transform-origin: left;
}
.virtual-tour__copy h2 span {
  display: block;
  margin-bottom: 1rem;
  color: #8fe9bf;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.virtual-tour__copy p {
  margin: 1.25rem 0;
  max-width: 36ch;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d5e5f0;
}
.virtual-tour__spaces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  max-width: 26rem;
}
.virtual-tour__spaces li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid #b5dfff35;
  border-radius: 0.65rem;
  background: #b5dfff13;
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: #edf6fb;
}
.virtual-tour__spaces li::before {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  flex: none;
  border-radius: 50%;
  background: #8fe9bf;
  box-shadow: 0 0 0.55rem #8fe9bf90;
}
.virtual-tour__copy .btn {
  background: #a2efc2;
  color: #092c24;
  box-shadow: 0 8px 24px #79edb74d;
}
.virtual-tour__copy .btn:hover {
  background: #d0fbe1;
  color: #092c24;
}
.virtual-tour__media {
  min-width: 0;
  margin: 0;
  padding: clamp(0.45rem, 0.85vw, 0.8rem);
  border: 1px solid var(--coral);
  border-radius: calc(var(--radius) + 0.75rem);
  background: var(--coral);
  box-shadow: 0 24px 60px #040c1a80;
}
.virtual-tour__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  padding: 0.65rem 0.45rem 0.1rem;
  color: #092c24;
  font-size: 0.875rem;
  font-weight: 600;
}
.virtual-tour__frame {
  position: relative;
  border-radius: var(--radius);
  background: #0a1222;
  box-shadow: 0 16px 36px rgba(10, 18, 34, 0.32);
}
.virtual-tour__frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: inherit;
  scroll-margin-top: 7rem;
}
.virtual-tour__frame video:fullscreen {
  background: #000;
  border-radius: 0;
  object-fit: contain;
}
.virtual-tour__play:not([hidden]) {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: auto;
  width: clamp(3.5rem, 6vw, 5rem);
  aspect-ratio: 1;
  border: 1px solid #e1fff0;
  border-radius: 50%;
  background: #e2fff0;
  color: #092c24;
  cursor: pointer;
  box-shadow:
    0 0 0 0.35rem #baffd85c,
    0 0 1.5rem #9effc8cc,
    0 8px 24px #08101fad;
}
.virtual-tour__play::after {
  content: "";
  position: absolute;
  inset: -0.45rem;
  border: 2px solid #c2ffdc;
  border-radius: inherit;
  pointer-events: none;
}
.virtual-tour__play .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.virtual-tour__play:hover {
  background: #a2efc2;
}
.virtual-tour__play:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  .virtual-tour.is-in-view .virtual-tour__copy {
    animation: virtual-tour-enter 0.6s ease-out both;
  }
  .virtual-tour.is-in-view .virtual-tour__media {
    animation: virtual-tour-enter 0.75s 0.08s ease-out both;
  }
  .virtual-tour.is-in-view .virtual-tour__copy h2::after {
    animation: virtual-tour-underline 0.7s 0.28s ease-out both;
  }
  .virtual-tour__copy .btn {
    transition:
      transform 0.2s ease,
      background-color 0.2s ease,
      box-shadow 0.2s ease;
  }
  .virtual-tour__copy .btn:hover,
  .virtual-tour__copy .btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px #79edb780;
  }
  .virtual-tour__play {
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }
  .virtual-tour.is-in-view .virtual-tour__play:not([hidden])::after {
    animation: virtual-tour-play-pulse 1.6s ease-out 3;
  }
  .virtual-tour__play:hover,
  .virtual-tour__play:focus-visible {
    transform: scale(1.08);
    box-shadow:
      0 0 0 0.75rem #e2fff045,
      0 8px 24px #08101fad;
  }
  @keyframes virtual-tour-enter {
    from {
      opacity: 0.55;
      transform: translateY(1rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes virtual-tour-underline {
    from {
      transform: scaleX(0.15);
      opacity: 0.35;
    }
    to {
      transform: scaleX(1);
      opacity: 1;
    }
  }
  @keyframes virtual-tour-play-pulse {
    from {
      opacity: 0.85;
      transform: scale(1);
    }
    to {
      opacity: 0;
      transform: scale(1.42);
    }
  }
}
@media (max-width: 820px) {
  .virtual-tour__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .virtual-tour__media {
    margin-inline: -0.75rem;
  }
}

.videos__title {
  text-align: center;
  margin-top: 70px;
  font-size: 1.9rem;
}
/* 8 video cards: thumbnail on top, white body below.
   4 per row on desktop / laptop, 2 per row on tablet and phone. */
.videos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.vcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border-radius: 16px;
  /* 1px brand-tinted ring (a shadow, so the card size does not change)
     + a deeper soft shadow so the cards stand out on the cream background */
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--teal-700) 18%, var(--white)),
    0 12px 30px rgba(2, 63, 114, 0.14),
    0 2px 6px rgba(2, 63, 114, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
/* thin brand gradient line along the bottom edge (drawn over the card,
   adds no height); grows to full width on hover */
.vcard::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-700), var(--coral));
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.video {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--teal-900);
  cursor: pointer;
}
.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ff0000; /* YouTube red */
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}
.video__play .icon {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}
.video--facebook .video__play {
  background: #0866ff;
}
.video:focus-visible {
  outline: 3px solid var(--teal-700);
  outline-offset: -3px;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* ---------- Video popup player (js/main.js #4) ----------
   Full-screen transparent <dialog>: the page behind is darkened + blurred
   (::backdrop), the 16:9 player sits in the middle. The thumbnail shows
   with a spinner until YouTube has loaded, then the player fades in. */
html.vm-open {
  overflow: hidden; /* no page scroll behind the player */
}
.vmodal {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.vmodal[open] {
  display: grid;
  place-items: center;
}
.vmodal::backdrop {
  background: rgba(6, 12, 24, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.vmodal__box {
  /* as large as fits: max 1100px wide, and short enough for the screen */
  width: min(1100px, 100%, calc((100vh - 130px) * 16 / 9));
  width: min(1100px, 100%, calc((100dvh - 130px) * 16 / 9));
}
.vmodal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.vmodal__title {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.vmodal__close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vmodal__close .icon {
  width: 22px;
  height: 22px;
}
.vmodal__close:hover {
  background: #fff;
  color: var(--teal-900);
  transform: rotate(90deg);
}
.vmodal__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #000;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transform-origin: 0 0; /* needed for the grow-from-card animation */
}
.vmodal__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  transition: opacity 0.45s ease;
}
.vmodal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.vmodal__spinner {
  position: absolute;
  inset: 0;
  width: 56px;
  height: 56px;
  margin: auto;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: vm-spin 0.9s linear infinite;
  transition: opacity 0.3s ease;
}
.vmodal__frame.is-ready iframe {
  opacity: 1;
}
.video iframe.video-embed--square,
.vmodal__frame iframe.video-embed--square,
.video iframe.video-embed--portrait,
.vmodal__frame iframe.video-embed--portrait {
  width: auto;
  aspect-ratio: 1;
  margin-inline: auto;
}
.video iframe.video-embed--portrait,
.vmodal__frame iframe.video-embed--portrait {
  aspect-ratio: 267 / 476;
}
.vmodal__frame.is-ready .vmodal__poster,
.vmodal__frame.is-ready .vmodal__spinner {
  opacity: 0;
}
@keyframes vm-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .vmodal[open]::backdrop {
    animation: vm-fade 0.4s ease;
  }
  .vmodal.is-closing::backdrop {
    animation: vm-fade 0.4s ease reverse forwards;
  }
  .vmodal[open] .vmodal__head {
    animation: vm-head 0.45s 0.3s ease both;
  }
  .vmodal.is-closing .vmodal__head {
    animation: vm-fade 0.2s ease reverse forwards;
  }
}
@keyframes vm-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes vm-head {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 768px) {
  .vmodal {
    padding: 14px;
  }
  .vmodal__title {
    font-size: 0.98rem;
  }
  .vmodal__close {
    width: 42px;
    height: 42px;
  }
  .vmodal__frame {
    border-radius: 12px;
  }
}

.vcard__body {
  flex: 1;
  padding: 18px 20px 22px;
  cursor: pointer; /* JS: clicking the text also plays the video */
}
.vcard__label {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-700);
}
.vcard__title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--heading);
  transition: color 0.3s ease;
}
@media (hover: hover) {
  .vcard:hover {
    transform: translateY(-5px);
    box-shadow:
      0 0 0 2px color-mix(in srgb, var(--teal-700) 55%, var(--white)),
      0 22px 44px rgba(2, 63, 114, 0.2),
      0 4px 10px rgba(2, 63, 114, 0.08);
  }
  .vcard:hover::after {
    transform: scaleX(1);
  }
  .vcard:hover .video img {
    transform: scale(1.05);
  }
  .vcard:hover .video__play {
    transform: scale(1.08);
  }
  .vcard:hover .video:not(.video--facebook) .video__play {
    background: #cc0000;
  }
  .vcard:hover .vcard__title {
    color: var(--teal-700);
  }
}

/* ---------- Testimonials: review card slider ----------
   Brand gradient section (same colours as "Our Process"), soft rings,
   white cards (3 / 2 / 1 per view), arrows + dots. The track is a native
   scroll-snap row, so it also works with touch and without JS. */
.testimonials {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(110deg, #0071ce 0%, #0061b1 45%, #10bf28 100%);
}
/* Decorative rings: top-right and bottom-left */
.testimonials::before,
.testimonials::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.testimonials::before {
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.035);
}
.testimonials::after {
  bottom: -140px;
  left: -120px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
}
/* A regular (not hero-sized) section: compact padding, fits one screen */
.section.testimonials {
  padding: clamp(48px, 6vh, 64px) 0;
}
.testimonials .section__head {
  max-width: 900px;
  margin-bottom: 28px;
}
.testimonials .section__head h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin-bottom: 10px;
}
.testimonials .section__head p:last-child {
  color: rgba(255, 255, 255, 0.92);
}

.tslider {
  --per-view: 3;
  --tgap: 22px;
  max-width: 1240px;
  margin: 0 auto;
}
.tslider__track {
  display: flex;
  gap: var(--tgap);
  margin: 0;
  padding: 6px 4px 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.tslider__track::-webkit-scrollbar {
  display: none;
}
.tslider__track:focus-visible {
  outline-offset: 4px;
  border-radius: 20px;
}
.tcard {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--tgap)) / var(--per-view));
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
}

/* Card */
.tcard__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 22px 24px 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 30, 60, 0.18);
}
/* "google" or "site" wording — only the matching one is shown */
.tcard [class*="tcard--"] {
  display: none;
}
.tcard[data-source="google"] .tcard--google,
.tcard[data-source="site"] .tcard--site {
  display: inline;
}
.tcard[data-source="google"] svg.tcard--google,
.tcard[data-source="site"] svg.tcard--site {
  display: block;
}
.tcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.tcard__source {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--heading);
}
.tcard__logo {
  width: 27px;
  height: 25px;
  flex-shrink: 0;
}
svg.tcard--site {
  color: var(--teal-700);
}
.tcard__badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--cream-dark);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.4;
  white-space: nowrap;
}
.tcard__stars {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 12px;
  color: #f5b301; /* same star gold as the hero */
}
.tcard__stars svg {
  width: 17px;
  height: 17px;
}
.tcard__quote p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}
.tcard__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--cream-dark);
}
.tcard__quote {
  margin: 0 0 16px;
}
.tcard__avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: color-mix(in srgb, var(--teal-700) 16%, var(--white));
  box-shadow: inset 0 0 0 2px
    color-mix(in srgb, var(--teal-700) 22%, var(--white));
  color: var(--teal-700);
  display: grid;
  place-items: end center;
}
.tcard__avatar svg {
  width: 34px;
  height: 34px;
  opacity: 0.85;
}
.tcard__who {
  flex: 1;
  min-width: 0;
}
.tcard__name {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--teal-800);
}
.tcard__meta {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}
.tcard__mark {
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 0.6;
  padding-top: 14px;
  color: var(--coral);
}

/* Arrows + dots */
.tslider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 6px;
}
.tslider__controls[hidden] {
  display: none;
}
.tslider__arrow {
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
}
.tslider__arrow:hover {
  background: #fff;
  color: var(--teal-700);
}
.tslider__arrow--prev .icon {
  transform: rotate(180deg);
}
.tslider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tslider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}
.tslider__dot[aria-current="true"] {
  width: 24px;
  background: #fff;
}
/* Auto-slide countdown: while auto-sliding (.is-auto, set by JS) the active
   dot fills up over 4 s; when paused it stays solid white */
.tslider__dot {
  position: relative;
  overflow: hidden;
}
.tslider.is-auto .tslider__dot[aria-current="true"] {
  background: rgba(255, 255, 255, 0.45);
}
.tslider.is-auto .tslider__dot[aria-current="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  transform-origin: left;
  animation: tslider-fill 4s linear forwards;
}
@keyframes tslider-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
/* Mouse drag (JS): grab cursor; snapping is off while dragging */
.tslider__track.is-draggable {
  cursor: grab;
}
.tslider__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.testimonials__cta {
  margin-top: 18px;
  text-align: center;
}
.testimonials__ext {
  transform: rotate(-45deg);
}

/* "Read more experiences on Google": white pill with a Google-colours
   ring (blue, red, yellow, green), the G logo and a coloured "Google" */
.btn--google {
  --g-blue: #4285f4;
  --g-red: #ea4335;
  --g-yellow: #fbbc05;
  --g-green: #34a853;
  position: relative;
  gap: 10px;
  padding: 13px 26px 13px 20px;
  border: 3px solid transparent;
  color: #3c4043;
  background:
    linear-gradient(#fff, #fff) padding-box,
    /* the 4 colours twice, so all 4 show at rest and the ring can
       slide seamlessly on hover */
    linear-gradient(
        90deg,
        var(--g-blue),
        var(--g-red) 12.5%,
        var(--g-yellow) 25%,
        var(--g-green) 37.5%,
        var(--g-blue) 50%,
        var(--g-red) 62.5%,
        var(--g-yellow) 75%,
        var(--g-green) 87.5%,
        var(--g-blue)
      )
      0 0 / 200% 100% border-box;
  box-shadow: 0 10px 26px rgba(10, 18, 34, 0.22);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-position 0.8s ease;
}
.btn--google:hover {
  color: #202124;
  background-position:
    0 0,
    100% 0;
  box-shadow: 0 14px 32px rgba(10, 18, 34, 0.3);
}
.btn--google__logo {
  width: 22px;
  height: 22px;
}
.btn--google .testimonials__ext {
  color: var(--g-blue);
  transition: transform 0.25s ease;
}
.btn--google:hover .testimonials__ext {
  transform: rotate(-45deg) translateX(3px);
}
.gword {
  font-weight: 700;
}
.gword span:nth-child(1),
.gword span:nth-child(4) {
  color: var(--g-blue);
}
.gword span:nth-child(2),
.gword span:nth-child(6) {
  color: var(--g-red);
}
.gword span:nth-child(3) {
  color: var(--g-yellow);
}
.gword span:nth-child(5) {
  color: var(--g-green);
}
@media (max-width: 480px) {
  .btn--google {
    gap: 8px;
    padding: 12px 18px 12px 14px;
    font-size: 0.9rem;
  }
  .btn--google__logo {
    width: 19px;
    height: 19px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tslider__arrow,
  .tslider__dot {
    transition:
      background 0.25s,
      color 0.25s,
      width 0.25s;
  }
}

/* ---------- Tagline band ---------- */
.band {
  background: linear-gradient(90deg, var(--coral) 0%, #2e9a3d 100%);
  color: #fff;
  padding: 60px 0;
}
.band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}
.band p {
  margin: 0;
  max-width: 720px;
}
.band .btn--coral {
  background: var(--teal-800);
}
.band .btn--coral:hover {
  background: var(--teal-900);
}

/* ---------- Appointment ---------- */
.appt {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.appt__form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--teal-800);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: #f5f9ff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(2, 96, 173, 0.15);
  background: #fff;
}
.form__error {
  color: #b3261e;
  font-weight: 500;
}
.form__note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 12px 0 0;
}
/* Appointment section on desktop / laptop: a more compact form so it is
   about as tall as the blue "Need help?" card. The 6 fields sit 3 per row
   (the .form__row wrappers "open up"), spacing is a little tighter. */
@media (min-width: 1025px) {
  #appointment .appt__form-wrap {
    padding: 36px 40px 32px;
  }
  #appointment .appt__form-wrap > p:not(.eyebrow) {
    margin-bottom: 20px;
  }
  #appointment .form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 16px;
  }
  #appointment .form__row {
    display: contents;
  }
  #appointment .form > :not(.form__row) {
    grid-column: 1 / -1;
  }
  #appointment .field {
    margin-bottom: 14px;
  }
  #appointment .field input,
  #appointment .field select,
  #appointment .field textarea {
    padding-top: 11px;
    padding-bottom: 11px;
  }
  #appointment .field textarea {
    height: 84px;
    resize: vertical;
  }
  #appointment .form .btn {
    margin-top: 4px;
  }
}
.help {
  background: var(--teal-800);
  color: #dce7f3;
  border-radius: var(--radius);
  padding: 44px 38px;
}
.help h2 {
  color: #fff;
  font-size: 2rem;
}
.help__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.help__list .icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}
.help__list small {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
}
.help__list a,
.help__list span {
  color: #fff;
  font-weight: 500;
}

/* ---------- FAQ ----------
   Left: intro + "Still have a question?" card (sticky on desktop).
   Right: accordion cards. Native <details> works without JS; with JS
   (.is-open) the answer height animates and only one stays open. */
.faq-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}
.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 56px;
  align-items: start;
}
.faq__aside {
  position: sticky;
  top: 110px;
}
.faq__intro h2 {
  margin-bottom: 14px;
}
.faq__intro p {
  margin-bottom: 26px;
  color: var(--muted);
}

/* "Still have a question?" card in the brand gradient */
.faq__help {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 36px;
  padding: 28px 28px 26px;
  border-radius: 20px;
  background: linear-gradient(125deg, #0071ce 0%, #0061b1 50%, #10bf28 100%);
  box-shadow: 0 18px 40px rgba(0, 60, 120, 0.18);
  color: rgba(255, 255, 255, 0.88);
}
/* soft ring in the corner, same language as the testimonials band */
.faq__help::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, 0.07);
}
.faq__help-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  color: #fff;
}
.faq__help-icon .icon {
  width: 22px;
  height: 22px;
}
.faq__help h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  color: #fff;
}
.faq__help p {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq__help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.faq__help-actions .btn {
  flex: 1 1 130px;
  padding: 11px 18px;
  font-size: 0.95rem;
}

/* Accordion */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(2, 63, 114, 0.05);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
/* brand accent bar on the left of the open card */
.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal-700), var(--coral));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px 18px 22px;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--teal-700);
  outline-offset: -2px;
  border-radius: 16px;
}
.faq-item__num {
  flex-shrink: 0;
  min-width: 30px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--teal-700) 45%, var(--white));
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}
.faq-item__q {
  flex: 1;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--heading);
  transition: color 0.3s ease;
}

/* Plus / minus button: two bars; the vertical one turns flat when open */
.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-100);
  box-shadow: inset 0 0 0 1px
    color-mix(in srgb, var(--teal-700) 22%, var(--white));
  color: var(--teal-700);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-item__icon::after {
  transform: rotate(90deg);
}

.faq-item__a {
  overflow: hidden;
}
.faq-item__a p {
  margin: 0;
  padding: 0 24px 22px 68px;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text);
}

/* Open state: [open] without JS, .is-open with JS (set at click time so
   the icon flips straight away, also while the answer is closing) */
html:not(.js) .faq-item[open],
.faq-item.is-open {
  border-color: color-mix(in srgb, var(--teal-700) 30%, var(--white));
  box-shadow: 0 16px 36px rgba(2, 63, 114, 0.12);
}
html:not(.js) .faq-item[open]::before,
.faq-item.is-open::before {
  transform: scaleY(1);
}
html:not(.js) .faq-item[open] .faq-item__num,
.faq-item.is-open .faq-item__num {
  color: var(--coral);
}
html:not(.js) .faq-item[open] .faq-item__q,
.faq-item.is-open .faq-item__q {
  color: var(--teal-800);
}
html:not(.js) .faq-item[open] .faq-item__icon,
.faq-item.is-open .faq-item__icon {
  background: linear-gradient(135deg, var(--teal-700), var(--coral));
  box-shadow: 0 6px 14px rgba(0, 106, 192, 0.28);
  color: #fff;
  transform: rotate(180deg);
}
html:not(.js) .faq-item[open] .faq-item__icon::after,
.faq-item.is-open .faq-item__icon::after {
  transform: rotate(0deg);
}

/* Answer text eases in a moment after the panel starts opening */
.js .faq-item__a p {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.js .faq-item.is-open .faq-item__a p {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.45s ease 0.12s,
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) 0.12s;
}

@media (hover: hover) {
  .faq-item:not(.is-open):hover {
    border-color: color-mix(in srgb, var(--teal-700) 30%, var(--white));
    box-shadow: 0 10px 26px rgba(2, 63, 114, 0.09);
  }
  .faq-item:not(.is-open):hover .faq-item__q {
    color: var(--teal-700);
  }
  .faq-item:not(.is-open):hover .faq-item__icon {
    background: var(--teal-700);
    color: #fff;
  }
}

@media (max-width: 1024px) {
  .faq {
    gap: 36px;
  }
  /* aside "opens up" so the help card can sit below the questions */
  .faq__aside {
    display: contents;
  }
  .faq__intro {
    order: 1;
    max-width: 640px;
  }
  .faq__list {
    order: 2;
  }
  .faq__help {
    order: 3;
    margin-top: 0;
  }
}
@media (max-width: 520px) {
  .faq-item summary {
    gap: 12px;
    padding: 16px 14px 16px 16px;
  }
  /* small phones: numbers hidden so the question gets the full width */
  .faq-item__num {
    display: none;
  }
  .faq-item__q {
    font-size: 0.95rem;
  }
  .faq-item__icon {
    width: 34px;
    height: 34px;
  }
  .faq-item__a p {
    padding: 0 18px 18px 16px;
    font-size: 0.94rem;
  }
  .faq__help {
    padding: 24px 20px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-item::before,
  .faq-item__icon,
  .faq-item__icon::before,
  .faq-item__icon::after,
  .js .faq-item__a p {
    transition: none !important;
  }
}

/* ---------- Centers + map ----------
   Left: address card (gradient header, icon rows, actions) + other centers.
   Right: map in a white frame with a brand-gradient block behind it and a
   floating "New Soch Rehab" badge. Map height is fixed (not stretched). */
.centers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}
.centers__info h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  margin-bottom: 22px;
}

/* address card */
.centers__card {
  overflow: hidden;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(2, 63, 114, 0.1);
  font-style: normal;
}
.centers__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: linear-gradient(110deg, #0071ce 0%, #0061b1 55%, #10bf28 100%);
}
.centers__head-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  color: #fff;
}
.centers__head h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}
.centers__rows {
  margin: 0;
  padding: 8px 24px 4px;
  list-style: none;
}
.centers__rows li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  line-height: 1.55;
  color: var(--text);
}
.centers__rows li + li {
  border-top: 1px solid var(--cream-dark);
}
.centers__rows small {
  display: block;
  margin-bottom: 1px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
}
.centers__rows a {
  font-weight: 500;
  color: var(--teal-700);
}
.centers__ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
}
.centers__ico .icon {
  width: 18px;
  height: 18px;
}
.centers__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 24px 24px;
}
.centers__actions .btn {
  flex: 1 1 150px;
  padding: 11px 18px;
  font-size: 0.95rem;
}

/* other centers (placeholder content) */
.centers__other {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 18px 22px;
  border: 1.5px dashed color-mix(in srgb, var(--teal-700) 35%, var(--white));
  border-radius: 16px;
  background: color-mix(in srgb, var(--teal-100) 55%, transparent);
}
.centers__other h3 {
  margin: 0 0 4px;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
}
.centers__other p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}
.centers__more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(2, 63, 114, 0.1);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-700);
  white-space: nowrap;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.centers__more .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

/* map: white frame + gradient block behind + floating badge */
.centers__map {
  position: relative;
  isolation: isolate;
  margin: 0 18px 18px 0; /* room for the gradient block */
}
.centers__map::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px -18px -18px 18px;
  border-radius: 24px;
  /* Google Maps colours: blue, green, yellow, red */
  background: linear-gradient(
    45deg,
    #4285f4 0%,
    #4285f4 16%,
    #34a853 38%,
    #fbbc05 62%,
    #ea4335 84%,
    #ea4335 100%
  );
}
.map {
  position: relative;
  height: 440px;
  border: 8px solid var(--white);
  border-radius: 24px;
  overflow: hidden;
  background: var(--teal-100); /* shows for a moment while the map loads */
  box-shadow: 0 24px 50px rgba(2, 63, 114, 0.2);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map__badge {
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 44px);
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(2, 30, 60, 0.22);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.map__badge-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  /* Google Maps colours, same as the block behind the map */
  background: linear-gradient(
    45deg,
    #4285f4 0%,
    #4285f4 16%,
    #34a853 38%,
    #fbbc05 62%,
    #ea4335 84%,
    #ea4335 100%
  );
  color: #fff;
}
.map__badge-icon .icon {
  width: 18px;
  height: 18px;
}
.map__badge-text strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
}
.map__badge-go {
  width: 16px;
  height: 16px;
  color: var(--teal-700);
  transform: rotate(-45deg);
}

@media (hover: hover) {
  .centers__more:hover {
    background: var(--teal-700);
    color: #fff;
  }
  .centers__more:hover .icon {
    transform: translateX(3px);
  }
  .map__badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(2, 30, 60, 0.28);
  }
}

@media (max-width: 1024px) {
  .centers {
    gap: 40px;
  }
  .map {
    height: 380px;
  }
}
@media (max-width: 520px) {
  .centers__head,
  .centers__rows,
  .centers__actions {
    padding-left: 18px;
    padding-right: 18px;
  }
  .centers__other {
    flex-direction: column;
    align-items: flex-start;
  }
  .centers__map {
    margin: 0 12px 12px 0;
  }
  .centers__map::before {
    inset: 12px -12px -12px 12px;
  }
  .map {
    height: 300px;
    border-width: 6px;
  }
  /* badge would cover most of a small map (the card above already has
     "Get Directions"), so it is hidden on small phones */
  .map__badge {
    display: none;
  }
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--teal-900) url("../images/sections/cta-bg.webp") center/cover;
  position: relative;
  padding: 90px 0;
  text-align: center;
  color: #dce7f3;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 63, 114, 0.88);
}
.final-cta__inner {
  position: relative;
  max-width: 820px;
}
.final-cta h2 {
  color: #fff;
}

/* ---------- Locations (links to location pages) ----------
   Three columns of small white link cards, filled top-to-bottom so each
   column keeps its city group together; 2 columns on tablet, 1 on phones. */
.locations-section {
  padding: 80px 0;
}
.locations-section .section__head {
  margin-bottom: 40px;
}
.locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.locations li {
  display: flex;
}
.loc {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 16px 10px 10px;
  border-radius: 12px;
  background: var(--white);
  box-shadow:
    0 0 0 1px #bdd4e9,
    0 4px 14px rgba(2, 63, 114, 0.1);
  color: var(--heading);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}
.loc__ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal-100);
  color: var(--teal-700);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.loc__ico .icon {
  width: 18px;
  height: 18px;
}
.loc__text {
  flex: 1;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}
.loc__go {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--teal-700);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.loc:focus-visible {
  outline: 2px solid var(--teal-700);
  outline-offset: 2px;
}
@media (hover: hover) {
  a.loc:hover {
    transform: translateY(-2px);
    color: var(--teal-700);
    box-shadow:
      0 0 0 1.5px color-mix(in srgb, var(--teal-700) 45%, var(--white)),
      0 12px 26px rgba(2, 63, 114, 0.12);
  }
  a.loc:hover .loc__ico {
    background: linear-gradient(135deg, #0071ce 0%, #0061b1 45%, #10bf28 100%);
    color: #fff;
  }
  a.loc:hover .loc__go {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1024px) {
  .locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(9, auto);
  }
}
@media (max-width: 768px) {
  .locations-section {
    padding: 60px 0;
  }
}
@media (max-width: 600px) {
  .locations {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 10px;
  }
  .loc {
    min-height: 56px;
    padding: 8px 14px 8px 8px;
  }
  .loc__ico {
    width: 36px;
    height: 36px;
  }
  .loc__text {
    font-size: 0.92rem;
  }
  /* no hover on touch: show the arrow so each row reads as a link */
  .loc__go {
    opacity: 0.6;
    transform: none;
  }
}

/* ---------- Footer ----------
   Deep navy with a brand gradient line on top and two soft colour glows,
   bigger type, titles with a short gradient bar, icon chips for contact
   details and social buttons in each platform's own colours. */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      700px 420px at 0% 0%,
      rgba(0, 113, 206, 0.22),
      transparent 70%
    ),
    radial-gradient(
      600px 380px at 100% 100%,
      rgba(16, 191, 40, 0.14),
      transparent 70%
    ),
    linear-gradient(180deg, #0a1222 0%, #0c1a30 100%);
  color: #b4c6da;
  font-size: 1.1rem;
}
/* brand gradient line along the top edge */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0071ce 0%, #0061b1 45%, #10bf28 100%);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 52px;
  padding-top: 116px;
  padding-bottom: 92px;
}
.footer__logo {
  width: 200px;
  height: auto;
  margin-bottom: 28px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.footer__about p {
  line-height: 1.8;
  margin-bottom: 0;
}
.footer__title {
  position: relative;
  margin-bottom: 1.4em;
  padding-bottom: 16px;
  font-size: 1.6rem;
  color: #fff;
}
/* short gradient bar under each column title */
.footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--coral));
}
.footer a {
  color: #b4c6da;
  transition: color 0.25s ease;
}
.footer a:hover {
  color: #fff;
}
.footer__links li {
  margin-bottom: 14px;
}
/* links: small green chevron, link slides right on hover */
.footer__links a {
  position: relative;
  display: inline-block;
  padding-left: 18px;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.footer__links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border-top: 2px solid var(--coral);
  border-right: 2px solid var(--coral);
  transform: rotate(45deg);
  opacity: 0.75;
  transition: opacity 0.25s ease;
}
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  line-height: 1.6;
}
/* contact icons: app-style rounded squares, each in the colour people
   recognise for it (Google Maps, mail, phone, clock) */
.footer__ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.footer__ico .icon {
  width: 21px;
  height: 21px;
}
.footer__ico--map {
  background: linear-gradient(
    45deg,
    #4285f4 0%,
    #4285f4 16%,
    #34a853 38%,
    #fbbc05 62%,
    #ea4335 84%,
    #ea4335 100%
  );
}
.footer__ico--mail {
  background: linear-gradient(135deg, #ff5a4e 0%, #d93025 100%);
}
.footer__ico--phone {
  background: linear-gradient(135deg, #4cd964 0%, #1aa34a 100%);
}
.footer__ico--clock {
  background: linear-gradient(135deg, #ffb340 0%, #ff7a00 100%);
}
.footer__contact li:hover .footer__ico {
  transform: translateY(-3px);
}
.footer__contact li:hover .footer__ico--map {
  box-shadow: 0 12px 24px rgba(66, 133, 244, 0.45);
}
.footer__contact li:hover .footer__ico--mail {
  box-shadow: 0 12px 24px rgba(234, 67, 53, 0.45);
}
.footer__contact li:hover .footer__ico--phone {
  box-shadow: 0 12px 24px rgba(52, 199, 89, 0.45);
}
.footer__contact li:hover .footer__ico--clock {
  box-shadow: 0 12px 24px rgba(255, 149, 0, 0.45);
}
.footer__contact a {
  color: #fff;
  font-weight: 500;
}
.footer__contact a:hover {
  color: var(--coral);
}

/* social: each platform's own app-icon colours */
.footer__follow {
  margin: 32px 0 14px;
  font-family: var(--font-title);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.social {
  display: flex;
  gap: 12px;
}
.social a {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.social a:hover {
  color: #fff;
  transform: translateY(-4px);
}
.social .icon {
  width: 22px;
  height: 22px;
}
.social__fb {
  background: #1877f2;
}
.social__ig {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
.social__yt {
  background: #fff;
}
.social__yt .icon {
  width: 26px;
  height: 26px;
}
.social__tt {
  background: #000;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.social__fb:hover {
  box-shadow: 0 12px 24px rgba(24, 119, 242, 0.45);
}
.social__ig:hover {
  box-shadow: 0 12px 24px rgba(214, 36, 159, 0.45);
}
.social__yt:hover {
  box-shadow: 0 12px 24px rgba(255, 0, 0, 0.4);
}
.social__tt:hover {
  box-shadow:
    0 12px 24px rgba(254, 44, 85, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
  font-size: 1rem;
}
.footer__bottom p {
  margin: 0;
}
/* keep the credit clear of the floating WhatsApp button (bottom right) */
@media (min-width: 769px) {
  .footer__bottom-inner {
    padding-right: 90px;
  }
}
/* phones: normal padding (the mobile contact bar has its own space, see .mbar) */
@media (max-width: 768px) {
  .footer__bottom-inner {
    padding-top: 26px;
    padding-bottom: 26px;
    gap: 10px;
  }
}
.footer__bottom a {
  color: #fff;
  font-weight: 500;
}
.footer__bottom a:hover {
  color: var(--coral);
}
/* agency credit: bigger, bold, brand blue-to-green gradient letters with a
   soft glow around them that slowly pulses (only the agency name) */
.footer__bottom a.footer__credit {
  display: inline-block;
  margin-left: 4px;
  font-family: var(--font-title);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #4db5ff 0%, #34d058 55%, #2dca42 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px rgba(45, 202, 66, 0.5));
  animation: credit-glow 2.8s ease-in-out infinite;
}
.footer__bottom a.footer__credit:hover {
  animation: none;
  filter: drop-shadow(0 0 8px rgba(45, 202, 66, 0.9))
    drop-shadow(0 0 18px rgba(0, 119, 216, 0.6));
}
@keyframes credit-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(45, 202, 66, 0.35))
      drop-shadow(0 0 10px rgba(0, 119, 216, 0.25));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(45, 202, 66, 0.8))
      drop-shadow(0 0 18px rgba(0, 119, 216, 0.5));
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer__bottom a.footer__credit {
    animation: none;
  }
}

@media (hover: hover) {
  .footer__links a:hover {
    transform: translateX(4px);
  }
  .footer__links a:hover::before {
    opacity: 1;
  }
}
@media (max-width: 1024px) {
  .footer__grid {
    gap: 48px 40px;
    padding-top: 96px;
    padding-bottom: 72px;
  }
}
@media (max-width: 520px) {
  .footer__grid {
    gap: 44px;
    padding-top: 76px;
    padding-bottom: 56px;
  }
  .footer__title {
    font-size: 1.4rem;
  }
}

/* ---------- Floating buttons ---------- */
.floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}
.floating__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s;
}
.floating__btn:hover {
  transform: scale(1.08);
  color: #fff;
}
.floating__btn .icon {
  width: 26px;
  height: 26px;
}
.floating__btn--wa {
  position: relative;
  isolation: isolate;
  background: var(--whatsapp);
  box-shadow:
    0 0 18px rgba(10, 212, 84, 0.55),
    0 10px 26px rgba(10, 212, 84, 0.35);
}
/* glow: two soft rings that pulse out of the button, one after the other */
.floating__btn--wa::before,
.floating__btn--wa::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .floating__btn--wa::before,
  .floating__btn--wa::after {
    animation: wa-pulse 2.6s ease-out infinite;
  }
  .floating__btn--wa::after {
    animation-delay: 1.3s;
  }
}
@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}
.floating__btn--call {
  background: var(--coral);
}

/* ---------- Mobile contact bar ----------
   Phones/tablets only: two half-width buttons fixed to the bottom edge
   (Call Now in brand blue, Consultation in WhatsApp green). The floating
   button is hidden there, and the page gets bottom padding so the bar
   never covers the footer. */
.mbar {
  display: none;
}
@media (max-width: 768px) {
  .floating {
    display: none;
  }
  .mbar {
    position: fixed;
    z-index: 95; /* under the mobile menu (200) and dialogs */
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--teal-700);
    box-shadow: 0 -6px 20px rgba(2, 30, 60, 0.18);
  }
  .mbar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 12px env(safe-area-inset-bottom);
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    transition: filter 0.2s ease;
  }
  .mbar__btn .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  .mbar__btn--call {
    background: var(--teal-700);
    color: #fff;
  }
  .mbar__btn--wa {
    background: var(--whatsapp);
    color: #06301a;
  }
  .mbar__btn:hover,
  .mbar__btn:active {
    filter: brightness(1.08);
  }
  .mbar__btn--call:hover {
    color: #fff;
  }
  .mbar__btn--wa:hover {
    color: #06301a;
  }
  .mbar__btn:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: -3px;
  }
  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }
}

/* Card titles: sans-serif for clear hierarchy under serif section headings */
.card__body h3,
.step h3,
.why__card h3,
.centers__card h3 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

/* ---------- Appointment modal ---------- */
html.is-modal-open {
  overflow: hidden;
}
.appt-modal {
  width: min(1000px, calc(100% - 32px));
  max-width: 1000px;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 40px 100px rgba(10, 20, 40, 0.4);
  overflow: hidden;
}
.appt-modal[open] {
  display: flex;
}
/* ::backdrop can't always read :root variables, so the colour is written out
   (= --teal-900 at 60%) */
.appt-modal::backdrop {
  background: rgba(10, 20, 40, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* --- Modal motion ---
   Open: backdrop fades + blurs in, panel rises with a smooth ease-out,
   then the content follows in a short cascade.
   Close: JS adds .is-closing, a quick fade/drop plays, then the dialog closes. */
.appt-modal[open]:not(.is-closing) {
  animation: apptModalIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.appt-modal[open]:not(.is-closing)::backdrop {
  animation: apptBackdropIn 0.45s ease-out;
}
.appt-modal.is-closing {
  animation: apptModalOut 0.24s cubic-bezier(0.4, 0, 1, 1) forwards;
  pointer-events: none;
}
.appt-modal.is-closing::backdrop {
  animation: apptBackdropOut 0.24s ease-in forwards;
}

/* Content cascade on open */
.appt-modal[open] .appt-modal__aside {
  animation: apptSlideRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.appt-modal[open] .appt-modal__aside .eyebrow,
.appt-modal[open] .appt-modal__lead,
.appt-modal[open] .appt-modal__steps li,
.appt-modal[open] .appt-modal__call,
.appt-modal[open] .appt-modal__title,
.appt-modal[open] .appt-modal__sub,
.appt-modal[open] .appt-modal__progress,
.appt-modal[open] .appt-modal__form {
  animation: apptRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.appt-modal[open] .appt-modal__title {
  animation-delay: 0.1s;
}
.appt-modal[open] .appt-modal__aside .eyebrow,
.appt-modal[open] .appt-modal__sub {
  animation-delay: 0.16s;
}
.appt-modal[open] .appt-modal__lead,
.appt-modal[open] .appt-modal__progress {
  animation-delay: 0.22s;
}
.appt-modal[open] .appt-modal__form,
.appt-modal[open] .appt-modal__steps li:nth-child(1) {
  animation-delay: 0.28s;
}
.appt-modal[open] .appt-modal__steps li:nth-child(2) {
  animation-delay: 0.34s;
}
.appt-modal[open] .appt-modal__steps li:nth-child(3) {
  animation-delay: 0.4s;
}
.appt-modal[open] .appt-modal__call {
  animation-delay: 0.46s;
}
/* Progress bar fills in once the panel has landed */
.appt-modal[open] .appt-modal__bar-fill {
  transform-origin: left center;
  animation: apptBarGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

/* Switching steps: slides in from the direction you're going */
.appt-modal__form[data-dir="next"] .appt-modal__step:not([hidden]) {
  animation: apptStepNext 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.appt-modal__form[data-dir="back"] .appt-modal__step:not([hidden]) {
  animation: apptStepBack 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes apptModalIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes apptModalOut {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}
@keyframes apptBackdropIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(4px);
  }
}
@keyframes apptBackdropOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes apptSlideRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes apptRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes apptFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes apptBarGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes apptStepNext {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes apptStepBack {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes apptSheetIn {
  from {
    opacity: 0;
    transform: translateY(56px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes apptSheetOut {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(40px);
  }
}

/* Left panel: an inset rounded card. The white border makes the gap around it,
   so clicks there still count as "inside" the modal. */
.appt-modal__aside {
  position: relative;
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 26px;
  border: 12px solid var(--white);
  border-right: 0;
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(193, 223, 44, 0.22),
      transparent 45%
    ),
    linear-gradient(
      165deg,
      var(--teal-700) 0%,
      var(--teal-800) 50%,
      var(--teal-900) 100%
    );
  background-clip: padding-box;
  color: #dce7f3;
  overflow: hidden;
}
.appt-modal__aside::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: 60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.appt-modal__aside .eyebrow {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(193, 223, 44, 0.4);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.appt-modal__lead {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 28px;
}
/* Steps as a vertical timeline */
.appt-modal__steps {
  counter-reset: apptstep;
  font-size: 0.93rem;
  line-height: 1.5;
  margin-bottom: 28px;
}
.appt-modal__steps li {
  counter-increment: apptstep;
  position: relative;
  padding: 0 0 22px 46px;
}
.appt-modal__steps li:last-child {
  padding-bottom: 0;
}
.appt-modal__steps li::before {
  content: counter(apptstep);
  position: absolute;
  left: 0;
  top: -3px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-900);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.appt-modal__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 31px;
  bottom: 3px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}
.appt-modal__call {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.appt-modal__call-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
}
.appt-modal__call small {
  display: block;
  font-size: 0.82rem;
  color: #dce7f3;
}
.appt-modal__call a {
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
}
.appt-modal__call a:hover {
  color: var(--gold);
}

/* Right panel (scrolls on its own when taller than the screen) */
.appt-modal__main {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 38px 40px 30px;
}
.appt-modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--teal-800);
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.appt-modal__close:hover {
  background: var(--teal-100);
  border-color: var(--teal-100);
}
.appt-modal__close .icon {
  width: 18px;
  height: 18px;
}
.appt-modal__title {
  font-size: 1.9rem;
  color: var(--teal-900);
  margin: 0 50px 0.2em 0;
}
.appt-modal__sub {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 22px;
}
/* Progress: tinted card with a 2-segment bar */
.appt-modal__progress {
  margin-bottom: 26px;
  padding: 14px 16px 16px;
  border-radius: 14px;
  background: var(--cream);
}
.appt-modal__progress-text {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.appt-modal__progress-text strong,
.appt-modal__progress-text span {
  color: var(--teal-700);
}
.appt-modal__bar {
  position: relative;
  height: 6px;
  border-radius: 6px;
  background: var(--border);
  overflow: hidden;
}
.appt-modal__bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 3px);
  width: 6px;
  background: var(--cream);
}
.appt-modal__bar-fill {
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-700));
  transition: width 0.35s ease;
}
.appt-modal__req {
  color: var(--coral);
}
.appt-modal__opt {
  color: var(--muted);
  font-weight: 400;
}

/* Inputs inside the modal: white, rounded */
.appt-modal .field label,
.choice__legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-900);
}
.appt-modal .field input,
.appt-modal .field select,
.appt-modal .field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}
.appt-modal .field input:focus,
.appt-modal .field select:focus,
.appt-modal .field textarea:focus {
  border-color: var(--teal-500);
}

/* Radio options as pill chips with a radio dot (real <input type="radio"> underneath) */
.choice {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
  min-width: 0;
}
.choice__legend {
  padding: 0;
  margin-bottom: 8px;
}
.choice__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.choice__option {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice__option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice__option span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 18px 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.choice__option span::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.choice__option:hover span {
  border-color: var(--teal-500);
}
.choice__option input:checked + span {
  border-color: var(--teal-700);
  background: var(--teal-100);
  color: var(--teal-800);
  font-weight: 600;
}
.choice__option input:checked + span::before {
  border-color: var(--teal-700);
  background: var(--teal-700);
  box-shadow: inset 0 0 0 3px var(--white);
}
.choice__option input:focus-visible + span {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(2, 96, 173, 0.15);
}

/* Validation */
.appt-modal__error {
  color: #b3261e;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 6px 0 0;
}
.appt-modal .field [aria-invalid="true"],
.choice.is-invalid .choice__option span {
  border-color: #b3261e;
}

.appt-modal__consent {
  margin: 6px 0 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--cream);
}
.appt-modal__consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  cursor: pointer;
}
.appt-modal__consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--teal-700);
}

.appt-modal__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
}
.appt-modal__actions--split {
  justify-content: space-between;
}
.appt-modal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  color: var(--teal-800);
  font-weight: 600;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.appt-modal__back:hover {
  border-color: var(--teal-700);
  color: var(--teal-700);
}
.appt-modal__back .icon {
  transform: rotate(180deg);
}
/* Emergency note as a small callout */
.appt-modal__note {
  margin: 24px 0 0;
  padding: 10px 14px;
  border-left: 3px solid #b3261e;
  border-radius: 0 10px 10px 0;
  background: var(--cream);
  font-size: 0.85rem;
  color: var(--muted);
}
.appt-modal__note a {
  color: #b3261e;
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Programs: Four Pillars ----------
   Split header, pillar chips, then 4 pillars (image card + numbered list).
   Every even pillar flips (image on the right). Motion lives at the end of
   this block, inside prefers-reduced-motion: no-preference. */
.pillars {
  position: relative;
  isolation: isolate;
  /* the slide-in from the side must not create a horizontal scroll */
  overflow-x: clip;
  background: var(--white);
}
/* Soft brand-colour glows in the corners (decorative, behind the content) */
.pillars::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      620px circle at 0% 0%,
      rgba(0, 119, 216, 0.1),
      transparent 70%
    ),
    radial-gradient(
      700px circle at 100% 45%,
      rgba(59, 197, 77, 0.08),
      transparent 70%
    ),
    radial-gradient(
      560px circle at 8% 100%,
      rgba(193, 223, 44, 0.1),
      transparent 70%
    );
}

/* Header: title left, intro + button right */
.pillars__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 40px;
}
.pillars__title h2 {
  margin: 0;
}
.pillars__intro p {
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 1.1em;
}

/* Pillar chips */
.pillars__nav {
  margin-bottom: 70px;
}
.pillars__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pillars__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--teal-100);
  color: var(--teal-700);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  white-space: nowrap;
}
.pillars__chip:hover,
.pillars__chip.is-active {
  background: var(--teal-700);
  color: #fff;
}

/* One pillar: image card (5fr) + program list (7fr) */
.pillar {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: stretch;
}
.pillar + .pillar {
  margin-top: 90px;
}
.pillar:nth-child(even) {
  grid-template-columns: 7fr 5fr;
}
.pillar:nth-child(even) .pillar__media {
  order: 2;
}
.pillar:focus-visible {
  outline-offset: 12px;
  border-radius: var(--radius);
}

/* Pillar image card */
.pillar__media {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--teal-800);
  box-shadow: var(--shadow-lg);
}
.pillar__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Dark gradient from the bottom (= --teal-900) so the text stays readable */
.pillar__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 40, 0.94) 0%,
    rgba(10, 20, 40, 0.6) 38%,
    rgba(10, 20, 40, 0) 68%
  );
}
.pillar__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 34px 32px;
  color: #dce7f3;
}
.pillar__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}
/* Styled like a heading, but a <p> so the 15 program titles stay the <h3>s */
.pillar__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 8px;
}
.pillar__line {
  font-size: 1rem;
  margin: 0 0 16px;
}
.pillar__count {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Program cards: horizontal (small square photo left, text right) so they
   differ from the service cards (photo on top) and the big pillar cards.
   The title link is stretched over the whole card = one link per card. */
.pillar__list {
  align-self: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pillar__item {
  display: flex;
}
.pillar__card {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow:
    0 2px 6px rgba(2, 63, 114, 0.06),
    0 12px 32px rgba(2, 63, 114, 0.13);
}
.pillar__thumb {
  align-self: start;
  aspect-ratio: 1;
  border-radius: 12px;
  --thumb-gap: 18px; /* = card padding */
  --thumb-size: 96px; /* = first grid column */
}
.pillar__thumb img {
  position: absolute;
  z-index: -2;
  top: var(--thumb-gap);
  left: var(--thumb-gap);
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius: 12px;
  object-fit: cover;
}
/* deep brand-blue tint that fades in over the grown photo */
.pillar__card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: calc(var(--radius) - 1px);
  background: linear-gradient(
    135deg,
    rgba(0, 56, 106, 0.9) 0%,
    rgba(0, 92, 168, 0.76) 100%
  );
  opacity: 0;
}
/* Number badge on the photo (01–15, continuous across pillars) */
.pillar__num {
  position: absolute;
  top: calc(var(--thumb-gap, 18px) + 6px);
  left: calc(var(--thumb-gap, 18px) + 6px);
  padding: 3px 8px 2px;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-700);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.2;
  box-shadow: 0 4px 10px rgba(2, 63, 114, 0.18);
}
.pillar__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pillar__text h3 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0 0 6px;
}
.pillar__link {
  color: var(--heading);
}
.pillar__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
/* Keyboard focus: outline the whole card, not just the title text */
.pillar__link:focus-visible {
  outline: none;
}
.pillar__link:focus-visible::after {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.pillar__text p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #000;
  margin: 0 0 12px;
}
.pillar__more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-700);
  font-weight: 600;
  font-size: 0.88rem;
}

/* Motion (only when the visitor hasn't asked for reduced motion).
   Hidden-before-reveal needs html.js (set by main.js), so without JS
   everything simply stays visible. */
@media (prefers-reduced-motion: no-preference) {
  .pillars__chip {
    transition:
      background 0.25s,
      color 0.25s;
  }
  .pillar__media img {
    transition: transform 0.8s ease;
  }
  .pillar__media:hover img {
    transform: scale(1.06);
  }
  /* Program cards: lift + photo zoom + arrow nudge on hover */
  .pillar__card {
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease,
      border-color 0.3s ease;
  }
  .pillar__card:hover {
    transform: translateY(-4px);
  }
  .pillar__link,
  .pillar__more {
    transition: color 0.25s;
  }
  .pillar__more .icon {
    transition: transform 0.25s;
  }
  .pillar__card:hover .pillar__more .icon {
    transform: translateX(4px);
  }

  /* Scroll reveal: image card slides in from its side, rows fade up one by one */
  .js .pillar__media {
    opacity: 0;
    transform: translateX(-24px);
    transition:
      opacity 0.7s ease,
      transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .js .pillar:nth-child(even) .pillar__media {
    transform: translateX(24px);
  }
  .js .pillar .pillar__media.is-visible {
    opacity: 1;
    transform: none;
  }
  .js .pillar__item {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.6s ease,
      transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* --i = row index, set by main.js -> 70ms stagger */
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js .pillar__list.is-visible .pillar__item {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Program card hover ----------
   The card's own photo grows from the thumbnail to fill the whole card,
   a deep brand-blue tint fades in over it and the text turns white.
   Only on devices that really hover; instant when reduced motion is on. */
@media (hover: hover) {
  .pillar__card:hover {
    border-color: transparent;
    box-shadow:
      0 4px 10px rgba(2, 63, 114, 0.1),
      0 22px 44px rgba(2, 63, 114, 0.24);
  }
  .pillar__card:hover .pillar__thumb img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius) - 1px);
  }
  .pillar__card:hover::before {
    opacity: 1;
  }
  .pillar__card:hover .pillar__link,
  .pillar__card:hover .pillar__more {
    color: #fff;
  }
  .pillar__card:hover .pillar__text p {
    color: rgba(255, 255, 255, 0.86);
  }
  .pillar__card:hover .pillar__more .icon {
    color: var(--coral);
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pillar__thumb img {
    transition:
      top 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
      left 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
      width 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
      height 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
      border-radius 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .pillar__card::before {
    transition: opacity 0.45s ease 0.05s;
  }
  .pillar__text p,
  .pillar__more .icon {
    transition:
      color 0.3s ease,
      transform 0.25s;
  }
}

/* ---------- Process motion ----------
   Hover transitions + scroll reveal: the line draws across, then the
   steps rise in one by one (--i is set by main.js). Needs html.js. */
@media (prefers-reduced-motion: no-preference) {
  .step__marker,
  .step__num {
    transition:
      background 0.3s,
      color 0.3s;
  }
  .step__card {
    transition:
      transform 0.35s ease,
      background 0.35s,
      border-color 0.35s;
  }
  .step:hover .step__card {
    transform: translateY(-6px);
  }
  .step__card::before {
    transition: transform 0.45s ease;
  }
  .step__icon {
    transition: transform 0.35s ease;
  }
  .step:hover .step__icon {
    transform: rotate(-6deg) scale(1.06);
  }

  .js .steps::after {
    transform: scaleX(0);
    transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.15s;
  }
  .js .steps.is-visible::after {
    transform: scaleX(1);
  }
  .js .step {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.7s ease,
      transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i, 0) * 140ms);
  }
  .js .steps.is-visible .step {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1150px) {
  .cards--services {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Programs: list column is narrow next to the pillar image -> 1 card per row */
  .pillar__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 70px 0;
  }
  .nav-toggle {
    display: block;
  }
  /* backdrop-filter would make the header the containing block of the
     fixed slide-out menu (menu cut to the header's height) - drop it here;
     the header background is 97% white anyway */
  .header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 88vw);
    background: #fff;
    z-index: 200;
    flex-direction: column;
    align-items: stretch;
    /* fits one screen when closed; scrolls only if a dropdown is opened */
    gap: 14px;
    padding: 18px 24px 20px;
    overflow-y: auto;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  /* address + social icons under the Book Appointment button */
  .nav__extra {
    display: block;
    margin-top: auto; /* tall phones: sits at the bottom of the panel */
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .nav__address {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
  }
  .nav__address:hover {
    color: var(--teal-700);
  }
  .nav__address .footer__ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
  }
  .nav__address .footer__ico .icon {
    width: 19px;
    height: 19px;
  }
  /* "Follow us" + icons on one row */
  .nav__socialrow {
    display: flex;
    flex-wrap: wrap; /* very narrow phones: icons drop under the label */
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
    margin-top: 16px;
  }
  .nav__follow {
    margin: 0;
    white-space: nowrap;
    font-family: var(--font-title);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .nav__social {
    gap: 6px;
  }
  .nav__social a {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
  }
  .nav__social .icon {
    width: 17px;
    height: 17px;
  }
  .nav__social .social__yt .icon {
    width: 21px;
    height: 21px;
  }
  /* YouTube's white tile needs an edge on the white menu */
  .nav__social .social__yt {
    box-shadow:
      0 6px 14px rgba(0, 0, 0, 0.12),
      inset 0 0 0 1px var(--border);
  }
  .nav.is-open {
    display: flex;
    animation: navIn 0.25s ease-out;
  }
  @keyframes navIn {
    from {
      transform: translateX(40px);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
  }
  .nav__list > li {
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
  }
  .nav__list > li > a {
    flex: 1;
    padding: 11px 4px;
  }
  /* logo row at the top of the panel; the X (pinned at top-right) sits
     beside it */
  .nav__brand {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 56px 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav__brand img {
    width: 134px;
    height: auto;
  }
  /* never squeeze the menu items; the panel scrolls instead */
  .nav > * {
    flex-shrink: 0;
  }
  .dropdown-toggle {
    margin: 0;
    padding: 10px;
  }
  .dropdown {
    position: static;
    width: calc(100% - 16px);
    margin: 0 0 10px 16px;
    padding: 0 0 0 10px;
    border-left: 2px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav .dropdown a {
    font-size: 0.9375rem;
    font-weight: 500;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    display: none;
  }
  .has-dropdown.is-open .dropdown {
    display: block;
  }
  .nav-toggle {
    position: relative;
    z-index: 210;
  }
  /* open menu: pin the X to the panel's top-right corner, so it sits above
     "Home" whether the page is at the top (tall mobile top bar) or scrolled */
  .nav-toggle[aria-expanded="true"] {
    position: fixed;
    top: 20px; /* lines up with the logo row */
    right: 20px;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .about__grid,
  .why__grid,
  .split,
  .appt,
  .faq,
  .centers {
    grid-template-columns: 1fr;
  }
  .about__grid {
    gap: 50px;
  }
  .about__media {
    max-width: 480px;
  }
  .split__media,
  .faq__intro {
    position: static;
  }
  /* Process: vertical timeline — marker on the left, card on the right,
     a line segment joins each marker to the next one */
  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 760px;
    margin: 0 auto;
  }
  .steps::before,
  .steps::after {
    display: none;
  }
  .step {
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
  }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(var(--marker) / 2 - 1px);
    top: var(--marker);
    bottom: -22px;
    width: 2px;
    background: rgba(255, 255, 255, 0.6);
  }
  .step__marker {
    margin: 0;
  }
  .step__card {
    text-align: left;
    padding: 22px 22px;
  }
  .step__icon {
    width: 42px;
    height: 42px;
    margin: 0 0 12px;
  }
  /* Programs: Four Pillars — header stacks, pillars become 1 column, image on top */
  .pillars__head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }
  .pillars__nav {
    margin-bottom: 50px;
  }
  .pillar,
  .pillar:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pillar:nth-child(even) .pillar__media {
    order: 0;
  }
  .pillar + .pillar {
    margin-top: 70px;
  }
  .pillar__media {
    min-height: 0;
    height: 320px;
  }
  /* Full width again below the image -> back to 2 cards per row */
  .pillar__list {
    grid-template-columns: 1fr 1fr;
  }
  /* Testimonials: 2 cards per view */
  .tslider {
    --per-view: 2;
  }
  /* Team: 3 per row on tablets */
  .team {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust__item:nth-child(2) {
    border-right: 0;
  }
  .trust__item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .topbar__note {
    display: none;
  }
  .topbar__inner {
    justify-content: center;
  }
  .topbar__links {
    gap: 14px;
    font-size: 0.88rem;
  }
  .topbar__links a:first-child {
    display: none;
  }
  .header__inner {
    min-height: 68px;
  }
  .logo img {
    width: 120px;
  }
  .hero {
    padding: 60px 0 70px;
    /* two-row mobile top bar (89px) + 69px header */
    --above-hero: 158px;
    /* fill the screen between the header and the bottom contact bar (58px) */
    min-height: calc(100vh - var(--above-hero) - 58px);
    min-height: calc(
      100svh - var(--above-hero) - 58px - env(safe-area-inset-bottom)
    );
  }
  /* glass panel + heading sized for phones/tablets */
  .hero__content {
    padding: 30px 26px 26px;
    border-radius: 20px;
  }
  .hero__stars {
    font-size: 1.75rem;
    gap: 14px;
    margin-left: 12px;
  }
  .hero__stars::before {
    width: 56px;
  }
  .hero h1 {
    font-size: clamp(28px, 8.4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.03em;
  }
  .cards--services,
  .cards--blog {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .card__body {
    padding: 16px;
  }
  .card__body h3 {
    font-size: 1.1rem;
  }
  /* Programs: Four Pillars — 1-column list, chips scroll sideways */
  .pillars__chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* bleed to the screen edges so chips can scroll under the gutter */
    margin: 0 -20px;
    padding: 4px 20px;
    scroll-padding: 0 20px;
  }
  .pillars__chips::-webkit-scrollbar {
    display: none;
  }
  .pillars__chips li {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .pillar__list {
    grid-template-columns: 1fr;
  }
  .pillar__list {
    gap: 14px;
  }
  .pillar__card {
    grid-template-columns: 84px 1fr;
    gap: 14px;
    padding: 14px;
  }
  .pillar__thumb {
    --thumb-gap: 14px;
    --thumb-size: 84px;
  }
  .pillar__overlay {
    padding: 24px 22px;
  }
  /* Team: 2 per row */
  .team {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .member__info {
    padding: 12px 14px 16px;
  }
  .member__info h3 {
    font-size: 15px;
  }
  .member__info p {
    font-size: 12px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  /* Videos: 2 cards per row */
  .videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  /* Testimonials: smaller gap and padding (still 2 cards per view) */
  .tslider {
    --tgap: 16px;
  }
  .tcard__inner {
    padding: 22px 20px 20px;
  }
  .band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .appt__form-wrap,
  .help {
    padding: 30px 22px;
  }
  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .about__badge {
    right: 10px;
  }
  .checklist--two {
    grid-template-columns: 1fr;
  }
  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Appointment modal: full screen, slim top bar with the phone link */
  .appt-modal {
    width: 100%;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100%;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .appt-modal[open] {
    flex-direction: column;
  }
  /* Mobile motion: slides up like a sheet, slides down to close */
  .appt-modal[open]:not(.is-closing) {
    animation-name: apptSheetIn;
  }
  .appt-modal.is-closing {
    animation-name: apptSheetOut;
  }
  .appt-modal[open] .appt-modal__aside {
    animation-name: apptFadeIn;
  }
  .appt-modal__aside {
    flex: none;
    padding: 10px 68px 10px 16px;
    border: 0;
    border-radius: 0;
  }
  .appt-modal__aside::after,
  .appt-modal__aside .eyebrow,
  .appt-modal__lead,
  .appt-modal__steps {
    display: none;
  }
  .appt-modal__call {
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    gap: 10px;
  }
  .appt-modal__call-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .appt-modal__call small {
    display: inline;
    margin-right: 6px;
  }
  .appt-modal__call a {
    font-size: 1rem;
  }
  .appt-modal__close {
    top: 11px;
    right: 14px;
    border-color: transparent;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }
  .appt-modal__close:hover {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.25);
  }
  .appt-modal__main {
    flex: 1;
    min-height: 0;
    padding: 22px 16px 28px;
  }
  .appt-modal__title {
    font-size: 1.5rem;
    margin-right: 0;
  }
  .choice__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .appt-modal__actions .btn {
    flex: 1;
  }
}

@media (max-width: 520px) {
  /* Videos on phones: still 2 per row, compact card text */
  .videos {
    gap: 12px;
  }
  .vcard {
    border-radius: 12px;
  }
  .video__play {
    width: 40px;
    height: 40px;
  }
  .video__play .icon {
    width: 17px;
    height: 17px;
  }
  .vcard__body {
    padding: 10px 12px 14px;
  }
  .vcard__label {
    margin-bottom: 4px;
    font-size: 0.68rem;
  }
  .vcard__title {
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .cards--services,
  .cards--blog,
  .steps {
    grid-template-columns: 1fr;
  }
  :is(#services, #featured-services, #mental-health-services) .cards--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  :is(#services, #featured-services, #mental-health-services) .cards--services .card {
    position: relative;
  }
  :is(#services, #featured-services, #mental-health-services) .cards--services .card__media img {
    aspect-ratio: 4 / 3;
  }
  :is(#services, #featured-services, #mental-health-services) .card__body {
    padding: 0.75rem;
    overflow-wrap: anywhere;
  }
  :is(#services, #featured-services, #mental-health-services) .card__body h3 {
    font-size: 0.94rem;
  }
  :is(#services, #featured-services, #mental-health-services) .cards--services .card__body p {
    display: none;
  }
  :is(#services, #featured-services, #mental-health-services) .cards--services .card__link {
    margin-top: auto;
    font-size: 0.875rem;
  }
  :is(#services, #featured-services, #mental-health-services) .cards--services .card__link::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  :is(#services, #featured-services, #mental-health-services) .cards--services .service-link__desktop {
    display: none;
  }
  :is(#services, #featured-services, #mental-health-services) .cards--services .service-link__mobile {
    display: inline;
  }
  .why__cards {
    grid-template-columns: 1fr;
  }
  /* Testimonials: 1 card per view on phones */
  .tslider {
    --per-view: 1;
  }
  /* Process: smaller markers on phones */
  .steps {
    --marker: 46px;
  }
  .step {
    gap: 14px;
  }
  .step__marker {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
  }
  .step__num {
    font-size: 1.05rem;
  }
  .step__card {
    padding: 22px 18px;
  }
  /* trust strip stays 2 x 2 (from the tablet rule), just a bit tighter */
  .trust {
    padding: 14px 0;
  }
  .trust__item {
    padding: 14px 8px;
  }
  .trust__item strong {
    font-size: 2rem;
  }
  .trust__item span {
    margin-top: 6px;
    font-size: 0.9rem;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .hero__content {
    padding: 24px 18px 20px;
  }
  /* phones: the stars always start a new line - no indent, no green line,
     a little bigger */
  .hero__stars {
    margin-left: 0;
    margin-top: 10px;
    font-size: 2.2rem;
  }
  .hero__stars::before {
    display: none;
  }
  /* Phones: short heading + stars only, card centred in the space between
     the header and the bottom contact bar (58px). The long H1 parts are
     visually hidden (still in the page for Google / screen readers); the
     paragraph and buttons are hidden - the bottom bar has Call + WhatsApp. */
  .hero {
    padding: 44px 0; /* equal top/bottom -> card centred; bars fit below */
  }
  .hero__h1-long {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .hero__text,
  .hero__content .hero__actions {
    display: none;
  }
  .hero__content {
    padding: 36px 20px 30px; /* a little taller on phones */
    text-align: center;
  }
  .hero__title {
    margin-bottom: 0;
  }
  .hero__text-short {
    display: block;
    max-width: 32ch;
    margin: 14px auto 0;
    font-size: 1rem;
    line-height: 1.55;
    color: #eef4fb;
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.55),
      0 2px 16px rgba(0, 0, 0, 0.55);
  }
  .hero__book {
    display: flex;
    width: 100%;
    margin-top: 22px;
    box-shadow: 0 10px 24px rgba(16, 165, 42, 0.35);
  }
  .hero__book .icon {
    width: 18px;
    height: 18px;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .btn {
    white-space: normal;
  }
}
/* short phone screens (e.g. iPhone SE / 8, 667px tall): tighter spacing so
   the card still fits between the header and the bottom bar */
@media (max-width: 520px) and (max-height: 700px) {
  .hero {
    padding: 16px 0;
  }
  .hero__content {
    padding: 22px 18px 20px;
  }
  .hero__text-short {
    margin-top: 10px;
  }
  .hero__book {
    margin-top: 16px;
  }
  .hero__dots {
    bottom: 2px;
  }
}
/* very short screens (e.g. iPhone SE 1st gen, 568px): drop the extras */
@media (max-width: 520px) and (max-height: 640px) {
  .hero__dots {
    display: none; /* no room under the card; slides still change */
  }
  .hero__text-short {
    display: none; /* no room for it on these tiny screens */
  }
  .hero__stars {
    font-size: 1.8rem;
    margin-top: 6px;
  }
  .hero__book {
    margin-top: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* Team on small phones: still 2 per row, slightly smaller text, and roles
   may use up to 4 lines so they are not cut */
@media (max-width: 420px) {
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .member__info {
    min-height: 0;
    padding: 12px 12px 14px;
  }
  .member__info h3 {
    font-size: 14px;
  }
  .member__info p {
    font-size: 11.5px;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .appt-modal::backdrop {
    animation: none !important;
  }
}

/* slide-out menu on short screens: tighter rows so it still fits one screen */
@media (max-width: 1024px) and (max-height: 700px) {
  .nav {
    gap: 10px;
  }
  .nav__list > li > a {
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .nav__extra {
    padding-top: 12px;
  }
  .nav__socialrow {
    margin-top: 10px;
  }
}
@media (max-width: 1024px) and (max-height: 600px) {
  .nav__list > li > a {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .nav__extra {
    display: none; /* no room; the top bar already has address + socials */
  }
}

/* =========================================================
   GALLERY PAGE (/gallery/)
   Banner, category filters, masonry photo grid, closing info.
   The photo viewer is the shared .lightbox above.
   ========================================================= */

/* ---------- Lightbox additions: title + description caption ---------- */
.lightbox__img {
  /* room for the caption (its height is set by main.js as --lb-cap) */
  max-height: calc(100% - var(--lb-cap, 44px));
}
.lightbox__caption {
  max-width: 760px;
  padding: 0 8px;
  line-height: 1.5;
}
.lightbox__title {
  display: block;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}
.lightbox__desc {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}
/* thumbnail strip: centred when it fits, scrolls from the start when not */
.lightbox__thumbs {
  justify-content: flex-start;
}
.lightbox__thumb:first-child {
  margin-left: auto;
}
.lightbox__thumb:last-child {
  margin-right: auto;
}
.lightbox__thumb[hidden] {
  display: none;
}
.lightbox--solo .lightbox__arrow,
.lightbox--solo .lightbox__thumbs {
  visibility: hidden;
}
@media (max-width: 768px) {
  .lightbox__title {
    font-size: 0.98rem;
  }
  .lightbox__desc {
    font-size: 0.85rem;
  }
}

/* ---------- Banner ---------- */
.ghero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--teal-900);
  color: #dce7f3;
  padding: 110px 0 96px;
}
.ghero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: none;
  animation: ghero-zoom 18s ease-out both;
}
.ghero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(10, 18, 34, 0.94) 0%,
    rgba(10, 18, 34, 0.82) 45%,
    rgba(2, 96, 173, 0.45) 100%
  );
}
@keyframes ghero-zoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}
.ghero__content {
  max-width: 720px;
}
/* banner heading + text: same type as the homepage hero
   (Montserrat bold, tight tracking, soft shadow behind the letters) */
.ghero h1 {
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 49px;
  line-height: 1.1;
  letter-spacing: -2px;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 4px 26px rgba(0, 0, 0, 0.5);
  margin-bottom: 18px;
}
.ghero__lead {
  font-size: 1.15rem;
  color: #dce7f3;
  max-width: 620px;
  margin-bottom: 30px;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 2px 16px rgba(0, 0, 0, 0.55);
}
/* gallery page section headings: same as the homepage welcome heading */
.gpage h2,
.gwhy h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  font-size: 0.95rem;
}
.crumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
}
.crumbs li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--coral);
  border-right: 2px solid var(--coral);
  transform: rotate(45deg);
  margin-right: 4px;
}
.crumbs a {
  color: #fff;
}
.crumbs a:hover {
  color: var(--coral);
}
.crumbs [aria-current] {
  color: var(--gold);
}
.ghero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ghero__stats li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}
.ghero__stats strong {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: #fff;
}

/* ---------- Filters ---------- */
.gpage {
  padding-top: 60px;
}
.gfilter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 14px;
}
html:not(.js) .gfilter,
html:not(.js) .gpage__status {
  display: none; /* no JS = no filtering, every photo is shown */
}
.gfilter__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  color: var(--teal-800);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.gfilter__count {
  min-width: 26px;
  padding: 1px 7px;
  border-radius: 50px;
  background: var(--teal-100);
  color: var(--teal-800);
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.gfilter__btn[aria-pressed="true"] {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 106, 192, 0.28);
}
.gfilter__btn[aria-pressed="true"] .gfilter__count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
@media (hover: hover) {
  .gfilter__btn:not([aria-pressed="true"]):hover {
    border-color: var(--teal-700);
    transform: translateY(-2px);
  }
}
.gpage__status {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 34px;
}

/* ---------- Photo grid: equal tiles, title + text appear on hover ----------
   Every photo is cropped to the same 4:3 tile so rows line up.
   The full photo, title and description show in the viewer (lightbox). */
.ggrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.gcard {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--cream-dark);
  box-shadow: var(--shadow);
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.4s ease;
}
.gcard[hidden] {
  display: none;
}
.gcard__media {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}
.gcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* the blue hover tint of the home grid is replaced by the caption shade */
.gcard__media::after {
  display: none;
}
/* zoom button: small, top-right, appears on hover */
.gcard .gallery__zoom {
  inset: 14px 14px auto auto;
  margin: 0;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.95);
}
.gcard .gallery__zoom .icon {
  width: 20px;
  height: 20px;
}

/* caption: sits on the photo, hidden until hover / keyboard focus */
.gcard__body {
  position: absolute;
  z-index: 1;
  inset: auto 0 0 0;
  padding: 80px 24px 22px;
  background: linear-gradient(
    to top,
    rgba(10, 18, 34, 0.94) 0%,
    rgba(10, 18, 34, 0.78) 45%,
    rgba(10, 18, 34, 0) 100%
  );
  color: #fff;
  pointer-events: none; /* clicks go to the photo link underneath */
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.gcard__title {
  position: relative;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  color: #fff;
  margin: 0 0 6px;
  padding-top: 12px;
}
/* small green accent line above the title */
.gcard__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s 0.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.gcard__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.gcard:hover .gcard__body,
.gcard:focus-within .gcard__body {
  opacity: 1;
  transform: none;
}
.gcard:hover .gcard__title::before,
.gcard:focus-within .gcard__title::before {
  transform: scaleX(1);
}
.gcard:focus-within .gallery__zoom {
  opacity: 1;
  transform: none;
}
.gcard:focus-within {
  box-shadow: var(--shadow-lg);
}
.gcard .gallery__item:focus-visible {
  outline: none; /* the whole card gets the ring instead */
}
.gcard:has(.gallery__item:focus-visible) {
  outline: 3px solid var(--teal-700);
  outline-offset: 3px;
}
@media (hover: hover) {
  .gcard:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }
  .gcard:hover .gcard__media img {
    transform: scale(1.07);
  }
}

@media (max-width: 1100px) {
  .ggrid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .ggrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .ggrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .gcard {
    border-radius: 10px;
  }
  .gcard__body {
    padding: 50px 12px 12px;
  }
  .gcard__title {
    font-size: 0.88rem;
    margin: 0;
    padding-top: 9px;
  }
  .gcard__desc {
    display: none; /* small tiles: title only (full text in the viewer) */
  }
  .gcard .gallery__zoom {
    inset: 10px 10px auto auto;
    width: 34px;
    height: 34px;
  }
}

/* ---------- Closing section: why families choose us + visit CTA ----------
   Photo cards (each opens its gallery filter) and a dark "visit us" panel.
   Desktop: 4 cards in a row. Tablet: 2 x 2. Phone: compact rows with a
   square photo on the left so the whole section stays short. */
.gwhy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 119, 216, 0.08), transparent 34%),
    radial-gradient(
      circle at 92% 30%,
      rgba(45, 202, 66, 0.08),
      transparent 30%
    ),
    var(--cream);
}
.gwhy__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.gwhy-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--text);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
/* blue-to-green line that grows along the bottom on hover/focus */
.gwhy-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.gwhy-card:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
}
.gwhy-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--teal-100);
}
.gwhy-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gwhy-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 18, 34, 0.28));
}
.gwhy-card__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 24px 26px;
}
.gwhy-card__ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: -28px 0 16px;
  border: 4px solid var(--white);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-800));
  color: #fff;
  box-shadow: 0 8px 18px rgba(2, 96, 173, 0.28);
  position: relative;
  z-index: 1;
  transition: background 0.3s ease;
}
.gwhy-card__ico .icon {
  width: 24px;
  height: 24px;
}
.gwhy-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.45em;
}
.gwhy-card p {
  margin: 0 0 18px;
  font-size: 0.97rem;
  line-height: 1.6;
}
.gwhy-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-700);
}
.gwhy-card__more .icon {
  transition: transform 0.25s ease;
}

/* "See it for yourself" panel */
.gwhy__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 44px;
  padding: 34px 40px;
  border-radius: 22px;
  overflow: hidden;
  color: #dce7f3;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(45, 202, 66, 0.25),
      transparent 40%
    ),
    linear-gradient(
      120deg,
      var(--teal-900) 0%,
      #0b2547 50%,
      var(--teal-800) 100%
    );
  box-shadow: var(--shadow-lg);
}
.gwhy__cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--coral), var(--gold));
}
.gwhy__cta-text {
  display: flex;
  align-items: center;
  gap: 18px;
}
.gwhy__cta-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gold);
}
.gwhy__cta-ico .icon {
  width: 26px;
  height: 26px;
}
.gwhy__cta h3 {
  margin: 0 0 4px;
  font-size: 1.5rem;
  color: #fff;
}
.gwhy__cta p {
  margin: 0;
  font-size: 1rem;
  color: rgba(220, 231, 243, 0.85);
}
.gwhy__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}
.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn--glass:hover {
  background: #fff;
  border-color: #fff;
  color: var(--teal-800);
}

@media (hover: hover) {
  .gwhy-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }
  .gwhy-card:hover::after {
    transform: scaleX(1);
  }
  .gwhy-card:hover .gwhy-card__media img {
    transform: scale(1.07);
  }
  .gwhy-card:hover .gwhy-card__ico {
    background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  }
  .gwhy-card:hover .gwhy-card__more .icon {
    transform: translateX(4px);
  }
}

@media (max-width: 1100px) {
  .gwhy__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 1024px) {
  .gwhy__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .gwhy-card__media {
    aspect-ratio: 16 / 9;
  }
}
/* phones: compact horizontal rows */
@media (max-width: 600px) {
  .gwhy {
    padding: 56px 0;
  }
  .gwhy__head {
    margin-bottom: 28px;
  }
  .gwhy__head h2 {
    font-size: 1.7rem;
  }
  .gwhy__head p:last-child {
    font-size: 0.95rem;
  }
  .gwhy__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gwhy-card {
    flex-direction: row;
    border-radius: 16px;
  }
  .gwhy-card__media {
    flex: 0 0 104px;
    aspect-ratio: auto;
  }
  .gwhy-card__media::after {
    background: linear-gradient(90deg, transparent 60%, rgba(10, 18, 34, 0.12));
  }
  .gwhy-card__body {
    position: static;
    padding: 14px 14px 14px 16px;
  }
  /* icon sits on the photo's top-left corner, clear of the text */
  .gwhy-card__ico {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 34px;
    height: 34px;
    margin: 0;
    border-width: 3px;
    border-radius: 11px;
  }
  .gwhy-card__ico .icon {
    width: 16px;
    height: 16px;
  }
  .gwhy-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.3em;
  }
  .gwhy-card p {
    margin-bottom: 8px;
    font-size: 0.86rem;
    line-height: 1.5;
  }
  .gwhy-card__more {
    font-size: 0.8rem;
  }
  .gwhy__cta {
    margin-top: 24px;
    padding: 24px 20px 22px 24px;
    gap: 18px;
    border-radius: 18px;
  }
  .gwhy__cta-text {
    align-items: flex-start;
    gap: 14px;
  }
  .gwhy__cta-ico {
    width: 44px;
    height: 44px;
  }
  .gwhy__cta-ico .icon {
    width: 20px;
    height: 20px;
  }
  .gwhy__cta h3 {
    font-size: 1.25rem;
  }
  .gwhy__cta p {
    font-size: 0.92rem;
  }
  .gwhy__cta-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .gwhy__cta-actions .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .ghero {
    padding: 70px 0 64px;
  }
  .ghero h1 {
    font-size: clamp(28px, 8.4vw, 44px); /* same as the homepage hero */
    line-height: 1.12;
    letter-spacing: -0.03em;
  }
  .ghero__lead {
    font-size: 1rem;
    line-height: 1.55;
  }
  .gpage {
    padding-top: 40px;
  }
  /* filters: one swipeable row instead of several wrapped rows */
  .gfilter {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 0 -20px 12px;
    padding: 4px 20px 10px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 20px;
  }
  .gfilter::-webkit-scrollbar {
    display: none;
  }
  .gfilter__btn {
    scroll-snap-align: start;
    font-size: 0.92rem;
    padding: 8px 15px;
  }
  .gpage__status {
    margin-bottom: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ghero__bg {
    animation: none;
  }
  .gcard,
  .gcard__media img,
  .gwhy-card,
  .gwhy-card::after,
  .gwhy-card__media img,
  .gwhy-card__more .icon {
    transition: none;
  }
}

/* =========================================================
   Scroll reveal (any page): add data-reveal to an element and it fades up
   when it scrolls into view (js/main.js #18). Optional style="--d: 1..4"
   staggers neighbours by 110ms each. Hidden only when JS is running and the
   visitor has not asked for reduced motion.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition:
      opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: calc(var(--d, 0) * 110ms);
  }
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   CONTACT PAGE (contact-us/index.html)
   Banner -> 4 contact cards (overlap the banner) -> form + "what happens
   next" -> visit / map -> quick answers. Uses the site palette only.
   ========================================================= */

/* ---------- Banner ---------- */
.chero {
  padding: 120px 0 170px;
}
.chero .ghero__bg {
  object-position: center 40%;
}
.chero::before {
  background:
    radial-gradient(
      ellipse at 85% 20%,
      rgba(0, 119, 216, 0.35) 0%,
      rgba(0, 119, 216, 0) 55%
    ),
    linear-gradient(
      100deg,
      rgba(10, 18, 34, 0.95) 0%,
      rgba(10, 18, 34, 0.84) 48%,
      rgba(2, 96, 173, 0.5) 100%
    );
}
/* soft floating light blobs */
.chero__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.chero__orb--1 {
  width: 380px;
  height: 380px;
  right: 6%;
  top: -120px;
  background: rgba(45, 202, 66, 0.18);
}
.chero__orb--2 {
  width: 300px;
  height: 300px;
  left: -80px;
  bottom: -60px;
  background: rgba(0, 119, 216, 0.25);
}
.chero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.chero__content {
  max-width: 700px;
}
/* same type as the homepage hero: Montserrat bold heading + Jost text,
   with the same soft shadow behind the letters */
.chero h1 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 49px;
  line-height: 1.1;
  letter-spacing: -2px;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 4px 26px rgba(0, 0, 0, 0.5);
  margin-bottom: 18px;
}
.chero .ghero__lead {
  font-size: 1.15rem;
  color: #dce7f3;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 2px 16px rgba(0, 0, 0, 0.55);
}
.chero__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px 16px 7px 12px;
  border-radius: 50px;
  background: rgba(45, 202, 66, 0.14);
  border: 1px solid rgba(45, 202, 66, 0.35);
  color: #d9f7de;
  font-size: 0.92rem;
  font-weight: 500;
}
.chero__live-dot,
.cside__open > span {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}
.chero__live-dot::after,
.cside__open > span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
}
.chero__accent {
  background: linear-gradient(90deg, var(--coral) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* a text-shadow would paint over gradient text, so use a filter shadow */
  text-shadow: none;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.45));
}
.chero__actions {
  margin-top: 4px;
  margin-bottom: 28px;
}

/* glass "speak to a counsellor" card */
.chero__card {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  padding: 38px 34px 32px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
  color: #dce7f3;
}
.chero__card::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 0;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(
    90deg,
    var(--teal-500),
    var(--coral),
    var(--gold)
  );
}
.chero__card-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px rgba(45, 202, 66, 0.4);
}
.chero__card-ico .icon {
  width: 26px;
  height: 26px;
}
.chero__card-ico::before,
.chero__card-ico::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--coral);
  opacity: 0;
}
.chero__card-kicker {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.chero__card-title {
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: #fff;
}
.chero__card-num {
  display: block;
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  transition: color 0.2s;
}
.chero__card-num--alt {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}
.chero__card-num:hover {
  color: var(--gold);
}
.chero__card-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}
.chero__card-note .icon {
  margin-top: 2px;
  color: var(--gold);
}

/* "scroll down" mouse hint (laptops only) */
.chero__scroll {
  position: absolute;
  left: 50%;
  bottom: 124px;
  display: grid;
  justify-items: center;
  width: 26px;
  height: 42px;
  padding-top: 8px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  transform: translateX(-50%);
}
.chero__scroll span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: #fff;
}
.chero__scroll:hover {
  border-color: #fff;
}

/* Banner entrance + idle animations */
@media (prefers-reduced-motion: no-preference) {
  .chero__content > * {
    animation: chero-rise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
  .chero__content > :nth-child(2) {
    animation-delay: 0.1s;
  }
  .chero__content > :nth-child(3) {
    animation-delay: 0.2s;
  }
  .chero__content > :nth-child(4) {
    animation-delay: 0.3s;
  }
  .chero__content > :nth-child(5) {
    animation-delay: 0.4s;
  }
  .chero__content > :nth-child(6) {
    animation-delay: 0.5s;
  }
  .chero__card {
    animation: chero-card 1.1s 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
  .chero__card-ico::before {
    animation: chero-ring 2.4s 1.4s ease-out infinite;
  }
  .chero__card-ico::after {
    animation: chero-ring 2.4s 2.2s ease-out infinite;
  }
  .chero__live-dot::after,
  .cside__open > span::after {
    animation: chero-ping 1.8s ease-out infinite;
  }
  .chero__orb--1 {
    animation: chero-float 12s ease-in-out infinite alternate;
  }
  .chero__orb--2 {
    animation: chero-float 15s ease-in-out infinite alternate-reverse;
  }
  .chero__scroll span {
    animation: chero-wheel 1.8s ease-in-out infinite;
  }
}
@keyframes chero-rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes chero-card {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes chero-ring {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}
@keyframes chero-ping {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(2.8);
  }
}
@keyframes chero-float {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-40px, 50px);
  }
}
@keyframes chero-wheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Contact cards (overlap the banner) ---------- */
.cways {
  position: relative;
  z-index: 2;
  margin-top: -110px;
  padding-bottom: 20px;
  background: linear-gradient(180deg, transparent 0 110px, var(--cream) 110px);
}
.cways__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.cways__grid > li {
  display: flex;
}
.ccard {
  --accent: var(--teal-700);
  --accent-soft: var(--teal-100);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 32px 28px 28px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s ease;
}
.ccard::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ccard::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.6;
  transition: transform 0.5s ease;
  pointer-events: none;
}
/* icons in each brand's own app colours: WhatsApp green, Gmail red,
   Google Maps. Phone uses a "call" blue (system-blue, toned to the site's
   brand blue) so it is clearly different from the WhatsApp card. */
.ccard--call {
  --accent: #0077d8;
  --accent-soft: #e6f0fa;
  --ico-bg: linear-gradient(135deg, #4facfe 0%, #0a84ff 45%, #0260ad 100%);
  --ico-shadow: rgba(10, 132, 255, 0.4);
}
.ccard--wa {
  --accent: #25d366;
  --accent-soft: #e3f9eb;
  --ico-bg: linear-gradient(135deg, #5ff27f 0%, #25d366 50%, #128c7e 100%);
  --ico-shadow: rgba(37, 211, 102, 0.4);
}
.ccard--mail {
  --accent: #ea4335;
  --accent-soft: #fde9e7;
  --ico-bg: linear-gradient(135deg, #ff5a4e 0%, #d93025 100%);
  --ico-shadow: rgba(234, 67, 53, 0.4);
}
.ccard--visit {
  --accent: #4285f4;
  --accent-soft: #e8f0fe;
  --ico-bg: linear-gradient(
    45deg,
    #4285f4 0%,
    #4285f4 16%,
    #34a853 38%,
    #fbbc05 62%,
    #ea4335 84%,
    #ea4335 100%
  );
  --ico-shadow: rgba(66, 133, 244, 0.4);
}
.ccard__ico {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--ico-bg, var(--accent));
  color: #fff;
  box-shadow: 0 12px 24px var(--ico-shadow, rgba(2, 63, 114, 0.18));
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease;
}
.ccard__ico .icon {
  width: 26px;
  height: 26px;
}
.ccard__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.ccard__title {
  margin: 0 0 6px;
  font-size: 1.35rem;
}
.ccard__text {
  margin: 0 0 16px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--muted);
}
.ccard__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
}
.ccard__list a {
  min-width: 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading);
  overflow-wrap: anywhere;
}
.ccard__list a:hover {
  color: var(--teal-700);
}
.ccard--mail .ccard__list a {
  font-size: 0.93rem;
  overflow-wrap: normal; /* break only after the "@" (<wbr>) */
}
.ccard__tag {
  padding: 2px 9px;
  border-radius: 20px;
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: 0.75rem;
  font-weight: 600;
}
.ccard__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 600;
  color: var(--teal-800);
}
.ccard--wa .ccard__cta {
  color: #0a8f3c;
}
.ccard__cta .icon {
  transition: transform 0.25s ease;
}

/* copy-to-clipboard button + "Copied!" tip */
.ccopy {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--cream);
  color: var(--teal-700);
  transition:
    background 0.2s,
    color 0.2s;
}
.ccopy .icon {
  width: 15px;
  height: 15px;
}
.ccopy:hover {
  background: var(--teal-700);
  color: #fff;
}
.ccopy.is-copied {
  background: var(--coral);
  color: #fff;
}
.ccopy__tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--teal-900);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.ccopy.is-copied .ccopy__tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (hover: hover) {
  .ccard:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(2, 63, 114, 0.2);
  }
  .ccard:hover::before {
    transform: scaleX(1);
  }
  .ccard:hover::after {
    transform: scale(1.35);
  }
  .ccard:hover .ccard__ico {
    transform: translateY(-4px) rotate(-8deg);
    box-shadow: 0 18px 30px var(--ico-shadow, rgba(2, 63, 114, 0.25));
  }
  .ccard__cta:hover .icon {
    transform: translateX(4px);
  }
}

/* ---------- Form + side panel ---------- */
.cform-section {
  padding-top: 70px;
}
.cform {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.cform__card {
  position: relative;
  overflow: hidden;
  padding: 50px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.cform__card::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-100) 0%, transparent 70%);
  pointer-events: none;
}
.cform__card > * {
  position: relative;
}
.cform__intro {
  color: var(--muted);
  margin-bottom: 30px;
}
.cform__req {
  color: #d93025;
}
.cform__opt {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85rem;
}
.cform__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

/* chips (topic + reply method) */
.cchips {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.cchips__legend {
  padding: 0;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--teal-800);
}
.cchips__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.cchips:not(.cchips--seg) .cchip > span {
  width: 100%;
}
.cchip {
  position: relative;
  cursor: pointer;
}
.cchip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.cchip > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--cream);
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}
.cchip > span .icon {
  color: var(--teal-700);
  transition: color 0.25s;
}
.cchip:hover > span {
  border-color: var(--teal-500);
}
.cchip input:checked + span {
  background: var(--teal-800);
  border-color: var(--teal-800);
  color: #fff;
  box-shadow: 0 8px 18px rgba(2, 96, 173, 0.28);
  transform: translateY(-2px);
}
.cchip input:checked + span .icon {
  color: var(--gold);
}
.cchip input:focus-visible + span {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.cchips.is-invalid .cchip > span {
  border-color: #e8a19b;
}
/* reply method: one joined segmented control */
.cchips--seg .cchips__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 4px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--cream);
}
.cchips--seg .cchip > span {
  justify-content: center;
  width: 100%;
  padding: 11px 6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 0.92rem;
}
.cchips--seg .cchip input:checked + span {
  background: var(--teal-800);
  transform: none;
}

/* text fields with icons + valid / invalid states */
.cfield {
  margin-bottom: 22px;
  min-width: 0;
}
.cfield label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--teal-800);
}
.cfield__wrap {
  position: relative;
}
.cfield__wrap input,
.cfield__wrap textarea {
  width: 100%;
  padding: 14px 44px 14px 48px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--cream);
  font: inherit;
  font-size: 0.98rem;
  color: var(--heading);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}
.cfield__wrap textarea {
  display: block;
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}
.cfield__wrap input::placeholder,
.cfield__wrap textarea::placeholder {
  color: #93a1b3;
}
.cfield__wrap input:hover,
.cfield__wrap textarea:hover {
  border-color: #a9b7c8;
}
.cfield__wrap input:focus,
.cfield__wrap textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 119, 216, 0.13);
}
.cfield__ico {
  position: absolute;
  left: 17px;
  top: 50%;
  width: 18px;
  height: 18px;
  color: #8a9bb0;
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.25s;
}
.cfield__wrap--area .cfield__ico {
  top: 17px;
  transform: none;
}
.cfield__wrap:focus-within .cfield__ico {
  color: var(--teal-700);
}
.cfield__ok {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  opacity: 0;
  transform: translateY(-50%) scale(0.4);
  transition:
    opacity 0.25s,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.cfield.is-valid .cfield__ok {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.cfield.is-valid .cfield__wrap input {
  border-color: rgba(45, 202, 66, 0.6);
}
.cfield.is-invalid .cfield__wrap input,
.cfield.is-invalid .cfield__wrap textarea {
  border-color: #d93025;
  background: #fff8f7;
}
.cfield.is-invalid .cfield__wrap input:focus,
.cfield.is-invalid .cfield__wrap textarea:focus {
  box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.12);
}
.cfield.is-invalid .cfield__ico {
  color: #d93025;
}
.cfield__error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 7px 0 0;
  color: #c5221f;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
}
.cfield__error[hidden] {
  display: none;
}
.cfield__error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d93025;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.cfield__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.cfield__count {
  margin: 7px 0 0 auto;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
  transition: color 0.2s;
}
.cfield__count.is-near {
  color: #b26a00;
}

/* custom consent checkbox */
.cform__consent {
  margin-bottom: 22px;
}
.cform__consent label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}
.cform__consent input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.cform__check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  background: var(--cream);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.cform__check .icon {
  width: 15px;
  height: 15px;
  color: #fff;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cform__consent input:checked + .cform__check {
  background: var(--coral);
  border-color: var(--coral);
}
.cform__consent input:checked + .cform__check .icon {
  transform: scale(1);
}
.cform__consent input:focus-visible + .cform__check {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.cform__consent.is-invalid .cform__check {
  border-color: #d93025;
}

.cform__alert {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fdecea;
  color: #a1281f;
  font-weight: 500;
  font-size: 0.95rem;
}
.cform__actions {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}
.cform__actions .btn {
  width: 100%;
}
.cform__send {
  box-shadow: 0 12px 26px rgba(10, 212, 84, 0.3);
}
.cform__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}
.cform__note .icon {
  color: var(--teal-700);
}
/* wrong submit: the card gives a small shake */
.cform__card.is-shake {
  animation: cform-shake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
@keyframes cform-shake {
  20%,
  60% {
    transform: translateX(-6px);
  }
  40%,
  80% {
    transform: translateX(6px);
  }
}

/* success screen */
.cform__done {
  padding: 30px 10px 10px;
  text-align: center;
}
.cform__done:focus {
  outline: none;
}
.cform__done-mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cform__done-mark circle {
  stroke: var(--coral);
  fill: rgba(45, 202, 66, 0.1);
  stroke-dasharray: 152;
  stroke-dashoffset: 152;
  animation: cform-draw 0.7s 0.1s ease-out forwards;
}
.cform__done-mark path {
  stroke: var(--coral-dark);
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: cform-draw 0.45s 0.7s ease-out forwards;
}
@keyframes cform-draw {
  to {
    stroke-dashoffset: 0;
  }
}
.cform__done-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.cform__done-text {
  max-width: 460px;
  margin: 0 auto 10px;
  color: var(--muted);
}
.cform__done-retry {
  margin-bottom: 26px;
  font-size: 0.92rem;
  color: var(--muted);
}
.cform__done-retry a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  .cform__panel.is-entering,
  .cform__done.is-entering {
    animation: chero-rise 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cform__done-mark circle,
  .cform__done-mark path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .cform__card.is-shake {
    animation: none;
  }
}

/* side panel */
.cside {
  display: grid;
  gap: 22px;
}
.cside__panel {
  position: relative;
  overflow: hidden;
  padding: 44px 38px 36px;
  border-radius: 26px;
  background: linear-gradient(
    160deg,
    var(--teal-800) 0%,
    #034a85 55%,
    var(--teal-900) 100%
  );
  color: #dce7f3;
  box-shadow: var(--shadow-lg);
}
.cside__panel::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.cside__panel h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}
.csteps {
  position: relative;
  margin: 26px 0 28px;
}
.csteps li {
  position: relative;
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
}
.csteps li:last-child {
  padding-bottom: 0;
}
/* the dashed line joining the numbers */
.csteps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 4px;
  border-left: 2px dashed rgba(255, 255, 255, 0.22);
}
.csteps__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(193, 223, 44, 0.6);
  color: var(--gold);
  font-family: var(--font-title);
  font-weight: 700;
}
.csteps strong {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 2px;
}
.csteps p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: rgba(220, 231, 243, 0.82);
}
.cside__hours {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.cside__hours-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(193, 223, 44, 0.15);
  color: var(--gold);
}
.cside__hours small {
  display: block;
  color: rgba(220, 231, 243, 0.7);
  font-size: 0.8rem;
}
.cside__hours strong {
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
}
.cside__open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(45, 202, 66, 0.18);
  color: #b9f3c3;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.cside__open > span {
  width: 7px;
  height: 7px;
}
.cside__sos {
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: rgba(220, 231, 243, 0.8);
}
.cside__sos strong {
  color: #fff;
}
.cside__sos a {
  color: var(--gold);
  font-weight: 700;
}

.ctrust {
  display: grid;
  gap: 12px;
}
.ctrust li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  line-height: 1.45;
  transition: transform 0.3s ease;
}
.ctrust strong {
  color: var(--heading);
  font-weight: 600;
}
.ctrust__ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-700);
}
@media (hover: hover) {
  .ctrust li:hover {
    transform: translateX(6px);
  }
}
.cside__social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.cside__social p {
  margin: 0;
  font-weight: 600;
  color: var(--heading);
}
.cside__social .social {
  gap: 10px;
}
.cside__social .social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}
.cside__social .social .icon {
  width: 19px;
  height: 19px;
}

/* ---------- Visit + map ---------- */
.cvisit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: center;
}
.cvisit__info > p:not(.eyebrow) {
  color: var(--muted);
}
.cvisit__addr {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 24px 0 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--cream);
  border-left: 4px solid var(--coral);
  line-height: 1.55;
}
.cvisit__addr strong {
  display: block;
  color: var(--heading);
  font-weight: 600;
}
.cvisit__addr-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--coral);
  color: #fff;
}
.cvisit__hours {
  margin-bottom: 26px;
}
.cvisit__hours li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border);
}
.cvisit__hours strong {
  color: var(--teal-800);
  font-weight: 600;
  text-align: right;
}
.cvisit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.cvisit__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cvisit__photos figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.cvisit__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cvisit__photos figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 10px;
  background: linear-gradient(transparent, rgba(10, 18, 34, 0.8));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
}
@media (hover: hover) {
  .cvisit__photos figure:hover img {
    transform: scale(1.08);
  }
}
.cvisit__map {
  position: relative;
}
/* map frame in the Google colours: the border is transparent and a
   conic gradient behind it (border-box) shows through all four sides,
   blending blue -> red -> yellow -> green around the map */
.cvisit__map .map {
  height: 560px;
  border: 8px solid transparent;
  background:
    linear-gradient(var(--teal-100), var(--teal-100)) padding-box,
    conic-gradient(from 200deg, #4285f4, #ea4335, #fbbc05, #34a853, #4285f4)
      border-box;
  box-shadow:
    0 24px 50px rgba(66, 133, 244, 0.18),
    0 10px 24px rgba(52, 168, 83, 0.12);
}

/* ---------- Responsive ---------- */
@media (max-width: 1150px) {
  .cways__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cform__card {
    padding: 40px;
  }
}
@media (max-width: 1024px) {
  .chero {
    padding: 90px 0 150px;
  }
  .chero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .chero__card {
    justify-self: start;
    max-width: 520px;
  }
  .chero__scroll {
    display: none;
  }
  .cform {
    grid-template-columns: 1fr;
  }
  /* side panel: the blue card full width, trust + social side by side */
  .cside {
    grid-template-columns: 1fr 1fr;
  }
  .cside__panel {
    grid-column: 1 / -1;
  }
  .cside__social {
    align-self: start;
    flex-direction: column;
    align-items: flex-start;
  }
  .cvisit__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cvisit__map .map {
    height: 420px;
  }
}
@media (max-width: 768px) {
  .chero {
    padding: 56px 0 120px;
  }
  /* phones: the bottom bar already has Call + WhatsApp, so the glass card
     is dropped and the banner stays short */
  .chero__card {
    display: none;
  }
  .chero__live {
    font-size: 0.85rem;
  }
  /* Call + WhatsApp are already in the sticky bottom bar (.mbar) here */
  .chero__actions {
    display: none;
  }
  .chero h1 {
    font-size: clamp(28px, 8.4vw, 44px); /* same as the homepage hero */
    line-height: 1.12;
    letter-spacing: -0.03em;
  }
  .chero .ghero__lead {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .chero .ghero__stats li {
    padding: 8px 14px;
    font-size: 0.88rem;
  }
  .cways {
    margin-top: -80px;
    background: linear-gradient(180deg, transparent 0 80px, var(--cream) 80px);
  }
  .cways__grid {
    gap: 14px;
  }
  .cform-section {
    padding-top: 50px;
  }
  .cside {
    grid-template-columns: 1fr;
  }
  .cside__social {
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 600px) {
  /* contact cards: compact rows, icon on the left */
  .cways__grid {
    grid-template-columns: 1fr;
  }
  .ccard {
    flex-direction: row;
    gap: 16px;
    padding: 22px 20px;
    border-radius: 18px;
  }
  .ccard__ico {
    width: 50px;
    height: 50px;
    margin: 0;
    border-radius: 14px;
  }
  .ccard__ico .icon {
    width: 22px;
    height: 22px;
  }
  .ccard__title {
    font-size: 1.2rem;
    margin-bottom: 2px;
  }
  .ccard__text {
    margin-bottom: 10px;
    font-size: 0.92rem;
  }
  .ccard__cta {
    margin-top: 0;
  }
  .cform__card {
    padding: 30px 20px;
    border-radius: 20px;
  }
  .cform__intro {
    margin-bottom: 24px;
  }
  .cform__row {
    grid-template-columns: 1fr;
  }
  /* topic chips: neat 2-column grid */
  .cchips:not(.cchips--seg) .cchips__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .cchips:not(.cchips--seg) .cchip > span {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .cchip__more {
    display: none; /* "Fees & packages" -> "Fees" so chips stay one line */
  }
  .cfield__wrap input,
  .cfield__wrap textarea {
    font-size: 16px; /* stops iOS zooming into the field */
  }
  .cform__actions {
    grid-template-columns: 1fr;
  }
  .cside__panel {
    padding: 32px 22px 28px;
    border-radius: 20px;
  }
  .cside__hours {
    flex-wrap: wrap;
  }
  .cside__open {
    margin-left: 56px;
  }
  .cvisit__addr {
    padding: 16px;
  }
  .cvisit__hours li {
    flex-direction: column;
    gap: 2px;
  }
  .cvisit__hours strong {
    text-align: left;
  }
  .cvisit__actions .btn {
    flex: 1 1 100%;
  }
  .cvisit__photos {
    gap: 10px;
  }
  .cvisit__map .map {
    height: 340px;
    border-width: 5px;
    border-radius: 18px;
  }
  .cvisit__map .map__badge {
    top: 14px;
    right: 14px;
    max-width: calc(100% - 28px);
  }
}
@media (max-width: 360px) {
  .cchips:not(.cchips--seg) .cchips__options {
    grid-template-columns: 1fr;
  }
  .cside__social {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ccard,
  .ccard::before,
  .ccard::after,
  .ccard__ico,
  .cvisit__photos img,
  .ctrust li {
    transition: none;
  }
}

/* =========================================================
   INNER PAGES (service / program / center / about / career)
   Banner = .ghero (same as Gallery). Below: article + sticky
   sidebar, "related" cards and the shared final CTA + footer.
   ========================================================= */
.ghero__eyebrow {
  margin-bottom: 14px;
}
.ghero .hero__actions {
  margin: 0 0 26px;
}

.page-body {
  padding: 80px 0 90px;
}
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

/* ---------- article text ---------- */
.prose {
  min-width: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}
.prose__feature {
  margin: 0 0 34px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.prose__feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.prose h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin: 46px 0 16px;
}
.prose > h2:first-child,
.prose__feature + h2 {
  margin-top: 0;
}
.prose__kicker {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
}
.prose h3 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--heading);
  margin: 28px 0 10px;
}
.prose p {
  margin: 0 0 1.1em;
}
.prose .checklist {
  margin: 6px 0 22px;
}

/* bullet / numbered points from the old site -> small cards */
.prose__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 10px 0 26px;
}
.point {
  position: relative;
  padding: 20px 22px 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.point h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}
.point p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--muted);
}
.point__num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-800);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
}
@media (hover: hover) {
  .point:hover {
    border-color: var(--teal-500);
    box-shadow: var(--shadow);
  }
}

/* "At our rehab center our goal" -> highlighted box */
.prose__goal {
  margin: 44px 0 10px;
  padding: 32px 34px;
  border-radius: var(--radius);
  background: var(--cream);
  border-left: 5px solid var(--coral);
}
.prose__goal h2 {
  margin-top: 0;
}
.prose__goal p:last-child {
  margin-bottom: 0;
}

/* ---------- sticky sidebar ---------- */
.page-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 22px;
}
.aside-cta {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--teal-800) 0%, var(--teal-900) 100%);
  color: #dce7f3;
  box-shadow: var(--shadow-lg);
}
.aside-cta__kicker {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.aside-cta__title {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #fff;
}
.aside-cta p {
  margin: 0 0 18px;
  font-size: 0.97rem;
}
.aside-cta .btn {
  width: 100%;
  margin-top: 10px;
}
.aside-cta__note {
  display: flex;
  gap: 8px;
  margin: 16px 0 0 !important;
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.75);
}
.aside-cta__note .icon {
  color: var(--gold);
  margin-top: 3px;
}
.aside-links {
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.aside-links__title {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading);
}
.aside-links ul {
  display: grid;
  gap: 2px;
}
.aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.97rem;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.aside-links a .icon {
  width: 16px;
  height: 16px;
  color: var(--teal-700);
  opacity: 0.6;
}
.aside-links a:hover {
  background: var(--cream);
  color: var(--teal-800);
}
.aside-links a[aria-current="page"] {
  background: var(--teal-100);
  color: var(--teal-800);
  font-weight: 600;
}

/* ---------- related pages ---------- */
.related {
  padding: 80px 0 90px;
  background: var(--cream);
}
.related .section__head h2,
.hub .section__head h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: -0.03em;
}
.cards--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* compact list cards (programs + centers, small square photo) */
.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mini-card {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.mini-card img {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}
.mini-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--heading);
}
.mini-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
a.mini-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: var(--text);
}
a.mini-card:hover h3 {
  color: var(--teal-800);
}

/* ---------- hub pages (services / programs / centers) ---------- */
.hub {
  padding: 80px 0 90px;
}
.hub__group + .hub__group {
  margin-top: 64px;
}
.hub__group-title {
  margin: 0 0 22px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--heading);
}

/* ---------- small stats row (about page) ---------- */
.page-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 10px;
}
.page-stats li {
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--cream);
  text-align: center;
}
.page-stats strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--teal-800);
}
.page-stats span {
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 1150px) {
  .page-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }
}
@media (max-width: 1024px) {
  .page-body,
  .related,
  .hub {
    padding: 64px 0 70px;
  }
  .page-grid {
    grid-template-columns: 1fr;
  }
  .page-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .cards--related,
  .mini-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .prose {
    font-size: 1rem;
  }
  .prose__points {
    grid-template-columns: 1fr;
  }
  .prose__goal {
    padding: 24px 22px;
  }
  .page-aside {
    grid-template-columns: 1fr;
  }
  .page-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .cards--related,
  .mini-cards {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .point,
  .mini-card,
  .aside-links a {
    transition: none;
  }
  a.mini-card:hover {
    transform: none;
  }
}

/* =========================================================
   ABOUT PAGE (about-us/index.html)
   Banner + glass card -> story collage -> marquee -> numbers (count up,
   js/main.js #20) -> mission/vision/values -> IHRA certificate (.about)
   -> why us -> support programs -> process -> gallery -> team ->
   testimonials -> FAQ -> related. Shared home-page blocks are reused as
   they are; everything below is prefixed "ab-" and only used here.
   Hover lifts use the `translate` property so they never fight the
   scroll-reveal `transform` ([data-reveal]).
   ========================================================= */
:root {
  --ab-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ab-grad: linear-gradient(110deg, #0071ce 0%, #0061b1 45%, #10bf28 100%);
}

/* shared section heading: same sharp sans as the homepage welcome heading */
.ab-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

/* ---------- Banner ---------- */
.ghero--about {
  padding: 120px 0 120px;
}
.ab-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 60px;
  align-items: center;
}
.ab-hero__card {
  position: relative;
  padding: 28px 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.05) 100%
    ),
    rgba(8, 26, 52, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 30px 60px rgba(0, 10, 30, 0.35);
  color: rgba(255, 255, 255, 0.9);
}
/* thin gradient light along the top edge */
.ab-hero__card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
}
.ab-hero__card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.ab-hero__card-head p {
  margin: 0;
  line-height: 1.35;
}
.ab-hero__card-head strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: #fff;
}
.ab-hero__card-head span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}
.ab-hero__card-ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, #0071ce 0%, #10bf28 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 191, 40, 0.3);
}
.ab-hero__card-ico .icon {
  width: 26px;
  height: 26px;
}
.ab-hero__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.98rem;
}
.ab-hero__list .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(193, 223, 44, 0.16);
  color: var(--gold);
}
.ab-hero__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}
.ab-hero__more .icon {
  width: 18px;
  height: 18px;
  transition: translate 0.3s var(--ab-ease);
}
.ab-hero__more:hover {
  color: var(--gold);
}
.ab-hero__more:hover .icon {
  translate: 4px 0;
}

/* scroll cue: mouse outline with a moving dot */
.ab-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  transition: border-color 0.3s ease;
}
.ab-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
}
.ab-scroll:hover {
  border-color: #fff;
}

/* ---------- Story: collage + text ---------- */
.ab-story {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
  background:
    radial-gradient(
      560px 460px at 92% 12%,
      color-mix(in srgb, var(--teal-100) 80%, transparent),
      transparent 70%
    ),
    var(--white);
}
.ab-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 90px;
  align-items: center;
}
.ab-collage {
  position: relative;
  isolation: isolate;
  margin: 0 46px 0 26px;
  padding-bottom: 96px;
}
/* dot pattern peeking out behind the photos */
.ab-collage::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -34px;
  bottom: 40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
      circle,
      color-mix(in srgb, var(--teal-700) 35%, transparent) 2px,
      transparent 2.5px
    )
    0 0 / 16px 16px;
}
/* soft brand ring behind the main photo */
.ab-collage::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 40px;
  right: -40px;
  width: 70%;
  height: 70%;
  border-radius: 28px;
  background: var(--ab-grad);
  opacity: 0.12;
}
.ab-collage figure {
  margin: 0;
  overflow: hidden;
}
.ab-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.8s var(--ab-ease);
}
.ab-collage__main {
  border-radius: 24px;
  aspect-ratio: 1 / 1.02;
  box-shadow: var(--shadow-lg);
}
/* the photos carry a thin branded frame (logo + phone strip): zoom past it */
.ab-collage__main img {
  transform: scale(1.34);
  transform-origin: 50% 58%;
}
.ab-collage__sub img {
  transform: scale(1.12);
}
.ab-collage__sub {
  position: absolute;
  right: -46px;
  bottom: 0;
  width: 56%;
  aspect-ratio: 3 / 2;
  border: 8px solid var(--white);
  border-radius: 22px;
  box-shadow: 0 26px 50px rgba(2, 63, 114, 0.24);
}
.ab-collage__years {
  position: absolute;
  left: -26px;
  bottom: 140px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2dca42 0%, #10a52a 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(16, 165, 42, 0.35);
  text-align: center;
}
.ab-collage__years strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ab-collage__years > span {
  display: block;
  max-width: 110px;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
}
/* round seal with spinning text */
.ab-seal {
  position: absolute;
  top: -40px;
  right: -40px;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(2, 30, 60, 0.18);
}
.ab-seal__text {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  overflow: visible;
}
.ab-seal__text text {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  fill: var(--teal-800);
}
.ab-seal__core {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0071ce 0%, #10bf28 100%);
  color: #fff;
}
.ab-seal__core .icon {
  width: 24px;
  height: 24px;
}
@media (hover: hover) {
  .ab-collage:hover .ab-collage__main img,
  .ab-collage:hover .ab-collage__sub img {
    scale: 1.05;
  }
}

.ab-story__content > p {
  color: var(--text);
}
.ab-story__content > .ab-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--heading);
}
.ab-quote {
  position: relative;
  margin: 30px 0 32px;
  padding: 24px 28px 22px 30px;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(
    100deg,
    var(--cream) 0%,
    color-mix(in srgb, var(--teal-100) 60%, var(--white)) 100%
  );
}
.ab-quote::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #0071ce 0%, #10bf28 100%);
}
.ab-quote::after {
  content: "\201D";
  position: absolute;
  top: -8px;
  right: 20px;
  font-family: var(--font-head);
  font-size: 6rem;
  line-height: 1;
  color: color-mix(in srgb, var(--teal-700) 16%, transparent);
}
.ab-quote p {
  position: relative;
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 1.32rem;
  line-height: 1.45;
  color: var(--teal-800);
}
.ab-quote footer {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-dark);
}

/* ---------- Marquee ---------- */
.ab-marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--ab-grad);
  color: #fff;
  /* fade both ends */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.ab-marquee__track {
  display: flex;
  width: max-content;
}
.ab-marquee__group {
  display: flex;
  flex-shrink: 0;
}
.ab-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--font-title);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ab-marquee__item .icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

/* ---------- Numbers ---------- */
.ab-numbers {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 100px 0;
  background: var(--teal-900);
  color: #c4d2e4;
}
/* faint grid, fading out towards the edges */
.ab-numbers::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 40%,
    #000 20%,
    transparent 75%
  );
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
/* blue + green glows */
.ab-numbers::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(
      520px 380px at 100% 0%,
      rgba(16, 191, 40, 0.2),
      transparent 70%
    ),
    radial-gradient(
      600px 420px at 0% 100%,
      rgba(0, 113, 206, 0.32),
      transparent 70%
    );
}
.ab-numbers__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}
.ab-numbers__head h2 {
  margin: 0;
  color: #fff;
}
.ab-numbers__head > p {
  margin: 0;
  font-size: 1.05rem;
}
.ab-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.ab-num {
  position: relative;
  overflow: hidden;
  padding: 30px 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  transition:
    translate 0.35s var(--ab-ease),
    border-color 0.35s ease,
    background-color 0.35s ease;
}
/* gradient line that draws in along the bottom */
.ab-num::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--teal-500),
    var(--coral),
    var(--gold)
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s var(--ab-ease) 0.3s;
}
.ab-num.is-in::after,
html:not(.js) .ab-num::after {
  transform: scaleX(1);
}
.ab-num__ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}
.ab-num__ico .icon {
  width: 24px;
  height: 24px;
}
.ab-num strong {
  display: block;
  margin: 24px 0 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(110deg, #ffffff 0%, #bfe0ff 55%, #c1df2c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ab-num__label {
  display: block;
  font-size: 0.98rem;
  line-height: 1.5;
}
@media (hover: hover) {
  .ab-num:hover {
    translate: 0 -6px;
    border-color: rgba(255, 255, 255, 0.26);
  }
}

/* ---------- Mission / vision / values ---------- */
.ab-mvv__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}
.ab-card {
  position: relative;
  overflow: hidden;
  padding: 40px 34px 36px;
  border-radius: 22px;
  background: var(--white);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--teal-700) 8%, transparent),
    var(--shadow);
  transition:
    translate 0.4s var(--ab-ease),
    box-shadow 0.4s ease;
}
.ab-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ab-grad);
  transform: scaleX(0.18);
  transform-origin: left center;
  transition: transform 0.5s var(--ab-ease);
}
.ab-card__num {
  position: absolute;
  top: 20px;
  right: 26px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 4.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
  /* solid brand blue (an outline was too faint to read) */
  background: linear-gradient(135deg, #0077d8 0%, #0260ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ab-card__ico {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0071ce 0%, #10bf28 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 113, 206, 0.25);
  transition:
    rotate 0.45s var(--ab-ease),
    scale 0.45s var(--ab-ease);
}
.ab-card__ico .icon {
  width: 28px;
  height: 28px;
}
.ab-card h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.ab-card p {
  margin: 0;
  line-height: 1.75;
}
.ab-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  line-height: 1.5;
}
.ab-card__list .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
}
/* the middle card is dark, for rhythm */
.ab-card--dark {
  background: linear-gradient(160deg, #0260ad 0%, #0a2a4f 70%, #0a1222 100%);
  color: rgba(255, 255, 255, 0.85);
}
.ab-card--dark h3 {
  color: #fff;
}
.ab-card--dark .ab-card__num {
  background: none;
  color: #fff;
}
.ab-card--dark .ab-card__ico {
  background: var(--white);
  color: var(--teal-700);
}
@media (hover: hover) {
  .ab-card:hover {
    translate: 0 -8px;
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--teal-700) 12%, transparent),
      var(--shadow-lg);
  }
  .ab-card:hover::before {
    transform: scaleX(1);
  }
  .ab-card:hover .ab-card__ico {
    rotate: -8deg;
    scale: 1.06;
  }
}

/* ---------- Certificate section: on this page it sits on white ---------- */
#certified.about {
  background:
    radial-gradient(
      520px 420px at 8% 40%,
      color-mix(in srgb, var(--teal-100) 85%, transparent),
      transparent 70%
    ),
    var(--white);
}

/* ---------- Why us: hover + icon tiles ---------- */
.ab-why {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.ab-why::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -200px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, 0.05);
}
.ab-why .why__card {
  transition:
    translate 0.35s var(--ab-ease),
    background-color 0.35s ease,
    border-color 0.35s ease;
}
@media (hover: hover) {
  .ab-why .why__card:hover {
    translate: 0 -6px;
    background-color: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.28);
  }
}

/* ---------- Support programs ---------- */
.ab-care {
  padding: 110px 0;
}
.ab-care__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}
.ab-care__media {
  position: sticky;
  top: 110px;
}
.ab-care__img {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.ab-care__img img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}
.ab-care__chip {
  position: absolute;
  right: -26px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 12px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(2, 30, 60, 0.18);
  line-height: 1.3;
}
.ab-care__chip strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--heading);
}
.ab-care__chip small {
  font-size: 0.85rem;
  color: var(--muted);
}
.ab-care__chip-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2dca42 0%, #10a52a 100%);
  color: #fff;
}
.ab-care__chip-ico .icon {
  width: 22px;
  height: 22px;
}
.ab-feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0 30px;
}
.ab-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 20px 18px;
  border: 1px solid var(--cream-dark);
  border-radius: 16px;
  background: var(--white);
  transition:
    translate 0.35s var(--ab-ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.ab-feat__ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--teal-100);
  color: var(--teal-700);
  transition:
    background 0.35s ease,
    color 0.35s ease;
}
.ab-feat__ico .icon {
  width: 22px;
  height: 22px;
}
.ab-feat h3 {
  margin: 2px 0 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.ab-feat h3 a {
  color: inherit;
}
.ab-feat h3 a:hover {
  color: var(--teal-700);
}
.ab-feat p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}
@media (hover: hover) {
  .ab-feat:hover {
    translate: 0 -4px;
    border-color: color-mix(in srgb, var(--teal-700) 30%, var(--white));
    box-shadow: var(--shadow);
  }
  .ab-feat:hover .ab-feat__ico {
    background: linear-gradient(135deg, #0071ce 0%, #10bf28 100%);
    color: #fff;
  }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* elements that both scroll-reveal and lift on hover: keep both transitions */
  .js .ab-card[data-reveal],
  .js .ab-num[data-reveal],
  .js .ab-feat[data-reveal],
  .js .ab-why .why__card[data-reveal] {
    transition:
      opacity 0.9s var(--ab-ease),
      transform 0.9s var(--ab-ease),
      translate 0.4s var(--ab-ease),
      border-color 0.35s ease,
      background-color 0.35s ease,
      box-shadow 0.4s ease;
    transition-delay:
      calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms), 0s, 0s, 0s, 0s;
  }

  /* banner: content and card glide in */
  .ghero--about .ghero__content > * {
    animation: ab-rise 0.9s var(--ab-ease) both;
  }
  .ghero--about .ghero__content > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .ghero--about .ghero__content > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .ghero--about .ghero__content > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .ghero--about .ghero__content > :nth-child(5) {
    animation-delay: 0.32s;
  }
  .ghero--about .ghero__content > :nth-child(6) {
    animation-delay: 0.4s;
  }
  .ab-hero__card {
    animation: ab-card-in 1.1s var(--ab-ease) 0.35s both;
  }
  .ab-scroll span {
    animation: ab-scroll 1.8s ease-in-out infinite;
  }

  /* collage: main photo wipes open, the small one slides up */
  .js .ab-collage[data-reveal] {
    transform: none;
    opacity: 1;
  }
  .js .ab-collage[data-reveal] .ab-collage__main {
    clip-path: inset(0 100% 0 0 round 24px);
    transition: clip-path 1.2s var(--ab-ease);
  }
  .js .ab-collage[data-reveal] .ab-collage__sub,
  .js .ab-collage[data-reveal] .ab-collage__years,
  .js .ab-collage[data-reveal] .ab-seal {
    opacity: 0;
    translate: 0 40px;
    transition:
      opacity 0.9s var(--ab-ease),
      translate 0.9s var(--ab-ease);
  }
  .js .ab-collage[data-reveal] .ab-collage__sub {
    transition-delay: 0.45s;
  }
  .js .ab-collage[data-reveal] .ab-collage__years {
    transition-delay: 0.65s;
  }
  .js .ab-collage[data-reveal] .ab-seal {
    transition-delay: 0.8s;
  }
  .js .ab-collage[data-reveal].is-in .ab-collage__main {
    clip-path: inset(0 0 0 0 round 24px);
  }
  .js .ab-collage[data-reveal].is-in .ab-collage__sub,
  .js .ab-collage[data-reveal].is-in .ab-collage__years,
  .js .ab-collage[data-reveal].is-in .ab-seal {
    opacity: 1;
    translate: none;
  }
  .ab-collage.is-in .ab-collage__years {
    animation: ab-bob 5s ease-in-out 1.6s infinite;
  }
  .ab-seal__text {
    animation: ab-spin 22s linear infinite;
  }

  .ab-marquee__track {
    animation: ab-marquee 42s linear infinite;
  }
  .ab-marquee:hover .ab-marquee__track {
    animation-play-state: paused;
  }
}
@keyframes ab-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ab-card-in {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ab-scroll {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes ab-spin {
  to {
    rotate: 360deg;
  }
}
@keyframes ab-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes ab-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1150px) {
  .ab-hero {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
  }
  .ab-story__grid,
  .ab-care__grid {
    gap: 60px;
  }
  .ab-numbers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .ghero--about {
    padding: 100px 0 96px;
  }
  .ab-hero {
    grid-template-columns: 1fr;
  }
  .ab-hero__card,
  .ab-scroll {
    display: none;
  }
  .ab-story,
  .ab-care {
    padding: 80px 0;
  }
  .ab-story__grid,
  .ab-care__grid {
    grid-template-columns: 1fr;
  }
  .ab-collage {
    max-width: 560px;
    width: calc(100% - 72px);
    margin: 30px auto 0;
  }
  .ab-care__media {
    position: relative;
    top: 0;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }
  .ab-care__img img {
    aspect-ratio: 16 / 10;
  }
  .ab-care__chip {
    right: 16px;
    bottom: -22px;
  }
  .ab-numbers {
    padding: 80px 0;
  }
  .ab-numbers__head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  .ab-mvv__grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .ghero--about {
    padding: 70px 0 64px;
  }
  .ab-story,
  .ab-care {
    padding: 64px 0;
  }
  .ab-quote p {
    font-size: 1.15rem;
  }
  .ab-feats {
    grid-template-columns: 1fr;
  }
  .ab-numbers {
    padding: 64px 0;
  }
  .ab-num {
    padding: 24px 22px;
  }
}
@media (max-width: 520px) {
  .ab-collage {
    width: calc(100% - 28px);
    margin: 30px 18px 0 10px;
    padding-bottom: 70px;
  }
  .ab-collage__sub {
    right: -18px;
    width: 60%;
    border-width: 6px;
    border-radius: 16px;
  }
  .ab-collage__years {
    left: -10px;
    bottom: 100px;
    padding: 12px 16px;
    border-radius: 14px;
  }
  .ab-collage__years strong {
    font-size: 1.9rem;
  }
  .ab-collage__years > span {
    max-width: 84px;
    font-size: 0.72rem;
  }
  .ab-seal {
    top: -26px;
    right: -14px;
    width: 96px;
    height: 96px;
  }
  .ab-seal__core {
    width: 38px;
    height: 38px;
  }
  .ab-seal__core .icon {
    width: 18px;
    height: 18px;
  }
  .ab-numbers__grid {
    gap: 12px;
  }
  .ab-num {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .ab-num__ico {
    width: 42px;
    height: 42px;
  }
  .ab-num strong {
    margin: 16px 0 8px;
    font-size: 2.2rem;
  }
  .ab-num__label {
    font-size: 0.86rem;
  }
  .ab-card {
    padding: 32px 24px 28px;
  }
  .ab-card__num {
    font-size: 3.6rem;
  }
  .ab-care__chip {
    right: 10px;
    padding: 10px 14px 10px 10px;
  }
  .ab-quote {
    padding: 20px 20px 18px 24px;
  }
  .ab-story .about__actions .btn,
  .ab-care .about__actions .btn {
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-card,
  .ab-card::before,
  .ab-card__ico,
  .ab-num,
  .ab-num::after,
  .ab-feat,
  .ab-feat__ico,
  .ab-collage img,
  .ab-why .why__card {
    transition: none;
  }
  .ab-num::after {
    transform: scaleX(1);
  }
  /* marquee: a static, wrapping row instead of motion */
  .ab-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .ab-marquee__track {
    width: auto;
    justify-content: center;
  }
  .ab-marquee__group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 0;
    padding: 0 20px;
  }
  .ab-marquee__group + .ab-marquee__group {
    display: none;
  }
}

/* about page: FAQ fades to cream, so the related cards below sit on white */
#faq + .related {
  background: var(--white);
}

/* =========================================================
   TEAM PAGE BANNER (our-team/index.html) — .ghero.thero
   Dark brand background with blue/green glows and a faint grid. Left:
   text + three fact chips. Right: three specialists "standing" in arch
   frames on the bottom edge (CEO in front), with floating badges.
   Phones: the trio shrinks and sits under the text.
   ========================================================= */
.ghero.thero {
  padding: 84px 0 0;
  background:
    radial-gradient(
      720px 520px at 82% 38%,
      rgba(0, 113, 206, 0.5),
      transparent 70%
    ),
    radial-gradient(
      520px 420px at 100% 100%,
      rgba(16, 191, 40, 0.3),
      transparent 70%
    ),
    radial-gradient(
      480px 380px at 0% 0%,
      rgba(0, 113, 206, 0.22),
      transparent 70%
    ),
    linear-gradient(160deg, #0a1222 0%, #0b1f3d 100%);
}
.ghero.thero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(
    ellipse at 70% 50%,
    #000 15%,
    transparent 70%
  );
  mask-image: radial-gradient(ellipse at 70% 50%, #000 15%, transparent 70%);
}
.thero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}
.thero__content {
  align-self: center;
  padding-bottom: 84px;
}
/* three fact chips under the buttons */
.thero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.thero__facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.86rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.75);
}
.thero__facts strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.98rem;
  color: #fff;
}
.thero__facts-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(193, 223, 44, 0.14);
  color: var(--gold);
}
.thero__facts-ico .icon {
  width: 18px;
  height: 18px;
}

/* ----- portraits ----- */
.thero__visual {
  --main-w: 290px;
  --side-w: 215px;
  position: relative;
  height: 520px;
  max-width: 640px;
  width: 100%;
  margin-left: auto;
}
/* soft glowing disc behind the trio */
.thero__halo {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 480px;
  height: 480px;
  margin-left: -240px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.14) 0%,
    transparent 65%
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.thero__p {
  position: absolute;
  bottom: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  transition: translate 0.4s var(--ab-ease);
}
.thero__p img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  padding-top: 18px;
}
.thero__p--main {
  z-index: 2;
  left: calc(50% - var(--main-w) / 2);
  width: var(--main-w);
  height: 450px;
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(180deg, #0a84e8 0%, #0061b1 55%, #10a52a 100%);
  box-shadow: 0 -10px 60px rgba(0, 113, 206, 0.45);
}
.thero__p--left,
.thero__p--right {
  z-index: 1;
  width: var(--side-w);
  height: 350px;
}
.thero__p--left {
  left: 0;
}
.thero__p--right {
  right: 0;
}
/* name tag on the lower part of each portrait */
.thero__p figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(0, 20, 50, 0.25);
  text-align: center;
  line-height: 1.25;
}
.thero__p figcaption strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--heading);
}
.thero__p figcaption span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}
.thero__p--main figcaption {
  left: 22px;
  right: 22px;
  bottom: 22px;
}
.thero__p--main figcaption strong {
  font-size: 1rem;
}
.thero__p--main figcaption span {
  color: var(--coral-dark);
  font-weight: 600;
}

/* floating badges */
.thero__badge {
  position: absolute;
  z-index: 3;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(0, 10, 30, 0.35);
}
.thero__badge--cert {
  top: 70px;
  left: -10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: var(--white);
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--muted);
}
.thero__badge--cert strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.92rem;
  color: var(--heading);
}
.thero__badge-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0071ce 0%, #10bf28 100%);
  color: #fff;
}
.thero__badge-ico .icon {
  width: 20px;
  height: 20px;
}
.thero__badge--years {
  top: 120px;
  right: -6px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #2dca42 0%, #10a52a 100%);
  color: #fff;
  text-align: center;
  line-height: 1.1;
}
.thero__badge--years strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.9rem;
}
.thero__badge--years small {
  font-size: 0.75rem;
  font-weight: 500;
}
@media (hover: hover) {
  .thero__p:hover {
    translate: 0 -8px;
  }
}

/* ----- motion ----- */
@media (prefers-reduced-motion: no-preference) {
  .thero__content > * {
    animation: ab-rise 0.9s var(--ab-ease) both;
  }
  .thero__content > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .thero__content > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .thero__content > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .thero__content > :nth-child(5) {
    animation-delay: 0.32s;
  }
  .thero__content > :nth-child(6) {
    animation-delay: 0.4s;
  }
  .thero__p {
    animation: thero-up 1s var(--ab-ease) both;
  }
  .thero__p--main {
    animation-delay: 0.2s;
  }
  .thero__p--left {
    animation-delay: 0.45s;
  }
  .thero__p--right {
    animation-delay: 0.6s;
  }
  .thero__halo {
    animation: thero-glow 6s ease-in-out infinite;
  }
  .thero__badge--cert {
    animation:
      thero-pop 0.7s var(--ab-ease) 1s both,
      ab-bob 5s ease-in-out 1.8s infinite;
  }
  .thero__badge--years {
    animation:
      thero-pop 0.7s var(--ab-ease) 1.2s both,
      ab-bob 5.5s ease-in-out 2.4s infinite;
  }
}
@keyframes thero-up {
  from {
    opacity: 0;
    transform: translateY(70px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes thero-pop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes thero-glow {
  0%,
  100% {
    scale: 1;
    opacity: 0.85;
  }
  50% {
    scale: 1.06;
    opacity: 1;
  }
}

/* ----- responsive ----- */
@media (max-width: 1150px) {
  .thero__visual {
    --main-w: 250px;
    --side-w: 185px;
    height: 470px;
  }
  .thero__p--main {
    height: 405px;
  }
  .thero__p--left,
  .thero__p--right {
    height: 310px;
  }
  .thero__badge--cert {
    left: -20px;
  }
}
@media (max-width: 1024px) {
  .ghero.thero {
    padding-top: 64px;
  }
  .thero__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .thero__content {
    padding-bottom: 20px;
  }
  .thero__visual {
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .ghero.thero {
    padding: 44px 0 0;
  }
  .thero__facts li {
    flex: 1 1 calc(50% - 6px);
  }
}
@media (max-width: 560px) {
  .thero__visual {
    --main-w: 168px;
    --side-w: 124px;
    height: 300px;
  }
  .thero__halo {
    width: 300px;
    height: 300px;
    margin-left: -150px;
  }
  .thero__p img {
    padding-top: 10px;
  }
  .thero__p--main {
    height: 262px;
  }
  .thero__p--left,
  .thero__p--right {
    height: 196px;
  }
  .thero__p--left {
    left: 2px;
  }
  .thero__p--right {
    right: 2px;
  }
  /* only the front portrait keeps its name tag on phones */
  .thero__p--left figcaption,
  .thero__p--right figcaption {
    display: none;
  }
  .thero__p--main figcaption {
    left: 10px;
    right: 10px;
    bottom: 12px;
    padding: 7px 8px;
    border-radius: 10px;
  }
  .thero__p--main figcaption strong {
    font-size: 0.8rem;
  }
  .thero__p--main figcaption span {
    font-size: 0.68rem;
  }
  .thero__badge--cert {
    top: 4px;
    left: 0;
    padding: 6px 10px 6px 6px;
    border-radius: 12px;
  }
  .thero__badge--cert small {
    display: none;
  }
  .thero__badge--cert strong {
    font-size: 0.78rem;
  }
  .thero__badge-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .thero__badge-ico .icon {
    width: 15px;
    height: 15px;
  }
  .thero__badge--years {
    top: 30px;
    right: 0;
    padding: 8px 12px;
    border-radius: 12px;
  }
  .thero__badge--years strong {
    font-size: 1.3rem;
  }
  .thero__badge--years small {
    font-size: 0.66rem;
  }
  .thero__facts {
    gap: 8px;
  }
  .thero__facts li {
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .thero__p {
    transition: none;
  }
}

/* =========================================================
   FAQ PAGE BANNER card: contact rows (faqs/index.html)
   ========================================================= */
.ab-contacts li + li {
  margin-top: 10px;
}
.ab-contacts a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}
.ab-contacts a > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ab-contacts small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}
.ab-contacts__ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--coral);
  color: #fff;
}
.ab-contacts__ico--wa {
  background: var(--whatsapp);
  color: #08361b;
}
.ab-contacts__ico .icon {
  width: 19px;
  height: 19px;
}
.ab-contacts__go {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  opacity: 0.6;
  transition:
    translate 0.3s var(--ab-ease),
    opacity 0.3s ease;
}
.ab-contacts a:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.ab-contacts a:hover .ab-contacts__go {
  translate: 4px 0;
  opacity: 1;
}

/* team banner: side name tags stay clear of the front portrait, which
   overlaps the inner edge of each side portrait */
.thero__p--left figcaption {
  right: 44px;
}
.thero__p--right figcaption {
  left: 44px;
}
@media (max-width: 1150px) {
  .thero__p--left figcaption {
    right: 34px;
  }
  .thero__p--right figcaption {
    left: 34px;
  }
}
/* phones: the three facts become one compact row of three */
@media (max-width: 560px) {
  .thero__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .thero__facts li {
    flex-direction: column;
    gap: 6px;
    padding: 10px 6px;
    text-align: center;
    font-size: 0.72rem;
  }
  .thero__facts strong {
    font-size: 0.8rem;
  }
  .thero__facts-ico {
    width: 32px;
    height: 32px;
  }
  .thero__visual {
    --main-w: 184px;
  }
}

/* =========================================================
   CAREER PAGE (career/index.html)
   Banner (About-style) with a role list -> application form (dark info
   pane + white form, sends to WhatsApp: js/main.js #21) -> job cards ->
   benefits (.ab-why) -> qualifications (.ab-care).
   ========================================================= */

/* ---------- banner card: role list ---------- */
.jroles li + li {
  margin-top: 8px;
}
.jroles a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}
.jroles .icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--gold);
  transition: translate 0.3s var(--ab-ease);
}
.jroles a:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.jroles a:hover .icon {
  translate: 4px 0;
}

/* ---------- application: one big two-pane card ---------- */
.japply {
  padding: 90px 0 100px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
.japply__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--teal-700) 8%, transparent),
    var(--shadow-lg);
}
/* (the grid is the card, so it should not get the page gutter twice) */
.container.japply__grid {
  width: calc(100% - 40px);
  padding: 0;
}
.japply__info {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 52px 46px;
  background:
    radial-gradient(
      420px 320px at 100% 0%,
      rgba(16, 191, 40, 0.28),
      transparent 70%
    ),
    radial-gradient(
      420px 360px at 0% 100%,
      rgba(0, 119, 216, 0.4),
      transparent 70%
    ),
    linear-gradient(160deg, #0260ad 0%, #0a1f3e 60%, #0a1222 100%);
  color: rgba(255, 255, 255, 0.82);
}
.japply__info::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 56px solid rgba(255, 255, 255, 0.05);
}
.japply__info h2 {
  color: #fff;
  margin-bottom: 14px;
}
.jsteps {
  margin: 30px 0 34px;
}
.jsteps li {
  position: relative;
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
}
/* dotted line joining the step numbers */
.jsteps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 4px;
  left: 18px;
  border-left: 2px dashed rgba(255, 255, 255, 0.22);
}
.jsteps__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2dca42 0%, #10a52a 100%);
  font-family: var(--font-title);
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(45, 202, 66, 0.18);
}
.jsteps strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.02rem;
  color: #fff;
}
.jsteps li span:not(.jsteps__num) {
  font-size: 0.92rem;
  line-height: 1.55;
}
.japply__alt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}
.japply__alt p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}
.japply__alt a {
  color: var(--gold);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.japply__alt a:hover {
  color: #fff;
}
.japply__alt-ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}
.japply__alt-ico .icon {
  width: 20px;
  height: 20px;
}

/* ---------- the form ---------- */
.jform-card {
  padding: 46px 46px 40px;
}
.jform__head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cream-dark);
}
.jform__head h3 {
  margin: 0 0 4px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.jform__head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.jform__req {
  color: #d93025;
}
.jform__opt {
  font-weight: 400;
  color: var(--muted);
}
.jform .field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background: #f5f9ff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230260AD' d='m7.4 8.6 4.6 4.6 4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E")
    right 14px center / 20px no-repeat;
  cursor: pointer;
}
.jform .field select:focus {
  background-color: #fff;
}
.jform [aria-invalid="true"] {
  border-color: #b3261e;
  background-color: #fff7f6;
}
.jform__error {
  margin: 6px 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: #b3261e;
}
.jform__consent {
  margin: 4px 0 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--cream);
}
.jform__consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.5;
  cursor: pointer;
}
.jform__consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal-700);
}
.jform__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.jform__note .icon {
  width: 15px;
  height: 15px;
  color: var(--teal-700);
}
.jform .btn--block {
  white-space: normal;
}

/* sent state */
.jdone {
  padding: 50px 10px;
  text-align: center;
  outline: none;
}
.jdone__ico {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2dca42 0%, #10a52a 100%);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(45, 202, 66, 0.14);
}
.jdone__ico .icon {
  width: 36px;
  height: 36px;
}
.jdone h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
}
.jdone p {
  max-width: 440px;
  margin: 0 auto 26px;
}
.jdone__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
@media (prefers-reduced-motion: no-preference) {
  .jdone:not([hidden]) {
    animation: ab-rise 0.6s var(--ab-ease) both;
  }
  .jdone:not([hidden]) .jdone__ico {
    animation: thero-pop 0.6s var(--ab-ease) 0.15s both;
  }
}

/* ---------- job cards ---------- */
.jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.job {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 32px 28px 28px;
  border-radius: 20px;
  background: var(--white);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--teal-700) 8%, transparent),
    var(--shadow);
  transition:
    translate 0.4s var(--ab-ease),
    box-shadow 0.4s ease;
}
.job::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ab-grad);
  transform: scaleX(0.18);
  transform-origin: left center;
  transition: transform 0.5s var(--ab-ease);
}
.job__ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: var(--teal-100);
  color: var(--teal-700);
  transition:
    background 0.35s ease,
    color 0.35s ease;
}
.job__ico .icon {
  width: 26px;
  height: 26px;
}
.job h3 {
  margin-bottom: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}
.job p {
  flex: 1;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}
.job__apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 50px;
  background: var(--teal-100);
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-800);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.job__apply .icon {
  width: 16px;
  height: 16px;
  transition: translate 0.3s var(--ab-ease);
}
.job__apply:hover {
  background: var(--coral);
  color: #fff;
}
.job__apply:hover .icon {
  translate: 4px 0;
}
.job--cta {
  background: linear-gradient(160deg, #0260ad 0%, #0a2a4f 70%, #0a1222 100%);
  color: rgba(255, 255, 255, 0.85);
}
.job--cta h3 {
  color: #fff;
}
.job--cta p {
  color: rgba(255, 255, 255, 0.8);
}
.job--cta .job__ico {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
}
.job--cta .job__apply {
  background: var(--coral);
  color: #fff;
}
.job--cta .job__apply:hover {
  background: #fff;
  color: var(--teal-800);
}
@media (hover: hover) {
  .job:hover {
    translate: 0 -6px;
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--teal-700) 12%, transparent),
      var(--shadow-lg);
  }
  .job:hover::before {
    transform: scaleX(1);
  }
  .job:not(.job--cta):hover .job__ico {
    background: linear-gradient(135deg, #0071ce 0%, #10bf28 100%);
    color: #fff;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .js .job[data-reveal] {
    transition:
      opacity 0.9s var(--ab-ease),
      transform 0.9s var(--ab-ease),
      translate 0.4s var(--ab-ease),
      box-shadow 0.4s ease;
    transition-delay:
      calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms), 0s, 0s;
  }
}

/* "We are looking for Great Psychiatrist" */
.jlooking {
  margin: 34px 0 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.jlooking span {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
}

/* ---------- responsive ---------- */
@media (max-width: 1150px) {
  .jobs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .japply {
    padding: 64px 0 72px;
  }
  .japply__grid {
    grid-template-columns: 1fr;
  }
  .jsteps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .jsteps li {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }
  .jsteps li:not(:last-child)::before {
    display: none;
  }
}
@media (max-width: 768px) {
  .container.japply__grid {
    width: calc(100% - 32px);
    border-radius: 22px;
  }
  .japply__info {
    padding: 36px 24px;
  }
  .jform-card {
    padding: 32px 22px 28px;
  }
  .jsteps {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0 26px;
  }
  .jsteps li {
    flex-direction: row;
    gap: 14px;
  }
  .jobs {
    grid-template-columns: 1fr;
  }
  .job {
    padding: 26px 22px 24px;
  }
}
@media (max-width: 600px) {
  .jform .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .jdone__actions .btn {
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .job,
  .job::before,
  .job__ico,
  .jroles .icon,
  .job__apply .icon {
    transition: none;
  }
}

/* career: left pane fills its height (trust row sits at the bottom);
   the "sent" panel is centred in the form pane */
.japply__info {
  display: flex;
  flex-direction: column;
}
.japply__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 30px;
}
.japply__trust li {
  padding: 14px 10px;
  border-top: 2px solid rgba(193, 223, 44, 0.5);
  text-align: center;
}
.japply__trust strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.45rem;
  line-height: 1.1;
  color: #fff;
}
.japply__trust span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
.jform-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 1024px) {
  .japply__trust {
    padding-top: 26px;
  }
}
/* gallery photos carry a branded frame (logo + phone strip): zoom past it */
.ab-care__img--crop img {
  transform: scale(1.45);
  transform-origin: 50% 48%;
}

/* =========================================================
   BROCHURES (home #documents): two PDF cards + PDF popup viewer.
   The cover is an HTML copy of the PDF page; its text is sized in
   cqw (container width) so it scales like a real thumbnail.
   ========================================================= */
.docs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
}
.doc {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.doc:hover {
  border-color: #cddff2;
  box-shadow: var(--shadow-lg);
}
.js .doc[data-reveal] {
  transition:
    opacity 0.7s ease calc(var(--d, 0) * 0.12s),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) calc(var(--d, 0) * 0.12s),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* ----- cover: coloured panel with the paper sheet ----- */
.doc__cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 38px 34px 46px;
  background:
    radial-gradient(
      circle at 25% 15%,
      rgba(255, 255, 255, 0.2),
      transparent 55%
    ),
    linear-gradient(155deg, #0077d8 0%, #03447f 100%);
}
.doc:nth-child(2) .doc__cover {
  background:
    radial-gradient(
      circle at 25% 15%,
      rgba(255, 255, 255, 0.2),
      transparent 55%
    ),
    linear-gradient(155deg, #0068bd 0%, #0b8a55 100%);
}
.doc__cover::before,
.doc__cover::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.doc__cover::before {
  width: 300px;
  height: 300px;
  right: -120px;
  top: -120px;
  border: 46px solid rgba(255, 255, 255, 0.07);
}
.doc__cover::after {
  width: 180px;
  height: 180px;
  left: -70px;
  bottom: -80px;
  background: rgba(193, 223, 44, 0.16);
}
.doc__paper {
  position: relative;
  display: block;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 210 / 297;
  overflow: hidden;
  container-type: inline-size;
  background: #fff;
  border-radius: 4px;
  box-shadow:
    11px 11px 0 0 rgba(255, 255, 255, 0.22),
    0 26px 50px rgba(2, 18, 40, 0.42);
  transform: rotate(-3deg);
  transition:
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.55s ease;
}
.doc:nth-child(2) .doc__paper {
  transform: rotate(3deg);
}
.doc__cover:hover .doc__paper,
.doc__cover:focus-visible .doc__paper {
  transform: rotate(0deg) translateY(-6px) scale(1.035);
  box-shadow:
    0 0 0 0 rgba(255, 255, 255, 0),
    0 34px 60px rgba(2, 18, 40, 0.5);
}
.doc__cover:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}
.doc__tag {
  position: absolute;
  bottom: 0;
  right: 7cqw;
  padding: 3cqw 3.2cqw 3.4cqw;
  border-radius: 2.4cqw 2.4cqw 0 0;
  background: #e5484d;
  color: #fff;
  font: 700 4.4cqw/1 var(--font-title);
  letter-spacing: 0.04em;
}
.doc__peek {
  position: absolute;
  left: 50%;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--teal-800);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(2, 18, 40, 0.25);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition:
    opacity 0.3s ease,
    transform 0.35s ease;
}
.doc__peek .icon {
  width: 17px;
  height: 17px;
}
.doc__cover:hover .doc__peek,
.doc__cover:focus-visible .doc__peek {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (hover: none) {
  .doc__cover {
    padding-bottom: 76px; /* room for the always-visible Preview pill */
  }
  .doc__peek {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ----- the mini PDF page (decorative, aria-hidden) ----- */
.doc__sheet {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 9cqw 8cqw 6cqw;
  font-family: Arial, Helvetica, sans-serif;
  color: #3d4955;
  text-align: left;
  user-select: none;
}
.doc__sheet > span {
  display: block;
}
.ds__brand,
.ds__kicker,
.ds__big,
.ds__sub {
  text-align: center;
}
.ds__brand {
  font-size: 3.3cqw;
  font-weight: 700;
  line-height: 1.2;
  color: #26465e;
}
.doc:nth-child(2) .ds__brand {
  font-size: 2.95cqw; /* the longer title fits on one line, as in the PDF */
}
.ds__kicker {
  margin: 1cqw 0 4cqw;
  font-size: 1.55cqw;
  letter-spacing: 0.04em;
  color: #6b7c8a;
}
.ds__kicker--green {
  margin-bottom: 1.5cqw;
  font-weight: 700;
  color: #4f9a7e;
}
.ds__h {
  margin: 1cqw 0 1.6cqw;
  font-size: 2.35cqw;
  font-weight: 700;
  color: #26465e;
}
.ds__list span {
  display: flex;
  gap: 1.6cqw;
  font-size: 1.75cqw;
  line-height: 1.43;
}
.ds__list b {
  flex: 0 0 2.4cqw;
  font-size: 1.35cqw;
  color: #5aa58a;
}
.ds__rule {
  height: 1px;
  margin: 3.2cqw 0 3cqw;
  background: #dce6ea;
}
.ds__big {
  font-size: 4.1cqw;
  font-weight: 700;
  line-height: 1.2;
  color: #26465e;
}
.ds__sub {
  margin: 1cqw 0 3.4cqw;
  font-size: 1.55cqw;
  color: #7b8893;
}
.ds__steps span {
  display: block;
  padding: 1.5cqw 0 2.2cqw;
  border-bottom: 1px solid #e3eaee;
  font-size: 1.5cqw;
  line-height: 1.45;
}
.ds__steps b {
  margin-right: 1.6cqw;
  font-size: 1.95cqw;
  color: #4f9a7e;
}
.ds__steps i {
  font-size: 1.95cqw;
  font-style: normal;
  font-weight: 700;
  color: #26465e;
}
.ds__steps i::after {
  content: "\A";
  white-space: pre;
}
.ds__end {
  margin-top: 2.6cqw;
  text-align: center;
  font-size: 1.95cqw;
  font-weight: 700;
  color: #4f9a7e;
}

/* ----- text side ----- */
.doc__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 30px;
}
.doc__meta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  padding: 6px 13px;
  border-radius: 50px;
  background: var(--teal-100);
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.doc__meta .icon {
  width: 16px;
  height: 16px;
}
.doc__title {
  margin: 0 0 0.45em;
  font-size: clamp(1.35rem, 1.9vw, 1.6rem);
}
.doc__text {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}
.doc__facts {
  display: flex;
  margin: 0 0 26px;
  padding: 14px 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  list-style: none;
}
.doc__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--muted);
}
.doc__facts li:first-child {
  padding-left: 0;
}
.doc__facts li + li {
  border-left: 1px solid var(--cream-dark);
}
.doc__facts strong {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--teal-700);
}
.doc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.doc__actions .btn {
  padding: 11px 22px;
}
.doc__actions .icon {
  width: 19px;
  height: 19px;
}
.docs__note {
  margin: 36px 0 0;
  text-align: center;
  color: var(--muted);
}
.docs__note a {
  font-weight: 600;
  color: var(--teal-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1180px) {
  .docs__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
  }
}
@media (max-width: 640px) {
  .docs__grid {
    gap: 22px;
  }
  .doc {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 18px;
  }
  .doc__cover {
    padding-top: 30px;
  }
  .doc__paper {
    max-width: 200px;
  }
  .doc__body {
    padding: 24px 22px 26px;
  }
  .doc__actions .btn {
    flex: 1 1 0;
    padding: 11px 14px;
  }
}

/* ----- PDF popup viewer (#doc-viewer) ----- */
.pdfv {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 20px 24px 24px;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.pdfv[open] {
  display: grid;
  place-items: center;
}
.pdfv::backdrop {
  background: rgba(6, 12, 24, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pdfv__box {
  display: flex;
  flex-direction: column;
  width: min(980px, 100%);
  height: 100%;
}
.pdfv__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.pdfv__title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}
.pdfv__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}
.pdfv__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition:
    background 0.25s,
    color 0.25s;
}
.pdfv__btn:hover {
  background: #fff;
  color: var(--teal-900);
}
.pdfv__btn .icon {
  width: 18px;
  height: 18px;
}
.pdfv__frame {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #525659;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
.pdfv__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pdfv__frame.is-ready iframe {
  opacity: 1;
}
.pdfv__frame.is-ready .vmodal__spinner {
  opacity: 0;
}
@media (max-width: 760px) {
  .pdfv {
    padding: 14px;
  }
  .pdfv__btn {
    justify-content: center;
    width: 46px;
    padding: 0;
  }
  .pdfv__btn span {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .pdfv[open]::backdrop {
    animation: vm-fade 0.35s ease;
  }
  .pdfv[open] .pdfv__box {
    animation: pdfv-in 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .pdfv.is-closing::backdrop {
    animation: pdfv-fade-out 0.22s ease forwards;
  }
  .pdfv.is-closing .pdfv__box {
    animation: pdfv-out 0.22s ease forwards;
  }
}
@keyframes pdfv-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
}
@keyframes pdfv-out {
  to {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}
@keyframes pdfv-fade-out {
  to {
    opacity: 0;
  }
}

/* =========================================================
   SERVICES MENU PAGES: our-treatment-services, our-treatment-programs,
   nsrp-centers. Banner/blocks reuse the ABOUT PAGE styles; below are
   the new parts: service filter, conditions, 8-step journey, rooms.
   ========================================================= */

/* cards that also scroll-reveal: keep the hover lift (uses `translate`) */
@media (prefers-reduced-motion: no-preference) {
  .js .card[data-reveal] {
    transition:
      opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
      translate 0.3s ease,
      box-shadow 0.3s ease;
    transition-delay:
      calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms), 0s, 0s;
  }
  .js .card[data-reveal].is-in:hover {
    translate: 0 -6px;
  }
}

/* ----- Treatment services: category filter ----- */
.svc-hub {
  padding: 90px 0 100px;
}
.svc-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -12px auto 40px;
}
.svc-filter[hidden] {
  display: none;
}
.svc-filter button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px 9px 18px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: #fff;
  color: var(--teal-800);
  font: 600 0.95rem/1.2 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.svc-filter button span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 50px;
  background: var(--teal-100);
  font-size: 0.8rem;
  transition: background 0.25s;
}
.svc-filter button:hover {
  border-color: var(--teal-700);
}
.svc-filter button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.svc-filter button[aria-pressed="true"] {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 106, 192, 0.25);
}
.svc-filter button[aria-pressed="true"] span {
  background: rgba(255, 255, 255, 0.2);
}
[data-svc-grid] > [hidden] {
  display: none;
}
.svc-tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--teal-100);
  color: var(--teal-700);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.svc-tag--detox {
  background: #e4f8e8;
  color: #0e7f33;
}
.svc-tag--care {
  background: #f1f7d6;
  color: #586807;
}

/* ----- Conditions we treat (brochure lists) ----- */
.conds__head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}
.conds__head h2 {
  margin-bottom: 0.4em;
}
.conds__head p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
}
.conds__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.conds__actions .icon {
  width: 19px;
  height: 19px;
}
.conds__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.conds__panel {
  padding: 28px 28px 24px;
  border: 1px solid var(--cream-dark);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}
.conds__panel--dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: transparent;
  background: linear-gradient(155deg, #0071ce 0%, #03447f 100%);
  color: #fff;
}
.conds__panel--dark::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -140px;
  right: -140px;
  width: 340px;
  height: 340px;
  border: 54px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.conds__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cream-dark);
}
.conds__panel--dark .conds__top {
  border-color: rgba(255, 255, 255, 0.16);
}
.conds__no {
  font: 700 2.3rem/1 var(--font-title);
  color: var(--teal-700);
}
.conds__panel--dark .conds__no {
  color: var(--gold);
}
.conds__top div {
  flex: 1;
  min-width: 0;
}
.conds__top h3 {
  margin: 0 0 3px;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.conds__panel--dark h3 {
  color: #fff;
}
.conds__top p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.conds__panel--dark .conds__top p {
  color: rgba(255, 255, 255, 0.72);
}
.conds__ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-100);
  color: var(--teal-700);
}
.conds__panel--dark .conds__ico {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.conds__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.conds__list a,
.conds__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 0.94rem;
  line-height: 1.35;
  color: var(--heading);
}
.conds__panel--dark .conds__list a,
.conds__panel--dark .conds__item {
  color: rgba(255, 255, 255, 0.92);
}
.conds__list b {
  flex-shrink: 0;
  width: 22px;
  font: 700 0.75rem/1 var(--font-title);
  color: var(--coral-dark);
}
.conds__panel--dark .conds__list b {
  color: var(--gold);
}
.conds__list a span {
  flex: 1;
}
.conds__list a {
  font-weight: 500;
  color: var(--teal-800);
  transition:
    background 0.2s,
    color 0.2s;
}
.conds__go {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  opacity: 0.45;
  transition:
    opacity 0.2s,
    translate 0.2s;
}
.conds__list a:hover {
  background: var(--cream);
}
.conds__list a:hover .conds__go {
  opacity: 1;
  translate: 3px 0;
}
.conds__panel--dark .conds__list a {
  color: #fff;
}
.conds__panel--dark .conds__list a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.conds__note {
  margin: 34px 0 0;
  text-align: center;
  color: var(--muted);
}
.conds__note a {
  font-weight: 600;
  color: var(--teal-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----- Programs: 8-step journey (dark) ----- */
.journey {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 119, 216, 0.45), transparent 45%),
    radial-gradient(
      circle at 100% 100%,
      rgba(45, 202, 66, 0.28),
      transparent 45%
    ),
    var(--teal-900);
  color: rgba(255, 255, 255, 0.82);
}
.journey__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 50px;
}
.journey__head h2 {
  margin: 0;
  color: #fff;
}
.journey__head p {
  margin: 0 0 20px;
}
.journey__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.journey__actions .icon {
  width: 19px;
  height: 19px;
}
.journey__dl {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.journey__dl:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}
.journey__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.journey__step {
  position: relative;
  padding: 24px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition:
    translate 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .js .journey__step[data-reveal] {
    transition:
      opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
      translate 0.35s ease,
      border-color 0.35s ease,
      background-color 0.35s ease;
    transition-delay:
      calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms), 0s, 0s, 0s;
  }
}
.journey__step:hover {
  translate: 0 -5px;
  border-color: rgba(193, 223, 44, 0.55);
  background-color: rgba(255, 255, 255, 0.08);
}
.journey__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.journey__ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(140deg, #0077d8, #12b33b);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.journey__ico .icon {
  width: 24px;
  height: 24px;
}
.journey__num {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font: 700 1.9rem/1 var(--font-title);
  color: #fff;
}
.journey__num small {
  margin-bottom: 3px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.journey__step h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
}
.journey__step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
}
.journey__foot {
  margin-top: 44px;
  text-align: center;
}
.journey__tag {
  margin: 0 0 6px;
  font: 700 clamp(1.15rem, 2vw, 1.5rem) / 1.3 var(--font-title);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.journey__foot p:last-child {
  margin: 0;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
}

/* ----- Centers: rooms ----- */
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.room {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  transition:
    translate 0.35s ease,
    box-shadow 0.35s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .js .room[data-reveal] {
    transition:
      opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
      translate 0.35s ease,
      box-shadow 0.35s ease;
    transition-delay:
      calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms), 0s, 0s;
  }
}
.room:hover {
  translate: 0 -6px;
  box-shadow: var(--shadow-lg);
}
.room__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.room__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.6s ease;
}
/* square gallery photos carry a branded frame: zoom past it */
.room__img--crop img {
  transform: scale(1.4);
  transform-origin: 50% 50%;
}
/* wide gallery photos: phone/address strip along the bottom */
.room__img--strip img {
  transform: scale(1.2);
  transform-origin: 50% 25%;
}
.room:hover .room__img img {
  scale: 1.05;
}
.room__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal-800);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(2, 18, 40, 0.18);
}
.room__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}
.room__body h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--teal-800);
}
.room__body p {
  flex: 1;
  margin: 0 0 16px;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--muted);
}
.room__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.room__feats li {
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  font-size: 0.78rem;
  color: var(--text);
}

/* rooms and facilities are both white: no double gap between them */
.rooms + .ab-care {
  padding-top: 20px;
}

/* ----- responsive ----- */
@media (max-width: 1180px) {
  .journey__list,
  .rooms__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .conds__head,
  .journey__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .conds__actions {
    justify-content: flex-start;
  }
  .conds__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .svc-hub {
    padding: 70px 0 80px;
  }
  /* filter chips scroll sideways instead of wrapping */
  .svc-filter {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: -14px -20px 28px;
    padding: 4px 20px 10px;
    scrollbar-width: none;
  }
  .svc-filter::-webkit-scrollbar {
    display: none;
  }
  .conds__panel {
    padding: 22px 18px 18px;
  }
  .conds__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .journey__list,
  .rooms__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .journey__step {
    padding: 20px 18px;
  }
}


/* Homepage client testimonial */
.client-review {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 95%, #137550 0%, transparent 52%),
    linear-gradient(125deg, #082e58 0%, #075695 58%, #075c64 100%);
}
.client-review::before,
.client-review::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}
.client-review::before {
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 7%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 7%) 1px, transparent 1px);
  background-size: 40px 40px;
}
.client-review::after {
  top: -44%;
  right: -12%;
  width: min(75vw, 840px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 37px, rgb(185 239 222 / 16%) 38px 39px);
}
@media (prefers-reduced-motion: no-preference) {
  .client-review:has(.client-review__media:hover)::after {
    transform: translate(-18px, 14px) scale(1.04);
  }
  .client-review::after {
    transition: transform 900ms ease-out;
  }
}
.client-review__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(24px, 5vw, 72px);
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--white) 50%, var(--teal-100));
  box-shadow: var(--shadow);
}
.client-review__copy h2 {
  margin: 0.35em 0 0.45em;
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
  line-height: 1.12;
}
.client-review__copy > p:not(.eyebrow) {
  max-width: 42ch;
  margin-bottom: 1.5rem;
}
.client-review__media {
  position: relative;
  padding: 5px;
  border-radius: 18px;
  background: linear-gradient(125deg, var(--teal-700), var(--coral), var(--gold));
  box-shadow: var(--shadow-lg);
}
.client-review__media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 13px;
  background: var(--teal-900);
}
.client-review__play:not([hidden]) {
  position: absolute;
  inset: 5px;
  display: grid;
  place-items: center;
  width: calc(100% - 10px);
  border: 0;
  border-radius: 13px;
  background: rgb(10 18 34 / 16%);
  color: var(--white);
  cursor: pointer;
}
.client-review__play span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--teal-800);
  box-shadow: var(--shadow-lg);
}
.client-review__play .icon {
  width: 24px;
  height: 24px;
}
.client-review__play:hover span,
.client-review__play:focus-visible span {
  background: var(--teal-900);
}
.client-review__play:focus-visible {
  outline: 3px solid var(--teal-800);
  outline-offset: 6px;
}
.client-review__media video:fullscreen {
  border-radius: 0;
  background: #000;
}
.client-review__media video:focus-visible {
  outline: 3px solid var(--teal-800);
  outline-offset: 6px;
}
@media (max-width: 768px) {
  .client-review__panel {
    grid-template-columns: minmax(0, 1fr);
  }
}
