﻿@import url("./tokens.css");

/* Hallmark · macrostructure: Trust Route · tone: warm clinical · anchor hue: olive green */
/* ============================================================
   Центр Здоровья — Main Stylesheet
   Based on Design System tokens (colors, typography, spacing, effects)
   ============================================================ */

/* ---- Design System Tokens ---- */
:root {
  /* Colors — DS palette */
  --green-50:  #f2f6ea;
  --green-100: #e3edd2;
  --green-200: #cadfae;
  --green-300: #a9cb7e;
  --green-400: #84b252;
  --green-500: #6a9a35;
  --green-600: #5e8c2e;
  --green-700: #4f7726;
  --green-800: #3d5d1e;
  --green-900: #2c4516;

  --yellow-300: #fff06b;
  --yellow-400: #fde221;
  --yellow-500: #f3d000;
  --yellow-600: #d9b800;

  --red-400: #f24e38;
  --red-500: #ee3822;
  --red-600: #d62c18;
  --red-700: #b62212;

  --white:    #ffffff;
  --cream:    #f7f8f3;
  --sand:     #f0ede7;
  --line:     #e4e6dd;
  --line-strong: #d2d5c8;
  --ink-900:  #14140f;
  --ink-700:  #2e2e28;
  --ink-500:  #5a5a52;
  --ink-400:  #8a8a80;
  --ink-300:  #b6b6ac;

  /* Semantic */
  --brand:            var(--green-600);
  --brand-deep:       var(--green-700);
  --bg-page:          var(--white);
  --bg-tint:          var(--cream);
  --bg-fill:          var(--green-600);
  --bg-photo:         var(--sand);
  --surface-card:     var(--white);
  --text-display:     var(--ink-900);
  --text-body:        var(--ink-500);
  --text-strong:      var(--ink-700);
  --text-muted:       var(--ink-400);
  --text-on-green:    #ffffff;
  --text-link:        var(--green-700);
  --border-subtle:    var(--line);
  --border-strong:    var(--line-strong);
  --cta-primary:      var(--red-500);
  --cta-primary-hover:var(--red-600);
  --cta-accent:       var(--yellow-400);
  --cta-accent-hover: var(--yellow-500);
  --focus-ring:       color-mix(in srgb, var(--green-600) 45%, transparent);

  /* Typography */
  --font-display: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;
  --fw-extra:   800;
  --fw-black:   900;
  --fs-display:  72px;
  --fs-h1:       56px;
  --fs-h2:       40px;
  --fs-h3:       28px;
  --fs-h4:       22px;
  --fs-lead:     20px;
  --fs-body:     17px;
  --fs-sm:       15px;
  --fs-xs:       13px;
  --lh-tight:   1.04;
  --lh-snug:    1.15;
  --lh-normal:  1.5;
  --lh-relaxed: 1.6;
  --ls-tight:  -0.02em;
  --ls-normal:  0;
  --ls-caps:    0.06em;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  28px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --container-max: 1280px;
  --container-pad: clamp(20px, 3vw, 32px);
  --section-y: var(--space-24);
  --gutter: var(--space-6);

  /* Effects */
  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-2xl: 44px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(40, 50, 25, 0.06);
  --shadow-sm: 0 2px 8px rgba(40, 50, 25, 0.08);
  --shadow-md: 0 8px 24px rgba(40, 50, 25, 0.10);
  --shadow-lg: 0 16px 40px rgba(40, 50, 25, 0.12);
  --shadow-card: 0 10px 30px rgba(46, 60, 28, 0.10);
  --shadow-focus: 0 0 0 4px var(--focus-ring);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 120ms;
  --dur: 200ms;
  --dur-slow: 320ms;

  /* Legacy compat aliases */
  --color-primary: var(--green-600);
  --color-primary-dark: var(--green-700);
  --color-primary-light: var(--green-50);
  --color-secondary: var(--green-600);
  --color-accent: var(--yellow-400);
  --color-text: var(--ink-900);
  --color-text-muted: var(--ink-400);
  --color-text-light: var(--ink-300);
  --color-bg: var(--white);
  --color-bg-gray: var(--cream);
  --color-border: var(--line);
  --color-success: #16a34a;
  --color-error: var(--red-500);
  --border-radius: var(--radius-sm);
  --border-radius-lg: var(--radius-lg);
  --border-radius-xl: var(--radius-xl);
  --container-width: var(--container-max);
  --container-padding: var(--container-pad);
  --header-height: 78px;
  --transition: var(--dur) var(--ease-soft);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: var(--lh-relaxed);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Sections */
.section { padding: var(--section-y) 0; }
.section-sm { padding: var(--space-12) 0; }
.section--gray { background: var(--bg-tint); }
.section--green { background: var(--green-600); color: var(--text-on-green); }

.section-header { text-align: center; margin-bottom: var(--space-12); }
.section-label {
  display: inline-block;
  background: var(--green-50);
  color: var(--brand-deep);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-5);
}
.section-label--white { background: rgba(255,255,255,0.2); color: white; }
.section-title {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(28px, 4vw, var(--fs-h2));
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--text-display);
}
.section-title--white { color: white; }
.section-desc {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  margin-top: var(--space-5);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-footer { display: flex; gap: var(--space-5); justify-content: center; margin-top: var(--space-10); flex-wrap: wrap; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  line-height: 1;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn:focus-visible,
.header__menu-link:focus-visible,
.mobile-menu__link:focus-visible,
.ds-prices-tab:focus-visible,
.ds-faq-item__question:focus-visible,
.ds-input:focus-visible {
  outline: 3px solid var(--brand-deep);
  outline-offset: 3px;
}
.btn-sm { padding: 8px 18px; font-size: var(--fs-xs); }
.btn-lg { padding: 16px 36px; font-size: var(--fs-body); }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--cta-primary);
  color: white;
  border-color: transparent;
}
.btn-primary:hover {
  background: var(--cta-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(238, 56, 34, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: white; }

.btn-white {
  background: white;
  color: var(--brand);
}
.btn-white:hover { background: var(--green-50); }

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: rgba(94, 140, 46, 0.3);
}
.btn-ghost:hover { border-color: var(--brand); background: var(--green-50); }

.btn-accent {
  background: var(--cta-accent);
  color: var(--ink-900);
}
.btn-accent:hover { background: var(--cta-accent-hover); }

.btn-green {
  background: var(--brand);
  color: white;
}
.btn-green:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(94, 140, 46, 0.3); }

.mt-16 { margin-top: 16px; }

/* ========================================
   HEADER
   ======================================== */
/* ---- HEADER ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease-soft);
}
.header--scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 72px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.header__logo-img {
  height: 52px;
  width: auto;
  display: block;
}

/* Nav pills */
.header__nav { flex: 1; min-width: 0; }
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.header__nav-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-display);
  white-space: nowrap;
  transition: border-color var(--dur) var(--ease-soft),
              color var(--dur) var(--ease-soft),
              background var(--dur) var(--ease-soft);
}
.header__nav-link:hover,
.header__nav-link.active {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--green-50);
}

.header-search {
  position: relative;
  width: 124px;
  min-width: 124px;
  height: 38px;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
  flex-shrink: 0;
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 0 0 12px;
  background: transparent;
  color: var(--text-display);
  font: inherit;
  font-size: 13px;
}

.header-search input::placeholder {
  color: var(--text-muted);
}

.header-search button {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--text-display);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
}

.header-search button:hover {
  color: var(--brand);
  background: var(--green-50);
}

/* CTA button */
.header__cta {
  flex-shrink: 0;
  padding: 10px 18px;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur) var(--ease-soft), transform var(--dur) var(--ease-soft);
}
.header__cta:hover { background: var(--brand-deep); transform: translateY(-1px); }

/* Contacts block */
.header__contacts {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}
.header__address {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.header__phone {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 18px;
  color: var(--text-display);
  white-space: nowrap;
  line-height: 1.2;
  transition: color var(--dur) var(--ease-soft);
}
.header__phone:hover { color: var(--brand); }

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-700);
  border-radius: 2px;
  transition: transform var(--transition);
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 320px;
  max-width: calc(100vw - 24px);
  height: 100vh;
  background: white;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 300ms var(--ease-out);
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.mobile-menu__overlay.is-open { opacity: 1; visibility: visible; }
.mobile-menu__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__logo-img { height: 44px; width: auto; }
.mobile-menu__close {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
}
.mobile-menu__close:hover { background: var(--cream); }
.mobile-menu__nav { padding: var(--space-4); }
.mobile-menu__list { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; }
.mobile-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: var(--space-4);
}
.mobile-search input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
  color: var(--text-display);
  font: inherit;
}
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--brand);
  color: var(--white);
  font-weight: var(--fw-bold);
}
.mobile-menu__link {
  display: block;
  padding: 14px 16px;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  border-radius: var(--radius-md);
  color: var(--ink-700);
  border-bottom: 1px solid var(--line);
}
.mobile-menu__link:hover { color: var(--brand); background: var(--green-50); }
.mobile-menu__contacts {
  padding: var(--space-4);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--space-5);
}
.mobile-menu__phone {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 20px; color: var(--text-display);
}

/* ---- Responsive header ---- */
@media (max-width: 1380px) {
  .header__contacts { display: none; }
}

@media (max-width: 1180px) {
  .header__nav-link {
    padding-inline: 10px;
    font-size: 13px;
  }
  .header-search {
    width: 132px;
    min-width: 132px;
  }
  .header-search input {
    position: static;
    width: 100%;
    opacity: 1;
    pointer-events: auto;
  }
  .header-search button {
    width: 38px;
  }
}
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header-search { display: none; }
  .header__burger { display: flex; }
  .header__cta { padding: 9px 18px; font-size: 13px; }
}
@media (max-width: 480px) {
  .header__cta { display: none; }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--sand);
  color: var(--ink-900);
  overflow: hidden;
  padding: var(--space-20) 0 var(--space-16);
}
.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
.hero__inner { position: relative; z-index: 1; max-width: 700px; }
.hero__badge {
  display: inline-block;
  background: var(--green-100);
  color: var(--brand-deep);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-6);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(32px, 5vw, var(--fs-h1));
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-display);
  margin-bottom: var(--space-5);
}
.hero__subtitle {
  font-size: var(--fs-lead);
  font-weight: var(--fw-regular);
  color: var(--text-body);
  margin-bottom: var(--space-6);
  line-height: var(--lh-normal);
}
.hero__offer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: white;
  border: 1px solid var(--line);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  box-shadow: var(--shadow-sm);
}
.hero__offer-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--green-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.hero__actions { display: flex; gap: var(--space-5); flex-wrap: wrap; margin-bottom: var(--space-12); }
.hero__stats { display: flex; gap: var(--space-10); flex-wrap: wrap; }
.hero__stat { text-align: center; }
.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: var(--fw-black);
  color: var(--text-display);
}
.hero__stat-label { font-size: var(--fs-xs); color: var(--text-muted); }

/* ========================================
   PROMOTIONS BAR
   ======================================== */
.promotions-bar { background: var(--green-50); }
.promotions-bar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-5); }
.promo-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.promo-card__img { height: 160px; overflow: hidden; }
.promo-card__img img { width: 100%; height: 100%; object-fit: cover; }
.promo-card__body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; gap: var(--space-4); }
.promo-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);
  color: var(--text-display);
}
.promo-card__desc { font-size: var(--fs-xs); color: var(--text-muted); flex: 1; }
.promo-card__prices { display: flex; align-items: baseline; gap: 10px; }
.price-old { text-decoration: line-through; color: var(--text-muted); font-size: var(--fs-sm); }
.price-new {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: var(--fw-black);
  color: var(--brand);
}
.price-green { color: var(--color-success); font-weight: var(--fw-bold); }
.price-old-sm { text-decoration: line-through; color: var(--text-muted); font-size: var(--fs-xs); margin-right: 4px; }

/* ========================================
   ADVANTAGES
   ======================================== */
.advantages__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.advantage-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--line);
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.advantage-card__icon {
  width: 80px;
  height: 80px;
  background: var(--green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--brand);
}
.advantage-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
  color: var(--text-display);
}
.advantage-card p { font-size: var(--fs-xs); color: var(--text-muted); }

