/* ============================================================
   Recare Website — UI Kit Stylesheet
   Component-specific styles only. Foundations come from
   ../../colors_and_type.css
   ============================================================ */

/* Layout */
.page { min-height: 100vh; background: var(--bg-page); }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space-11) 0; }
.section--tight { padding: var(--space-9) 0; }
.section--soft { background: var(--bg-section-soft); }
.section--dark { background: var(--bg-hero); color: var(--fg-on-dark); }

/* ===== Navigation ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-hairline);
}
.nav__inner {
  display: flex; align-items: center; gap: 32px;
  height: 72px;
}
.nav__logo { color: var(--rc-navy-900); display: flex; align-items: center; }
.nav__logo svg { height: 38px; width: auto; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__link {
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: var(--fs-body-sm); font-weight: 500; color: var(--fg-default);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.nav__link:hover { background: var(--rc-ink-100); color: var(--rc-navy-900); }
.nav__link[aria-current="page"] { color: var(--rc-navy-900); font-weight: 600; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__lang {
  font-size: var(--fs-body-sm); font-weight: 600;
  color: var(--rc-navy-900);
  padding: 8px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--border-hairline);
  background: white; cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.nav__lang:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: var(--fs-body-sm);
  padding: 12px 22px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.btn--primary {
  background: var(--accent); color: var(--accent-on);
  box-shadow: var(--shadow-teal);
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--primary:active { background: var(--accent-pressed); transform: translateY(0); }
.btn--dark {
  background: var(--rc-navy-900); color: var(--fg-on-dark);
}
.btn--dark:hover { background: var(--rc-navy-800); }
.btn--ghost {
  background: transparent; color: var(--rc-navy-900);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--rc-navy-900); background: var(--rc-ink-50); }
.btn--ghost-light {
  background: transparent; color: var(--fg-on-dark);
  border-color: rgba(255,255,255,0.32);
}
.btn--ghost-light:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn--lg { padding: 16px 28px; font-size: var(--fs-body); }
.btn--sm { padding: 8px 14px; font-size: var(--fs-caption); }

/* ===== Badge / Chip ===== */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: var(--fs-caption); font-weight: 600;
  background: var(--rc-teal-100); color: var(--rc-teal-600);
}
.chip--dark { background: rgba(255,255,255,0.10); color: var(--rc-teal-300); border: 1px solid rgba(255,255,255,0.16); }
.chip--ink { background: var(--rc-ink-100); color: var(--rc-ink-700); }
.chip--success { background: var(--rc-success-bg); color: var(--rc-success); }
.chip--warning { background: var(--rc-warning-bg); color: var(--rc-warning); }

/* ===== Card ===== */
.card {
  background: var(--bg-surface); border-radius: var(--r-xl);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.card--hover:hover { box-shadow: var(--shadow-3); transform: translateY(-2px); }
.card--inset { padding: var(--space-6); }
.card--dark { background: var(--rc-navy-900); color: var(--fg-on-dark); border-color: rgba(255,255,255,0.08); }

/* ===== Input ===== */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: var(--fs-caption); font-weight: 600; color: var(--fg-default); }
.field__input, .field__select {
  font-family: inherit; font-size: var(--fs-body);
  padding: 12px 14px; border-radius: var(--r-md);
  background: white; color: var(--fg-strong);
  border: 1px solid var(--border-hairline);
  transition: all var(--dur-fast) var(--ease-out);
  width: 100%; box-sizing: border-box; min-width: 0;
}
.field__input:focus, .field__select:focus {
  outline: none; border-color: var(--border-focus);
  box-shadow: var(--ring-focus);
}
.field__hint { font-size: var(--fs-micro); color: var(--fg-subtle); }

