@charset "UTF-8";
/* ==========================================================================
   ד"ר אשרף אטמנה - מרפאת שיניים | Design System
   Brand: #0C8BB7 (cyan) · #324D7E (navy) · #CFEAF1 (sky) · Montserrat
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted, variable, subset) ---------- */
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/assistant-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ---------- 2. Tokens ---------- */
:root {
  /* brand */
  --cyan: #0c8bb7;
  --cyan-600: #0a7ba3;
  --cyan-700: #086786;
  --navy: #324d7e;
  --navy-700: #2a4169;
  --navy-900: #1d2f4f;
  --sky: #cfeaf1;
  --sky-200: #e6f4f8;
  --sky-100: #f2fafc;

  /* neutrals */
  --ink: #1e2a44;
  --body: #4a5875;          /* 7.1:1 on white  - AAA */
  --muted: #626f8c;         /* 5.0:1 on white  - AA at small sizes */
  --line: #e2eef4;
  --line-strong: #cfe0ea;
  --white: #fff;
  --surface: #f7fbfd;

  /* type */
  --font: 'Assistant', 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Montserrat', 'Assistant', system-ui, sans-serif;

  --fs-hero: clamp(2.05rem, 1.25rem + 3vw, 3.55rem);
  --fs-h1: clamp(1.95rem, 1.25rem + 2.5vw, 3.2rem);
  --fs-h2: clamp(1.7rem, 1.15rem + 1.9vw, 2.6rem);
  --fs-h3: clamp(1.16rem, 1rem + 0.6vw, 1.4rem);
  --fs-lead: clamp(1.03rem, 0.96rem + 0.42vw, 1.25rem);
  --fs-body: clamp(1rem, 0.97rem + 0.16vw, 1.075rem);
  --fs-sm: 0.925rem;
  --fs-xs: 0.82rem;

  /* layout */
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --gutter: clamp(1.15rem, 0.6rem + 2.4vw, 2.5rem);
  --section-y: clamp(4rem, 2.4rem + 6vw, 7.5rem);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  /* elevation */
  --sh-xs: 0 1px 2px rgba(30, 42, 68, .06);
  --sh-sm: 0 4px 14px -6px rgba(30, 47, 79, .13);
  --sh: 0 14px 34px -18px rgba(30, 47, 79, .26), 0 3px 10px -6px rgba(30, 47, 79, .1);
  --sh-lg: 0 30px 64px -28px rgba(30, 47, 79, .38), 0 8px 22px -14px rgba(30, 47, 79, .14);
  --sh-cyan: 0 16px 32px -14px rgba(12, 139, 183, .5);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 78px;
}

/* ---------- 3. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* component display rules must never win over [hidden] (e.g. the honeypot field) */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* clip (not hidden) - keeps position:sticky working while killing stray h-scroll */
html, body { overflow-x: clip; }

img, svg, video { display: block; max-width: 100%; height: auto; }
/* placeholder tint only on framed photos - never behind transparent cut-outs/marks */
.split__media img, .ba__frame img, .map img { background: var(--sky-100); }

/* force LTR runs (times, ranges, latin lockups) so bidi doesn't reverse them */
.ltr { direction: ltr; unicode-bidi: isolate; }

h1, h2, h3, h4, h5 {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { text-wrap: pretty; }

a { color: var(--cyan-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy); }
ul, ol { padding-inline-start: 1.15em; }
li::marker { color: var(--cyan); }

strong, b { font-weight: 700; color: var(--navy-700); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--sky); color: var(--navy-900); }

/* ---------- 4. Layout helpers ---------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - (var(--gutter) * 2), var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--surface); }
.section--sky {
  background: linear-gradient(180deg, var(--sky-100) 0%, var(--sky-200) 100%);
}
.center { text-align: center; }
.skip-link {
  position: absolute; inset-inline-start: 50%; top: -100px; z-index: 999;
  transform: translateX(50%);
  background: var(--navy); color: #fff; padding: .7rem 1.4rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 0; color: #fff; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 5. Section heading (brand watermark style) ---------- */
.head { position: relative; margin-bottom: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); }
.head--center { text-align: center; }
.head__ghost {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 1rem + 8.2vw, 7rem);
  line-height: .82;
  letter-spacing: .01em;
  color: var(--sky);
  opacity: .55;
  display: block;
  margin-bottom: -.42em;
  pointer-events: none;
  user-select: none;
  direction: ltr;
  white-space: nowrap;
}
.head--center .head__ghost { text-align: center; }
.head__eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .11em;
  color: var(--cyan-600); text-transform: uppercase;
  margin-bottom: .85rem;
}
.head__eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--sky));
}
.head__title { position: relative; }
.head__text { margin-top: 1.05rem; font-size: var(--fs-lead); color: var(--body); max-width: 62ch; }
.head--center .head__text { margin-inline: auto; }

/* ---------- 6. Buttons ---------- */
.btn {
  --btn-bg: var(--cyan-600);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92em 1.75em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit; font-weight: 700; font-size: var(--fs-sm);
  line-height: 1.2; text-align: center; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  box-shadow: var(--sh-cyan);
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 20px 38px -16px rgba(12, 139, 183, .62); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--navy { --btn-bg: var(--navy); box-shadow: 0 16px 32px -16px rgba(50, 77, 126, .6); }
.btn--navy:hover { box-shadow: 0 20px 38px -16px rgba(50, 77, 126, .7); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--navy);
  border-color: var(--line-strong); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan-700); background: var(--sky-100); box-shadow: var(--sh-sm); }
.btn--light {
  --btn-bg: #fff; --btn-fg: var(--navy); box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .5);
}
.btn--outline-light {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .45); box-shadow: none;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--sm { padding: .72em 1.3em; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.head--center + .btn-row, .btn-row--center { justify-content: center; }

.link-more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: var(--fs-sm); color: var(--cyan-600);
}
.link-more svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- 7. Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .88);
  font-size: var(--fs-xs);
  position: relative; z-index: 60;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar__list { display: flex; align-items: center; gap: 1.5rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--sky); }
