/* ==========================================================================
   Ikageng Health Centre - stylesheet
   Brand colours sampled from the official logo (see README).
   Mobile-first. No frameworks, no external fonts, no third-party requests.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --brand-royal: #0040b1;
  --brand-deep: #002e86;
  --brand-deepest: #001f57;
  --brand-bright: #1e6fd8;
  --brand-red: #d4010a;
  --brand-red-deep: #a50108;
  --brand-pale: #e4eefb;
  --pale-blue: #f1f7fd;
  --neutral: #f8fafc;

  /* Ink */
  --white: #fff;
  --ink: #243247;
  --ink-2: #5d6b7c;
  --line: #dfe7f1;
  --line-strong: #c3d2e4;
  /* 3:1 against white/pale-blue so control boundaries stay visible (WCAG 1.4.11). */
  --line-control: #6b88a6;

  /* Typography */
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, roboto, "Helvetica Neue", arial, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.375rem;
  --fs-4xl: 3rem;
  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-body: 1.65;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3rem, 6vw, 5.5rem);

  /* Radius */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgb(10 32 64 / 0.06);
  --sh-sm: 0 2px 6px rgb(10 32 64 / 0.07), 0 1px 2px rgb(10 32 64 / 0.05);
  --sh-md: 0 10px 24px -10px rgb(10 32 64 / 0.18), 0 2px 6px rgb(10 32 64 / 0.05);
  --sh-lg: 0 26px 54px -26px rgb(0 32 80 / 0.36);

  /* Motion */
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 420ms;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 66px;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  overflow-x: clip;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--sp-4));
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--sp-4);
  color: var(--brand-deepest);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 6vw, var(--fs-4xl));
}

h2 {
  font-size: clamp(1.6rem, 4vw, var(--fs-3xl));
}

h3 {
  font-size: clamp(1.2rem, 2.4vw, var(--fs-xl));
  line-height: var(--lh-snug);
}

h4 {
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
}

p {
  margin: 0 0 var(--sp-4);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.25rem;
}

li {
  margin-bottom: var(--sp-2);
}

a {
  color: var(--brand-royal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

/* Long e-mail addresses are single unbreakable tokens; let them wrap so the
   page can reflow to 320px without horizontal scrolling (WCAG 1.4.10). */
a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--brand-deep);
}

strong {
  font-weight: 650;
  color: var(--brand-deepest);
}

hr {
  height: 1px;
  margin: var(--sp-6) 0;
  border: 0;
  background: var(--line);
}

code {
  padding: 0.15em 0.4em;
  border-radius: var(--r-xs);
  background: var(--brand-pale);
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", menlo, consolas, monospace;
  font-size: 0.9em;
}

:focus-visible {
  outline: 3px solid var(--brand-royal);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* Dark surfaces need a light focus ring: brand-royal on brand-deep is only 1.4:1. */
.topbar :focus-visible,
.hero :focus-visible,
.page-head :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}

::selection {
  background: var(--brand-royal);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   3. Utilities and layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(2rem, 4vw, 3.25rem);
}

.section--pale {
  background: var(--pale-blue);
}

.section--neutral {
  background: var(--neutral);
}

.section--gradient {
  background: linear-gradient(180deg, var(--white) 0%, var(--pale-blue) 100%);
}

.stack > * + * {
  margin-top: var(--sp-4);
}

.stack-lg > * + * {
  margin-top: var(--sp-6);
}

.lede {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 2vw, var(--fs-lg));
  line-height: var(--lh-body);
}

.prose {
  max-width: 68ch;
  margin-inline: auto;
}

.prose h2 {
  margin-top: var(--sp-7);
}

.prose h3 {
  margin-top: var(--sp-6);
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li::marker {
  color: var(--brand-royal);
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-3);
  color: var(--brand-red);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-bright));
  content: "";
}

.eyebrow--light {
  color: #a9c8f2;
}