/* ========================================
   SERVICES
   ======================================== */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.service-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: var(--green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  overflow: hidden;
}
.service-card__icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.service-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-display);
}
.service-card__desc { font-size: var(--fs-xs); color: var(--text-muted); flex: 1; }
.service-card__link {
  font-size: var(--fs-xs);
  color: var(--brand-deep);
  font-weight: var(--fw-semibold);
  margin-top: auto;
}

/* ========================================
   IMPLANT SECTION
   ======================================== */
.implant-section__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.implant-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin: var(--space-8) 0; }
.implant-feature {
  background: var(--green-50);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
}
.implant-feature__num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: var(--fw-black);
  color: var(--brand);
  display: block;
}
.implant-feature__label { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 4px; }
.implant-section__list { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-8); }
.implant-section__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
}
.implant-section__list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}
.implant-section__actions { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.implant-section__image { display: flex; justify-content: center; }
.implant-section__img-placeholder {
  width: 400px;
  height: 400px;
  background: var(--green-50);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  gap: var(--space-5);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
}

/* ========================================
   ORTHODONTICS SECTION
   ======================================== */
.ortho-section__inner { max-width: 800px; }
.ortho-section__lead { font-size: var(--fs-lead); margin: var(--space-5) 0 var(--space-8); opacity: 0.9; }
.ortho-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-bottom: var(--space-8); }
.ortho-option {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.ortho-option h4 {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
}
.ortho-option p { font-size: var(--fs-xs); opacity: 0.85; margin-bottom: var(--space-4); }
.ortho-option__price {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-black);
}

/* ========================================
   PEDIATRIC SECTION
   ======================================== */
.pediatric-section__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.pediatric-section__img-placeholder {
  width: 100%;
  max-width: 400px;
  height: 400px;
  background: var(--green-50);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  gap: var(--space-5);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
}
.pediatric-features { display: flex; flex-direction: column; gap: var(--space-6); margin: var(--space-6) 0; }
.pediatric-feature { display: flex; align-items: flex-start; gap: var(--space-5); }
.pediatric-feature__icon { font-size: 32px; flex-shrink: 0; }
.pediatric-feature h4 {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: 4px;
  color: var(--text-display);
}
.pediatric-feature p { font-size: var(--fs-xs); color: var(--text-muted); }
.pediatric-section__actions { display: flex; gap: var(--space-5); flex-wrap: wrap; }

/* ========================================
   DOCTORS
   ======================================== */
.doctors__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); }
.doctor-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--line);
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doctor-card__photo {
  height: 200px;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doctor-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doctor-card__photo-placeholder { color: var(--green-100); }
.doctor-card__info { padding: var(--space-5); }
.doctor-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  margin-bottom: 6px;
  line-height: 1.3;
  color: var(--text-display);
}
.doctor-card__position { font-size: 12px; color: var(--brand); font-weight: var(--fw-semibold); margin-bottom: 4px; }
.doctor-card__spec { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.doctor-card__exp { font-size: 12px; color: var(--ink-300); }

/* ========================================
   PRICES PREVIEW
   ======================================== */
.prices-preview__tabs { display: flex; gap: var(--space-2); justify-content: center; margin-bottom: var(--space-8); flex-wrap: wrap; }
.prices-tab {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  background: var(--cream);
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
  border: 2px solid transparent;
}
.prices-tab:hover { background: var(--green-50); color: var(--brand-deep); }
.prices-tab.active { background: var(--brand); color: white; }
.prices-table { display: none; }
.prices-table.active { display: block; }
.prices-table table { width: 100%; border-collapse: collapse; }
.prices-table th, .prices-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.prices-table th {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  background: var(--cream);
  color: var(--text-display);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
}
.prices-table tr:hover td { background: var(--green-50); }
.prices-table td:last-child {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  color: var(--brand);
  text-align: right;
  white-space: nowrap;
}

/* ========================================
   EQUIPMENT
   ======================================== */
.equipment__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.equipment-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.equipment-card__icon { font-size: 48px; display: block; margin-bottom: var(--space-5); }
.equipment-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
  color: var(--text-display);
}
.equipment-card p { font-size: var(--fs-xs); color: var(--text-muted); }

/* ========================================
   REVIEWS
   ======================================== */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.review-card__header { display: flex; align-items: center; gap: var(--space-4); }
.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--green-50);
}
.review-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card__avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--brand);
}
.review-card__meta { flex: 1; }
.review-card__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-sm); color: var(--text-display); }
.review-card__source { font-size: 12px; color: var(--text-muted); }
.review-card__rating { font-size: 18px; }
.star { color: var(--ink-300); }
.star--filled { color: #f59e0b; }
.review-card__text { font-size: var(--fs-xs); color: var(--text-muted); line-height: var(--lh-relaxed); flex: 1; }
.review-card__date { font-size: 12px; color: var(--ink-300); }

/* ========================================
   FAQ
   ======================================== */
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-2); }
.faq-item {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  text-align: left;
  gap: var(--space-5);
  background: white;
  transition: background var(--transition);
  color: var(--text-display);
}
.faq-item__question:hover { background: var(--green-50); color: var(--brand-deep); }
.faq-item__question[aria-expanded="true"] { color: var(--brand-deep); }
.faq-item__question[aria-expanded="true"] .faq-item__icon { transform: rotate(180deg); }
.faq-item__icon { flex-shrink: 0; transition: transform var(--transition); color: var(--brand); }
.faq-item__answer {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}
.faq-item__answer.is-open { display: block; }
.faq-item__answer p { margin-bottom: var(--space-2); }
.faq-item__answer ul { padding-left: 20px; list-style: disc; }

/* ========================================
   CONTACTS SECTION
   ======================================== */
.page-header--contacts {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, var(--green-700), var(--green-600));
}
.page-header--contacts::after {
  content: "";
  position: absolute;
  right: clamp(24px, 8vw, 120px);
  bottom: -80px;
  width: clamp(220px, 32vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  pointer-events: none;
}
.contacts-hero { position: relative; z-index: 1; }
.contacts-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}
.btn-ghost--light {
  color: white;
  border-color: rgba(255,255,255,0.42);
}
.btn-ghost--light:hover {
  color: var(--green-700);
  background: white;
  border-color: white;
}
.contacts-section { background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%); }
.contacts-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .72fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}
.contacts-section__intro .section-label { margin-bottom: var(--space-4); }
.contacts-section__intro .section-title {
  max-width: 620px;
  text-align: left;
}
.contacts-section__intro .section-desc {
  max-width: 620px;
  margin-left: 0;
  color: var(--ink-700);
}
.contacts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.contacts__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  min-width: 0;
  min-height: 128px;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.contacts__item-icon {
  width: 44px;
  height: 44px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}
.contacts__item-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  margin-bottom: 4px;
}
.contacts__item-value {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text-display);
  overflow-wrap: anywhere;
}
.contacts__item-value a { color: inherit; }
.contacts__item-value a:hover { color: var(--brand); }
.contacts__item-note {
  margin-top: 6px;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-muted);
}
.contacts-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.appointment-form-inline {
  position: sticky;
  top: 96px;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.appointment-form-inline__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: var(--lh-snug);
  font-weight: var(--fw-extra);
  margin-bottom: var(--space-2);
  color: var(--text-display);
}
.appointment-form-inline__desc {
  font-size: var(--fs-sm);
  color: var(--ink-700);
  margin-bottom: var(--space-6);
}
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* MAP */
.map-section {
  min-height: 420px;
  overflow: hidden;
  background: var(--green-50);
}
.map-section iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}
.map-section__fallback {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.map-section__fallback h2 {
  color: var(--text-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-3);
}
.map-section__fallback p {
  color: var(--ink-700);
  font-size: var(--fs-lead);
}
.map-section__links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--green-50);
  border-top: 1px solid var(--line);
  border-bottom: 12px solid var(--white);
}
.site-map__frame,
.site-map__frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
.site-map__frame iframe {
  filter: saturate(.94) contrast(.98);
}
.site-map__route {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 40px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--red-500);
  color: white;
  font-weight: var(--fw-bold);
  box-shadow: var(--shadow-md);
  transition: background var(--transition), transform var(--transition);
}
.site-map__route:hover {
  background: var(--red-600);
  color: white;
  transform: translateY(-1px);
}

/* ========================================
   FORMS
   ======================================== */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-5); }
.form-group:last-of-type { margin-bottom: 0; }
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  color: var(--ink-700);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--brand);
  box-shadow: var(--shadow-focus);
}
.form-input.error, .form-textarea.error { border-color: var(--red-500); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-group--checkbox { flex-direction: row; align-items: flex-start; gap: 10px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-check-input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--brand); }
.form-check-label { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.5; }
.form-check-label a { color: var(--brand-deep); }
.form-result { margin-top: var(--space-4); padding: var(--space-4); border-radius: var(--radius-md); display: none; font-size: var(--fs-xs); }
.form-result.success { background: var(--green-50); color: var(--green-700); display: block; }
.form-result.error { background: #fee2e2; color: var(--red-600); display: block; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-error-text { color: var(--red-500); font-size: 12px; }

/* ========================================
   MODAL
   ======================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.modal__content {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s var(--ease-out);
}
@keyframes modalSlideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.modal__close:hover { background: var(--line); }
.modal__header { margin-bottom: var(--space-6); }
.modal__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
  color: var(--text-display);
}
.modal__subtitle { font-size: var(--fs-xs); color: var(--text-muted); }

/* ========================================
   STICKY BUTTONS
   ======================================== */
.sticky-buttons {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 500;
}
.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.sticky-btn:hover,
.sticky-btn:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.sticky-btn svg {
  width: 28px;
  height: 28px;
}
.sticky-btn--whatsapp { background: #25d366; color: white; }
.sticky-btn--telegram { background: #0088cc; color: white; }
.sticky-btn--callback { background: var(--brand); color: white; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background:
    radial-gradient(circle at 88% 12%, rgba(169, 203, 126, 0.18), transparent 32%),
    linear-gradient(160deg, var(--ink-900), #1f2d16 72%, var(--green-800));
  color: white;
}
.footer__main { padding: clamp(54px, 7vw, 92px) 0 var(--space-10); }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: stretch;
  margin-bottom: clamp(42px, 6vw, 72px);
}
.footer__brand {
  max-width: 760px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--space-8);
}
.footer__logo img {
  width: auto;
  max-width: min(310px, 78vw);
  max-height: 72px;
  object-fit: contain;
}
.footer__logo-text {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(22px, 3vw, 34px);
  color: white;
}
.footer__brand p {
  max-width: 680px;
  margin-top: 0;
  color: rgba(255,255,255,0.78);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
}
.footer__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.footer__phone {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  font-weight: var(--fw-bold);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.footer__phone:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.48);
  transform: translateY(-1px);
}
.footer__visit {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: var(--space-6);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.07);
}
.footer__visit-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer__visit-head span,
.footer__contact-item span {
  color: rgba(255,255,255,0.62);
  font-size: var(--fs-xs);
}
.footer__visit-head strong {
  color: white;
  font-size: var(--fs-h4);
  line-height: 1.2;
}
.footer__address {
  margin: var(--space-8) 0;
  color: white;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: var(--fw-bold);
  line-height: 1.25;
  text-wrap: balance;
}
.footer__route-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer__route-links a,
.footer__messengers a,
.footer__backtop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  transition: background var(--transition), color var(--transition);
}
.footer__route-links a:hover,
.footer__messengers a:hover,
.footer__backtop:hover {
  background: white;
  color: var(--green-800);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(170px, .8fr) minmax(230px, 1fr) minmax(250px, 1.05fr) minmax(170px, .8fr);
  gap: clamp(24px, 4vw, 56px);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-5);
  color: white;
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer__links a {
  color: rgba(255,255,255,0.72);
  font-size: var(--fs-sm);
  line-height: 1.35;
  transition: color var(--transition), transform var(--transition);
}
.footer__links a:hover {
  color: white;
  transform: translateX(2px);
}
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  color: white;
}
.footer__contact-item strong {
  overflow-wrap: anywhere;
  font-size: var(--fs-sm);
  line-height: 1.35;
}
.footer__contact-item:hover strong { color: var(--green-200); }
.footer__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.footer__care-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,0.78);
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.footer__care-list li {
  position: relative;
  padding-left: 18px;
}
.footer__care-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-300);
}
.footer__medical-note {
  margin-top: var(--space-10);
  padding: var(--space-5) 0 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  line-height: 1.65;
}
.footer__medical-note strong {
  color: white;
  margin-right: 4px;
}
.footer__medical-note span {
  display: block;
  margin-top: 4px;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: var(--space-5) 0 var(--space-6);
  background: rgba(0,0,0,0.18);
}
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.footer__legal { max-width: 900px; color: rgba(255,255,255,0.62); font-size: 12px; line-height: var(--lh-relaxed); }
.footer__legal p + p { margin-top: 4px; }
.footer__developer {
  color: rgba(255,255,255,0.82);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.34);
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.footer__developer:hover {
  color: white;
  text-decoration-color: white;
}

