/* ============================================================
   PRO DENTAL — Tashkent · styles.css
   Design system: bone paper + deep spruce ink + deep teal + terracotta
   Type: Prata (display, Cyrillic) + Manrope (UI)
   ============================================================ */

:root {
  color-scheme: only light;
  --paper: #f4f1ea;
  --paper-2: #eee9df;
  --card: #fffdf8;
  --ink: #1c2b2b;
  --ink-2: #40514f;
  --line: #e0dacb;
  --line-2: #d4cdba;
  --teal: #136c67;
  --teal-deep: #0d5450;
  --teal-soft: #e3edea;
  --terra: #b4593a;
  --terra-ink: #96482f;
  --dark: #16282e;
  --dark-2: #102126;
  --sand: #e8ddc8;
  --sand-dim: rgba(232, 221, 200, 0.62);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 2px 6px rgba(28, 43, 43, 0.05), 0 14px 34px rgba(28, 43, 43, 0.09);
  --shadow-sm: 0 1px 3px rgba(28, 43, 43, 0.06), 0 6px 18px rgba(28, 43, 43, 0.07);
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
  --font-display: "Prata", "Georgia", serif;
  --font-ui: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  overflow-x: clip;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--dark { background: var(--dark); color: #f0ece2; }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.16; letter-spacing: -0.01em; }

h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 640px; }

.kicker {
  font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.kicker--line::before { content: ""; width: 34px; height: 1px; background: var(--terra); }
.kicker--terra { color: var(--terra-ink); }
.kicker--sand { color: var(--sand); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__note { max-width: 640px; color: var(--ink-2); margin-top: 18px; }
.section-head--dark h2 { color: #f5f1e6; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

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

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 15px; line-height: 1;
  padding: 17px 30px; border-radius: 999px; text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
}
.btn--primary { background: var(--teal); color: #f7f5ee; box-shadow: 0 10px 24px rgba(19, 108, 103, 0.28); }
.btn--primary:hover { background: var(--teal-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(19, 108, 103, 0.34); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn--light { background: var(--sand); color: var(--dark-2); }
.btn--light:hover { background: #f2e9d7; transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(232, 221, 200, 0.4); color: var(--sand); background: transparent; }
.btn--outline-light:hover { border-color: var(--sand); transform: translateY(-2px); }
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--lg { padding: 19px 36px; font-size: 16px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 241, 234, 0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(28, 43, 43, 0.08); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--teal); color: #f2efe6;
  display: grid; place-items: center; flex: none;
}
.brand__text { font-family: var(--font-display); font-size: 21px; line-height: 1.05; display: flex; flex-direction: column; }
.brand__text small { font-family: var(--font-ui); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; transition: color 0.2s; }
.nav > a:hover { color: var(--teal); }
.nav__phones { display: none; flex-direction: column; gap: 4px; border-top: 1px solid var(--line-2); padding-top: 16px; width: 100%; }
.nav__phones a { font-weight: 800; font-size: 17px; color: var(--ink); text-decoration: none; }
.nav__phones span { font-size: 12.5px; color: var(--ink-2); }

.header__right { display: flex; align-items: center; gap: 18px; }
.header__phone { font-weight: 800; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header__phone:hover { color: var(--teal); }

.lang { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; letter-spacing: 0.04em; }
.lang i { font-style: normal; color: var(--line-2); }
.lang a, .lang__cur { color: var(--ink-2); text-decoration: none; padding: 6px 2px; }
.lang__cur { color: var(--teal-deep); border-bottom: 2px solid var(--terra); }
.lang a:hover { color: var(--teal); }

.burger {
  display: none; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 12px;
  background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(44px, 6vw, 84px) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 72px); align-items: center; }

.hero__title { font-size: clamp(34px, 4.3vw, 58px); margin: 4px 0 22px; }
.hero__title em { font-style: normal; color: var(--teal); }
.hero__lead { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--ink-2); max-width: 480px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__alt { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
.hero__alt a { font-weight: 800; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--terra); display: inline-block; padding: 4px 0; }
.hero__alt a:hover { color: var(--teal); }

.hero__facts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.rating-chip {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px 9px 14px; font-size: 13.5px; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.rating-chip strong { color: var(--ink); font-size: 15px; }
.rating-chip__stars { color: var(--terra); letter-spacing: 1.5px; font-size: 13px; }
.rating-chip__stars i { font-style: normal; opacity: 0.35; }
.rating-chip--ghost { box-shadow: none; }
.open-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--teal-deep); }
.open-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #2e9e63; box-shadow: 0 0 0 3px rgba(46, 158, 99, 0.18); }
.open-chip.is-closed .dot { background: var(--terra); box-shadow: 0 0 0 3px rgba(180, 89, 58, 0.15); }

.hero__media { position: relative; padding-bottom: 60px; }
.hero__photo { margin: 0; }
.hero__photo--main {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero__photo--main img { width: 100%; aspect-ratio: 16 / 10.4; object-fit: cover; }
.hero__photo--overlap {
  position: absolute; right: -14px; bottom: 0; width: 46%;
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow);
  border: 4px solid var(--paper); background: var(--paper);
}
.hero__photo--overlap img { width: 100%; aspect-ratio: 4 / 2.9; object-fit: cover; }
.hero__caption { position: absolute; left: 6px; bottom: -34px; font-size: 12px; color: var(--ink-2); }

.hero__hours {
  position: absolute; top: 26px; left: -22px;
  background: var(--terra); color: #fbf4ec; border-radius: 16px;
  padding: 16px 22px 14px; box-shadow: 0 16px 34px rgba(180, 89, 58, 0.32);
  display: flex; flex-direction: column; gap: 2px; transform: rotate(-2deg);
}
.hero__hours-num { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.hero__hours-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }

.hero__strip {
  margin-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.hero__strip-in {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px 0; font-size: 13.5px; font-weight: 700; color: var(--ink-2); flex-wrap: wrap;
}
.hero__strip .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--terra); flex: none; }

/* ---------- trust ---------- */
.trust__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(36px, 5vw, 72px); }
.trust__item {
  display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: start;
  border-top: 1px solid var(--line-2); padding: 26px 0 30px; position: relative;
}
.trust__item::after { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 3px; background: var(--terra); border-radius: 2px; }
.trust__num { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1; color: var(--terra-ink); opacity: 0.9; }
.trust__item h3 { font-size: 21px; margin-bottom: 9px; grid-column: 2; }
.trust__item p { grid-column: 2; font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 430px; }
.trust__item .trust__num { grid-row: 1 / span 2; }

/* ---------- services ---------- */
.services { background: var(--paper-2); border-block: 1px solid var(--line); }
.services__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr); gap: clamp(36px, 5vw, 84px); align-items: start; }
.services__sticky { position: sticky; top: 108px; }
.services__note { color: var(--ink-2); margin: 18px 0 28px; max-width: 380px; }
.services__list { display: flex; flex-direction: column; gap: 12px; }

.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; transition: box-shadow 0.3s var(--ease), border-color 0.3s;
}
.svc.is-open { box-shadow: var(--shadow); border-color: var(--line-2); }
.svc__head {
  display: grid; grid-template-columns: 44px 1fr auto 30px; align-items: center; gap: 14px;
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 21px 22px; font-family: var(--font-ui); color: var(--ink);
}
.svc__index { font-family: var(--font-display); font-size: 14px; color: var(--terra-ink); }
.svc__name { font-size: 17.5px; font-weight: 800; letter-spacing: -0.01em; }
.svc__from { font-size: 13px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.svc__chev { display: grid; place-items: center; color: var(--ink-2); transition: transform 0.35s var(--ease); }
.svc.is-open .svc__chev { transform: rotate(180deg); }

.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.svc__body.is-open { grid-template-rows: 1fr; }
.svc__inner { overflow: hidden; padding: 0 22px; }
.svc.is-open .svc__inner { padding: 2px 22px 24px; }
.svc__inner > p { font-size: 14.8px; color: var(--ink-2); max-width: 640px; }
.svc__who, .svc__how { margin-top: 10px; }
.svc__who strong, .svc__how strong { color: var(--ink); }
.svc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc__chips span {
  font-size: 12px; font-weight: 700; color: var(--teal-deep); background: var(--teal-soft);
  border-radius: 999px; padding: 6px 13px;
}

/* ---------- journey ---------- */
.journey__list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: j; }
.journey__step { border-top: 1px solid rgba(232, 221, 200, 0.25); padding-top: 22px; position: relative; }
.journey__step::before {
  content: ""; position: absolute; top: -3px; left: 0; width: 34px; height: 5px; background: var(--terra); border-radius: 3px;
}
.journey__num { font-family: var(--font-display); font-size: 15px; color: var(--sand); display: block; margin-bottom: 14px; }
.journey__step h3 { color: #f5f1e6; font-size: 19px; margin-bottom: 9px; }
.journey__step p { font-size: 14px; color: var(--sand-dim); line-height: 1.55; }

/* ---------- prices ---------- */
.prices__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.price-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-sm); }
.price-group h3 { font-size: 21px; margin-bottom: 18px; }
.price-group ul { list-style: none; }
.price-group li { display: flex; align-items: baseline; gap: 10px; padding: 10.5px 0; font-size: 14.8px; }
.price-group li + li { border-top: 1px dashed var(--line); }
.price-group li span { color: var(--ink-2); min-width: 0; }
.price-group li i { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-3px); }
.price-group li b { font-weight: 800; color: var(--ink); white-space: nowrap; }
.prices__foot { margin-top: 26px; font-size: 13px; color: var(--ink-2); max-width: 720px; }