.topbar svg { width: 15px; height: 15px; color: var(--sky); flex: none; }
.topbar__note { display: inline-flex; align-items: center; gap: .45rem; opacity: .85; }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- 8. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 8px 26px -18px rgba(30, 47, 79, .5); background: rgba(255, 255, 255, .97); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  min-height: var(--header-h);
}

/* the lockup is a latin brand asset - keep mark-left / wordmark-right as in the logo book */
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; direction: ltr; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: grid; gap: .18rem; direction: ltr; text-align: left; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: .97rem;
  letter-spacing: .015em; color: var(--navy); line-height: 1; white-space: nowrap;
}
.brand__tag {
  display: flex; align-items: center; gap: .38rem;
  font-family: var(--font-display); font-weight: 400; font-size: .53rem;
  letter-spacing: .088em; color: var(--navy); opacity: .82; line-height: 1; white-space: nowrap;
}
.brand__tag::before, .brand__tag::after {
  content: ''; height: 1px; width: 12px; background: currentColor; opacity: .75; flex: none;
}
.brand:hover .brand__name { color: var(--cyan); }
@media (max-width: 540px) {
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: .86rem; }
  .brand__tag { font-size: .48rem; letter-spacing: .075em; }
}
@media (max-width: 400px) {
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: .78rem; }
  .brand__tag { font-size: .43rem; letter-spacing: .06em; }
  .brand__tag::before, .brand__tag::after { width: 9px; }
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; padding: 0; margin: 0; }
.nav__link {
  display: block; padding: .6rem .78rem; border-radius: 10px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--navy);
  position: relative; transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { color: var(--cyan-600); background: var(--sky-100); }
.nav__link[aria-current="page"] { color: var(--cyan-700); }
.nav__link[aria-current="page"]::after {
  content: ''; position: absolute; inset-inline: .78rem; bottom: .22rem; height: 2.5px;
  border-radius: 2px; background: var(--cyan);
}
.header__cta { display: flex; align-items: center; gap: .5rem; flex: none; }
@media (max-width: 1060px) { .nav, .header__cta .btn--ghost { display: none; } }
/* below this the burger alone carries the header - the sticky action bar covers the CTAs */
@media (max-width: 560px) { .header__cta .btn { display: none; } }

.burger {
  display: none; width: 46px; height: 46px; padding: 0; flex: none;
  border: 1px solid var(--line-strong); border-radius: 13px;
  background: #fff; cursor: pointer; color: var(--navy);
  align-items: center; justify-content: center;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.burger:hover { border-color: var(--cyan); color: var(--cyan); }
.burger span { position: relative; display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), background-color .2s; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; inset-inline-start: 0; width: 20px; height: 2px;
  border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .2s var(--ease);
}
.burger span::before { top: -6.5px; }
.burger span::after { top: 6.5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1060px) { .burger { display: inline-flex; } }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(29, 47, 79, .45);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  /* visibility flips instantly on open (so focus lands), and only after the fade on close */
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
.drawer__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0;
  width: min(90vw, 380px); background: #fff;
  padding: 1.3rem var(--gutter) 2rem;
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(-100%);
  transition: transform .38s var(--ease);
  display: flex; flex-direction: column; gap: 1.1rem;
}
[dir="rtl"] .drawer__panel { transform: translateX(100%); }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer__close {
  width: 42px; height: 42px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; cursor: pointer; color: var(--navy);
}
.drawer__close:hover { border-color: var(--cyan); color: var(--cyan); }
.drawer__close svg { width: 20px; height: 20px; }
.drawer__nav { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.drawer__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .82rem .3rem; border-bottom: 1px solid var(--line);
  font-size: 1.06rem; font-weight: 700; color: var(--navy);
}
.drawer__nav a:hover, .drawer__nav a[aria-current="page"] { color: var(--cyan); }
.drawer__nav svg { width: 16px; height: 16px; opacity: .5; }
.drawer__contact { display: grid; gap: .55rem; margin-top: auto; padding-top: 1rem; }
.drawer__contact a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--navy); font-size: var(--fs-sm); }
.drawer__contact svg { width: 17px; height: 17px; color: var(--cyan); flex: none; }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 0%, #3f6ba8 0%, rgba(63, 107, 168, 0) 55%),
    radial-gradient(90% 80% at 8% 100%, #0e93c1 0%, rgba(14, 147, 193, 0) 58%),
    linear-gradient(155deg, #2a4169 0%, #324d7e 45%, #0c8bb7 130%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.4rem, 2rem + 5.5vw, 6.2rem) clamp(6rem, 3rem + 9vw, 10rem);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .3) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(80% 70% at 70% 20%, #000 0%, transparent 72%);
  opacity: .5;
}
.hero__wave {
  position: absolute; inset-inline: -2px; bottom: -1px; z-index: 3;
  height: clamp(58px, 8vw, 118px); width: calc(100% + 4px);
  pointer-events: none;
}
.hero__wave svg { width: 100%; height: 100%; display: block; }
.hero__inner {
  position: relative; z-index: 2;
  display: grid; gap: clamp(2.2rem, 1rem + 4vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 940px) { .hero__inner { grid-template-columns: 1.06fr .94fr; } }

.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem 1rem .45rem .7rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em;
  margin-bottom: 1.35rem;
  backdrop-filter: blur(6px);
}
.hero__badge svg { width: 16px; height: 16px; color: var(--sky); }
.hero h1 {
  font-size: var(--fs-hero); color: #fff; font-weight: 800;
  letter-spacing: -.025em; line-height: 1.08; margin-bottom: 1.1rem;
}
/* wraps cleanly at any width - the rule follows each line fragment */
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, #fff 55%, var(--sky) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-decoration: underline;
  text-decoration-color: rgba(207, 234, 241, .75);
  text-decoration-thickness: .06em;
  text-underline-offset: .2em;
}
.hero__lead {
  font-size: var(--fs-lead); color: rgba(255, 255, 255, .9);
  max-width: 54ch; margin-bottom: 1.9rem;
}
.hero .btn-row { margin-bottom: 2.4rem; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, .2rem + 1.4vw, 1.4rem);
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__stat b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.1rem); color: #fff; line-height: 1.1;
  letter-spacing: -.02em;
}
.hero__stat span { font-size: var(--fs-xs); color: rgba(255, 255, 255, .75); font-weight: 600; }