/* ========================================
   PAGES & SERVICES
   ======================================== */
.page-header {
  background: var(--green-600);
  color: white;
  padding: var(--space-16) 0;
}
.page-header__inner { max-width: 700px; }
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  opacity: 0.75;
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.breadcrumbs a { color: white; }
.breadcrumbs-separator { opacity: 0.5; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, var(--fs-h1));
  font-weight: var(--fw-extra);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}
.page-header p { font-size: var(--fs-body); opacity: 0.85; margin-top: var(--space-4); }

.services-list__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.service-detail__grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-10); }
.service-detail__sidebar { background: var(--cream); border-radius: var(--radius-lg); padding: var(--space-6); }
.price-box {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-6);
  border: 2px solid var(--brand);
  text-align: center;
  margin-bottom: var(--space-6);
}
.price-box__label { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: var(--space-2); }
.price-box__price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: var(--fw-black);
  color: var(--brand);
}
.price-box__old { font-size: var(--fs-body); text-decoration: line-through; color: var(--text-muted); margin-top: 4px; }

.doctors-list__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.doctor-detail__grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-10); }
.doctor-photo-large { border-radius: var(--radius-xl); overflow: hidden; width: 100%; max-width: 320px; }
.doctor-photo-large img { width: 100%; height: auto; object-fit: cover; }

.doctor-services {
  margin-bottom: var(--space-8);
}

.doctor-services h2 {
  margin-bottom: var(--space-5);
}

.doctor-services__list {
  display: grid;
  gap: 8px;
}

.doctor-services__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: var(--space-4);
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-strong);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
}

.doctor-services__item:hover {
  border-color: var(--brand);
  background: var(--green-50);
}

.doctor-services__name {
  min-width: 0;
  font-weight: var(--fw-semibold);
  line-height: 1.35;
  color: var(--text-strong);
  text-decoration: none;
}

.doctor-services__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  text-align: right;
}

.doctor-services__meta b {
  color: var(--text-strong);
  white-space: nowrap;
}

.doctor-seo-content {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.75;
}

.doctor-seo-content h2,
.doctor-seo-content h3 {
  margin-bottom: var(--space-4);
  color: var(--text-display);
}

.doctor-seo-content p + p {
  margin-top: var(--space-4);
}

/* ========================================
   PAGINATION, BREADCRUMBS
   ======================================== */
.pagination { display: flex; gap: var(--space-2); justify-content: center; margin-top: var(--space-10); }
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border: 1px solid var(--line);
  color: var(--ink-700);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); color: white; border-color: var(--brand); }

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-primary { color: var(--brand); }
.mt-8 { margin-top: var(--space-2); }
.mt-16 { margin-top: var(--space-5); }
.mt-24 { margin-top: var(--space-6); }
.mt-32 { margin-top: var(--space-8); }
.mb-16 { margin-bottom: var(--space-5); }
.mb-24 { margin-bottom: var(--space-6); }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ========================================
   SITE SEARCH
   ======================================== */
.site-search--page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 760px;
  margin-bottom: var(--space-10);
}

.site-search--page input {
  min-width: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 15px 20px;
  background: var(--white);
  color: var(--text-display);
  font: inherit;
}

.site-search--page button {
  border: 0;
  border-radius: 999px;
  padding: 0 28px;
  background: var(--brand);
  color: var(--white);
  font-weight: var(--fw-bold);
  cursor: pointer;
}

.search-section {
  margin-top: var(--space-10);
}

.search-section .ds-h2 {
  margin-bottom: var(--space-5);
  text-align: left;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}

.search-result-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-display);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease-soft), transform var(--dur) var(--ease-soft);
}

.search-result-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.search-result-card__type {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--brand);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
}

.search-result-card strong {
  font-size: var(--fs-body);
  line-height: 1.25;
}

.search-result-card span:not(.search-result-card__type) {
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.search-result-card b {
  margin-top: auto;
  color: var(--brand);
}

.search-empty {
  max-width: 520px;
  padding: var(--space-8);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--green-50);
}

.search-empty p {
  margin: var(--space-3) 0 var(--space-5);
  color: var(--text-muted);
}

/* ========================================
   404 / 500 PAGES
   ======================================== */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-page__code {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: var(--fw-black);
  color: var(--brand);
  line-height: 1;
}
.error-page__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: var(--fw-bold);
  margin: var(--space-5) 0;
  color: var(--text-display);
}
.error-page__desc { font-size: var(--fs-body); color: var(--text-muted); margin-bottom: var(--space-8); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
  .advantages__grid { grid-template-columns: repeat(4, 1fr); }
  .doctors__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .footer__visit { min-height: 0; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); }
  .header__hours { display: none; }
}

@media (max-width: 1320px) {
  .header__main-inner {
    gap: var(--space-5);
  }

  .header__menu-link {
    padding: 8px 10px;
    font-size: 14px;
  }

  .header__hours {
    font-size: 0 !important;
    min-width: 0;
  }

  .header__hours b {
    font-size: 16px !important;
    line-height: 1 !important;
  }
}

@media (max-width: 1024px) {
  .section { padding: var(--space-16) 0; }
  .services__grid { grid-template-columns: repeat(4, 1fr); }
  .implant-section__inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .implant-section__image { display: none; }
  .pediatric-section__inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .pediatric-section__image { display: none; }
  .contacts-section__inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .appointment-form-inline { position: static; }
  .doctors__grid { grid-template-columns: repeat(3, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .header__nav { display: none; }
  .header-search { display: none; }
  .header__burger { display: flex; }
  .header__cta { display: none; }
  .ortho-options { grid-template-columns: 1fr; gap: var(--space-4); }
  .promotions-bar__grid { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 768px) {
  :root { --container-pad: 16px; }
  .site-search--page {
    grid-template-columns: 1fr;
  }
  .site-search--page button {
    min-height: 48px;
  }
  .section { padding: var(--space-12) 0; }
  .hero { min-height: 70vh; padding: var(--space-16) 0 var(--space-10); }
  .hero__title { font-size: 32px; }
  .hero__subtitle { font-size: var(--fs-body); }
  .hero__actions { flex-direction: column; }
  .hero__stats { gap: var(--space-6); }
  .contacts__list { grid-template-columns: 1fr; }
  .contacts__item { min-height: 0; }
  .contacts-hero__actions,
  .contacts-messengers,
  .map-section__links {
    flex-direction: column;
    align-items: stretch;
  }
  .contacts-hero__actions .btn,
  .contacts-messengers .btn,
  .map-section__links .btn {
    width: 100%;
    white-space: normal;
    line-height: 1.2;
  }
  .map-section__fallback {
    min-height: 360px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }
  .site-map,
  .site-map__frame,
  .site-map__frame iframe {
    min-height: 360px;
    height: 360px;
  }
  .site-map__route {
    left: 16px;
    right: 16px;
    width: auto;
  }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .implant-features { grid-template-columns: 1fr; }
  .implant-section__actions { flex-direction: column; }
  .doctors__grid { grid-template-columns: repeat(2, 1fr); }
  .equipment__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__main { padding-top: var(--space-12); }
  .footer__brand p { font-size: var(--fs-body); }
  .footer__actions,
  .footer__route-links,
  .footer__messengers {
    align-items: stretch;
    flex-direction: column;
  }
  .footer__actions .btn,
  .footer__phone,
  .footer__route-links a,
  .footer__messengers a {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .footer__visit { padding: var(--space-5); }
  .footer__address { font-size: 21px; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__grid > * { min-width: 0; }
  .footer__grid strong,
  .footer__grid span,
  .footer__grid a { overflow-wrap: anywhere; }
  .footer__bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }
  .header__top { display: none; }
  .sticky-buttons { right: 12px; bottom: 60px; }
  .prices-preview__tabs { flex-wrap: wrap; }
  .prices-table th, .prices-table td { padding: var(--space-3); font-size: var(--fs-xs); }
  .services-list__grid { grid-template-columns: 1fr; }
  .service-detail__grid { grid-template-columns: 1fr; }
  .doctors-list__grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-detail__grid { grid-template-columns: 1fr; }
  .doctor-services__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .doctor-services__meta {
    justify-content: flex-start;
    text-align: left;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .advantages__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .doctors__grid { grid-template-columns: 1fr; }
  .doctors-list__grid { grid-template-columns: 1fr; }
  .equipment__grid { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: var(--space-5); }
  .section-header { margin-bottom: var(--space-8); }
  .modal__content { padding: var(--space-6) var(--space-5); }
  .btn-lg { padding: 14px 24px; font-size: var(--fs-sm); }
  .footer__bottom-links { justify-content: center; }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .advantage-card, .service-card, .doctor-card, .review-card, .equipment-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), box-shadow var(--transition);
  }
  .advantage-card.animated, .service-card.animated, .doctor-card.animated,
  .review-card.animated, .equipment-card.animated {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   DS COMPONENTS — Центр Здоровья Design System
   ============================================================ */

/* --- Badge --- */
.ds-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-pill);
}
.ds-badge--brand { background: var(--green-100); color: var(--brand-deep); }
.ds-badge--promo { background: var(--cta-accent); color: var(--ink-900); }

/* --- DS H2 --- */
.ds-h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(28px, 4vw, 52px);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-display);
  text-align: center;
  margin-bottom: var(--space-2);
}
.ds-h2--white { color: white; }

/* --- HERO --- */
.ds-hero {
  padding: var(--space-12) 0 var(--space-16);
  background: var(--bg-page);
  overflow: hidden;
}
.ds-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-6);
  align-items: start;
}
.ds-hero__eyebrow { margin-bottom: var(--space-5); }
.ds-hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.2;
  color: var(--text-display);
  max-width: 560px;
  margin-bottom: var(--space-6);
}
.ds-hero__right { position: relative; }
.ds-hero__photo {
  position: relative;
  height: 520px;
  border-radius: var(--radius-xl);
  background: var(--sand);
  overflow: hidden;
}
.ds-hero__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-300);
}
.ds-hero__trust {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-8);
}
.ds-hero__trust div {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--text-display);
  font-size: var(--fs-body);
  max-width: 200px;
  line-height: 1.3;
}

/* Clover decoration */
.ds-clover {
  position: absolute;
  right: -30px;
  top: 10px;
  width: 240px;
  height: 240px;
  z-index: 0;
}
.ds-clover span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96px;
  height: 96px;
  background: var(--green-600);
  border-radius: 50% 50% 50% 0;
  transform-origin: 0 0;
}
.ds-clover__a { transform: rotate(-45deg); }
.ds-clover__b { transform: rotate(45deg); background: var(--green-500); }
.ds-clover__c { transform: rotate(135deg); background: var(--green-500); }
.ds-clover__d { transform: rotate(225deg); }

/* Doctor flag overlay */
.ds-docflag {
  position: absolute;
  right: 18px;
  bottom: 60px;
  background: rgba(247, 248, 243, 0.82);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  max-width: 300px;
  z-index: 2;
}
.ds-docflag b {
  display: block;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  margin-bottom: 3px;
}
.ds-docflag span { font-size: var(--fs-xs); color: var(--ink-500); }

/* --- PROMO CARD --- */
.ds-promo {
  background: var(--green-600);
  color: white;
  border-radius: var(--radius-xl);
  padding: 28px 30px;
  max-width: 560px;
  position: relative;
}
.ds-promo h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: 28px;
  line-height: 1.12;
  margin: 14px 0 6px;
}
.ds-promo__sub {
  font-size: var(--fs-xs);
  color: var(--green-100);
  margin-bottom: 18px;
}
.ds-promo__cta { margin-top: var(--space-5); }