/* ---------- clinic gallery ---------- */
.clinic__gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 118px; gap: 14px; }
.clinic__photo { margin: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.clinic__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.clinic__photo:hover img { transform: scale(1.04); }
.clinic__photo figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  font-size: 12px; font-weight: 700; color: #fdfbf5;
  background: rgba(22, 40, 46, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 8px; padding: 6px 11px; width: fit-content;
}
.clinic__photo--a { grid-column: span 4; grid-row: span 3; }
.clinic__photo--b { grid-column: span 2; grid-row: span 2; }
.clinic__photo--c { grid-column: span 2; grid-row: span 2; }
.clinic__photo--d { grid-column: span 3; grid-row: span 2; }
.clinic__photo--e { grid-column: span 3; grid-row: span 2; }
.clinic__note { margin-top: 18px; font-size: 12.5px; color: var(--ink-2); max-width: 720px; }

/* ---------- reviews ---------- */
.reviews__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px; box-shadow: var(--shadow-sm); margin: 0;
}
.review p { font-size: 15.5px; color: var(--ink); }
.review footer { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.review cite { font-style: normal; font-weight: 800; font-size: 14px; color: var(--ink); }
.review footer span { font-size: 12.5px; color: var(--ink-2); }
.review--featured {
  background: linear-gradient(135deg, #f8f4ea 0%, #efe9db 100%);
  border: 1px solid var(--line-2); padding: clamp(32px, 4vw, 52px); margin-bottom: 22px; position: relative;
}
.review--featured::before {
  content: "\u00AB"; position: absolute; top: 10px; right: 34px;
  font-family: var(--font-display); font-size: 130px; line-height: 1; color: rgba(180, 89, 58, 0.12);
}
.review--featured p { font-family: var(--font-display); font-size: clamp(20px, 2.3vw, 28px); line-height: 1.35; max-width: 880px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.docs { margin-top: 46px; background: var(--teal-soft); border: 1px solid #d3e2dd; border-radius: var(--radius); padding: clamp(28px, 3.5vw, 44px); }
.docs__head h3 { font-size: 22px; margin-bottom: 6px; }
.docs__head p { font-size: 14px; color: var(--ink-2); max-width: 640px; }
.docs__quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.docs__quote { background: rgba(255, 253, 248, 0.75); border: 1px solid #d3e2dd; border-radius: var(--radius-sm); padding: 20px 22px; }
.docs__quote p { font-size: 14.5px; }
.docs__quote span { display: block; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.reviews__transnote { margin: -8px 0 22px; font-size: 12.5px; color: var(--ink-2); }
.docs__note { margin-top: 20px; font-size: 12.5px; color: var(--ink-2); max-width: 720px; }

/* ---------- faq ---------- */
.faq { background: var(--paper-2); border-block: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(36px, 5vw, 84px); align-items: start; }
.faq__side { position: sticky; top: 108px; }
.faq__note { margin-top: 16px; color: var(--ink-2); font-size: 14.5px; max-width: 360px; }
.faq__note a { display: inline-block; padding: 4px 0; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0; overflow: hidden; transition: box-shadow 0.3s;
}
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 19px 56px 19px 24px; position: relative;
  font-weight: 800; font-size: 15.5px; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px;
  transform: translateY(-50%);
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 5.5 8 10.5 13 5.5' fill='none' stroke='%2340514f' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq__item p { padding: 0 24px 22px; font-size: 14.5px; color: var(--ink-2); max-width: 640px; }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(140deg, var(--dark) 0%, var(--dark-2) 100%); color: #f0ece2; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta-band__text h2 { color: #f5f1e6; }
.cta-band__lead { margin-top: 14px; color: var(--sand-dim); max-width: 460px; font-size: 15.5px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 300px; }
.cta-band__map { color: var(--sand-dim); font-size: 13.5px; text-decoration: none; text-align: center; padding: 9px 0; }
.cta-band__map:hover { color: var(--sand); }

/* ---------- contacts ---------- */
.contacts__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.contacts__info h2 { margin-bottom: 24px; }
.contacts__address {
  font-style: normal; font-size: 17px; line-height: 1.6; color: var(--ink);
  border-left: 3px solid var(--terra); padding-left: 18px; margin-bottom: 28px;
}
.contacts__address strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 20px; margin-bottom: 6px; }
.contacts__list { list-style: none; margin-bottom: 30px; }
.contacts__list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.8px; }
.contacts__list li span { color: var(--ink-2); font-weight: 600; font-size: 13.5px; padding-top: 2px; }
.contacts__list a { text-decoration: none; color: var(--teal); font-weight: 700; display: inline-block; padding: 5px 0; }
.contacts__list a:hover { text-decoration: underline; }
.contacts__list small { color: var(--ink-2); }
.contacts__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contacts__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--paper-2); }
.contacts__map iframe { display: block; border: 0; width: 100%; height: 480px; }
.contacts__map-note { padding: 13px 18px; font-size: 13px; color: var(--ink-2); background: var(--card); border-top: 1px solid var(--line); }

/* ---------- footer ---------- */
.footer { background: var(--dark-2); color: #c9c4b6; padding: 60px 0 0; }
.footer__in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 44px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand .brand__mark { width: 34px; height: 34px; }
.footer__name { font-family: var(--font-display); font-size: 22px; color: #f5f1e6; }
.footer__brand p { font-size: 13.5px; color: #9aa5a3; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col h4 { color: #f5f1e6; font-family: var(--font-ui); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.footer__col a { color: #c9c4b6; text-decoration: none; padding: 4px 0; }
.footer__col a:hover { color: #fff; }
.footer__col p { color: #9aa5a3; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0 26px; font-size: 12px; color: #8b9492; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__bottom p { max-width: 760px; }
.footer__src { color: #6f7a78; }

/* ---------- mobile bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 241, 234, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}
.mbar.is-visible { transform: translateY(0); }
.mbar__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 14px 18px; font-weight: 800; font-size: 14.5px; text-decoration: none; line-height: 1;
}
.mbar__btn--ghost { border: 1.5px solid var(--line-2); color: var(--ink); background: var(--card); }
.mbar__btn--primary { background: var(--teal); color: #f7f5ee; box-shadow: 0 8px 20px rgba(19, 108, 103, 0.3); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1120px) {
  .journey__list { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .hero__hours { left: -8px; }
}

@media (max-width: 980px) {
  .header__phone { display: none; }
  .burger { display: flex; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: 30px 24px; gap: 22px;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
    overflow-y: auto; z-index: 90;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav > a { font-size: 19px; font-weight: 700; color: var(--ink); }
  .nav__phones { display: flex; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .hero__photo--overlap { right: 0; }
  .hero__hours { top: -14px; left: -6px; }
  .services__grid { grid-template-columns: 1fr; }
  .services__sticky { position: static; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .contacts__grid { grid-template-columns: 1fr; }
  .contacts__map iframe { height: 360px; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .docs__quotes { grid-template-columns: 1fr; }
  .clinic__gallery { grid-template-columns: repeat(4, 1fr); }
  .clinic__photo--a { grid-column: span 4; grid-row: span 2; }
  .clinic__photo--b, .clinic__photo--c { grid-column: span 2; grid-row: span 2; }
  .clinic__photo--d, .clinic__photo--e { grid-column: span 2; grid-row: span 2; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .mbar { display: flex; }
  body { padding-bottom: 74px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 64px 0; }
  .trust__list { grid-template-columns: 1fr; }
  .trust__item { grid-template-columns: 48px 1fr; padding: 22px 0 26px; }
  .trust__item h3 { font-size: 19px; }
  .journey__list { grid-template-columns: 1fr; row-gap: 26px; }
  .prices__grid { grid-template-columns: 1fr; }
  .price-group { padding: 24px 22px; }
  .price-group li { align-items: flex-start; flex-wrap: wrap; }
  .price-group li span { flex: 1 1 150px; }
  .price-group li i { display: none; }
  .price-group li b { margin-left: auto; }
  .reviews__grid { grid-template-columns: 1fr; }
  .review--featured::before { display: none; }
  .clinic__gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .clinic__photo--a { grid-column: span 2; grid-row: span 2; }
  .clinic__photo--b, .clinic__photo--c, .clinic__photo--d, .clinic__photo--e { grid-column: span 2; grid-row: span 2; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
  .svc__head { grid-template-columns: 34px 1fr 26px; }
  .svc__from { display: none; }
  .contacts__list li { grid-template-columns: 104px 1fr; }
  .footer__in { grid-template-columns: 1fr; gap: 28px; }
  .hero__caption { position: static; margin-top: 44px; }
  .header__right .btn { display: none; }
}

@media (max-width: 400px) {
  .hero__hours { padding: 12px 16px 10px; }
  .hero__hours-num { font-size: 24px; }
  .btn--lg { padding: 17px 26px; font-size: 15px; }
}

/* --- real brand logo mark --- */
.brand__mark img { width: 30px; height: 30px; display: block; }

/* ---------- team / doctors ---------- */
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.doc__photo { margin: 0; aspect-ratio: 3 / 3.4; overflow: hidden; background: var(--rose-soft, #f6e3e4); }
.doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 0.6s var(--ease); }
.doc:hover .doc__photo img { transform: scale(1.03); }
.doc__body { padding: 20px 22px 24px; }
.doc__spec { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal, #c2232d); margin-bottom: 8px; }
.doc__name { font-family: Prata, serif; font-size: 21px; margin-bottom: 6px; }
.doc__full { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.doc__desc { font-size: 14.5px; line-height: 1.6; }
.doc__acts { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.team__note { margin-top: 18px; font-size: 12.5px; color: var(--ink-2); }
.team__note a { display: inline-block; padding: 2px 0; }
.team__cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.team .section-head h1 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.08; margin-bottom: 12px; }
@media (max-width: 980px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team__grid { grid-template-columns: 1fr; } .doc__photo { aspect-ratio: 4 / 4.6; } }

/* ---------- doctors page extras ---------- */
.doc__list { margin: 8px 0 0; padding: 0 0 0 2px; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); }
.doc__list li { padding-left: 16px; position: relative; }
.doc__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal, #c2232d); opacity: 0.75; }
.doc__cta { margin-top: 16px; }
.vsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.vstep { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 20px; }
.vstep__num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rose-soft, #f6e3e4); color: var(--teal, #c2232d); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.vstep h3 { font-size: 17px; margin-bottom: 7px; }
.vstep p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 980px) { .vsteps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vsteps { grid-template-columns: 1fr; } }

.btn--wa, .btn--tg { background: var(--teal-soft); color: var(--teal); border-color: transparent; box-shadow: none; }
.btn--wa:hover, .btn--tg:hover { background: var(--teal); color: #ffffff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(194, 35, 45, 0.24); }
.header__wa, .header__tg { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); flex: 0 0 auto; }
.header__wa:hover, .header__tg:hover { background: var(--teal); color: #ffffff; }
.header__wa svg, .header__tg svg { width: 20px; height: 20px; }
.mbar__btn--wa, .mbar__btn--tg { background: var(--teal-soft); color: var(--teal); box-shadow: none; }
.mbar__btn { font-size: 13.5px; padding: 13px 10px; gap: 6px; }