/* ===== Hero ===== */
.hero {
  background: var(--bg-hero-grad);
  color: var(--fg-on-dark);
  border-radius: 0 0 var(--r-2xl) var(--r-2xl);
  position: relative; overflow: hidden;
}
.hero__bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 88% 14%, rgba(45,181,168,0.36), transparent 38%),
    radial-gradient(circle at 10% 92%, rgba(45,181,168,0.18), transparent 42%);
  pointer-events: none;
}
.hero__diamonds {
  position: absolute; opacity: 0.08;
  width: 100%; height: 100%; pointer-events: none;
}
.hero__inner { position: relative; padding: var(--space-11) 0 var(--space-12); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }
.hero__title { font-size: var(--fs-display-1); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; color: white; }
.hero__title em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--rc-teal-300); }
.hero__sub { font-size: var(--fs-body-lg); line-height: 1.55; color: rgba(255,255,255,0.78); margin-top: 24px; max-width: 540px; }
.hero__cta-row { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 36px; margin-top: 56px; flex-wrap: wrap; }
.hero__stat-num { font-size: 32px; font-weight: 700; color: white; line-height: 1; }
.hero__stat-lbl { font-size: var(--fs-caption); color: rgba(255,255,255,0.6); margin-top: 6px; }

/* Hero visual — illustrative composite */
.hero__visual { position: relative; height: 480px; }
.hero__visual-card {
  position: absolute; background: white; color: var(--fg-default);
  border-radius: var(--r-lg); padding: 16px;
  box-shadow: var(--shadow-4);
}

/* ===== Booking card (hero side) ===== */
.book-card {
  background: white; color: var(--fg-default);
  border-radius: var(--r-2xl); padding: 28px;
  box-shadow: var(--shadow-4);
  width: 100%; max-width: 420px;
}
.book-card__title { font-size: var(--fs-h3); color: var(--fg-strong); font-weight: 700; }
.book-card__sub { font-size: var(--fs-body-sm); color: var(--fg-muted); margin-top: 4px; }
.book-card__steps { display: flex; gap: 6px; margin-top: 18px; }
.book-card__step-dot {
  flex: 1; height: 4px; border-radius: 2px;
  background: var(--rc-ink-200);
}
.book-card__step-dot.is-active { background: var(--accent); }
.book-card__fields { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.book-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-card__row--3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Service cards ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { padding: 28px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; }
.svc__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--rc-teal-100); color: var(--accent-pressed);
  display: grid; place-items: center; flex-shrink: 0;
}
.svc__title { font-size: 20px; font-weight: 700; color: var(--fg-strong); }
.svc__desc { font-size: var(--fs-body-sm); color: var(--fg-muted); line-height: 1.55; }
.svc__link { font-size: var(--fs-caption); font-weight: 600; color: var(--accent); margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; }
.svc:hover .svc__link svg { transform: translateX(2px); }
.svc__link svg { transition: transform var(--dur-fast) var(--ease-out); }

/* ===== Doctor cards ===== */
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .doc-grid { grid-template-columns: 1fr; } }
.doc {
  background: white; border-radius: var(--r-xl);
  border: 1px solid var(--border-hairline);
  padding: 20px; transition: all var(--dur-base) var(--ease-out);
  display: flex; flex-direction: column; gap: 12px;
}
.doc:hover { border-color: var(--rc-teal-300); box-shadow: var(--shadow-3); }
.doc__avatar {
  width: 100%; aspect-ratio: 1; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--rc-teal-200), var(--rc-teal-100));
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  color: var(--rc-deep-teal);
}
.doc__avatar-fallback { font-size: 48px; font-weight: 700; letter-spacing: -0.02em; }
.doc__name { font-size: var(--fs-h4); font-weight: 700; color: var(--fg-strong); }
.doc__role { font-size: var(--fs-caption); color: var(--fg-muted); margin-top: 2px; }
.doc__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.doc__rating { display: flex; align-items: center; gap: 4px; font-size: var(--fs-caption); font-weight: 600; color: var(--fg-strong); }