/* --- METHODS --- */
.ds-methods {
  background: var(--sand);
  padding: var(--space-16) 0;
  text-align: center;
}
.ds-methods__sub {
  font-size: 28px;
  color: var(--ink-500);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-10);
}

/* --- PILLS --- */
.ds-pills {
  display: flex;
  justify-content: center;
  gap: 0;
  background: white;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  padding: 26px 10px;
}
.ds-pill {
  flex: 1;
  padding: 0 22px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.ds-pill:last-child { border-right: none; }
.ds-pill__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-600);
  margin: 0 auto 14px;
  box-shadow: 0 0 0 5px var(--green-100);
}
.ds-pill b {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  color: var(--ink-900);
  font-size: var(--fs-body);
  line-height: 1.2;
  margin-bottom: 4px;
}
.ds-pill span { font-size: var(--fs-xs); color: var(--ink-400); }

/* --- SYMPTOMS (green section) --- */
.ds-symptoms {
  background: var(--green-600);
  color: white;
  padding: var(--space-16) 0;
}
.ds-symptoms__sub {
  font-size: 24px;
  color: var(--green-100);
  font-weight: var(--fw-medium);
  text-align: center;
  margin-top: var(--space-2);
  margin-bottom: var(--space-10);
}
.ds-sympgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}
.ds-sympcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ds-scard {
  background: white;
  border-radius: var(--radius-md);
  padding: 22px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ds-scard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.ds-scard__num {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  color: var(--ink-300);
  font-size: 18px;
  margin-bottom: 8px;
}
.ds-scard b {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  color: var(--green-700);
  font-size: 21px;
  line-height: 1.15;
  display: block;
}
.ds-sympnote {
  text-align: center;
  margin-top: var(--space-6);
}

/* --- DOCTOR SECTION --- */
.ds-doctor-section {
  padding: var(--space-6) 0 var(--space-20);
}
.ds-kicker {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  color: var(--red-500);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}
/* ---- DS DOCTOR SECTION HEADER ---- */
.ds-doctor-section__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
  margin-bottom: var(--space-10);
}
.ds-doctor-section__kicker {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--space-3);
}
.ds-doctor-section__title {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--text-display);
}
.ds-doctor-section__desc {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  max-width: 480px;
  padding-top: 10px;
}
.ds-doctor-section__footer {
  text-align: center;
  margin-top: var(--space-10);
}

/* ---- DS DOCTOR SLIDER ---- */
.ds-doc-slider {
  position: relative;
}
.ds-doc-slider__viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
}
.ds-doc-slider__track {
  display: flex;
  gap: var(--space-5);
  transition: transform 420ms var(--ease-out);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.ds-doc-slider__track:active { cursor: grabbing; }

/* ---- DS DOCTOR CARD ---- */
.ds-doctor-slide {
  flex: 0 0 calc(25% - 15px);   /* 4 visible */
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  border: none;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur-slow) var(--ease-out), transform var(--dur) var(--ease-soft);
}
.ds-doctor-slide:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Portrait photo — aspect-ratio 3:4 */
.ds-doctor-slide__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #e8e9e4;
  overflow: hidden;
}
.ds-doctor-slide__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Placeholder — gray bg + brand logo */
.ds-doctor-slide__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: #e8e9e4;
  padding: var(--space-6);
}
.ds-doctor-slide__placeholder-logo {
  width: 88px;
  height: 88px;
  opacity: .85;
}
.ds-doctor-slide__placeholder-text {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  color: var(--ink-400);
  text-transform: uppercase;
}

/* Info below photo */
.ds-doctor-slide__info {
  padding: var(--space-4) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ds-doctor-slide__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: var(--fw-bold);
  color: var(--brand);
  line-height: 1.3;
}
.ds-doctor-slide__role {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-regular);
}

/* ---- SLIDER NAV ARROWS ---- */
.ds-doc-slider__nav {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-6);
  justify-content: flex-start;
}
.ds-doc-slider__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-strong);
  cursor: pointer;
  transition: all var(--dur) var(--ease-soft);
  flex-shrink: 0;
}
.ds-doc-slider__arrow:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--green-50);
}
.ds-doc-slider__arrow:disabled {
  opacity: .35;
  cursor: default;
}
.ds-doc-slider__arrow:disabled:hover {
  border-color: var(--line-strong);
  color: var(--text-strong);
  background: var(--white);
}

.ds-doctor-section {
  background: #f3f3f3;
  padding: clamp(46px, 5vw, 72px) 0 clamp(46px, 6vw, 70px);
}

.ds-doctor-section__header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  margin-bottom: clamp(72px, 7vw, 96px);
}

.ds-doctor-section__title {
  margin: 0;
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: clamp(38px, 3.5vw, 48px);
  font-weight: var(--fw-regular);
  line-height: 1.02;
  letter-spacing: 0;
}

.ds-doctor-section__desc {
  max-width: 690px;
  padding-top: 8px;
  color: #050505;
  font-size: 17px;
  line-height: 1.42;
}

.ds-doc-slider__viewport {
  border-radius: 0;
  overflow: hidden;
}

.ds-doc-slider__track {
  gap: 30px;
}

.ds-doctor-slide {
  flex: 0 0 calc((100% - 90px) / 4);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.ds-doctor-slide:hover {
  box-shadow: none;
  transform: none;
}

.ds-doctor-slide__photo {
  aspect-ratio: 0.71;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 23%, rgba(255,255,255,0.9) 0 34px, transparent 35px),
    linear-gradient(135deg, #c9d2cc, #929b96 48%, #dbe0dc);
  overflow: hidden;
}

.ds-doctor-slide__placeholder {
  position: relative;
  justify-content: flex-start;
  gap: 22px;
  padding: 30px 24px;
  background: transparent;
}

.ds-doctor-slide__placeholder::before {
  content: "";
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}

.ds-doctor-slide__placeholder::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 116px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,0.72);
  filter: blur(2px);
}

.ds-doctor-slide__placeholder-logo {
  position: absolute;
  top: 25px;
  left: 50%;
  width: 74px;
  height: 74px;
  transform: translateX(-50%);
  z-index: 1;
}

.ds-doctor-slide__placeholder-text {
  position: absolute;
  top: 128px;
  left: 14%;
  right: 14%;
  z-index: 1;
  color: rgba(255,255,255,0.86);
  font-size: 13px;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.22);
}

.ds-doctor-slide__info {
  padding: 10px 0 0;
  gap: 8px;
}

.ds-doctor-slide__name {
  color: var(--green-700);
  font-size: 19px;
  line-height: 1.16;
}

.ds-doctor-slide__role {
  color: #777;
  font-size: 15px;
}

.ds-doc-slider__nav {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  z-index: 4;
}

.ds-doc-slider__arrow {
  pointer-events: auto;
  position: absolute;
  top: 38%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(24, 24, 27, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-carbon-black, #18181b);
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.14);
  backdrop-filter: blur(8px);
  z-index: 5;
}

.ds-doc-slider__arrow:first-child {
  left: 14px;
}

.ds-doc-slider__arrow:last-child {
  right: 14px;
}

.ds-doc-slider__arrow:hover {
  border-color: var(--color-sunrise-coral, #fc5f2b);
  background: var(--color-sunrise-coral, #fc5f2b);
  color: #fff;
  transform: translateY(-1px);
}

.ds-doc-slider__arrow:disabled {
  opacity: .28;
  pointer-events: none;
}

/* Legacy grid (kept for other pages) */
.ds-doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.ds-doctor-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.ds-doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ds-doctor-card__photo-link {
  display: block;
  width: 100%;
  text-decoration: none;
}
.ds-doctor-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-doctor-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.ds-doctor-card__info { padding: var(--space-5); flex: 1; }
.ds-doctor-card__name-link { text-decoration: none; }
.ds-doctor-card__info h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--text-display);
  margin-bottom: 4px;
  line-height: 1.3;
  transition: color var(--transition);
}
.ds-doctor-card__name-link:hover h3 { color: var(--brand); }
.ds-doctor-card__position { font-size: 12px; color: var(--brand); font-weight: var(--fw-semibold); }
.ds-doctor-card__spec { font-size: 12px; color: var(--text-muted); }
.ds-doctor-card__footer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  background: var(--cream);
}
.ds-doctor-card__price {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}
.ds-doctor-card__btn { white-space: nowrap; flex-shrink: 0; }
.nearest-slot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  margin: var(--space-4) 0;
  padding: 12px 14px;
  border: 1px solid var(--green-200);
  border-radius: var(--radius-sm);
  background: var(--green-50);
  color: var(--green-900);
  line-height: 1.25;
}
.nearest-slot__label {
  color: var(--green-700);
  font-size: 11px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.nearest-slot__time {
  color: var(--text-display);
  font-size: var(--fs-sm);
}
.nearest-slot__doctor {
  color: var(--text-muted);
  font-size: 12px;
}
.nearest-slot--compact {
  margin: 8px 0;
  padding: 9px 10px;
}
.nearest-slot--compact .nearest-slot__label {
  font-size: 10px;
}
.nearest-slot--compact .nearest-slot__time,
.nearest-slot--compact .nearest-slot__doctor {
  font-size: 12px;
}

/* --- CHILDREN DENTISTRY SECTION --- */
.ds-children-section {
  padding: var(--space-16) 0;
  background: var(--cream);
}
.ds-children-section__head {
  margin-bottom: var(--space-10);
}
.ds-children-section__title {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--brand);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-2);
}
.ds-children-section__sub {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.ds-children-section__body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-8);
  align-items: start;
}

/* 2-column grid of feature cards */
.ds-children-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.ds-children-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.ds-children-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}
.ds-children-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ds-children-card__text {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-display);
  line-height: 1.4;
}

/* photo placeholder — will be replaced with real image */
.ds-children-photo {
  border-radius: var(--radius-lg);
  background: #d8dbd2;
  aspect-ratio: 3 / 4;
  min-height: 400px;
}

/* responsive */
@media (max-width: 1024px) {
  .ds-children-section__body { grid-template-columns: 1fr; }
  .ds-children-photo { display: none; }
}
@media (max-width: 600px) {
  .ds-children-features {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin: 0 calc(var(--container-pad) * -1);
    padding: 0 var(--container-pad) 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ds-children-features::-webkit-scrollbar {
    display: none;
  }

  .ds-children-card {
    flex: 0 0 min(82vw, 340px);
    min-height: 112px;
    scroll-snap-align: start;
  }
}

/* --- GALLERY SECTION --- */
.ds-gallery-section {
  padding: var(--space-16) 0 0;
  background: var(--white);
  overflow: hidden;
}
.ds-gallery-section__intro { margin-bottom: var(--space-10); }
.ds-gallery-section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-12);
  align-items: end;
}
.ds-gallery-section__kicker {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--space-2);
}
.ds-gallery-section__title {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: var(--ls-tight);
  color: var(--text-display);
}
.ds-gallery-section__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  max-width: 420px;
  padding-bottom: 6px;
}

/* ---- bento grid ---- */
.ds-gallery-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 6px;
  padding-bottom: 0;
}

.ds-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

/* size variants */
.ds-gallery-item--large  { grid-column: span 2; grid-row: span 2; }
.ds-gallery-item--wide   { grid-column: span 2; grid-row: span 1; }
.ds-gallery-item--tall   { grid-column: span 1; grid-row: span 2; }
.ds-gallery-item--normal { grid-column: span 1; grid-row: span 1; }

.ds-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease-out);
}
.ds-gallery-item:hover img { transform: scale(1.06); }

/* dark overlay on hover */
.ds-gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(14,30,10,0.55) 100%);
  opacity: 0;
  transition: opacity 400ms var(--ease-soft);
}
.ds-gallery-item:hover .ds-gallery-item__overlay { opacity: 1; }

