/* ============================================================
   Дмитрий — частный мастер. Ставрополь.
   Спокойная светлая тема, серифные заголовки, медный акцент.
   ============================================================ */

:root {
  --ink: #181b1d;
  --ink-soft: #2b3033;
  --ink-muted: #4c5154;
  --paper: #f8f6f2;
  --paper-2: #f1ece4;
  --paper-3: #eae4da;
  --white: #ffffff;
  --line: #e0d9cd;
  --line-strong: #cfc6b8;
  --line-dark: #3a4043;
  --muted: #6f6c66;
  --accent: #a66b2e;
  --accent-dark: #8a5624;
  --accent-soft: #f4eadc;
  --green: #2f6b4f;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 10px 28px rgba(24, 27, 29, 0.06);
  --shadow-md: 0 22px 50px rgba(24, 27, 29, 0.11);
  --container: 1180px;
  --font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", "Noto Serif", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

strong { font-weight: 700; }

::selection { background: var(--accent); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- ТОП-СТРОКА ---------- */

.topbar {
  background: var(--ink);
  color: #cfccc5;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar__area { display: inline-flex; align-items: center; gap: 8px; }
.topbar__area svg { width: 15px; height: 15px; opacity: 0.8; }
.topbar__status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8f8c85;
  box-shadow: 0 0 0 3px rgba(143, 140, 133, 0.15);
  flex: none;
}
.status-dot.is-open {
  background: #6fae86;
  box-shadow: 0 0 0 3px rgba(111, 174, 134, 0.16);
}

/* ---------- ШАПКА ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 246, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(10px);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(24, 27, 29, 0.07); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: 0.01em;
}
.brand__text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.25s ease;
}
.nav a:hover::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: 18px; flex: none; }

.header__phone { display: flex; flex-direction: column; align-items: flex-end; text-align: right; line-height: 1.2; }
.header__phone span {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.header__phone small { color: var(--muted); font-size: 11.5px; margin-top: 3px; white-space: nowrap; }
.header__phone:hover span { color: var(--accent-dark); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: var(--radius);
  padding: 0;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger span { top: 21px; }
.burger span::before,
.burger span::after { content: ""; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- КНОПКИ ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(166, 107, 46, 0.18);
}
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(24, 27, 29, 0.03); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: #fff; }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-dark);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- ОБЩИЕ СЕКЦИИ ---------- */

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--flush-top { padding-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section--dark .eyebrow { color: #c99b64; }

.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 17.5px; max-width: 680px; }
.section-head--center p { margin-left: auto; margin-right: auto; }
.section--dark .section-head p { color: #b9b5ae; }

.section-foot { margin-top: 38px; }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 82% 12%, rgba(166, 107, 46, 0.07), transparent 65%),
    linear-gradient(180deg, var(--paper) 0%, #f6f2eb 100%);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 44px;
  padding-top: 66px;
  padding-bottom: 70px;
}
.hero__content { max-width: 700px; }
.hero__title {
  font-size: clamp(34px, 4vw, 44px);
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}
.hero__title em {
  font-style: normal;
  color: var(--accent-dark);
}
.hero__lead {
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.62;
  max-width: 580px;
  margin-bottom: 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
}
.hero__note svg { width: 17px; height: 17px; color: var(--green); flex: none; }

.hero__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  margin: 0;
}
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  background: #e9e5de;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(0.96) contrast(1.01);
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(15, 17, 18, 0.5) 100%);
  pointer-events: none;
}
.hero__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.hero__caption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.hero__caption span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.78); margin-top: 4px; }
.hero__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: rgba(248, 246, 242, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 10px 13px;
  border-radius: 3px;
  line-height: 1.1;
  backdrop-filter: blur(6px);
}
.hero__badge strong { display: block; font-family: var(--font-head); font-size: 20px; }
.hero__badge span { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- ПОЛОСА ДОВЕРИЯ ---------- */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 26px;
  padding-bottom: 26px;
}
.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 2px 24px;
  border-left: 1px solid var(--line);
}
.trust-strip__item:first-child { border-left: 0; padding-left: 0; }
.trust-strip__item svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.trust-strip__item strong { display: block; font-size: 14.5px; line-height: 1.3; }
.trust-strip__item span { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 3px; }