/* ===== Stats strip ===== */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-hairline); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border-hairline); }
@media (max-width: 720px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-cell { background: white; padding: 24px 28px; }
.stat-cell__num { font-size: 36px; font-weight: 700; color: var(--rc-navy-900); letter-spacing: -0.02em; line-height: 1; }
.stat-cell__num small { font-size: 18px; color: var(--accent); margin-left: 2px; }
.stat-cell__lbl { font-size: var(--fs-caption); color: var(--fg-muted); margin-top: 8px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { position: relative; }
.step__num {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 56px; line-height: 1; color: var(--rc-teal-300);
  letter-spacing: -0.04em;
}
.step__title { font-size: var(--fs-h4); font-weight: 700; color: var(--fg-strong); margin-top: 12px; }
.step__desc { font-size: var(--fs-body-sm); color: var(--fg-muted); margin-top: 6px; line-height: 1.55; }

/* ===== Testimonial ===== */
.quote {
  background: white; border-radius: var(--r-2xl);
  padding: 40px; border: 1px solid var(--border-hairline);
  position: relative;
}
.quote__mark {
  font-family: var(--font-serif); font-size: 96px; line-height: 1;
  color: var(--rc-teal-300); position: absolute; top: 18px; left: 24px;
}
.quote__body { font-size: 22px; line-height: 1.5; color: var(--fg-strong); font-weight: 500; padding-left: 56px; letter-spacing: -0.01em; }
.quote__cite { margin-top: 24px; padding-left: 56px; display: flex; align-items: center; gap: 12px; }
.quote__cite-avatar { width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--rc-teal-200); display: grid; place-items: center; font-weight: 700; color: var(--rc-deep-teal); }

/* ===== Footer ===== */
.foot {
  background: var(--rc-navy-900); color: var(--fg-on-dark-muted);
  padding: var(--space-11) 0 var(--space-7);
  margin-top: var(--space-11);
}
.foot__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 48px; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
.foot__brand { color: white; }
.foot__brand svg { height: 40px; margin-bottom: 18px; }
.foot__about { font-size: var(--fs-body-sm); line-height: 1.6; max-width: 320px; }
.foot__col-title { color: white; font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.foot__col-list { display: flex; flex-direction: column; gap: 10px; }
.foot__col-list a { color: var(--fg-on-dark-muted); font-size: var(--fs-body-sm); }
.foot__col-list a:hover { color: white; }
.foot__bottom { margin-top: var(--space-9); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-caption); }
.foot__social { display: flex; gap: 10px; }
.foot__social-btn { width: 36px; height: 36px; border-radius: var(--r-pill); display: grid; place-items: center; background: rgba(255,255,255,0.08); color: white; transition: background var(--dur-fast); }
.foot__social-btn:hover { background: var(--accent); }

/* ===== Section header ===== */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto var(--space-9); }
.sec-head .rc-eyebrow { display: block; margin-bottom: 12px; }
.sec-head h2 { letter-spacing: -0.02em; }
.sec-head p { font-size: var(--fs-body-lg); color: var(--fg-muted); margin-top: 14px; line-height: 1.55; }

/* ===== Specialty pills (horizontal scroll) ===== */
.spec-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.spec-pill {
  padding: 10px 18px; border-radius: var(--r-pill);
  background: white; border: 1px solid var(--border-hairline);
  font-size: var(--fs-body-sm); font-weight: 500; color: var(--fg-default);
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.spec-pill:hover { border-color: var(--accent); color: var(--rc-navy-900); }
.spec-pill.is-active { background: var(--rc-navy-900); color: white; border-color: var(--rc-navy-900); }

/* ===== Insurance strip ===== */
.insure {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap; padding: 28px 36px;
  border: 1px dashed var(--border-strong); border-radius: var(--r-xl);
  background: white;
}
.insure__label { font-size: var(--fs-caption); color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.insure__logos { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; }
.insure__logo {
  font-family: var(--font-serif); font-size: 22px; color: var(--rc-ink-400);
  font-weight: 500; letter-spacing: 0.02em;
}

/* ===== Subtle utility ===== */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }

/* ============================================================
   RTL — Arabic mode overrides.
   Triggered by [dir="rtl"] on <html>.
   ============================================================ */

/* Flip directional icons (arrow, arrowLeft, chevRight) so they
   read in the right direction visually in RTL. Symmetric icons
   (check, star, calendar, etc.) are unchanged. */
[dir="rtl"] svg[data-rtl-flip="true"] { transform: scaleX(-1); }

/* Arabic display: the Latin italic Fraunces editorial accent is
   replaced with IBM Plex Sans Arabic in a medium weight — Arabic
   doesn't use italic, so we keep the accent color/weight contrast. */
[dir="rtl"] .hero__title em,
[dir="rtl"] .rc-serif-mark {
  font-family: var(--font-sans-ar);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
}

/* Quote — physical-left positioning needs flipping in RTL.
   The mark sits in the visual leading corner, body & cite pad to it. */
[dir="rtl"] .quote__mark { left: auto; right: 24px; }
[dir="rtl"] .quote__body,
[dir="rtl"] .quote__cite { padding-left: 0; padding-right: 56px; }

/* Step numerals — they're Latin digits ("01", "02"); keep them
   left-edge-anchored visually in either direction. The default
   text-align inherits from container, which becomes right in RTL —
   so explicitly anchor them. */
[dir="rtl"] .step__num { direction: ltr; text-align: right; }

/* Hero stat numbers — same treatment. Latin digits like "120+"
   should keep ascending order in RTL. */
[dir="rtl"] .hero__stat-num,
[dir="rtl"] .stat-cell__num { direction: ltr; text-align: right; }

/* Insurance + footer logos rendered in Fraunces serif — these are
   brand wordmarks (BUPA, Tawuniya, AXA), keep them Latin in both. */
[dir="rtl"] .insure__logo { direction: ltr; }

/* Footer phone/email — keep Latin. */
[dir="rtl"] .foot__bottom { direction: rtl; }
[dir="rtl"] .foot__bottom a { direction: ltr; unicode-bidi: isolate; }

/* Arabic line-height is slightly looser per the brand README.
   Apply to long-form body copy where the difference is felt. */
[dir="rtl"] .hero__sub,
[dir="rtl"] .rc-lead,
[dir="rtl"] .quote__body,
[dir="rtl"] .foot__about,
[dir="rtl"] .svc__desc,
[dir="rtl"] .step__desc { line-height: 1.7; }

/* ============================================================
   Responsive layout — classes that replace previously inline
   grids so media queries can override them at each breakpoint.
   ============================================================ */

.stats-wrap { margin-top: -60px; position: relative; z-index: 2; }

.row-quote-coverage {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.coverage-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
}

.row-centers {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.centers__photo {
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-4);
  aspect-ratio: 16/9;
}
.centers__photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.centers__list {
  display: flex; flex-direction: column;
  gap: 12px; margin-top: 28px;
}
.centers__item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-lg);
}