/* caption */
.ds-gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4) var(--space-4) var(--space-4);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 350ms var(--ease-soft), transform 350ms var(--ease-soft);
}
.ds-gallery-item:hover .ds-gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}
.ds-gallery-item__caption span {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* lightbox overlay (JS-driven) */
.ds-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,16,8,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  cursor: zoom-out;
  animation: fadeIn 200ms ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.ds-gallery-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  cursor: default;
}
.ds-gallery-lightbox__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) ease;
}
.ds-gallery-lightbox__close:hover { background: rgba(255,255,255,0.22); }
.ds-gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) ease;
}
.ds-gallery-lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.ds-gallery-lightbox__nav--prev { left: var(--space-5); }
.ds-gallery-lightbox__nav--next { right: var(--space-5); }
.ds-gallery-lightbox__caption {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .ds-gallery-bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .ds-gallery-section__head { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (max-width: 768px) {
  .ds-gallery-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .ds-gallery-item--large { grid-column: span 2; }
  .ds-gallery-item--wide  { grid-column: span 2; }
  .ds-gallery-section__title { font-size: 32px; }
}
@media (max-width: 480px) {
  .ds-gallery-bento { gap: 4px; grid-auto-rows: 130px; }
}

/* --- CLINIC DOCUMENTS SECTION --- */
.ds-docs-section {
  padding: var(--space-16) 0;
  background: var(--cream);
}
.ds-docs-section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: var(--space-10);
}
.ds-docs-section__kicker {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--space-2);
}
.ds-docs-section__title {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(26px, 3vw, 38px);
  line-height: var(--lh-snug);
  color: var(--text-display);
}
.ds-docs-section__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  padding-bottom: 4px;
}

/* grid: 3 per row */
.ds-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

/* document card */
.ds-doc-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: var(--space-5) var(--space-5) var(--space-5) var(--space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: box-shadow var(--dur) var(--ease-soft), transform var(--dur) var(--ease-soft), border-color var(--dur) var(--ease-soft);
  position: relative;
}
.ds-doc-card--has-file {
  cursor: pointer;
}
.ds-doc-card--has-file:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--brand);
}

/* icon area */
.ds-doc-card__icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-doc-card--license    .ds-doc-card__icon-wrap { background: #e8f0ff; color: #3a6ed4; }
.ds-doc-card--certificate .ds-doc-card__icon-wrap { background: #fff8e0; color: #c9920a; }
.ds-doc-card--diploma    .ds-doc-card__icon-wrap { background: #f0e8ff; color: #7a3ad4; }
.ds-doc-card--award      .ds-doc-card__icon-wrap { background: #fff0e8; color: #d46a3a; }
.ds-doc-card--accreditation .ds-doc-card__icon-wrap { background: #e8f5ec; color: #2f8c4e; }
.ds-doc-card--other      .ds-doc-card__icon-wrap { background: #f0f0f0; color: #666; }

.ds-doc-card__icon {
  width: 30px;
  height: 30px;
}
.ds-doc-card__thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}

/* text content */
.ds-doc-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ds-doc-card__type {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ds-doc-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-display);
  line-height: 1.35;
}
.ds-doc-card__issuer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 1px;
}
.ds-doc-card__dates {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
  flex-wrap: wrap;
}
.ds-doc-card__dates span {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 20px;
}

/* download badge */
.ds-doc-card__action {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--brand);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-soft);
}
.ds-doc-card--has-file:hover .ds-doc-card__action { opacity: 1; }

@media (max-width: 1024px) {
  .ds-docs-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-docs-section__head { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (max-width: 600px) {
  .ds-docs-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin: 0 calc(var(--container-pad) * -1);
    padding: 0 var(--container-pad) 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ds-docs-grid::-webkit-scrollbar {
    display: none;
  }

  .ds-doc-card {
    flex: 0 0 min(86vw, 360px);
    min-height: 132px;
    scroll-snap-align: start;
  }
}

/* --- PORTFOLIO SECTION --- */
.ds-portfolio-section {
  padding: var(--space-16) 0;
  background: var(--white);
}

.ds-portfolio-section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: var(--space-10);
}
.ds-portfolio-section__kicker {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--space-2);
}
.ds-portfolio-section__title {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: var(--lh-snug);
  color: var(--text-display);
}
.ds-portfolio-section__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  padding-bottom: 6px;
}

/* ---- slider ---- */
.ds-portfolio-slider { position: relative; }
.ds-portfolio-slider__viewport { overflow: hidden; }
.ds-portfolio-slider__track {
  display: flex;
  gap: var(--space-5);
  transition: transform 420ms var(--ease-out);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.ds-portfolio-slider__track:active { cursor: grabbing; }

/* ---- card ---- */
.ds-portfolio-card {
  flex: 0 0 calc(33.333% - 14px);   /* 3 visible */
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur-slow) var(--ease-out), transform var(--dur) var(--ease-soft);
}
a.ds-portfolio-card,
.portfolio-detail__card-link {
  color: inherit;
  text-decoration: none;
}
.ds-portfolio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* before / after split */
.ds-portfolio-card__photos {
  position: relative;
  display: flex;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.ds-portfolio-card__half {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.ds-portfolio-card__half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ds-portfolio-card__photo-placeholder {
  width: 100%;
  height: 100%;
  background: #e0e2db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--ink-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ds-portfolio-card__half--before .ds-portfolio-card__photo-placeholder {
  background: #dde0d7;
}
.ds-portfolio-card__half--after .ds-portfolio-card__photo-placeholder {
  background: #d0dcc7;
}

/* vertical divider between before/after */
.ds-portfolio-card__divider {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 6px rgba(0,0,0,0.18);
}

/* "До" / "После" labels */
.ds-portfolio-card__label {
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-3);
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.45);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.ds-portfolio-card__label--after {
  left: auto;
  right: var(--space-3);
}

/* card info */
.ds-portfolio-card__info {
  padding: var(--space-4) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.ds-portfolio-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-display);
  line-height: 1.3;
}
.ds-portfolio-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.ds-portfolio-card__meta {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-1);
  flex-wrap: wrap;
}
.ds-portfolio-card__doctor,
.ds-portfolio-card__date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
}
.ds-portfolio-card__doctor svg,
.ds-portfolio-card__date svg {
  flex-shrink: 0;
  color: var(--brand);
}

/* nav arrows */
.ds-portfolio-slider__nav {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.ds-portfolio-slider__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-strong);
  cursor: pointer;
  transition: all var(--dur) var(--ease-soft);
}
.ds-portfolio-slider__arrow:hover { border-color: var(--brand); color: var(--brand); background: var(--green-50); }
.ds-portfolio-slider__arrow:disabled { opacity: .35; cursor: default; }
.ds-portfolio-slider__arrow:disabled:hover { border-color: var(--line-strong); color: var(--text-strong); background: var(--white); }

.ds-portfolio-empty { color: var(--text-muted); font-size: var(--fs-sm); padding: var(--space-8) 0; }
.ds-portfolio-empty a { color: var(--brand); }

/* responsive */
@media (max-width: 1024px) {
  .ds-portfolio-card { flex: 0 0 calc(50% - 10px); }
  .ds-portfolio-section__head { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (max-width: 600px) {
  .ds-portfolio-card { flex: 0 0 calc(85% - 10px); }
}

/* --- PORTFOLIO PAGE --- */
.portfolio-page {
  background: var(--white);
}

.portfolio-page__toolbar {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.portfolio-filter-group {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.portfolio-filter {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-strong);
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  text-decoration: none;
  transition: border-color var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft), color var(--dur) var(--ease-soft);
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--green-50);
}

.portfolio-filter--doctor {
  font-size: 13px;
}

.portfolio-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.portfolio-page__card {
  flex: initial;
  height: 100%;
}

.portfolio-page__card .ds-portfolio-card__info {
  min-height: 210px;
}

.portfolio-page__card .ds-portfolio-card__doctor {
  display: inline;
}

.portfolio-page__card .ds-portfolio-card__doctor a {
  color: inherit;
  text-decoration: none;
}

.portfolio-page__card .ds-portfolio-card__doctor a:hover {
  color: var(--brand);
}

.portfolio-page__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-1);
}

.portfolio-page__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--text-strong);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  text-decoration: none;
}

.portfolio-page__tag:hover {
  color: var(--brand);
  background: var(--green-50);
}

.portfolio-page__empty {
  grid-column: 1 / -1;
  max-width: 560px;
  padding: var(--space-10);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-card);
}

.portfolio-page__empty h2 {
  margin-bottom: var(--space-2);
  color: var(--text-display);
  font-size: var(--fs-h3);
}

.portfolio-page__empty p {
  margin-bottom: var(--space-5);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

@media (max-width: 1024px) {
  .portfolio-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .portfolio-page__toolbar {
    margin-left: calc(var(--container-padding) * -1);
    margin-right: calc(var(--container-padding) * -1);
  }

  .portfolio-filter-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 var(--container-padding);
  }

  .portfolio-filter-group::-webkit-scrollbar {
    display: none;
  }

  .portfolio-filter {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .portfolio-page__grid {
    grid-template-columns: 1fr;
  }

  .portfolio-page__card {
    flex: initial;
  }

  .portfolio-page__card .ds-portfolio-card__info {
    min-height: 0;
  }
}

/* --- PORTFOLIO DETAIL --- */
.portfolio-detail {
  background: var(--white);
}

.portfolio-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: var(--space-8);
  align-items: start;
}

.portfolio-detail__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.portfolio-detail__photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-photo);
  aspect-ratio: 4 / 3;
}

.portfolio-detail__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-detail__photo figcaption {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  color: var(--white);
  font-size: 12px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.portfolio-detail__photo--after figcaption {
  background: var(--brand);
}

.portfolio-detail__summary {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-card);
}

.portfolio-detail__group {
  display: grid;
  gap: var(--space-2);
}

.portfolio-detail__group h2 {
  color: var(--text-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

.portfolio-detail__group p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.portfolio-detail__doctors {
  display: grid;
  gap: var(--space-3);
}

.portfolio-detail__doctor {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.portfolio-detail__doctor img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
}

.portfolio-detail__doctor strong,
.portfolio-detail__doctor small {
  display: block;
}

.portfolio-detail__doctor strong {
  color: var(--text-display);
  font-size: var(--fs-sm);
  line-height: 1.3;
}

.portfolio-detail__doctor small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
}

.portfolio-detail__doctor:hover strong {
  color: var(--brand);
}

.portfolio-detail__related {
  padding-top: var(--space-8);
}

.portfolio-detail-gallery {
  background: var(--bg-tint);
  padding-top: var(--space-8);
}

.portfolio-detail-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.portfolio-detail-gallery__item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.portfolio-detail-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.portfolio-detail-gallery__item figcaption {
  padding: var(--space-3) var(--space-4);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.45;
}

.portfolio-detail__card-link {
  display: block;
  height: 100%;
}

@media (max-width: 960px) {
  .portfolio-detail__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .portfolio-detail__photos {
    grid-template-columns: 1fr;
  }

  .portfolio-detail__summary {
    padding: var(--space-5);
  }
}

/* --- FREE CONSULTATION CTA BLOCK --- */
.ds-consult-cta {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-16) calc((100% - 1280px) / 2 + var(--space-10));
  padding-left: max(var(--space-10), calc((100% - 1280px) / 2 + var(--space-10)));
  padding-right: max(var(--space-10), calc((100% - 1280px) / 2 + var(--space-10)));
}

/* decorative big З in background */
.ds-consult-cta__decor {
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(300px, 30vw, 420px);
  line-height: 1;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.ds-consult-cta__left { position: relative; z-index: 1; }

.ds-consult-cta__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: var(--space-6);
}
.ds-consult-cta__title em {
  font-style: normal;
  font-weight: var(--fw-extra);
}

.ds-consult-cta__sub {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.80);
  line-height: var(--lh-relaxed);
}

/* ---- right: white card ---- */
.ds-consult-cta__right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: stretch;
}

.ds-consult-cta__card {
  background: var(--white);
  border-radius: 20px;
  padding: var(--space-10) var(--space-10) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.ds-consult-cta__card-title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  color: var(--text-display);
  text-align: center;
  line-height: 1.4;
  margin-bottom: var(--space-1);
}