/* ---------- СИМПТОМЫ ---------- */

.symptoms__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}
.symptoms__text h2 { font-size: clamp(30px, 3.3vw, 40px); margin-bottom: 16px; }
.symptoms__text p { color: var(--muted); }
.symptom-list { display: flex; flex-wrap: wrap; gap: 10px; }
.symptom {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.3;
}
.symptom::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- КАРТОЧКИ ТЕХНИКИ ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.service-card__icon {
  width: 46px;
  height: 46px;
  color: var(--accent-dark);
  margin-bottom: 18px;
}
.service-card__icon svg { width: 46px; height: 46px; }
.service-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0;
  margin-bottom: 9px;
}
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
.service-card__bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.service-card__price { font-size: 13.5px; color: var(--muted); }
.service-card__price strong { color: var(--ink); font-size: 16px; display: block; line-height: 1.2; }
.service-card__link { font-size: 13.5px; font-weight: 700; color: var(--accent-dark); white-space: nowrap; }
.service-card__link svg { width: 14px; height: 14px; vertical-align: -2px; margin-left: 3px; transition: transform 0.2s; }
.service-card:hover .service-card__link svg { transform: translateX(3px); }

/* ---------- О МАСТЕРЕ ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.about-media { position: relative; }
.about-media__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #e9e5de;
}
.about-media__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 14%; filter: saturate(0.95); }
.about-media__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(24, 27, 29, 0.92);
  color: var(--paper);
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.about-media__caption strong { font-family: var(--font-head); font-size: 17px; }
.about-text h2 { font-size: clamp(30px, 3.3vw, 40px); margin-bottom: 18px; }
.about-text > p { color: var(--ink-muted); }
.about-quote {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 2px solid var(--accent);
  background: var(--white);
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
}
.about-quote span { display: block; font-family: var(--font-body); font-size: 13px; color: var(--muted); margin-top: 10px; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 18px 18px 18px 0; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 30px; line-height: 1.1; }
.stat span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 5px; }
.about-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 13.5px;
}
.about-signature svg { width: 34px; height: 34px; color: var(--accent); flex: none; }

/* ---------- КАК РАБОТАЮ ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step { padding: 28px 26px 0 0; position: relative; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step__num {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--accent-dark);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0;
}
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- ЧЕСТНО ---------- */

.honest__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.honest h2 { font-size: clamp(30px, 3.3vw, 41px); margin-bottom: 18px; }
.honest p { color: #b9b5ae; }
.no-list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.no-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: flex-start;
}
.no-list svg { width: 19px; height: 19px; color: #c07a5e; flex: none; margin-top: 4px; }
.no-list strong { display: block; color: var(--paper); font-size: 16px; margin-bottom: 3px; }
.no-list span { display: block; color: #a9a5a0; font-size: 14px; line-height: 1.5; }
.honest__note {
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: #c9c5be;
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- ОТЗЫВЫ ---------- */

.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.reviews-head .section-head { margin-bottom: 0; }
.rating-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex: none;
}
.rating-badge strong { font-family: var(--font-head); font-size: 26px; line-height: 1; }
.rating-badge .stars { font-size: 13px; color: var(--accent); letter-spacing: 2px; }
.rating-badge span { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.review .stars { color: var(--accent); letter-spacing: 3px; font-size: 14px; margin-bottom: 12px; }
.review__text { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.review__meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 11px; }
.review__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 16px;
  flex: none;
}
.review__author { font-size: 14px; font-weight: 700; line-height: 1.2; }
.review__meta small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 2px; }

.reviews-note { margin-top: 18px; color: var(--muted); font-size: 12.5px; }

/* ---------- ГОРОДСКОЙ БАННЕР ---------- */

.city-banner {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.city-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.city-banner__text { max-width: 760px; }
.city-banner h2 { font-size: clamp(24px, 2.5vw, 32px); margin-bottom: 8px; }
.city-banner p { color: #b9b5ae; font-size: 15px; }
.city-banner .btn { flex: none; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 58px; align-items: start; }
.faq-intro h2 { font-size: clamp(30px, 3.3vw, 40px); margin-bottom: 16px; }
.faq-intro p { color: var(--muted); }
.faq-intro .btn { margin-top: 24px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 42px 20px 0;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--accent-dark);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--muted); font-size: 15px; line-height: 1.65; padding: 0 40px 20px 0; margin: 0; }

/* ---------- ФОРМА ---------- */

.form-section { background: var(--paper-2); border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 64px; align-items: start; }
.form-copy h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 18px; }
.form-copy > p { color: var(--ink-muted); max-width: 560px; }
.form-benefits { margin: 28px 0 0; display: grid; gap: 12px; }
.form-benefits li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink-soft); }
.form-benefits svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.lead-form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.field > span em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fdfcf9;
  border-radius: 4px;
  padding: 12px 13px;
  font-size: 16px;
  line-height: 1.3;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 74px; }