.tele-cta {
  padding: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  border-radius: var(--r-2xl);
}
.tele-cta__buttons {
  display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap;
}
.tele-cta__visual {
  background: linear-gradient(135deg, var(--rc-deep-teal), var(--rc-teal-500));
  border-radius: var(--r-xl);
  padding: 24px;
  height: 100%;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

/* Mobile menu burger — hidden by default, surfaced under 900 */
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border-hairline);
  background: white;
  border-radius: var(--r-pill);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav__burger span {
  position: absolute; left: 10px; right: 10px;
  height: 2px; background: var(--rc-navy-900);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out), top var(--dur-base) var(--ease-out);
}
.nav__burger span:nth-child(1) { top: 13px; }
.nav__burger span:nth-child(2) { top: 19px; }
.nav__burger span:nth-child(3) { top: 25px; }
.nav__burger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ============================================================
   Breakpoints
   ============================================================ */

/* ---------- ≤1100px (large tablets / small laptops) ---------- */
@media (max-width: 1100px) {
  .container { padding: 0 20px; }
  .row-quote-coverage { gap: 24px; }
  .row-centers { gap: 36px; }
  .tele-cta { padding: 40px; gap: 28px; }
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
}

/* ---------- ≤900px (tablets) ---------- */
@media (max-width: 900px) {
  .section { padding: var(--space-9) 0; }
  .section--tight { padding: var(--space-8) 0; }

  /* Stacked two-col layouts */
  .row-quote-coverage,
  .row-centers,
  .tele-cta { grid-template-columns: 1fr; gap: 28px; }
  .tele-cta { padding: 36px; }
  .tele-cta__visual { min-height: 240px; }

  /* Nav — surface burger, slide links into a dropdown panel */
  .nav__inner { gap: 12px; height: 64px; }
  .nav__burger { display: inline-grid; place-items: center; }
  .nav__links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 4px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border-hairline);
    padding: 12px 16px 16px;
    margin: 0;
    box-shadow: var(--shadow-2);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
  }
  .nav__links.is-open {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s;
  }
  .nav__link { padding: 12px 14px; border-radius: var(--r-md); }

  /* Hero — tighter padding, full-width booking card */
  .hero__inner { padding: var(--space-9) 0 var(--space-10); }
  .hero__grid { gap: 36px; }
  .hero__sub { font-size: 17px; margin-top: 18px; max-width: none; }
  .hero__cta-row { margin-top: 24px; }
  .hero__stats { gap: 28px; margin-top: 36px; }
  .hero__stat-num { font-size: 28px; }
  .book-card { max-width: 100%; padding: 24px; }
  .hero__grid > div:last-child { justify-content: stretch; }

  /* Stats overlap less */
  .stats-wrap { margin-top: -36px; }

  /* Cards & sections */
  .quote { padding: 32px 24px 28px; }
  .quote__mark { font-size: 80px; top: 8px; left: 18px; }
  .quote__body, .quote__cite { padding-left: 0; }
  .quote__body { font-size: 18px; padding-top: 40px; }
  [dir="rtl"] .quote__body,
  [dir="rtl"] .quote__cite { padding-right: 0; }
  [dir="rtl"] .quote__mark { right: 18px; left: auto; }
  .coverage-card { padding: 28px; }

  .insure { padding: 22px 26px; gap: 18px; }
  .insure__logos { gap: 24px; }
  .insure__logo { font-size: 20px; }

  /* Footer */
  .foot { padding: var(--space-9) 0 var(--space-6); margin-top: var(--space-9); }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

  /* Section heads breathe less */
  .sec-head { margin-bottom: var(--space-7); }
}