/* hero portrait (cut-out doctor on a brand backdrop) */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: flex-end; }
@media (min-width: 940px) { .hero__visual { align-self: stretch; margin-bottom: clamp(-6rem, -4vw, -2.5rem); } }

.portrait {
  position: relative; margin: 0;
  width: min(100%, 430px);
  display: flex; justify-content: center;
  isolation: isolate;
}
/* soft brand disc behind him */
.portrait::before {
  content: ''; position: absolute; z-index: -2;
  inset-inline: -20%; top: -2%; bottom: 2%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(207, 234, 241, .52) 0%, rgba(207, 234, 241, .22) 52%, rgba(207, 234, 241, 0) 76%);
}
/* brand dot-grid, echoing the logo book's stationery */
.portrait::after {
  content: ''; position: absolute; z-index: -1;
  inset-inline-end: -12%; bottom: 18%;
  width: 108px; height: 88px;
  background-image: radial-gradient(rgba(255, 255, 255, .55) 1.6px, transparent 1.6px);
  background-size: 15px 15px;
  -webkit-mask-image: linear-gradient(to bottom left, #000, transparent 75%);
  mask-image: linear-gradient(to bottom left, #000, transparent 75%);
}
.portrait__img {
  position: relative; z-index: 1; width: 100%; height: auto;
  filter: drop-shadow(0 34px 44px rgba(8, 24, 52, .45));
  /* dissolves the flat bottom edge of the cut-out at any viewport width */
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}

.portrait__name {
  position: absolute; z-index: 2; inset-inline-start: -9%; bottom: 9%;
  display: grid; gap: .12rem; text-align: start;
  padding: .7rem 1.05rem;
  border-radius: 14px;
  background: rgba(22, 43, 76, .58);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, .6);
}
.portrait__name b { color: #fff; font-size: .98rem; font-weight: 800; line-height: 1.2; }
.portrait__name span { color: rgba(255, 255, 255, .78); font-size: .68rem; font-weight: 600; }

.portrait__chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: .42rem;
  padding: .5rem .9rem; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, .95);
  color: var(--navy); font-size: var(--fs-xs); font-weight: 700;
  box-shadow: 0 16px 30px -16px rgba(8, 24, 52, .65);
}
.portrait__chip svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }
.portrait__chip b { font-family: var(--font-display); font-weight: 800; color: var(--cyan-700); }
.portrait__chip--a { inset-inline-end: -13%; top: 13%; }
.portrait__chip--b { inset-inline-start: -18%; top: 44%; }

@media (max-width: 939px) {
  .portrait { width: min(78%, 360px); margin-top: .5rem; }
  .portrait__chip--a { inset-inline-end: -10%; }
  .portrait__chip--b { inset-inline-start: -12%; }
  /* lift the portrait above the stat row so it stays near the top of the page */
  .hero__inner { display: flex; flex-direction: column; gap: 1.9rem; }
  .hero__copy { display: contents; }
  .hero__badge { order: 1; }
  .hero h1 { order: 2; }
  .hero__lead { order: 3; }
  .hero .btn-row { order: 4; margin-bottom: 0; }
  .hero__visual { order: 5; }
  .hero__stats { order: 6; padding-top: 1.4rem; }
}
@media (max-width: 620px) {
  .portrait { width: min(80%, 300px); }
  /* his face occupies 34%-64% of the portrait width and 3%-33% of its height.
     On narrow screens there isn't room to clear it sideways, so the chip drops to
     shoulder height and shifts further out - the face stays fully visible. */
  .portrait__chip { padding: .36rem .62rem; font-size: .68rem; gap: .3rem; }
  .portrait__chip svg { width: 13px; height: 13px; }
  .portrait__chip--a { inset-inline-end: -18%; top: 38%; }
  .portrait__chip--b { inset-inline-start: -16%; top: 52%; }
  .portrait__name { inset-inline-start: -8%; bottom: 8%; padding: .55rem .8rem; }
  .portrait__name b { font-size: .86rem; }
  .portrait__name span { font-size: .62rem; }
}
@media (max-width: 430px) {
  .portrait__chip { padding: .32rem .55rem; font-size: .64rem; }
  .portrait__chip svg { width: 12px; height: 12px; }
  .portrait__chip--a { inset-inline-end: -22%; top: 39%; }
}
@media (max-width: 380px) {
  .portrait__chip--b, .portrait__name span { display: none; }
}