/* form fields */
.ds-consult-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ds-consult-form__input {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid #d0d3c8;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--text-display);
  background: #f4f4f1;
  outline: none;
  transition: border-color var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
}
.ds-consult-form__input::placeholder { color: #9ea39a; }
.ds-consult-form__input:focus { border-color: var(--brand); background: var(--white); }

.ds-consult-form__btn {
  width: 100%;
  padding: 16px var(--space-6);
  background: var(--yellow-400);
  color: var(--ink-900);
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  cursor: pointer;
  transition: filter var(--dur) var(--ease-soft), transform var(--dur) var(--ease-soft);
  letter-spacing: 0.01em;
}
.ds-consult-form__btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ds-consult-form__btn:active { transform: translateY(0); filter: brightness(0.97); }

/* consents */
.ds-consult-form__consents { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.ds-consult-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}
.ds-consult-form__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
  margin-top: 1px;
  cursor: pointer;
}
.ds-consult-form__consent a { color: var(--brand-deep); }

/* footnote below card */
.ds-consult-cta__footnote {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-align: right;
  padding-right: var(--space-2);
}

/* honeypot hidden */
.ds-honeypot { display: none !important; }

/* responsive */
@media (max-width: 1024px) {
  .ds-consult-cta {
    grid-template-columns: 1fr;
    padding: var(--space-12) var(--space-8);
    gap: var(--space-8);
  }
  .ds-consult-cta__right { max-width: 480px; }
  .ds-consult-cta__footnote { text-align: left; }
}
@media (max-width: 768px) {
  .ds-consult-cta { padding: var(--space-10) var(--space-5); }
  .ds-consult-cta__title { font-size: 26px; }
  .ds-consult-cta__right { max-width: 100%; }
  .ds-consult-cta__card { padding: var(--space-6); }
}

/* --- PRICES SECTION --- */
.ds-prices-section {
  background: var(--cream);
  padding: var(--space-20) 0;
  text-align: center;
}
.ds-prices-section__sub {
  font-size: 24px;
  color: var(--ink-500);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-10);
}
.ds-prices-tabs {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}
.ds-prices-tab {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  background: white;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.ds-prices-tab:hover { background: var(--green-50); color: var(--brand-deep); }
.ds-prices-tab.active { background: var(--brand); color: white; }
.ds-prices-tables { text-align: left; }
.ds-prices-table { display: none; }
.ds-prices-table.active { display: block; }
.ds-prices-table table { width: 100%; border-collapse: collapse; }
.ds-prices-table th, .ds-prices-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.ds-prices-table th {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  background: white;
  color: var(--text-display);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
}
.ds-prices-table tr:hover td { background: white; }
.ds-prices-table td:nth-child(2) {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  color: var(--brand);
  text-align: right;
  white-space: nowrap;
}
.ds-prices-table th:nth-child(2) { text-align: right; }
.ds-prices-table th:last-child,
.ds-prices-table td:last-child {
  text-align: right;
  white-space: normal;
}
.ds-price-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 250px;
}
.ds-price-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  line-height: 1;
  text-decoration: none;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.ds-price-action:hover {
  background: var(--green-50);
  border-color: var(--brand);
  color: var(--brand-deep);
}
.ds-price-action--primary {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
}
.ds-price-action--primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: var(--white);
}
.ds-price--green { color: var(--color-success); font-weight: var(--fw-bold); }
.ds-price--old { text-decoration: line-through; color: var(--text-muted); font-size: var(--fs-xs); margin-right: 4px; }
.ds-price-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed var(--brand);
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.ds-price-link:hover { color: var(--brand); border-bottom-style: solid; }
.ds-price-old { text-decoration: line-through; color: var(--text-muted); font-size: var(--fs-xs); margin-right: 4px; font-weight: var(--fw-regular); }
.ds-price-empty { color: var(--text-muted); font-style: italic; }
.ds-prices-section__footer { margin-top: var(--space-10); }

.ds-availability-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-4);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--text-body);
  line-height: 1.45;
}
.ds-availability-note strong {
  color: var(--brand-deep);
  font-size: var(--fs-sm);
}
.ds-availability-note span {
  font-size: var(--fs-sm);
}
.ds-availability-note a {
  color: var(--brand-deep);
  font-weight: var(--fw-bold);
  white-space: nowrap;
}

/* --- REVIEWS SECTION --- */
.ds-reviews-section {
  padding: var(--space-20) 0;
  text-align: center;
}
.ds-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  text-align: left;
  margin-top: var(--space-10);
}
.ds-review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.ds-review-card__header { display: flex; align-items: center; gap: var(--space-4); }
.ds-review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--green-50);
}
.ds-review-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.ds-review-card__initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--brand);
}
.ds-review-card__meta { flex: 1; }
.ds-review-card__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-sm); color: var(--text-display); }
.ds-review-card__source { font-size: 12px; color: var(--text-muted); }
.ds-review-card__rating { font-size: 18px; }
.ds-star { color: var(--ink-300); }
.ds-star--filled { color: #f59e0b; }
.ds-review-card__text { font-size: var(--fs-xs); color: var(--text-muted); line-height: var(--lh-relaxed); flex: 1; }
.ds-review-card__date { font-size: 12px; color: var(--ink-300); }
.ds-reviews-section__footer { margin-top: var(--space-10); }

/* --- FAQ SECTION --- */
.ds-faq-section {
  background: var(--cream);
  padding: var(--space-20) 0;
  text-align: center;
}
.ds-faq-list {
  max-width: 800px;
  margin: var(--space-10) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: left;
}
.ds-faq-item {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ds-faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  text-align: left;
  gap: var(--space-5);
  background: white;
  transition: background var(--transition);
  color: var(--text-display);
  cursor: pointer;
}
.ds-faq-item__question:hover { background: var(--green-50); color: var(--brand-deep); }
.ds-faq-item__question[aria-expanded="true"] { color: var(--brand-deep); }
.ds-faq-item__question[aria-expanded="true"] .ds-faq-item__icon { transform: rotate(180deg); }
.ds-faq-item__icon { flex-shrink: 0; transition: transform var(--transition); color: var(--brand); }
.ds-faq-item__answer {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}
.ds-faq-item__answer.is-open { display: block; }
.ds-faq-item__answer p { margin-bottom: var(--space-2); }
.ds-faq-item__answer ul { padding-left: 20px; list-style: disc; }

/* --- CTA SECTION --- */
.ds-cta-section {
  padding: var(--space-20) 0;
}
.ds-ctablock {
  background: var(--green-600);
  border-radius: var(--radius-2xl);
  padding: 54px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.ds-ctablock h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 38px;
  line-height: 1.12;
  color: white;
  margin-bottom: 18px;
}
.ds-ctablock h2 b { font-weight: var(--fw-extra); }
.ds-ctablock p,
.ds-ctablock__desc { color: var(--green-100); font-size: var(--fs-body); line-height: 1.5; margin-bottom: 20px; }
.ds-ctablock ul { margin: 0; padding-left: 20px; color: white; font-size: var(--fs-sm); line-height: 1.8; }
.ds-formcard {
  background: white;
  border-radius: var(--radius-xl);
  padding: 30px;
  min-width: 0;
}

/* ── Booking CTA (book online / phone / call now) ──── */
.booking-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: stretch;
  min-width: 0;
}
.booking-cta__phone {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--text-display);
}
.booking-cta__phone:hover { color: var(--brand); }
.ds-formcard h3 {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: 19px;
  color: var(--ink-700);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 22px;
}
.ds-formcard__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.ds-input {
  width: 100%;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  color: var(--ink-700);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.ds-input:focus {
  border-color: var(--brand);
  box-shadow: var(--shadow-focus);
}
.ds-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  cursor: pointer;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.5;
}
.ds-checkbox input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--brand); }
.ds-checkbox span { min-width: 0; overflow-wrap: anywhere; }
.ds-checkbox a { color: var(--brand-deep); }

/* --- DS Responsive --- */
@media (max-width: 1024px) {
  .ds-hero__grid { grid-template-columns: 1fr; }
  .ds-hero__right { order: -1; }
  .ds-hero__photo { height: 360px; }
  .ds-hero__trust { gap: var(--space-6); }
  .ds-pills { flex-wrap: wrap; gap: var(--space-2); padding: var(--space-6); border-radius: var(--radius-lg); }
  .ds-pill { border-right: none; flex: 0 0 calc(50% - 8px); }
  .ds-doctor-grid { grid-template-columns: repeat(3, 1fr); }
  .ds-reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-ctablock { grid-template-columns: 1fr; padding: var(--space-10); }

  /* Doctor slider: 3 visible on tablet */
  .ds-doctor-slide { flex: 0 0 calc(33.333% - 14px); }
  .ds-doctor-section__header { grid-template-columns: 1fr; gap: var(--space-4); }
  .ds-doctor-section__desc { padding-top: 0; }
}

@media (max-width: 768px) {
  .ds-hero__photo { height: 280px; }
  .ds-hero__trust { flex-direction: column; gap: var(--space-4); }
  .ds-sympcards { grid-template-columns: 1fr; }
  .ds-pills { flex-direction: column; }
  .ds-pill { border-right: none; border-bottom: 1px solid var(--line); padding: var(--space-4) 0; }
  .ds-pill:last-child { border-bottom: none; }
  .ds-doctor-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-reviews-grid { grid-template-columns: 1fr; }
  .ds-ctablock { padding: var(--space-8); border-radius: var(--radius-xl); }
  .ds-ctablock h2 { font-size: 28px; }

  /* Doctor slider: 2 visible on mobile */
  .ds-doctor-slide { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 480px) {
  .ds-doctor-grid { grid-template-columns: 1fr; }
  /* Doctor slider: 1.5 visible on small mobile (peek) */
  .ds-doctor-slide { flex: 0 0 calc(80% - 10px); }
}

/* --- Checklist (replaces implant-section__list) --- */
.ds-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ds-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
}
.ds-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
}

/* ============================================================
   HOMEPAGE REDESIGN · Trust Route
   ============================================================ */
.main-content {
  background: var(--bg-page);
}

.ds-section-head {
  max-width: 820px;
  margin: 0 auto var(--space-10);
  text-align: center;
}

.ds-section-head p,
.ds-section-split p,
.ds-diagnostics p,
.ds-section-desc {
  color: var(--text-body);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  text-wrap: pretty;
}

.ds-section-head--dark p {
  color: var(--green-100);
}

.ds-section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: var(--space-10);
  align-items: end;
  margin-bottom: var(--space-10);
}

.ds-h2 {
  font-size: var(--text-h2);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.ds-h2--left {
  text-align: left;
}

.ds-hero {
  padding: clamp(34px, 5vw, 64px) 0 clamp(48px, 6vw, 78px);
  background:
    linear-gradient(180deg, rgba(242, 246, 234, 0.72), rgba(255, 255, 255, 0) 62%),
    var(--bg-page);
}

.ds-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.ds-hero__eyebrow {
  margin-bottom: var(--space-5);
}

.ds-hero__title {
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 700px;
  margin-bottom: var(--space-6);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.ds-hero__lead {
  max-width: 650px;
  color: var(--text-strong);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
  margin-bottom: var(--space-6);
  text-wrap: pretty;
}

.ds-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--space-6);
}

.ds-hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: 0;
  max-width: 720px;
}

.ds-hero__trust div {
  max-width: none;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  line-height: 1.25;
}

.ds-hero__trust b {
  display: block;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--brand);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.ds-hero__trust span {
  display: block;
  color: var(--ink-700);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}

.ds-hero__photo {
  height: clamp(380px, 42vw, 540px);
  border-radius: var(--radius-2xl);
  background: var(--sand);
  box-shadow: 0 14px 36px rgba(46, 60, 28, 0.12);
  border: 1px solid var(--line);
}

.ds-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ds-docflag {
  right: var(--space-5);
  bottom: var(--space-5);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(228, 230, 221, 0.88);
  box-shadow: 0 8px 22px rgba(20, 20, 15, 0.10);
}

.ds-hero-slider {
  position: relative;
  padding: 28px 0 54px;
  background: var(--bg-tint);
}

.ds-hero-slider > .container {
  max-width: var(--container-max);
  padding: 0 var(--container-pad);
}

.ds-hero-slider__viewport {
  position: relative;
  min-height: 620px;
  border-radius: 30px;
  overflow: visible;
  background: #505050;
}

.ds-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  overflow: hidden;
  border-radius: 30px;
  background: var(--hero-slide-bg, #505050);
}

.ds-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.ds-hero-slide .ds-hero__grid {
  width: 100%;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  gap: 0;
  align-items: stretch;
}

.ds-hero-slide .ds-hero__title {
  margin-bottom: var(--space-6);
}