.section-head {
  max-width: 68ch;
  margin-bottom: var(--sp-7);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .lede {
  margin-inline: auto;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.text-center {
  text-align: center;
}

/* Spacing utilities */
.mt-2 {
  margin-top: var(--sp-2);
}

.mt-3 {
  margin-top: var(--sp-3);
}

.mt-4 {
  margin-top: var(--sp-4);
}

.mt-5 {
  margin-top: var(--sp-5);
}

.mt-6 {
  margin-top: var(--sp-6);
}

.mt-7 {
  margin-top: var(--sp-7);
}

.mb-1 {
  margin-bottom: var(--sp-1);
}

.mb-2 {
  margin-bottom: var(--sp-2);
}

.mb-4 {
  margin-bottom: var(--sp-4);
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: var(--fs-sm);
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  z-index: 200;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--brand-deep);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--t-fast) var(--ease);
}

.skip-link:focus {
  color: var(--white);
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  background: var(--brand-royal);
  color: var(--white);
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}

.btn:hover {
  background: var(--brand-deep);
  color: var(--white);
  box-shadow: var(--sh-md);
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  flex: none;
}

.btn--red {
  background: var(--brand-red);
}

.btn--red:hover {
  background: var(--brand-red-deep);
}

.btn--ghost {
  border-color: var(--line-control);
  background: var(--white);
  color: var(--brand-deep);
}

.btn--ghost:hover {
  border-color: var(--brand-royal);
  background: var(--brand-pale);
  color: var(--brand-deep);
}

.btn--on-dark {
  border-color: rgb(255 255 255 / 0.45);
  background: rgb(255 255 255 / 0.08);
  color: var(--white);
}

.btn--on-dark:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--brand-deep);
}

.btn--light {
  background: var(--white);
  color: var(--brand-deep);
}

.btn--light:hover {
  background: var(--brand-pale);
  color: var(--brand-deep);
}

.btn--sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: var(--fs-sm);
}

.btn--lg {
  min-height: 54px;
  padding: 0.85rem 1.75rem;
  font-size: var(--fs-md);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.btn-row--center {
  justify-content: center;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 24px;
  font-weight: 650;
  text-decoration: none;
}

.link-arrow .icon {
  transition: transform var(--t-base) var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* Standalone text link, kept at the WCAG 2.2 minimum target size. */
.link-target {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-weight: 650;
  text-decoration: none;
}

.link-target:hover {
  text-decoration: underline;
}

/* WCAG 2.2 target size: standalone links keep a 24px minimum hit area. */
.breadcrumb a,
.contact-list dd a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

/* --------------------------------------------------------------------------
   5. Icons
   -------------------------------------------------------------------------- */
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 18px;
  height: 18px;
}

.icon--lg {
  width: 32px;
  height: 32px;
}

.icon--xl {
  width: 40px;
  height: 40px;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.topbar {
  display: none;
  background: var(--brand-deepest);
  color: #cfe0f7;
  font-size: var(--fs-sm);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-5);
  min-height: 42px;
  padding-block: var(--sp-2);
}

.topbar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0;
}

.topbar a {
  color: var(--white);
  text-decoration: none;
}

.topbar a:hover {
  color: #a9c8f2;
  text-decoration: underline;
}

.topbar .icon {
  color: #7fb0ea;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 160;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 0.98);
  transition: box-shadow var(--t-base) var(--ease);
}

.site-header.is-stuck {
  box-shadow: var(--sh-md);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}

.brand__mark {
  width: 44px;
  height: auto;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  color: var(--brand-deepest);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand__tagline {
  color: var(--ink-2);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-control);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--brand-deep);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.nav-toggle:hover {
  border-color: var(--brand-royal);
  background: var(--brand-pale);
}

.nav-toggle__close {
  display: none;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  display: flex;
  width: min(360px, 86vw);
  flex-direction: column;
  padding: var(--sp-5);
  background: var(--white);
  box-shadow: var(--sh-lg);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
  overflow-y: auto;
}

.site-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.site-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
}

.site-nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-control);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--brand-deep);
  cursor: pointer;
}

.site-nav__close:hover {
  border-color: var(--brand-royal);
  background: var(--brand-pale);
}