/* ---------- 10. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(100% 130% at 88% -10%, #3f6ba8 0%, rgba(63, 107, 168, 0) 60%),
    linear-gradient(150deg, #2a4169 0%, #324d7e 55%, #0c8bb7 145%);
  color: #fff; overflow: hidden; isolation: isolate;
  padding-block: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem) clamp(4.5rem, 2.6rem + 7vw, 7.5rem);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .28) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 90% at 80% 0%, #000, transparent 70%);
  mask-image: radial-gradient(70% 90% at 80% 0%, #000, transparent 70%);
  opacity: .45;
}
.page-hero__wave { position: absolute; inset-inline: -2px; bottom: -1px; height: clamp(48px, 6.5vw, 96px); width: calc(100% + 4px); }
.page-hero__wave svg { width: 100%; height: 100%; display: block; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero__lead { margin-top: 1.05rem; font-size: var(--fs-lead); color: rgba(255, 255, 255, .88); max-width: 62ch; }
.page-hero__inner { position: relative; z-index: 2; }

.crumbs { margin-bottom: 1.1rem; font-size: var(--fs-xs); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.crumbs a { color: rgba(255, 255, 255, .78); font-weight: 600; }
.crumbs a:hover { color: #fff; }
.crumbs li:not(:last-child)::after { content: '‹'; margin-inline-start: .45rem; color: rgba(255, 255, 255, .45); }
.crumbs [aria-current] { color: var(--sky); font-weight: 700; }

/* ---------- 11. Cards & grids ---------- */
.grid { display: grid; gap: clamp(1rem, .5rem + 1.4vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 1.1rem + 1vw, 2rem);
  box-shadow: var(--sh-xs);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
  overflow: hidden; display: flex; flex-direction: column;
}
.card::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--navy));
  transform: scaleX(0); transform-origin: inline-start;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: var(--sky); }
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 58px; height: 58px; flex: none; display: grid; place-items: center;
  border-radius: 17px; margin-bottom: 1.15rem;
  background: linear-gradient(145deg, var(--sky-200), var(--sky));
  color: var(--cyan-700);
  transition: background .34s var(--ease), color .34s var(--ease), transform .34s var(--ease);
}
.card__icon svg { width: 30px; height: 30px; }
.card:hover .card__icon {
  background: linear-gradient(145deg, var(--cyan), var(--navy));
  color: #fff; transform: rotate(-4deg) scale(1.04);
}
.card h3 { margin-bottom: .55rem; }
.card p { font-size: var(--fs-sm); color: var(--body); }
.card__link { margin-top: auto; padding-top: 1.1rem; }

/* stretched link keeps whole card clickable and accessible */
.card--link .card__link a::after { content: ''; position: absolute; inset: 0; }

/* value / trust strip */
.values { display: grid; gap: clamp(1rem, .4rem + 2vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }
.value { display: flex; gap: .95rem; align-items: flex-start; }
.value__icon {
  width: 50px; height: 50px; flex: none; display: grid; place-items: center;
  border-radius: 15px; background: #fff; color: var(--cyan);
  border: 1px solid var(--line); box-shadow: var(--sh-xs);
}
.value__icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.06rem; margin-bottom: .2rem; }
.value p { font-size: var(--fs-sm); }

/* ---------- 12. Split (media + text) ---------- */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.2rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.1fr .9fr; }
}
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  object-fit: cover;
}
.split__media--portrait img { aspect-ratio: 4 / 5; }
.split__media::before {
  content: ''; position: absolute; inset-inline-end: -18px; bottom: -18px;
  width: 62%; height: 62%; border-radius: var(--r-xl); z-index: -1;
  background: linear-gradient(140deg, var(--sky), rgba(207, 234, 241, 0));
}
.split__media--framed::after {
  content: ''; position: absolute; inset-inline-start: -16px; top: -16px;
  width: 108px; height: 108px; border-radius: 22px; z-index: -1;
  border: 2px solid var(--sky);
}
.badge-float {
  position: absolute; inset-inline-start: clamp(-8px, -1vw, 0px); bottom: 22px;
  background: #fff; border-radius: var(--r); padding: .95rem 1.2rem;
  box-shadow: var(--sh); display: flex; align-items: center; gap: .8rem;
  border: 1px solid var(--line); max-width: 82%;
}
.badge-float svg { width: 30px; height: 30px; color: var(--cyan); flex: none; }
.badge-float b { display: block; font-size: 1.28rem; font-family: var(--font-display); color: var(--navy); line-height: 1.1; }
.badge-float span { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }

/* checklist */
.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .85rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); }
.checks li::before {
  content: ''; flex: none; width: 22px; height: 22px; margin-top: .22rem; border-radius: 50%;
  background: var(--sky-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C8BB7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checks--tight li { font-size: var(--fs-xs); }

/* ---------- 13. Process ---------- */
.steps { counter-reset: step; display: grid; gap: clamp(1rem, .5rem + 1.6vw, 1.8rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step { position: relative; padding-top: 1.2rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 2.9rem;
  line-height: 1; color: #a8d8e8; display: block; margin-bottom: .55rem;
  transition: color .3s var(--ease);
}
.step:hover::before { color: var(--cyan); }
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { font-size: var(--fs-sm); }
.step::after {
  content: ''; position: absolute; top: 1.2rem; inset-inline-end: -.9rem;
  width: 1px; height: 3.2rem; background: linear-gradient(180deg, var(--line-strong), transparent);
}
.steps > .step:last-child::after { display: none; }
@media (max-width: 719px) { .step::after { display: none; } }

/* ---------- 14. Before / After ---------- */
.ba-grid { display: grid; gap: clamp(1.1rem, .6rem + 1.6vw, 1.9rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
@media (min-width: 1000px) { .ba-grid { grid-template-columns: repeat(3, 1fr); } }
.ba {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--sky-100); box-shadow: var(--sh-sm); border: 1px solid var(--line);
  touch-action: pan-y;
}
.ba__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
[dir="rtl"] .ba__after { clip-path: inset(0 var(--pos, 50%) 0 0); }
.ba__handle {
  position: absolute; inset-block: 0; inset-inline-start: var(--pos, 50%);
  width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(30, 47, 79, .12);
  transform: translateX(50%); pointer-events: none;
}
[dir="rtl"] .ba__handle { transform: translateX(50%); }
.ba__knob {
  position: absolute; top: 50%; inset-inline-start: 50%; transform: translate(50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--cyan);
  display: grid; place-items: center; box-shadow: var(--sh);
}
.ba__knob svg { width: 22px; height: 22px; }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0; z-index: 3;
}
.ba__range:focus-visible ~ .ba__handle .ba__knob { outline: 3px solid var(--cyan); outline-offset: 3px; }
.ba__tag {
  position: absolute; top: .8rem; z-index: 2;
  padding: .3rem .8rem; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em;
  background: rgba(30, 47, 79, .72); color: #fff; backdrop-filter: blur(4px);
}
.ba__tag--before { inset-inline-start: .8rem; }
.ba__tag--after { inset-inline-end: .8rem; background: rgba(8, 103, 134, .9); }
.ba__caption { padding: .95rem 1.15rem; background: #fff; border-top: 1px solid var(--line); }
.ba__caption b { display: block; color: var(--navy); font-size: var(--fs-sm); }
.ba__caption span { font-size: var(--fs-xs); color: var(--muted); }

.note {
  margin-top: 1.8rem; padding: 1rem 1.25rem;
  background: var(--sky-100); border: 1px dashed var(--line-strong);
  border-radius: var(--r); font-size: var(--fs-xs); color: var(--muted);
  display: flex; gap: .7rem; align-items: flex-start;
}
.note svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: .18rem; }

/* ---------- 15. Accordion / FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item[open] { border-color: var(--sky); box-shadow: var(--sh-sm); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--navy); font-size: 1.02rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--cyan-600); }
.faq__q::after {
  content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C8BB7' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .3s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(135deg); }
.faq__a { padding: 0 1.35rem 1.3rem; font-size: var(--fs-sm); }
.faq__a > * + * { margin-top: .7rem; }

/* ---------- 16. Treatment groups (services page) ---------- */
/* anchor offset comes from html{scroll-padding-top} - don't stack a second offset here */
.tgroup { scroll-margin-top: 8px; }
.tgroup + .tgroup { margin-top: clamp(2.8rem, 1.6rem + 4vw, 5rem); }
.tgroup__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.tgroup__num {
  width: 54px; height: 54px; flex: none; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--cyan-600), var(--navy)); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  box-shadow: var(--sh-cyan);
}
.tgroup__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
.tgroup__title span { display: block; font-family: var(--font-display); font-size: .62rem; letter-spacing: .14em; color: var(--cyan-600); font-weight: 700; margin-bottom: .2rem; direction: ltr; }

.tlist { display: grid; gap: clamp(1rem, .5rem + 1.2vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.35rem, 1.1rem + .8vw, 1.75rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column; gap: .6rem;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--sky); }
.tcard__top { display: flex; align-items: center; gap: .75rem; }
.tcard__ico {
  width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--sky-200); color: var(--cyan-700);
}
.tcard__ico svg { width: 22px; height: 22px; }
.tcard h3 { font-size: 1.08rem; }
.tcard p { font-size: var(--fs-sm); }
.tcard--new .tcard__ico { background: linear-gradient(145deg, var(--cyan), var(--navy)); color: #fff; }
.pill-new {
  display: inline-block; margin-inline-start: .45rem; vertical-align: middle;
  padding: .12rem .5rem; border-radius: 999px; font-size: .68rem; font-weight: 800;
  background: var(--cyan-700); color: #fff; letter-spacing: .04em;
}

/* jump nav */
.jump { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: clamp(2rem, 1.2rem + 2vw, 3rem); }
.jump a {
  padding: .55rem 1.05rem; border-radius: 999px; border: 1px solid var(--line-strong);
  background: #fff; font-size: var(--fs-xs); font-weight: 700; color: var(--navy);
  transition: all .22s var(--ease);
}
.jump a:hover { border-color: var(--cyan-600); background: var(--cyan-600); color: #fff; box-shadow: var(--sh-cyan); }

/* ---------- 17. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy) 40%, var(--cyan) 130%);
  border-radius: var(--r-xl);
  padding: clamp(2.2rem, 1.4rem + 3vw, 3.6rem) clamp(1.5rem, .9rem + 3vw, 3.4rem);
  display: grid; gap: 1.7rem; align-items: center;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .3) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .35;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 65%);
  mask-image: linear-gradient(to left, #000, transparent 65%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.15rem); }
.cta-band p { color: rgba(255, 255, 255, .85); margin-top: .6rem; max-width: 52ch; font-size: var(--fs-sm); }

/* ---------- 18. Contact ---------- */
.contact-grid { display: grid; gap: clamp(1.4rem, .8rem + 2.4vw, 2.6rem); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.05fr .95fr; } }

.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); box-shadow: var(--sh-xs);
}
.info-card + .info-card { margin-top: 1.1rem; }
.info-card h3 { font-size: 1.12rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .55rem; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--cyan); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .95rem; }
.info-list li { display: flex; gap: .85rem; align-items: flex-start; font-size: var(--fs-sm); }
.info-list svg { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: .2rem; }
.info-list b { display: block; color: var(--navy); font-size: var(--fs-xs); font-weight: 700; margin-bottom: .05rem; }
.info-list a { color: var(--body); font-weight: 600; }
.info-list a:hover { color: var(--cyan); }

.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .58rem 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-sm); }
.hours li:last-child { border-bottom: 0; }
.hours b { color: var(--navy); font-weight: 700; }
.hours span {
  color: var(--body); font-variant-numeric: tabular-nums;
  direction: ltr; unicode-bidi: isolate;
}