.ds-hero-slider .ds-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 80px 32px 76px;
  color: var(--white);
}

.ds-hero-slider .ds-hero__eyebrow {
  margin-bottom: var(--space-6);
}

.ds-hero-slider .ds-badge--brand {
  min-width: min(388px, 100%);
  padding: 3px 18px;
  background: var(--white);
  color: var(--ink-900);
  text-align: center;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
}

.ds-hero-slider .ds-hero__title {
  max-width: 650px;
  color: var(--white);
  font-size: clamp(42px, 4.2vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.ds-hero-slider .ds-hero__lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 1.8vw, 22px);
}

.ds-hero-slider .ds-hero__actions {
  margin-bottom: 0;
}

.ds-hero-slider .btn-primary,
.ds-hero-slider .btn-ghost {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
  box-shadow: none;
}

.ds-hero-slider .btn-ghost {
  display: none;
}

.ds-hero-slider .btn-primary:hover,
.ds-hero-slider .btn-ghost:hover {
  background: var(--green-50);
  color: var(--brand-deep);
}

.ds-hero-slider .ds-hero__trust {
  display: none;
}

.ds-hero-slider .ds-hero__right {
  position: relative;
  min-width: 0;
}

.ds-hero-slider .ds-hero__photo {
  height: 100%;
  min-height: 620px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--hero-slide-bg, #505050);
}

.ds-hero-slider .ds-hero__photo::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 34%;
  background: linear-gradient(90deg, var(--hero-slide-bg, #505050), transparent);
  pointer-events: none;
}

.ds-hero-slider .ds-hero__photo img {
  object-fit: cover;
  object-position: center;
}

.ds-hero-slider .ds-docflag {
  display: none;
}

.ds-hero-slider__controls {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.ds-hero-slider__arrow,
.ds-hero-slider__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--ink-700);
}

.ds-hero-slider__arrow {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 38px;
  pointer-events: auto;
  border-radius: 50%;
  color: var(--white);
  font-size: 46px;
  font-weight: var(--fw-regular);
  line-height: 1;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.ds-hero-slider__arrow:first-child {
  left: 0;
  transform: translateY(-50%);
}

.ds-hero-slider__arrow:last-child {
  right: 0;
  transform: translateY(-50%);
}

.ds-hero-slider__arrow:hover,
.ds-hero-slider__arrow:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.ds-hero-slider__arrow:active {
  transform: translateY(calc(-50% + 1px));
}

.ds-hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: -28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.ds-hero-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9c9c4;
  transition: background var(--transition), transform var(--transition);
}

.ds-hero-slider__dot.is-active {
  width: 6px;
  background: var(--ink-900);
  transform: scale(1.1);
}

.ds-hero-slider__dot:focus-visible {
  outline: 3px solid var(--brand-deep);
  outline-offset: 4px;
}

.ds-methods {
  background: var(--sand);
  padding: clamp(60px, 8vw, 104px) 0;
}

.ds-pills {
  border-radius: var(--radius-xl);
  box-shadow: none;
  border: 1px solid var(--line);
  align-items: stretch;
}

.ds-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
}

.ds-methods {
  background: #f3f3f3;
  padding: clamp(34px, 4vw, 52px) 0 clamp(52px, 6vw, 72px);
  text-align: left;
}

.ds-advantages-head {
  margin-bottom: clamp(34px, 4vw, 56px);
}

.ds-advantages-head h2 {
  margin: 0;
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: clamp(34px, 2.9vw, 42px);
  font-weight: var(--fw-regular);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.ds-advantages-layout {
  display: grid;
  grid-template-columns: minmax(300px, 432px) minmax(0, 1fr);
  gap: clamp(28px, 3.2vw, 40px);
  align-items: start;
}

.ds-advantages-photo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--line);
  height: 612px;
}

.ds-advantages-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 128px;
  gap: 20px 40px;
}

.ds-advantage {
  min-width: 0;
  min-height: 128px;
  padding: 22px 28px;
  border-radius: 18px;
  background: white;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.ds-advantage__icon {
  width: 66px;
  height: 66px;
  color: #1b6da6;
  display: block;
}

.ds-advantage__icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ds-advantage__icon path,
.ds-advantage__icon rect,
.ds-advantage__icon circle {
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ds-advantage b {
  min-width: 0;
  color: #050505;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: var(--fw-bold);
  line-height: 1.32;
  letter-spacing: 0;
}

@media (max-width: 1180px) {
  .ds-advantages-layout {
    grid-template-columns: 1fr;
  }

  .ds-advantages-photo {
    height: 520px;
    min-height: 420px;
    max-height: 520px;
  }

  .ds-advantages-grid {
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .ds-methods {
    padding: 36px 0 44px;
  }

  .ds-advantages-head {
    margin-bottom: 26px;
  }

  .ds-advantages-head h2 {
    font-size: clamp(31px, 9vw, 40px);
    line-height: 1.08;
  }

  .ds-advantages-photo {
    height: 360px;
    min-height: 360px;
    border-radius: 16px;
  }

  .ds-advantages-grid {
    display: flex;
    grid-template-columns: none;
    grid-auto-rows: auto;
    gap: 14px;
    margin: 0 calc(var(--container-pad) * -1);
    padding: 0 var(--container-pad) 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ds-advantages-grid::-webkit-scrollbar {
    display: none;
  }

  .ds-advantage {
    flex: 0 0 min(82vw, 340px);
    min-height: 112px;
    padding: 22px;
    border-radius: 16px;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 20px;
    scroll-snap-align: start;
  }

  .ds-advantage__icon {
    width: 58px;
    height: 58px;
  }

  .ds-advantage b {
    font-size: 16px;
  }
}

.ds-diagnostics {
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--bg-page);
}

.ds-diagnostics__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.ds-diagnostics p {
  margin: var(--space-5) 0 var(--space-8);
  max-width: 620px;
}

.ds-equipment-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr;
  grid-auto-rows: 210px;
  gap: var(--space-4);
}

.ds-equipment-strip figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.ds-equipment-strip figure:first-child {
  grid-row: span 2;
}

.ds-equipment-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-equipment-strip figcaption {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--green-600);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
}

.ds-symptoms {
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--green-700);
}

.ds-sympcards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ds-scard {
  min-height: 178px;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ds-scard:hover {
  transform: translateY(-3px);
}

.ds-scard__num {
  display: inline-flex;
  margin-bottom: var(--space-5);
}

.ds-scard em {
  display: block;
  margin-top: var(--space-3);
  color: var(--ink-500);
  font-size: var(--fs-xs);
  line-height: 1.5;
  font-style: normal;
}

.ds-symptoms {
  padding: clamp(30px, 4vw, 44px) 0 clamp(42px, 6vw, 62px);
  background: #f3f3f3;
  color: var(--ink-900);
}

.ds-services-head {
  max-width: 960px;
  margin-bottom: clamp(28px, 3vw, 34px);
}

.ds-services-head h2 {
  margin: 0;
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: clamp(36px, 3.7vw, 50px);
  font-weight: var(--fw-bold);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.ds-symptoms .ds-sympcards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.4vw, 20px);
}

.ds-symptoms .ds-scard {
  position: relative;
  min-height: 220px;
  padding: 30px 34px 28px;
  overflow: hidden;
  background: white;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
  color: var(--green-700);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  isolation: isolate;
  transition: transform var(--transition), background var(--transition);
}

.ds-symptoms .ds-scard:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.ds-symptoms .ds-scard:focus-visible {
  outline: 3px solid rgba(86, 128, 52, 0.35);
  outline-offset: 4px;
}

.ds-scard__icon {
  position: relative;
  z-index: 1;
  width: 82px;
  height: 72px;
  display: block;
  margin: 0 0 18px;
}

.ds-scard__icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ds-scard__icon path,
.ds-scard__icon rect:not(.ds-scard__mark) {
  stroke: #15599a;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ds-scard__mark {
  fill: #81d8f7;
  opacity: 0.9;
}

.ds-symptoms .ds-scard b {
  position: relative;
  z-index: 2;
  max-width: 100%;
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: clamp(19px, 1.45vw, 22px);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  letter-spacing: 0;
  text-wrap: balance;
}

.ds-symptoms .ds-scard:nth-child(4) b {
  max-width: 72%;
}

.ds-scard__arrow {
  position: absolute;
  right: 34px;
  bottom: 32px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 3px solid var(--green-700);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: white;
}

.ds-scard__arrow svg {
  width: 22px;
  height: 22px;
}