.field input::placeholder,
.field textarea::placeholder { color: #a39f97; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(166, 107, 46, 0.12);
}
.field input.is-invalid { border-color: #b4493a; box-shadow: 0 0 0 3px rgba(180, 73, 58, 0.09); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
  cursor: pointer;
}
.consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.consent a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.consent.is-invalid { color: #b4493a; }

.form-note { color: var(--muted); font-size: 12px; text-align: center; margin: 0; }
.form-message { display: none; font-size: 13.5px; line-height: 1.45; padding: 10px 12px; border-radius: 4px; }
.form-message.is-error { display: block; color: #7c2f24; background: #fbeeea; border: 1px solid #eed3cb; }
.form-message.is-success { display: block; color: #24523d; background: #edf6f0; border: 1px solid #cfe5d8; }

.hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-success { text-align: center; padding: 18px 6px 8px; }
.form-success__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #edf6f0;
  color: var(--green);
  display: grid;
  place-items: center;
}
.form-success__icon svg { width: 26px; height: 26px; }
.form-success h3 { font-size: 25px; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 14.5px; }
.form-success a { color: var(--accent-dark); font-weight: 700; white-space: nowrap; }

.contact-list { display: grid; gap: 16px; margin-top: 30px; }
.contact-row { display: flex; gap: 13px; align-items: flex-start; }
.contact-row svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-row strong { display: block; font-size: 15px; }
.contact-row span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.contact-row a { color: var(--ink); font-weight: 700; font-size: 16px; }
.contact-row a:hover { color: var(--accent-dark); }

/* ---------- ПОДВАЛ ---------- */

.footer { background: #121517; color: #b8b4ad; padding: 58px 0 0; font-size: 14px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 42px;
}
.footer .brand__mark { background: transparent; color: var(--paper); border-color: #4a4f52; }
.footer .brand__text strong { color: var(--paper); }
.footer .brand__text small { color: #8c8983; }
.footer__about { margin-top: 18px; max-width: 300px; color: #9b978f; font-size: 13.5px; line-height: 1.6; }
.footer h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8c8983;
  margin-bottom: 16px;
}
.footer__nav { display: grid; gap: 9px; }
.footer__nav a { color: #c7c3bc; font-size: 13.5px; }
.footer__nav a:hover { color: #fff; }
.footer__contact { display: grid; gap: 10px; }
.footer__contact a { color: var(--paper); font-size: 19px; font-weight: 700; }
.footer__contact span { color: #9b978f; font-size: 13px; line-height: 1.5; }
.footer__contact .btn { color: var(--ink); font-size: 14px; font-weight: 600; margin-top: 4px; }
.footer__contact .btn:hover { color: var(--ink); }
.footer__bottom {
  border-top: 1px solid #2b3033;
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #7f7c76;
  font-size: 12px;
  line-height: 1.5;
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom a:hover { color: #c7c3bc; }
.footer__legal { max-width: 640px; }

/* ---------- МОБИЛЬНАЯ ПАНЕЛЬ ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(248, 246, 242, 0.97);
  border-top: 1px solid var(--line-strong);
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  gap: 9px;
  backdrop-filter: blur(10px);
}
.mobile-bar .btn { flex: 1; min-height: 46px; padding: 10px 12px; font-size: 14px; }

/* ---------- МОДАЛКА ---------- */

.modal { position: fixed; inset: 0; z-index: 120; display: none; }
.modal.is-open { display: block; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 15, 0.62);
  backdrop-filter: blur(2px);
  animation: fadeIn 0.18s ease;
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: calc(100% - 32px);
  max-width: 460px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  margin: 24px auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.22s ease;
}
.modal__dialog h2 { font-size: 29px; margin-bottom: 8px; }
.modal__lead { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
}
.modal__close:hover { color: var(--ink); border-color: var(--line-strong); }
.modal .form-card { box-shadow: none; border: 0; background: transparent; padding: 0; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- ХЛЕБНЫЕ КРОШКИ ---------- */

.breadcrumbs { padding: 18px 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs [aria-current="page"] { color: var(--ink-soft); }

/* ---------- HERO КАТЕГОРИИ ---------- */

.page-hero { background: linear-gradient(180deg, var(--paper) 0%, #f5f1ea 100%); border-bottom: 1px solid var(--line); }
.page-hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 56px;
}
.page-hero__title { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.page-hero__lead { color: var(--ink-muted); font-size: 17.5px; max-width: 620px; margin-bottom: 24px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13.5px; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-hero__meta svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.page-hero__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.page-hero__icon { width: 64px; height: 64px; color: var(--accent-dark); margin-bottom: 18px; }
.page-hero__icon svg { width: 64px; height: 64px; }
.page-hero__card h3 { font-size: 22px; margin-bottom: 14px; }
.page-hero__card ul { display: grid; gap: 10px; }
.page-hero__card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.page-hero__card li svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 3px; }

/* ---------- СЕТКА СИМПТОМОВ (СТРАНИЦА) ---------- */

.symptom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.symptom-card {
  padding: 18px 18px 17px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.symptom-card strong { display: block; font-size: 15.5px; line-height: 1.35; margin-bottom: 4px; }
.symptom-card span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* ---------- СПИСОК РАБОТ ---------- */

.work-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; }
.work-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; }
.work-list svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 4px; }

/* ---------- ТАБЛИЦА ЦЕН ---------- */

.price-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table caption {
  text-align: left;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: #fbf9f5;
}
.price-table th,
.price-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fbf9f5;
}
.price-table td:last-child,
.price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover td { background: #fcfaf6; }
.price-table .price-group td {
  text-align: left;
  background: var(--paper-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 10px 20px;
}
.price-table .price-group:hover td { background: var(--paper-2); }
.price-note { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* ---------- БРЕНДЫ ---------- */

.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.2;
}

/* ---------- УВЕДОМЛЕНИЕ ---------- */

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--accent-soft);
  border: 1px solid #e4d2b8;
  border-radius: var(--radius);
  color: #5f4426;
  font-size: 14.5px;
  line-height: 1.55;
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent-dark); }

/* ---------- СВЯЗАННЫЕ УСЛУГИ ---------- */

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.related-link:hover { border-color: var(--accent); color: var(--accent-dark); }
.related-link svg { width: 14px; height: 14px; flex: none; }

/* ---------- ЮРИДИЧЕСКАЯ СТРАНИЦА ---------- */

.legal { max-width: 820px; padding: 56px 0 88px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 24px; }
.legal h2 { font-family: var(--font-body); font-size: 19px; letter-spacing: 0; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-muted); font-size: 15.5px; line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-bottom: 14px; }
.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 28px; }

/* ---------- АНИМАЦИЯ ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ---------- ФОТО МАСТЕРА В КАРТОЧКЕ КАТЕГОРИИ ---------- */

.master-photo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
  background: #e9e5de;
}
.master-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  filter: saturate(0.96);
}
.master-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 17, 18, 0.58) 100%);
  pointer-events: none;
}
.master-photo-card__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
}
.master-photo-card__caption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1.1;
}
.master-photo-card__caption span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}
.master-photo-card__icon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(248, 246, 242, 0.94);
  color: var(--accent-dark);
  backdrop-filter: blur(4px);
}
.master-photo-card__icon svg { width: 22px; height: 22px; }