/* form */
.form { display: grid; gap: 1.05rem; }
.form__row { display: grid; gap: 1.05rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-xs); font-weight: 700; color: var(--navy); }
.field label .req { color: var(--cyan-600); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: var(--fs-sm); color: var(--ink);
  padding: .82rem 1rem; border: 1.5px solid var(--line-strong); border-radius: 13px;
  background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #78859d; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--sky); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(12, 139, 183, .13);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #d9534f; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-xs); color: var(--muted); }
.consent input { width: 19px; height: 19px; flex: none; margin-top: .15rem; accent-color: var(--cyan); }
.form__status { font-size: var(--fs-sm); font-weight: 600; border-radius: 12px; padding: .8rem 1rem; }
.form__status[data-state="ok"] { background: #e8f7ef; color: #1c7a4b; }
.form__status[data-state="err"] { background: #fdecea; color: #b3271f; }
.form__status:empty { display: none; }

/* map facade */
.map {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-xs);
  aspect-ratio: 16 / 10; background: var(--sky-100);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__facade {
  position: absolute; inset: 0; display: grid; place-items: center; gap: .9rem;
  cursor: pointer; border: 0; width: 100%; font: inherit; text-align: center;
  background:
    radial-gradient(rgba(12, 139, 183, .2) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(150deg, var(--sky-200), #fff);
  color: var(--navy); padding: 1.5rem;
}
.map__facade b { font-size: 1.05rem; display: block; }
.map__facade span { font-size: var(--fs-xs); color: var(--muted); display: block; margin-top: .2rem; }
.map__pin { width: 46px; height: 46px; color: var(--cyan); }

/* ---------- 19. Footer ---------- */
.footer {
  position: relative;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy) 60%, #2c4c80 100%);
  color: rgba(255, 255, 255, .74); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  overflow: hidden; isolation: isolate;
}
.footer::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .3;
  -webkit-mask-image: radial-gradient(70% 80% at 15% 0%, #000, transparent 70%);
  mask-image: radial-gradient(70% 80% at 15% 0%, #000, transparent 70%);
}
.footer__grid { display: grid; gap: clamp(1.8rem, 1rem + 3vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }
.footer__brand { max-width: 34ch; }
.footer .brand__name, .footer .brand__tag { color: #fff; }
.footer__about { margin-top: 1.1rem; font-size: var(--fs-sm); color: rgba(255, 255, 255, .68); }
.footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 1.05rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .62rem; }
.footer a { color: rgba(255, 255, 255, .74); font-size: var(--fs-sm); }
.footer a:hover { color: var(--sky); }
.footer__contact li { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-sm); }
.footer__contact svg { width: 17px; height: 17px; color: var(--sky); flex: none; margin-top: .25rem; }
.footer__social { display: flex; gap: .55rem; margin-top: 1.35rem; }
.footer__social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.footer__social a:hover { background: var(--cyan); transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom {
  margin-top: clamp(2.2rem, 1.4rem + 2vw, 3.2rem); padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: var(--fs-xs);
}
.footer .footer__legal { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; list-style: none; padding: 0; margin: 0; }

/* ---------- 20. Mobile action bar ---------- */
.actionbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 45;
  display: none; gap: 1px; background: var(--line);
  box-shadow: 0 -8px 26px -18px rgba(30, 47, 79, .6);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .95rem .4rem; background: #fff; color: var(--navy);
  font-size: var(--fs-xs); font-weight: 700;
}
.actionbar a svg { width: 18px; height: 18px; }
.actionbar a.is-primary { background: var(--cyan-600); color: #fff; }
.actionbar a.is-wa { background: #25d366; color: #fff; }
@media (max-width: 760px) {
  .actionbar { display: flex; }
  body { padding-bottom: 60px; }
}

/* floating WhatsApp (desktop) */
.fab {
  position: fixed; inset-inline-end: 20px; bottom: 22px; z-index: 44;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6);
  transition: transform .25s var(--ease);
}
.fab:hover { transform: scale(1.07); color: #fff; }
.fab svg { width: 28px; height: 28px; }
@media (max-width: 760px) { .fab { display: none; } }

/* ---------- 21. Accessibility widget ---------- */
.a11y-toggle {
  position: fixed; inset-inline-start: 0; top: 50%; transform: translateY(-50%);
  z-index: 70; width: 46px; height: 46px; display: grid; place-items: center;
  border: 0; border-start-end-radius: 12px; border-end-end-radius: 12px;
  background: var(--navy); color: #fff; cursor: pointer;
  box-shadow: 0 8px 22px -10px rgba(30, 47, 79, .7);
  transition: background .25s var(--ease);
}
.a11y-toggle:hover { background: var(--cyan); }
.a11y-toggle svg { width: 26px; height: 26px; }
.a11y-panel {
  position: fixed; inset-inline-start: 0; top: 50%; transform: translate(-105%, -50%);
  z-index: 71; width: min(92vw, 310px);
  background: #fff;
  border-start-start-radius: 0; border-end-start-radius: 0;
  border-start-end-radius: var(--r); border-end-end-radius: var(--r);
  box-shadow: var(--sh-lg); border: 1px solid var(--line);
  padding: 1.15rem; visibility: hidden; opacity: 0;
  transition: transform .35s var(--ease), opacity .3s, visibility 0s linear .35s;
  max-height: 92vh; overflow-y: auto;
}
[dir="rtl"] .a11y-panel { transform: translate(105%, -50%); }
.a11y-panel.is-open {
  transform: translate(0, -50%); visibility: visible; opacity: 1;
  transition: transform .35s var(--ease), opacity .3s, visibility 0s;
}
.a11y-panel h2 { font-size: 1.02rem; margin-bottom: .9rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.a11y-panel h2 button { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 0; line-height: 0; }
.a11y-panel h2 svg { width: 19px; height: 19px; }
.a11y-opts { display: grid; gap: .45rem; }
.a11y-opt {
  display: flex; align-items: center; gap: .6rem; width: 100%; text-align: start;
  padding: .62rem .75rem; border-radius: 11px; border: 1px solid var(--line);
  background: #fff; font: inherit; font-size: var(--fs-xs); font-weight: 600; color: var(--navy);
  cursor: pointer; transition: all .2s var(--ease);
}
.a11y-opt:hover { border-color: var(--cyan); background: var(--sky-100); }
.a11y-opt[aria-pressed="true"] { background: var(--cyan-600); border-color: var(--cyan-600); color: #fff; }
.a11y-opt svg { width: 17px; height: 17px; flex: none; }
.a11y-reset { margin-top: .8rem; }
.a11y-panel footer { margin-top: .9rem; font-size: .72rem; color: var(--muted); line-height: 1.5; }

/* a11y modes */
html[data-a11y-font="1"] { font-size: 112.5%; }
html[data-a11y-font="2"] { font-size: 125%; }
html[data-a11y-font="3"] { font-size: 137.5%; }
html[data-a11y-contrast="1"] body,
html[data-a11y-contrast="1"] body *:not(svg):not(svg *) {
  background-color: #000 !important;
  background-image: none !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #fff;
  backdrop-filter: none !important;
}
html[data-a11y-contrast="1"] a:not(.btn):not(.fab) {
  color: #ffe700 !important; -webkit-text-fill-color: #ffe700;
  text-decoration: underline !important; text-underline-offset: 3px;
}
html[data-a11y-contrast="1"] .btn,
html[data-a11y-contrast="1"] .a11y-opt[aria-pressed="true"],
html[data-a11y-contrast="1"] .jump a:hover,
html[data-a11y-contrast="1"] [type="submit"] {
  background-color: #ffe700 !important; border-color: #ffe700 !important;
  color: #000 !important; -webkit-text-fill-color: #000;
}
html[data-a11y-contrast="1"] .fab { background-color: #ffe700 !important; color: #000 !important; }
html[data-a11y-contrast="1"] img { filter: grayscale(1) contrast(1.3); }
html[data-a11y-contrast="1"] .head__ghost,
html[data-a11y-contrast="1"] .step::before { color: #8f8f8f !important; -webkit-text-fill-color: #8f8f8f; }
html[data-a11y-contrast="1"] ::placeholder { color: #b9b9b9 !important; -webkit-text-fill-color: #b9b9b9; }
html[data-a11y-contrast="1"] input, html[data-a11y-contrast="1"] textarea, html[data-a11y-contrast="1"] select { border-width: 1.5px !important; }
html[data-a11y-links="1"] a:not(.btn) { text-decoration: underline !important; text-underline-offset: 3px; }
html[data-a11y-readable="1"] body,
html[data-a11y-readable="1"] h1, html[data-a11y-readable="1"] h2, html[data-a11y-readable="1"] h3 {
  font-family: Arial, 'Segoe UI', sans-serif !important; letter-spacing: .01em; word-spacing: .1em;
}
html[data-a11y-motion="1"] *, html[data-a11y-motion="1"] *::before, html[data-a11y-motion="1"] *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
html[data-a11y-motion="1"] .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- 22. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 23. Prose (legal pages) ---------- */
.prose { font-size: var(--fs-body); }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.65rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.12rem; margin-top: 1.8rem; }
.prose ul, .prose ol { display: grid; gap: .5rem; }
.prose li { padding-inline-start: .2rem; }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose .updated {
  display: inline-block; font-size: var(--fs-xs); color: var(--muted);
  background: var(--sky-100); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem;
}
.toc {
  background: var(--sky-100); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.25rem 1.45rem; margin-block: 1.8rem;
}
.toc h2 { font-size: 1rem !important; margin: 0 0 .7rem !important; }
.toc ol { margin: 0; display: grid; gap: .35rem; font-size: var(--fs-sm); }

/* ---------- 24. 404 ---------- */
.err { text-align: center; padding-block: clamp(4rem, 2rem + 8vw, 8rem); }
.err__code {
  font-family: var(--font-display); font-weight: 900; line-height: 1;
  font-size: clamp(5.5rem, 3rem + 16vw, 12rem);
  background: linear-gradient(160deg, var(--cyan), var(--navy));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 25. Print ---------- */
@media print {
  .header, .topbar, .footer, .actionbar, .fab, .a11y-toggle, .a11y-panel, .drawer, .hero__wave, .map { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .page-hero { background: none !important; color: #000; padding-block: 1rem; }
  .hero h1, .page-hero h1, .hero__lead, .page-hero__lead { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* ==========================================================================
   26. Treatment pages - a distinct visual component per topic
   ========================================================================== */

/* ---------- shared: lede, key facts, sources, related links ---------- */
.lede {
  font-size: var(--fs-lead); color: var(--navy-700); font-weight: 600;
  border-inline-start: 3px solid var(--cyan); padding-inline-start: 1.1rem;
  margin-bottom: 1.7rem;
}
.keyfacts {
  display: grid; gap: .1rem; margin: 1.9rem 0;
  background: var(--sky-100); border: 1px solid var(--line);
  border-radius: var(--r); padding: .5rem 1.3rem;
}
.keyfacts div {
  display: flex; flex-wrap: wrap; gap: .2rem 1rem; align-items: baseline;
  padding: .72rem 0; border-bottom: 1px dashed var(--line-strong);
}
.keyfacts div:last-child { border-bottom: 0; }
.keyfacts dt { flex: 0 0 clamp(8rem, 32%, 12rem); font-weight: 700; color: var(--navy); font-size: var(--fs-sm); }
.keyfacts dd { margin: 0; font-size: var(--fs-sm); color: var(--body); }

.sources {
  margin-top: 2.5rem; padding: 1.2rem 1.4rem;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
}
.sources h2 { font-size: 1rem !important; margin: 0 0 .65rem !important; }
.sources ul { margin: 0; padding-inline-start: 1.15em; display: grid; gap: .45rem; }
.sources li { font-size: var(--fs-xs); color: var(--muted); }
.sources a { font-weight: 600; }

.related { margin-top: 2.7rem; }
.related h2 { font-size: 1.12rem !important; margin-bottom: 1rem !important; }
.related__grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }
.related__grid a {
  display: flex; align-items: center; gap: .7rem;
  padding: .95rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; font-weight: 700; font-size: var(--fs-sm); color: var(--navy);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.related__grid a:hover { border-color: var(--cyan); box-shadow: var(--sh-sm); transform: translateY(-2px); color: var(--cyan-700); }
.related__grid svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }

/* ---------- A. checkup: visit flow ---------- */
.flow { counter-reset: fl; display: grid; gap: 1rem; margin: 2.1rem 0; }
@media (min-width: 820px) { .flow { grid-template-columns: repeat(5, 1fr); gap: .65rem; } }
.flow__step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.15rem 1.1rem 1.25rem;
}
.flow__step::before {
  counter-increment: fl; content: counter(fl);
  display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: .7rem;
  border-radius: 50%; background: linear-gradient(145deg, var(--cyan-600), var(--navy));
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .82rem;
}
.flow__step h3 { font-size: .98rem; margin-bottom: .3rem; }
.flow__step p { font-size: var(--fs-xs); line-height: 1.62; }
@media (min-width: 820px) {
  .flow__step:not(:last-child)::after {
    content: ''; position: absolute; top: 30px; inset-inline-end: -.65rem;
    width: .65rem; height: 1px; background: var(--line-strong);
  }
}

/* ---------- B. emergency: urgency triage ---------- */
.triage { display: grid; gap: .7rem; margin: 2.1rem 0; }
.triage__row {
  display: grid; gap: .5rem 1.1rem; align-items: start;
  grid-template-columns: 1fr; padding: 1.05rem 1.2rem;
  border: 1px solid var(--line); border-inline-start-width: 4px;
  border-radius: var(--r); background: #fff;
}
@media (min-width: 700px) { .triage__row { grid-template-columns: 9rem 1fr; } }
.triage__row--now { border-inline-start-color: #c9372c; }
.triage__row--soon { border-inline-start-color: #b4761a; }
.triage__row--plan { border-inline-start-color: var(--cyan); }
.triage__level {
  display: inline-flex; align-items: center; gap: .35rem; align-self: start;
  padding: .32rem .8rem; border-radius: 999px; white-space: nowrap;
  font-size: var(--fs-xs); font-weight: 800;
}
.triage__row--now .triage__level { background: #fbe9e7; color: #96271e; }
.triage__row--soon .triage__level { background: #fbf1e0; color: #7a4f0f; }
.triage__row--plan .triage__level { background: var(--sky-200); color: var(--cyan-700); }
.triage__what b { display: block; color: var(--navy); font-size: var(--fs-sm); margin-bottom: .18rem; }
.triage__what span { font-size: var(--fs-xs); color: var(--body); }

/* ---------- C. extractions: recovery timeline ---------- */
.tl { position: relative; margin: 2.1rem 0; padding: 0; list-style: none; }
.tl::before {
  content: ''; position: absolute; inset-block: .7rem; inset-inline-end: 5.15rem;
  width: 2px; background: linear-gradient(180deg, var(--cyan), var(--sky));
}
.tl__item { position: relative; display: grid; gap: .15rem 1.5rem; grid-template-columns: 4.6rem 1fr; padding-bottom: 1.55rem; }
.tl__item:last-child { padding-bottom: 0; }
.tl__when {
  grid-row: 1 / span 2; align-self: start; text-align: center;
  font-size: var(--fs-xs); font-weight: 800; color: var(--cyan-700);
  background: var(--sky-200); border-radius: 999px; padding: .38rem .2rem;
}
.tl__item::before {
  content: ''; position: absolute; inset-inline-end: 4.7rem; top: .6rem;
  width: 11px; height: 11px; border-radius: 50%; background: #fff;
  border: 2.5px solid var(--cyan); z-index: 1;
}
.tl__item h3 { font-size: 1rem; margin-bottom: .2rem; }
.tl__item p { font-size: var(--fs-sm); }

/* ---------- D. do / don't ---------- */
.dodont { display: grid; gap: 1rem; margin: 2.1rem 0; }
@media (min-width: 720px) { .dodont { grid-template-columns: 1fr 1fr; } }
.dodont section { border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.35rem; background: #fff; }
.dodont h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; margin-bottom: .8rem; }
.dodont h3 svg { width: 20px; height: 20px; }
.dodont--yes { border-top: 3px solid #2f7d55; }
.dodont--no { border-top: 3px solid #c9372c; }
.dodont--yes h3 svg { color: #2f7d55; }
.dodont--no h3 svg { color: #c9372c; }
.dodont ul { margin: 0; padding-inline-start: 1.15em; display: grid; gap: .5rem; }
.dodont li { font-size: var(--fs-sm); }
.dodont--no li::marker { color: #c9372c; }
.dodont--yes li::marker { color: #2f7d55; }

/* ---------- E. svg diagram figures ---------- */
.dia { margin: 2.1rem 0; }
.dia__grid { display: grid; gap: 1rem; }
.dia__grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); }
.dia__grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.dia__grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); }
.dia__cell {
  background: linear-gradient(180deg, #fff, var(--sky-100));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 1rem .9rem 1.15rem; text-align: center;
}
.dia__cell svg { width: 100%; height: auto; max-height: 175px; margin-bottom: .75rem; }
.dia__cell b { display: block; color: var(--navy); font-size: var(--fs-sm); }
.dia__cell span { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: .18rem; line-height: 1.5; }
.dia figcaption { margin-top: .95rem; font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.dia__cell--bad { border-color: #eec9c5; background: linear-gradient(180deg, #fff, #fdf4f3); }
.dia__cell--warn { border-color: #eddcbb; background: linear-gradient(180deg, #fff, #fdf8ef); }
.dia__cell--good { border-color: var(--sky); }

/* ---------- F. mini stats ---------- */
.minis { display: grid; gap: .9rem; margin: 2.1rem 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); }
.mini { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.15rem; }
.mini b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem; color: var(--cyan-700); line-height: 1.1; margin-bottom: .2rem;
}
.mini span { font-size: var(--fs-xs); color: var(--body); line-height: 1.55; }

/* high-contrast mode: keep the coloured accents readable */
html[data-a11y-contrast="1"] .triage__level,
html[data-a11y-contrast="1"] .tl__when,
html[data-a11y-contrast="1"] .mini b { color: #ffe700 !important; -webkit-text-fill-color: #ffe700; }