.site-nav__list {
  margin: 0 0 var(--sp-5);
  padding: 0;
  list-style: none;
}

.site-nav__list li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.site-nav__list a {
  display: block;
  padding: var(--sp-4) var(--sp-1);
  color: var(--brand-deepest);
  font-size: var(--fs-md);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  padding-left: var(--sp-3);
  color: var(--brand-royal);
}

.site-nav__list a[aria-current="page"] {
  color: var(--brand-red);
}

.site-nav__cta {
  display: grid;
  gap: var(--sp-3);
  margin-top: auto;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgb(6 24 52 / 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
}

.nav-scrim.is-open {
  opacity: 1;
  visibility: visible;
}

.header-phone {
  display: none;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-deepest) 0%, var(--brand-deep) 38%, var(--brand-royal) 100%);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  top: -30%;
  right: -12%;
  width: 62rem;
  height: 62rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(120 180 255 / 0.22) 0%, rgb(120 180 255 / 0) 65%);
  content: "";
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--sp-7);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 6.5vw, var(--fs-4xl));
}

.hero__lede {
  max-width: 56ch;
  color: #d5e5fa;
  font-size: clamp(1.05rem, 2.2vw, var(--fs-lg));
}

.hero__eyebrow {
  color: #a9c8f2;
}

.hero__panel {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--r-xl);
  background: rgb(255 255 255 / 0.07);
  backdrop-filter: blur(6px);
}

.hero__logo {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-lg);
}

.hero__facts {
  display: grid;
  gap: var(--sp-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__facts li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin: 0;
  color: #dceafb;
  font-size: var(--fs-sm);
}

.hero__facts .icon {
  flex: none;
  margin-top: 2px;
  color: #8fbcf2;
}

.hero__facts strong {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-xs);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}

/* Hover and keyboard focus: a thicker, darker edge plus a deeper shadow.
   The inset ring adds the extra pixel of border without shifting layout. */
.card:hover,
.card:focus-within {
  border-color: var(--brand-deep);
  box-shadow: var(--sh-lg), inset 0 0 0 1px var(--brand-deep);
  transform: translateY(-4px);
}

.card--link:hover {
  border-color: var(--brand-deep);
  box-shadow: var(--sh-lg), inset 0 0 0 1px var(--brand-deep);
  transform: translateY(-4px);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--sp-4);
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--brand-pale), #d3e5fb);
  color: var(--brand-royal);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.card:hover .card__icon,
.card:focus-within .card__icon {
  background: linear-gradient(140deg, #d5e6fb, #b9d5f6);
  color: var(--brand-deepest);
}

.card__icon--red {
  background: linear-gradient(140deg, #fdeaea, #fadada);
  color: var(--brand-red);
}

.card:hover .card__icon--red,
.card:focus-within .card__icon--red {
  background: linear-gradient(140deg, #fbdada, #f6c7c7);
  color: var(--brand-red-deep);
}

.card h3 {
  margin-bottom: var(--sp-2);
  font-size: var(--fs-lg);
  transition: color var(--t-base) var(--ease);
}

.card:hover h3,
.card:focus-within h3 {
  color: var(--brand-deepest);
}

.card p {
  color: var(--ink-2);
  font-size: var(--fs-base);
}

.card__foot {
  margin-top: auto;
  padding-top: var(--sp-4);
}

.card__cat {
  display: block;
  margin-bottom: var(--sp-2);
  color: var(--brand-red);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

/* Fixed three-column grid: keeps card counts (3, 6) in full rows instead of
   leaving a ragged last row when the viewport is wide. */
.grid--fixed-3 {
  grid-template-columns: minmax(0, 1fr);
}

/* --------------------------------------------------------------------------
   9. Feature / split sections
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

/* Columns aligned to the same top edge instead of vertically centred. */
.split--top {
  align-items: start;
}

/* Intro block: accent rule beside the heading, then two aligned text columns
   separated by a hairline. */
.intro {
  max-width: 62rem;
  margin-bottom: var(--sp-7);
  padding-left: var(--sp-5);
  border-left: 4px solid var(--brand-royal);
}

.intro h2 {
  margin-bottom: 0;
}

.intro__body {
  display: grid;
  gap: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .intro__body {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-7);
  }

  .intro__body > * + * {
    padding-left: var(--sp-7);
    border-left: 1px solid var(--line);
  }
}

/* Grid and flex children default to a min-content floor; allow them to shrink
   so long words wrap instead of forcing the page wider than the viewport. */
.split > *,
.contact-list li > *,
.contact-list dd {
  min-width: 0;
}

.feature {
  display: flex;
  gap: var(--sp-4);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--brand-pale);
  color: var(--brand-royal);
}

.feature h3 {
  margin-bottom: var(--sp-2);
  font-size: var(--fs-lg);
}

.feature p {
  color: var(--ink-2);
}

.stat-row {
  display: grid;
  gap: var(--sp-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  padding: var(--sp-4);
  border-left: 3px solid var(--brand-red);
  background: var(--white);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.stat dt {
  color: var(--brand-deepest);
  font-size: var(--fs-lg);
  font-weight: 700;
}

.stat dd {
  margin: var(--sp-1) 0 0;
  color: var(--ink-2);
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   10. Service categories
   -------------------------------------------------------------------------- */
.category + .category {
  margin-top: var(--sp-8);
}

.category__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--line);
}

.category__head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, var(--fs-2xl));
}

.category__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--brand-deep);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   11. Info panels, notes, lists
   -------------------------------------------------------------------------- */