.brands-card { margin-top: 46px; }

.symptoms__grid > .symptom-list { margin-top: 46px; }

/* ---------- КАРУСЕЛЬ ОТЗЫВОВ ---------- */

.reviews-carousel { position: relative; }
.reviews-viewport { overflow: hidden; }
.reviews-track {
  display: flex;
  gap: 18px;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.reviews-track .review { flex: 0 0 calc((100% - 36px) / 3); min-width: 0; }
.reviews-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.reviews-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.reviews-arrow:hover { border-color: var(--accent); color: var(--accent-dark); background: var(--paper); }
.reviews-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.reviews-arrow svg { width: 18px; height: 18px; }

/* ---------- РЕКВИЗИТЫ ---------- */

.footer__requisites {
  margin-top: 6px;
  color: #6d6963;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.legal__requisites {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1100px) {
  .header__inner { gap: 22px; }
  .nav { gap: 18px; }
  .header__phone span { font-size: 16px; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card { padding: 22px 18px 18px; }
}

@media (max-width: 1060px) {
  .topbar__area { display: none; }
  .topbar__inner { justify-content: center; }
  .nav { display: none; }
  .burger { display: block; }
  .header__actions { margin-left: auto; }
  .header__actions .header__phone { display: none; }
  .header__actions .btn { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
  .header__inner { min-height: 70px; }
  .site-header { position: sticky; }

  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.nav-open .nav {
    display: flex;
    position: fixed;
    top: var(--nav-top, 108px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 40px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  body.nav-open .nav a {
    padding: 16px 0;
    font-size: 20px;
    font-family: var(--font-head);
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .nav a::after { display: none; }

}

@media (max-width: 980px) {
  .reviews-track .review { flex-basis: calc((100% - 18px) / 2); }
  .brands-card { margin-top: 0; }
  .symptoms__grid > .symptom-list { margin-top: 0; }
  .hero__inner { grid-template-columns: 1fr 0.8fr; gap: 36px; padding-top: 48px; padding-bottom: 54px; }
  .hero__title { font-size: clamp(34px, 5vw, 46px); }
  .hero__media { max-width: 380px; }
  .hero__badge { padding: 8px 10px; }

  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .trust-strip__item:nth-child(3) { border-left: 0; padding-left: 0; }

  .symptoms__grid { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { grid-template-columns: 0.8fr 1.2fr; gap: 38px; }
  .about-media { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { padding: 26px 24px 0 0; }
  .step + .step { padding-left: 0; border-left: 0; }
  .step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .honest__grid { grid-template-columns: 1fr; gap: 30px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-copy { max-width: 680px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__contact a { font-size: 18px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero__inner { grid-template-columns: 1fr; gap: 26px; }
  .page-hero__card { max-width: 560px; }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; padding-bottom: 48px; }
  .hero__content { max-width: none; }
  .hero__media { justify-self: center; max-width: 340px; width: 70%; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .reviews-track .review { flex-basis: 100%; }
  .reviews-nav { justify-content: center; }
  .master-photo-card { aspect-ratio: 16 / 10; }
  .section { padding: 60px 0; }
  .section--tight { padding: 46px 0; }
  .container { padding: 0 18px; }

  .header__inner { min-height: 64px; }
  .brand__mark { width: 38px; height: 38px; font-size: 21px; }
  .brand__text strong { font-size: 18px; }
  .brand__text small { font-size: 9.5px; letter-spacing: 0.07em; }
  body.nav-open .nav { top: var(--nav-top, 98px); }

  .hero__inner { grid-template-columns: 1fr; gap: 30px; padding-top: 36px; padding-bottom: 44px; }
  .hero__content { max-width: none; }
  .hero__title { font-size: clamp(31px, 8vw, 40px); margin-bottom: 16px; }
  .hero__lead { font-size: 16.5px; margin-bottom: 22px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__media { justify-self: center; max-width: 330px; width: 78%; }
  .hero__caption { left: 12px; right: 12px; bottom: 12px; }
  .hero__caption strong { font-size: 21px; }
  .hero__badge { top: 12px; left: 12px; }
  .hero__badge strong { font-size: 18px; }
  .hero__badge span { font-size: 9.5px; }

  .trust-strip__inner { padding-top: 20px; padding-bottom: 20px; }
  .trust-strip__item { padding-right: 12px; }
  .trust-strip__item strong { font-size: 13.5px; }
  .trust-strip__item span { font-size: 12px; }
  .trust-strip__item svg { width: 19px; height: 19px; }

  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: clamp(27px, 7vw, 34px); }
  .section-head p { font-size: 15.5px; }

  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 20px; }
  .service-card__icon { width: 38px; height: 38px; margin-bottom: 12px; }
  .service-card__icon svg { width: 38px; height: 38px; }
  .service-card h3 { font-size: 17px; }
  .service-card p { margin-bottom: 14px; }
  .service-card__bottom { padding-top: 13px; }

  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-media { max-width: 280px; margin: 0 auto; }
  .about-media__frame img { aspect-ratio: 1 / 1.08; }
  .about-quote { font-size: 18px; padding: 16px 18px; }
  .stat strong { font-size: 25px; }
  .stat span { font-size: 12px; }

  .steps { grid-template-columns: 1fr; }
  .step { padding: 18px 0; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 0; }
  .step:nth-child(even) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { margin-top: 0; }
  .step__num { margin-bottom: 8px; }

  .reviews-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review { padding: 20px; }

  .city-banner__inner { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
  .city-banner .btn { width: 100%; }

  .faq__item summary { font-size: 15.5px; padding-right: 34px; }
  .faq__item p { padding-right: 20px; }

  .form-card { padding: 22px; }
  .form-copy h2 { font-size: clamp(27px, 7vw, 34px); }

  .footer { padding-top: 42px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 10px; padding-bottom: 96px; }
  .footer__legal { max-width: none; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }

  .modal__dialog { padding: 24px; margin: 16px auto; max-height: calc(100vh - 32px); }
  .modal__dialog h2 { font-size: 26px; }

  .symptom-grid { grid-template-columns: 1fr; }
  .work-list { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }

  .page-hero__inner { padding-bottom: 40px; }
  .page-hero__title { font-size: clamp(29px, 7.5vw, 38px); }
  .page-hero__lead { font-size: 16px; }
  .page-hero__card { padding: 22px; }
  .page-hero__icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .page-hero__icon svg { width: 48px; height: 48px; }

  .price-table { font-size: 14px; }
  .price-table th, .price-table td { padding: 11px 12px; }
  .price-table caption { padding: 12px 14px; }
  .price-table th { font-size: 10.5px; }
  .price-table .price-group td { padding: 9px 12px; font-size: 11px; }

  .legal { padding: 36px 0 70px; }
}

@media (max-width: 420px) {
  .topbar { font-size: 11.5px; }
  .topbar__inner { min-height: 34px; }
  .brand { gap: 9px; }
  .brand__text small { display: none; }
  .brand__mark { width: 36px; height: 36px; }
  .hero__media { width: 88%; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding: 12px 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .trust-strip__inner { grid-template-columns: 1fr; gap: 0; }
  .trust-strip__item { border-left: 0; border-top: 1px solid var(--line); padding: 13px 0; }
  .trust-strip__item:first-child { border-top: 0; padding-top: 0; }
  .price-table th, .price-table td { padding: 10px 10px; }
}