/* ---------- ≤720px (large phones / small tablets portrait) ---------- */
@media (max-width: 720px) {
  .container { padding: 0 16px; }

  .nav__inner { height: 60px; gap: 8px; }
  .nav__logo svg { height: 30px; }
  .nav__links { top: 60px; }

  /* Hero typography tightens */
  .hero__inner { padding: var(--space-8) 0 var(--space-9); }
  .hero__cta-row { gap: 8px; }
  .hero__cta-row .btn { flex: 1 1 auto; }
  .hero__stats { gap: 22px; margin-top: 28px; }
  .hero__stat-num { font-size: 24px; }

  /* Service / doctor cards — denser */
  .svc { padding: 22px; }
  .doc { padding: 16px; }

  /* Steps to single column for clearer narrative */
  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .step__num { font-size: 48px; }

  /* Stats cells */
  .stat-cell { padding: 18px 20px; }
  .stat-cell__num { font-size: 28px; }
  .stat-cell__num small { font-size: 15px; }

  /* Telehealth band */
  .tele-cta { padding: 28px; }
  .tele-cta__visual { min-height: 200px; padding: 18px; }

  /* Insurance flexes vertical */
  .insure { flex-direction: column; align-items: flex-start; padding: 20px 22px; }
  .insure__logos { gap: 18px; }

  /* Centers list item */
  .centers__item { padding: 12px 14px; }

  /* Booking step time slots — 3 cols fit better */
  .book-card__row--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- ≤600px (phones portrait) ---------- */
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .foot__about { max-width: none; }
  .stats-wrap { margin-top: -24px; }
}

/* ---------- ≤480px (small phones) ---------- */
@media (max-width: 480px) {
  .container { padding: 0 14px; }

  .nav__inner { height: 56px; }
  .nav__links { top: 56px; }
  .nav__lang { padding: 6px 10px; font-size: 12px; }

  /* Stats strip stacks to single col on tiny screens */
  .stats-strip { grid-template-columns: 1fr; }

  /* Booking card */
  .book-card { padding: 18px; border-radius: var(--r-xl); }
  .book-card__row { grid-template-columns: 1fr; }
  .book-card__title { font-size: 19px; }

  /* Buttons */
  .btn--lg { padding: 14px 20px; font-size: 14px; }
  .btn { padding: 11px 18px; }
  .hero__cta-row .btn { width: 100%; }

  /* Quote */
  .quote { padding: 28px 20px 24px; }
  .quote__body { font-size: 17px; }
  .quote__mark { font-size: 64px; }

  /* Tele card text shrinks */
  .tele-cta { padding: 22px; }
  .tele-cta__buttons { width: 100%; }
  .tele-cta__buttons .btn { flex: 1 1 100%; }
  .tele-cta__visual { min-height: 180px; padding: 14px; }

  /* Doctor cards already 1 col at 600 — tighten gaps */
  .doc-grid { gap: 14px; }
  .svc-grid { gap: 14px; }
}