.panel {
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}

.panel--pale {
  border-color: transparent;
  background: var(--pale-blue);
}

.panel--accent {
  border-left: 4px solid var(--brand-red);
}

.note {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--brand-pale);
  color: var(--ink);
  font-size: var(--fs-sm);
}

.note .icon {
  flex: none;
  color: var(--brand-royal);
}

.note--warning {
  background: #fdf1f1;
}

.note--warning .icon {
  color: var(--brand-red);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  margin-bottom: var(--sp-3);
  padding-left: 2rem;
}

.checklist li::before {
  position: absolute;
  top: 0.15em;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-royal);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  content: "\2713";
}

.checklist--red li::before {
  background: var(--brand-red);
}

/* --------------------------------------------------------------------------
   11.1 Professional registration and clinical programmes
   -------------------------------------------------------------------------- */
.registration {
  display: grid;
  gap: var(--sp-4);
  margin: 0;
}

.registration__row {
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-royal);
  border-radius: var(--r-md);
  background: var(--white);
}

.registration dt {
  color: var(--brand-deepest);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.registration dd {
  margin: 0;
  color: var(--ink);
  font-size: var(--fs-lg);
  font-weight: 700;
}

.registration dd p {
  margin-top: var(--sp-1);
  font-weight: 400;
}

.programme-list {
  display: grid;
  gap: var(--sp-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.programme-list--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.programme {
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-xs);
}

.programme__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--sp-3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--brand-pale);
  color: var(--brand-deepest);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.programme h3 {
  margin-bottom: var(--sp-2);
  font-size: var(--fs-lg);
}

.programme p {
  color: var(--ink-2);
  font-size: var(--fs-base);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--brand-deepest);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   12. Details / accordion (works without JavaScript)
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: var(--sp-3);
  max-width: 780px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.faq details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--sh-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  color: var(--brand-deepest);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--brand-royal);
}

.faq summary::after {
  width: 18px;
  height: 18px;
  flex: none;
  background: currentcolor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat center / contain;
  transition: transform var(--t-base) var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq__body {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   13. Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--line);
  background: var(--neutral);
  font-size: var(--fs-sm);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0;
  color: var(--ink-2);
}

.breadcrumb li + li::before {
  color: var(--ink-2);
  content: "/";
}

.breadcrumb a {
  color: var(--ink-2);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand-royal);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--brand-deepest);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Page header
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.25rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--brand-deepest) 0%, var(--brand-deep) 55%, var(--brand-royal) 100%);
  color: var(--white);
}