.ds-scard__arrow path {
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ds-scard__bear {
  position: absolute;
  right: 16px;
  bottom: 10px;
  z-index: 1;
  width: min(48%, 160px);
  height: auto;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .ds-symptoms .ds-sympcards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ds-symptoms {
    padding: 40px 0 44px;
  }

  .ds-services-head h2 {
    font-size: clamp(31px, 10vw, 42px);
    line-height: 1.03;
  }

  .ds-symptoms .ds-sympcards {
    grid-template-columns: 1fr;
  }

  .ds-symptoms .ds-scard {
    min-height: 184px;
    padding: 24px 26px;
    border-radius: 16px;
  }

  .ds-scard__icon {
    width: 74px;
    height: 64px;
    margin-bottom: 14px;
  }

  .ds-scard__arrow {
    right: 24px;
    bottom: 24px;
  }

  .ds-scard__bear {
    width: 138px;
    right: 10px;
  }
}

.ds-doctor-section,
.ds-prices-section,
.ds-reviews-section,
.ds-faq-section,
.ds-cta-section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.ds-doctor-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.ds-doctor-card,
.ds-review-card,
.ds-faq-item {
  box-shadow: none;
}

.ds-doctor-card {
  border-radius: var(--radius-lg);
}

.ds-doctor-card__photo {
  aspect-ratio: auto;
  height: clamp(300px, 28vw, 380px);
}

.ds-prices-section {
  background: var(--cream);
}

.ds-prices-tables {
  max-width: 920px;
  margin: 0 auto;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.ds-prices-table th,
.ds-prices-table td {
  padding: 18px 22px;
}

.ds-price-actions {
  min-width: 0;
  justify-content: flex-start;
}

.ds-prices-tab {
  border-width: 1px;
}

.ds-reviews-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ds-review-card {
  min-height: 240px;
}

.ds-review-card__text {
  color: var(--ink-700);
  font-size: var(--fs-sm);
}

.ds-faq-list {
  max-width: 940px;
}

.ds-faq-item__answer.is-open {
  display: block;
}

.ds-ctablock {
  border-radius: var(--radius-2xl);
  background: var(--green-700);
}

.ds-formcard {
  border-radius: var(--radius-lg);
}

.ds-formcard h3 {
  text-align: left;
  font-size: 24px;
  color: var(--text-display);
}

.form-result.success {
  color: var(--green-700);
}

.form-result.error,
.form-error-text {
  color: var(--red-600);
}

@media (max-width: 1024px) {
  .ds-section-split,
  .ds-diagnostics__grid {
    grid-template-columns: 1fr;
  }

  .ds-hero__grid {
    grid-template-columns: 1fr;
  }

  .ds-hero__right {
    order: 0;
  }

  .ds-hero__photo {
    height: 460px;
  }

  .ds-hero-slider__viewport,
  .ds-hero-slide .ds-hero__grid,
  .ds-hero-slider .ds-hero__photo {
    min-height: 640px;
  }

  .ds-hero-slider .ds-hero__grid {
    display: block;
  }

  .ds-hero-slider .ds-hero__left {
    position: relative;
    z-index: 2;
    min-height: 640px;
    max-width: 720px;
    padding: 86px 32px 84px;
  }

  .ds-hero-slider .ds-hero__right {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.52;
  }

  .ds-hero-slider .ds-hero__photo::before {
    width: 100%;
    background: linear-gradient(
      90deg,
      color-mix(in srgb, var(--hero-slide-bg, #505050) 96%, transparent),
      color-mix(in srgb, var(--hero-slide-bg, #505050) 82%, transparent) 48%,
      color-mix(in srgb, var(--hero-slide-bg, #505050) 28%, transparent)
    );
  }

  .ds-hero-slider__viewport {
    min-height: 640px;
  }

  .ds-hero-slide {
    align-items: stretch;
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .btn {
    min-height: 46px;
  }

  .btn-lg {
    width: 100%;
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .ds-section-head,
  .ds-section-split {
    text-align: left;
  }

  .ds-hero__trust {
    grid-template-columns: 1fr;
  }

  .ds-hero__photo {
    height: 360px;
    border-radius: var(--radius-xl);
  }

  .ds-hero-slider {
    padding-top: var(--space-4);
    padding-bottom: 48px;
  }

  .ds-hero-slider__viewport {
    min-height: 650px;
    border-radius: var(--radius-xl);
  }

  .ds-hero-slider__controls {
    inset: 0;
    width: auto;
    transform: none;
  }

  .ds-hero-slider__dots {
    bottom: -28px;
  }

  .ds-hero-slider__arrow {
    width: 34px;
    height: 34px;
    font-size: 40px;
  }

  .ds-hero-slider .ds-hero__left {
    min-height: 650px;
    padding: 74px 20px 74px;
  }

  .ds-hero-slider .ds-hero__title {
    font-size: clamp(36px, 11vw, 48px);
  }

  .ds-hero-slider .ds-hero__lead {
    font-size: var(--fs-body);
  }

  .ds-docflag {
    position: static;
    max-width: none;
    margin: var(--space-4);
  }

  .ds-pills {
    align-items: stretch;
  }

  .ds-equipment-strip {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .ds-equipment-strip figure:first-child {
    grid-row: span 1;
  }

  .ds-reviews-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin: var(--space-8) calc(var(--container-pad) * -1) 0;
    padding: 0 var(--container-pad) 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ds-reviews-grid::-webkit-scrollbar {
    display: none;
  }

  .ds-review-card {
    flex: 0 0 min(86vw, 360px);
    min-height: 260px;
    scroll-snap-align: start;
  }

  .ds-prices-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0 calc(var(--container-pad) * -1) var(--space-6);
    padding: 0 var(--container-pad) 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ds-prices-tabs::-webkit-scrollbar {
    display: none;
  }

  .ds-prices-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .ds-ctablock {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
    padding: var(--space-8) var(--space-5);
    overflow: hidden;
  }

  .ds-ctablock__left,
  .ds-formcard,
  .ds-formcard__fields {
    min-width: 0;
    max-width: 100%;
  }

  .ds-ctablock h2 {
    overflow-wrap: anywhere;
  }

  .ds-formcard {
    width: 100%;
    padding: var(--space-6);
  }

  .ds-formcard h3 {
    font-size: 20px;
    line-height: 1.25;
  }

  .ds-input,
  .ds-formcard .btn {
    width: 100%;
    max-width: 100%;
  }

  .ds-formcard .btn {
    min-height: 50px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
}

@media (max-width: 414px) {
  :root {
    --container-pad: 14px;
  }

  .ds-hero__title {
    font-size: clamp(34px, 13vw, 48px);
  }

  .ds-hero__photo {
    height: 310px;
  }

  .ds-hero-slider__viewport {
    min-height: 690px;
  }

  .ds-hero-slider .ds-hero__left {
    min-height: 690px;
  }

  .ds-prices-tab {
    flex: 0 0 auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .ds-ctablock {
    padding: var(--space-6) var(--space-4);
    border-radius: var(--radius-lg);
  }

  .ds-formcard {
    padding: var(--space-5);
  }

  .ds-input {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1024px) {
  .ds-doctor-section__heading,
  .ds-doctor-section__title,
  .ds-doctor-section__desc {
    min-width: 0;
    max-width: 100%;
  }

  .ds-doctor-section__title {
    overflow-wrap: anywhere;
  }

  .ds-doctor-section__header {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 42px;
  }

  .ds-doctor-section__desc {
    max-width: 720px;
  }

  .ds-doctor-slide {
    flex-basis: calc((100% - 30px) / 2);
  }

  .ds-doc-slider__arrow {
    top: 36%;
    width: 42px;
    height: 42px;
  }

  .ds-doc-slider__arrow:first-child {
    left: 10px;
  }

  .ds-doc-slider__arrow:last-child {
    right: 10px;
  }
}

@media (max-width: 560px) {
  .ds-doctor-section {
    padding: 38px 0 46px;
  }

  .ds-doctor-section__title {
    font-size: clamp(34px, 11vw, 42px);
  }

  .ds-doctor-section__desc {
    font-size: 15px;
  }

  .ds-doc-slider__track {
    gap: 18px;
  }

  .ds-doctor-slide {
    flex-basis: 82%;
  }

  .ds-doc-slider__arrow {
    width: 38px;
    height: 38px;
  }

  .ds-doc-slider__arrow:first-child {
    left: 8px;
  }

  .ds-doc-slider__arrow:last-child {
    right: 8px;
  }

  .ds-doctor-slide__name {
    font-size: 17px;
  }
}

/* ========================================
   SERVICE DETAIL PAGE
   ======================================== */

/* ── Breadcrumb bar ───────────────────── */
.svc-breadcrumb-bar {
  background: var(--green-700);
  padding: 10px 0;
}
.svc-breadcrumb-bar__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--fs-xs);
}
.svc-breadcrumb-bar__nav a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color var(--transition);
}
.svc-breadcrumb-bar__nav a:hover { color: #fff; }
.svc-breadcrumb-bar__nav span:last-child {
  color: #fff;
  font-weight: var(--fw-medium);
}
.svc-breadcrumb-bar__nav span:not(:last-child) {
  color: rgba(255,255,255,.4);
}

/* ── Hero ─────────────────────────────── */
.svc-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: var(--space-10) 0 0;
}
.svc-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: .08;
  pointer-events: none;
}
.svc-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding-bottom: var(--space-12);
}
.svc-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.svc-hero__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: var(--fw-extra);
  line-height: 1.1;
  color: var(--text-display);
  margin: 0;
}
.svc-hero__price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.svc-hero__price {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  background: var(--green-600);
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: var(--fw-extra);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  line-height: 1.2;
}
.svc-hero__price-old {
  font-size: .6em;
  font-weight: var(--fw-regular);
  text-decoration: line-through;
  opacity: .7;
}
.svc-hero__duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.svc-hero__desc {
  font-size: var(--fs-lead);
  color: var(--text-body);
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
}
.svc-hero__cta {
  align-self: flex-start;
}
.svc-hero__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.svc-hero__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  font-size: var(--fs-sm);
  color: var(--text-strong);
  font-weight: var(--fw-medium);
}
.svc-hero__feature-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}
.svc-hero__feature-icon svg { width: 100%; height: 100%; }

/* right side image */
.svc-hero__media {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--green-50);
}
.svc-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-hero__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-hero__img-placeholder svg { width: 60%; height: 60%; }

/* ── Section common ───────────────────── */
.svc-section {
  padding: var(--space-16) 0;
}
.svc-section--tinted {
  background: var(--cream);
}
.svc-section__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: var(--fw-extra);
  color: var(--text-display);
  margin: 0 0 var(--space-8);
}
.svc-section__sub {
  margin: calc(-1 * var(--space-6)) 0 var(--space-8);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.svc-section__sub a { color: var(--brand); }

/* ── Description + Sidebar ────────────── */
.svc-description {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-12);
  align-items: start;
}
.svc-description__body { min-width: 0; }

/* Sidebar card */
.svc-sidebar-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: sticky;
  top: 100px;
}
.svc-sidebar-card__title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.svc-sidebar-card__price {
  font-size: var(--fs-h3);
  font-weight: var(--fw-extra);
  color: var(--green-700);
}
.svc-sidebar-card__price-old {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 2px;
}
.svc-sidebar-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--space-3);
}

/* Sidebar nav */
.svc-sidebar-nav {
  margin-top: var(--space-6);
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
}
.svc-sidebar-nav__title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.svc-sidebar-nav__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--transition);
}
.svc-sidebar-nav__link:last-of-type { border-bottom: none; }
.svc-sidebar-nav__link:hover { color: var(--brand); }
.svc-sidebar-nav__link span { color: var(--text-muted); white-space: nowrap; }
.svc-sidebar-nav__all {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--brand);
  text-decoration: none;
}
.svc-sidebar-nav__all:hover { text-decoration: underline; }

/* ── Treatment steps ──────────────────── */
.svc-steps { max-width: 780px; }

/* ── Advantages grid ──────────────────── */
.svc-adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}
.svc-adv-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--text-strong);
  font-weight: var(--fw-medium);
  line-height: 1.5;
}
.svc-adv-item__check {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 1px;
}
.svc-adv-item__check svg { width: 100%; height: 100%; }

/* ── Indications / Contraindications ──── */
.svc-indications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.svc-indications__col {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-7);
  border-top: 4px solid var(--border-subtle);
}
.svc-indications__col--yes { border-top-color: var(--green-500); }
.svc-indications__col--no  { border-top-color: var(--red-500); }
.svc-indications__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.svc-indications__head h3 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  margin: 0;
}
.svc-indications__icon { width: 32px; height: 32px; flex: 0 0 32px; }
.svc-indications__icon svg { width: 100%; height: 100%; }
.svc-indications .rich-text {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--green-50);
}
.svc-indications__col--no .rich-text {
  background: #fff1ef;
}
.svc-indications .rich-text > :first-child { margin-top: 0; }
.svc-indications .rich-text > :last-child { margin-bottom: 0; }

/* ── Price highlight row ──────────────── */
.ds-prices-table__current td {
  background: var(--green-50);
  font-weight: var(--fw-semibold);
}
.svc-prices__note {
  margin-top: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ── Doctors strip ────────────────────── */
.svc-doctors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-5);
}
.svc-doctor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition), transform var(--transition);
}
.svc-doctor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.svc-doctor-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--green-50);
}
.svc-doctor-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-doctor-card__photo-placeholder { width: 100%; height: 100%; }
.svc-doctor-card__photo-placeholder svg { width: 100%; height: 100%; }
.svc-doctor-card__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-display);
  text-decoration: none;
}
.svc-doctor-card__pos,
.svc-doctor-card__exp {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.svc-doctor-card__price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--green-50);
  color: var(--brand);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}
.svc-doctor-card__info { display: flex; flex-direction: column; align-items: center; gap: 2px; }

/* ── Related services grid ────────────── */
.svc-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}
.svc-related-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.svc-related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.svc-related-card__img { aspect-ratio: 16/9; overflow: hidden; }
.svc-related-card__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-related-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.svc-related-card__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-display);
  line-height: 1.4;
}
.svc-related-card__desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.5;
}
.svc-related-card__price {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--green-700);
  margin-top: auto;
}
.svc-related-card__arrow {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 20px;
  color: var(--border-strong);
  transition: color var(--transition);
}
.svc-related-card:hover .svc-related-card__arrow { color: var(--brand); }

/* ── Responsive ───────────────────────── */
@media (max-width: 1024px) {
  .svc-description { grid-template-columns: 1fr; }
  .svc-sidebar-card { position: static; }
  .svc-description__sidebar { order: -1; }
  .svc-sidebar-card { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
  .svc-sidebar-nav { margin-top: 0; }
}
@media (max-width: 768px) {
  .svc-hero__inner { grid-template-columns: 1fr; }
  .svc-hero__media { display: none; }
  .svc-hero { padding-top: var(--space-8); }
  .svc-cta__inner { grid-template-columns: 1fr; }
  .svc-indications { grid-template-columns: 1fr; }
  .svc-sidebar-card { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .svc-section { padding: var(--space-10) 0; }
  .svc-hero__price { font-size: 24px; }
}

/* ===== Symptoms checklist (home) ===== */
.ds-symptoms-check {
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--cream);
}

.ds-symptoms-check__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.ds-symptom-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.ds-symptom-card__check {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-symptom-card b {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.45;
}

.ds-symptoms-check__footer {
  text-align: center;
}

/* ===== Treatment steps (home) ===== */
.ds-steps-section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.ds-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.ds-step-card {
  padding: var(--space-6) var(--space-5);
  background: var(--cream);
  border-radius: var(--radius-lg);
}

.ds-step-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--green-100);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.ds-step-card b {
  display: block;
  font-size: var(--fs-body);
  color: var(--ink-900);
  margin-bottom: var(--space-2);
}

.ds-step-card p {
  color: var(--ink-500);
  font-size: var(--fs-sm);
  margin: 0;
}