.page-head::after {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(120 180 255 / 0.2) 0%, rgb(120 180 255 / 0) 68%);
  content: "";
}

.page-head__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.page-head h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 5vw, var(--fs-3xl));
}

.page-head p {
  color: #d5e5fa;
  font-size: var(--fs-md);
}

.page-head .eyebrow {
  color: #a9c8f2;
}

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--sp-5);
}

.form-row {
  display: grid;
  gap: var(--sp-5);
}

.field {
  display: grid;
  gap: var(--sp-2);
}

.field label {
  color: var(--brand-deepest);
  font-size: var(--fs-sm);
  font-weight: 650;
}

.field__hint {
  color: var(--ink-2);
  font-size: var(--fs-xs);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-control);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: var(--fs-base);
  line-height: 1.5;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D6B7C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 18px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-royal);
  box-shadow: 0 0 0 3px rgb(0 64 177 / 0.18);
  outline: none;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--brand-royal);
  outline-offset: 1px;
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--brand-red);
  background: #fffafa;
}

.field__error {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--brand-red-deep);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.field__error:empty {
  display: none;
}

.checkbox {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.checkbox input {
  width: 24px;
  height: 24px;
  flex: none;
  margin: 0.15rem 0 0;
  accent-color: var(--brand-royal);
}

.checkbox label {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.55;
}

.form-status {
  padding: var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
}

.form-status:empty {
  display: none;
}

.form-status--info {
  border: 1px solid var(--line-strong);
  background: var(--neutral);
}

.form-status--error {
  border: 1px solid #f2c4c4;
  background: #fdf1f1;
  color: var(--brand-red-deep);
}

.form-status--ok {
  border: 1px solid #bfe0c8;
  background: #eff8f1;
  color: #1d6b38;
}

.form-status a {
  color: inherit;
  font-weight: 650;
}

.form-status ul {
  margin: var(--sp-2) 0 0;
  padding-left: 1.2rem;
}

.form-errors {
  padding: var(--sp-4);
  border: 1px solid #f2c4c4;
  border-radius: var(--r-md);
  background: #fdf1f1;
  color: var(--brand-red-deep);
  font-size: var(--fs-sm);
}

.form-errors p {
  margin-bottom: var(--sp-2);
}

.form-errors ul {
  margin: 0;
  padding-left: 1.2rem;
}

.form-errors a {
  color: inherit;
  font-weight: 650;
}

/* --------------------------------------------------------------------------
   16. Contact details
   -------------------------------------------------------------------------- */
.contact-list {
  display: grid;
  gap: var(--sp-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: var(--sp-3);
  margin: 0;
}

.contact-list .icon {
  flex: none;
  margin-top: 3px;
  color: var(--brand-royal);
}

.contact-list dt {
  color: var(--brand-deepest);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: var(--sp-1) 0 0;
  color: var(--ink);
}

.contact-list address {
  font-style: normal;
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.hours-table caption {
  margin-bottom: var(--sp-3);
  color: var(--ink-2);
  text-align: left;
  font-size: var(--fs-xs);
}

.hours-table th,
.hours-table td {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.hours-table th {
  color: var(--brand-deepest);
  font-weight: 650;
}

.hours-table td:last-child,
.hours-table th:last-child {
  text-align: right;
  white-space: nowrap;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: 0;
}

.hours-table tr[data-today="true"] th,
.hours-table tr[data-today="true"] td {
  color: var(--brand-red);
  font-weight: 650;
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  background: var(--brand-pale);
  color: var(--brand-deep);
  font-size: var(--fs-sm);
  font-weight: 650;
}

.open-status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-2);
}

.open-status[data-state="open"] {
  background: #e7f5ec;
  color: #1d6b38;
}

.open-status[data-state="open"] .open-status__dot {
  background: #1d8a41;
}

.open-status[data-state="closed"] {
  background: #fdeeee;
  color: var(--brand-red-deep);
}

.open-status[data-state="closed"] .open-status__dot {
  background: var(--brand-red);
}

/* --------------------------------------------------------------------------
   17. Map card (no third-party embed - privacy friendly)
   -------------------------------------------------------------------------- */
.map-card {
  position: relative;
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--pale-blue), #e4eefb);
  overflow: hidden;
}

.map-card__art {
  position: relative;
  height: 190px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, #dce9fa, #c8dcf5);
  overflow: hidden;
}

.map-card__art::before {
  position: absolute;
  top: -30%;
  left: -10%;
  width: 120%;
  height: 160%;
  background-image: linear-gradient(rgb(0 64 177 / 0.13) 2px, transparent 2px),
    linear-gradient(90deg, rgb(0 64 177 / 0.13) 2px, transparent 2px);
  background-size: 38px 38px;
  transform: rotate(-8deg);
  content: "";
}

.map-card__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--brand-red);
  transform: translate(-50%, -85%);
  filter: drop-shadow(0 4px 6px rgb(0 32 80 / 0.3));
}

.map-card__pin .icon {
  width: 40px;
  height: 40px;
  stroke-width: 1.8;
}

/* --------------------------------------------------------------------------
   18. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(120deg, var(--brand-deepest) 0%, var(--brand-deep) 55%, var(--brand-royal) 100%);
  color: var(--white);
}

.cta-band::after {
  position: absolute;
  right: -6%;
  bottom: -60%;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(212 1 10 / 0.32) 0%, rgb(212 1 10 / 0) 70%);
  content: "";
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--sp-5);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  max-width: 60ch;
  margin-inline: auto;
  color: #d5e5fa;
}

.cta-band .btn-row {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--brand-deepest);
  color: #b9cde8;
  font-size: var(--fs-sm);
}

.site-footer__main {
  display: grid;
  gap: var(--sp-6);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.site-footer h2 {
  margin-bottom: var(--sp-4);
  color: var(--white);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-footer h3 {
  margin: 0;
  color: var(--white);
  font-size: var(--fs-lg);
  letter-spacing: -0.01em;
  text-transform: none;
}

.site-footer a {
  color: #b9cde8;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-brand {
  display: grid;
  gap: var(--sp-4);
  justify-items: start;
}

.footer-logo-card {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--white);
}

.footer-logo-card img {
  width: 132px;
  height: auto;
}

.footer-tagline {
  color: #9db9dd;
  font-style: italic;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--sp-2);
}

/* WCAG 2.2 target size: footer links keep a 24px minimum hit area. */
.footer-links a,
.footer-contact a,
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  margin-bottom: var(--sp-3);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: var(--sp-5);
  border-top: 1px solid rgb(255 255 255 / 0.12);
  color: #8fabd2;
  font-size: var(--fs-xs);
}

.site-footer__bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal li {
  margin: 0;
}

/* --------------------------------------------------------------------------
   20. WhatsApp float
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-image: radial-gradient(130% 110% at 30% 0%, rgb(255 255 255 / 0.28), rgb(255 255 255 / 0) 58%),
    linear-gradient(
      135deg,
      #001235 0%,
      #003a9e 16%,
      #1e7ce0 30%,
      #4f63d6 44%,
      #8b3fc4 58%,
      #c62a9a 70%,
      #e00046 82%,
      #d4010a 90%,
      #8f0a12 100%
    );
  background-size: 100% 100%, 220% 220%;
  background-position: 0 0, 0% 50%;
  color: var(--white);
  box-shadow: var(--sh-lg), 0 12px 30px -12px rgb(212 1 10 / 0.55),
    0 0 0 1px rgb(255 255 255 / 0.24), inset 0 0 0 1px rgb(255 255 255 / 0.22);
  text-decoration: none;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
    background-position var(--t-slow) var(--ease);
}

/* Moving sheen, kept on its own layer so the spectrum below can still shift
   on hover without the two animations fighting over the same property. */
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 36%, rgb(255 255 255 / 0.45) 50%, transparent 64%);
  background-size: 250% 250%;
  animation: whatsapp-sheen 7s var(--ease) infinite;
  pointer-events: none;
}

@keyframes whatsapp-sheen {
  from {
    background-position: -70% 50%;
  }

  to {
    background-position: 170% 50%;
  }
}

.whatsapp-float:hover {
  color: var(--white);
  background-position: 0 0, 100% 50%;
  box-shadow: var(--sh-lg), 0 18px 40px -14px rgb(212 1 10 / 0.7),
    0 0 0 1px rgb(255 255 255 / 0.34), inset 0 0 0 1px rgb(255 255 255 / 0.3);
  transform: translateY(-3px) scale(1.06);
}

.whatsapp-float__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float__label {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  padding: 10px 16px;
  border-radius: 999px;
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.2), rgb(255 255 255 / 0) 72%),
    linear-gradient(
      120deg,
      #001235 0%,
      #0040b1 26%,
      #4f63d6 46%,
      #8b3fc4 62%,
      #e00046 80%,
      #d4010a 100%
    );
  background-size: 100% 100%, 200% 200%;
  background-position: 0 0, 0% 50%;
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--sh-md), 0 8px 20px -10px rgb(212 1 10 / 0.5),
    inset 0 0 0 1px rgb(255 255 255 / 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(6px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease),
    background-position var(--t-slow) var(--ease);
}

.whatsapp-float:hover .whatsapp-float__label,
.whatsapp-float:focus-visible .whatsapp-float__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  background-position: 0 0, 100% 50%;
}

.whatsapp-float .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.6;
  filter: drop-shadow(0 1px 2px rgb(0 18 53 / 0.55));
}

/* --------------------------------------------------------------------------
   21. 404
   -------------------------------------------------------------------------- */
.error-page {
  display: grid;
  gap: var(--sp-5);
  justify-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
  text-align: center;
}

.error-code {
  color: var(--brand-royal);
  font-size: clamp(4rem, 18vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* --------------------------------------------------------------------------
   22. Scroll reveal
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Profile photo used on the practitioner section. */
.profile-photo {
  display: block;
  width: 160px;
  height: 160px;
  margin-bottom: var(--sp-5);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--sh-md);
  border: 4px solid #9ec5fe;
}

@media (min-width: 768px) {
  .profile-photo {
    width: 200px;
    height: 200px;
  }
}

/* --------------------------------------------------------------------------
   23. Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 600px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: 78px;
  }

  .topbar {
    display: block;
  }

  .brand__mark {
    width: 50px;
    height: auto;
  }

  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: var(--sp-7);
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-7);
  }

  .split--reverse > :first-child {
    order: 2;
  }

  .stat-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--fixed-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__main {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: var(--sp-6);
  }

  .cta-band__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    text-align: left;
  }

  .cta-band p {
    margin-inline: 0;
  }

  .cta-band .btn-row {
    justify-content: flex-end;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-header {
    background: rgb(255 255 255 / 0.96);
    backdrop-filter: saturate(160%) blur(8px);
  }

  .grid--fixed-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-nav {
    position: static;
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: var(--sp-5);
    padding: 0;
    background: none;
    box-shadow: none;
    transform: none;
    visibility: visible;
    overflow: visible;
  }

  .site-nav__head,
  .site-nav__cta {
    display: none;
  }

  .site-nav__list {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    margin: 0;
  }

  .site-nav__list li {
    border: 0;
  }

  .site-nav__list a {
    position: relative;
    padding: var(--sp-2) 0;
    font-size: var(--fs-base);
  }

  .site-nav__list a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base) var(--ease);
    content: "";
  }

  .site-nav__list a:hover,
  .site-nav__list a:focus-visible {
    padding-left: 0;
  }

  .site-nav__list a:hover::after,
  .site-nav__list a:focus-visible::after,
  .site-nav__list a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .header-phone {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------------------
   24. Motion preferences and print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .whatsapp-float::before {
    animation: none;
  background-image: linear-gradient(rgb(255 255 255 / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.055) 1px, transparent 1px);
  }
}

@media print {
  .topbar,
  .site-header,
  .whatsapp-float,
  .nav-scrim,
  .cta-band,
  .site-footer__bottom {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 12pt;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
  }
}
