@font-face {
  font-family: 'Golos Text';
  src: url('../fonts/golos-cyrillic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  src: url('../fonts/golos-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink:        #0E1116;
  --ink-soft:   #1A2028;
  --paper:      #FFFFFF;
  --paper-2:    #F3F4F6;
  --line:       #E1E4E8;
  --line-dark:  #2A323C;
  --text:       #14181D;
  --muted:      #5C6672;
  --muted-dark: #A8B2BD;
  --accent:     #D8352A;
  --accent-2:   #B32A21;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 5vw, 3.5rem);
  --r: 10px;

  --shadow-1: 0 1px 2px rgba(14,17,22,.05), 0 4px 14px rgba(14,17,22,.06);
  --shadow-2: 0 2px 6px rgba(14,17,22,.08), 0 18px 40px rgba(14,17,22,.12);

  --ease: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
}

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

a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
input, textarea { caret-color: var(--accent); }

@supports (scrollbar-color: red blue) {
  html { scrollbar-color: #C3C9D0 var(--paper-2); scrollbar-width: thin; }
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--muted-dark); border: 3px solid var(--paper-2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #A5ADB7; }

.skip {
  position: absolute; left: 0; top: 0; z-index: 100;
  transform: translateY(-120%);
  background: var(--ink); color: #fff;
  padding: .75rem 1.25rem; text-decoration: none;
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic--sm { width: 16px; height: 16px; stroke-width: 1.9; }

/* ---------- demo notice ---------- */
/* Временная плашка в конце страницы: снимается вместе с публикацией. */

.demo {
  margin: 0;
  display: flex; align-items: center; justify-content: center;
  padding: .875rem var(--gut);
  background: var(--ink-soft);
  color: #fff;
  font-size: .875rem; font-weight: 600; line-height: 1.3;
  text-align: center;
}

@media (max-width: 640px) {
  .demo { font-size: .8125rem; }
}

/* ---------- top bar ---------- */

.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  transition: background-color .3s var(--ease);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--wrap); margin-inline: auto;
  padding: 1.5rem var(--gut);
  color: #fff;
}
.topbar[data-stuck="true"] {
  position: fixed; inset: 0 0 auto 0; max-width: none;
  padding-block: .875rem;
  padding-inline: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut)));
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line-dark);
}
@media (prefers-reduced-motion: reduce) { .topbar { transition: none; } }
.topbar__brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.02em;
  text-decoration: none;
}
.topbar__mark { width: 22px; height: 22px; fill: var(--accent); }
.topbar__nav { display: none; gap: 1.5rem; font-size: .9375rem; }
.topbar__nav a { color: rgba(255,255,255,.78); text-decoration: none; padding-block: .25rem; }
.topbar__nav a:hover, .topbar__nav a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: .35em; }
@media (min-width: 1000px) { .topbar__nav { display: flex; } }
.topbar__right { display: flex; align-items: center; gap: 1.5rem; font-size: .9375rem; }
.topbar__city { color: rgba(255,255,255,.72); }
.topbar__tel { font-weight: 600; text-decoration: none; white-space: nowrap; }
.topbar__tel:hover { color: #fff; text-decoration: underline; }

@media (max-width: 640px) {
  .topbar { padding-block: 1.125rem; }
  .topbar__city { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex; align-items: flex-end;
  background: var(--ink);
  overflow: clip;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 58% 46%;
  opacity: .58;
  transform: scale(1.06);
  animation: heroSettle 2.4s var(--ease) forwards;
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 6%, rgba(14,17,22,.86) 32%, rgba(14,17,22,.34) 62%, rgba(14,17,22,.62) 100%);
}
.hero__inner {
  position: relative;
  width: 100%; max-width: var(--wrap);
  margin-inline: auto;
  padding: 8rem var(--gut) clamp(2.75rem, 6vw, 4.5rem);
}
.hero__text { max-width: 34rem; }
@media (min-width: 900px) { .hero__text { max-width: 46rem; } }
.hero__title {
  color: #fff;
  font-size: clamp(2.35rem, 7.6vw, 5.25rem);
  font-weight: 900;
  letter-spacing: -0.038em;
}
.hero__lead {
  margin-top: 1.5rem;
  max-width: 46ch;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.5;
}
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 420px) {
  .hero__actions { gap: .625rem; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; padding-inline: 1rem; }
}
.hero__proof {
  margin-top: 1.75rem;
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.7);
  font-size: .9375rem;
}
.hero__proof b { color: #fff; font-weight: 700; }
.stars svg { width: 17px; height: 17px; fill: currentColor; color: #fff; display: block; }

.hero__title, .hero__lead, .hero__actions, .hero__proof { animation: rise .9s var(--ease) backwards; }
.hero__lead { animation-delay: .09s; }
.hero__actions { animation-delay: .16s; }
.hero__proof { animation-delay: .23s; }

@keyframes heroSettle { to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img, .hero__title, .hero__lead, .hero__actions, .hero__proof { animation: none; transform: none; }
  .symlist__what { transition: none; }
  .symlist a:hover .symlist__what, .symlist a:focus-visible .symlist__what { transform: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8125rem 1.25rem;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-1); }
.btn--accent:hover { background: var(--accent-2); box-shadow: var(--shadow-2); }
.btn--ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.09); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-soft); }
.btn--lg { padding: .9375rem 1.5rem; font-size: 1.0625rem; }

.link-action {
  display: inline-flex; align-items: center; gap: .375rem;
  font-weight: 600; color: var(--accent);
  text-decoration: none;
}
.link-action .ic { transition: transform .22s var(--ease); }
.link-action:hover { color: var(--accent-2); }
.link-action:hover .ic { transform: translateX(3px); }

/* ---------- section shell ---------- */

section > .wrap { padding-block: clamp(4rem, 8vw, 7rem); }

h2 {
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  max-width: 18ch;
}
.section-lead {
  margin-top: 1.125rem;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
}

/* ---------- symptoms ---------- */

.symptoms { background: var(--paper); border-bottom: 1px solid var(--line); }

.symlist { margin: clamp(2.25rem, 4vw, 3.25rem) 0 0; padding: 0; max-width: 52rem; list-style: none; border-top: 1px solid var(--line); }
.symlist li { border-bottom: 1px solid var(--line); }
.symlist a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1rem, 2vw, 1.375rem) 0;
  text-decoration: none;
  transition: color .18s var(--ease);
}
.symlist a:hover, .symlist a:focus-visible { color: var(--accent); }
.symlist__what {
  font-size: clamp(1.25rem, 2.6vw, 1.875rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
  transition: transform .28s var(--ease);
}
.symlist a:hover .symlist__what, .symlist a:focus-visible .symlist__what { transform: translateX(.875rem); }
.symlist__to { color: var(--muted); font-size: .9375rem; white-space: nowrap; }
.symlist a:hover .symlist__to { color: var(--accent); }
.symlist__note { margin-top: 1.75rem; color: var(--muted); }

@media (max-width: 560px) {
  .symlist a { flex-direction: column; align-items: flex-start; gap: .25rem; }
}

/* ---------- services ---------- */

.services { background: var(--paper-2); }

.svc__body { margin-top: .875rem; max-width: 68ch; color: var(--muted); }
.svc h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }

.svc--lead { margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.svc--lead h3 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.svc--lead .svc__body { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--text); }
.svc--lead .link-action { margin-top: 1.25rem; }

.svc--photo {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  display: grid; gap: clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-rows: minmax(14rem, 24rem);
  align-items: center;
}
.svc--photo .svc__media { margin: 0; align-self: stretch; overflow: clip; border-radius: var(--r); }
.svc--photo img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: 50% 42%; }
.svc--photo .svc__text { padding: 0; }
.svc--photo .link-action { margin-top: 1.25rem; }
.svc--photo-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.svc--photo-flip .svc__media { order: 2; }
.svc--photo-flip .svc__text { order: 1; }

@media (max-width: 800px) {
  .svc--photo { grid-template-columns: 1fr; grid-template-rows: auto; gap: 1.25rem; }
  .svc--photo-flip .svc__media { order: 1; }
  .svc--photo-flip .svc__text { order: 2; }
  .svc--photo img { min-height: 200px; max-height: 42vh; }
  .svc--photo .svc__text { padding: 0; }
}

.svc-rest {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  display: grid; gap: clamp(1.75rem, 3vw, 2.5rem) clamp(2rem, 4vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 3vw, 2.75rem);
}

/* ---------- process ---------- */

.process { background: var(--paper); }

.steps { margin: clamp(2.25rem, 4vw, 3.25rem) 0 0; padding: 0; max-width: 52rem; list-style: none; display: grid; gap: 0; }
.steps li {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1.25rem;
  padding: 1.125rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n { font-weight: 700; font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps p { max-width: 62ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }
.process__note { margin-top: 1.75rem; max-width: 58ch; color: var(--muted); }

@media (max-width: 560px) {
  .steps li { grid-template-columns: 2.5rem 1fr; gap: .75rem; }
}

/* ---------- reviews ---------- */

.reviews { background: var(--ink); color: #fff; }
.reviews h2 { color: #fff; }

.reviews__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 2rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-dark);
}
.rating { display: flex; align-items: center; gap: .875rem; }
.rating__num { font-size: clamp(2.75rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.rating__meta { color: var(--muted-dark); font-size: .875rem; line-height: 1.4; }

.rev { margin: 0; }
.rev p { color: rgba(255,255,255,.9); transition: color .18s var(--ease); }
.rev:hover p, .rev:focus-within p { color: #fff; }
.rev:hover figcaption, .rev:focus-within figcaption { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .rev p { transition: none; } }
.rev figcaption {
  margin-top: 1rem;
  display: flex; align-items: baseline; gap: .625rem;
  font-weight: 600; font-size: .9375rem;
}
.rev figcaption span { color: var(--muted-dark); font-weight: 400; font-size: .8125rem; }
.reviews__note { margin-top: clamp(1.75rem, 3vw, 2.25rem); max-width: 62ch; color: var(--muted-dark); font-size: .9375rem; }

.rev--lead { padding-block: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line-dark); }
.rev--lead p {
  max-width: 44ch;
  font-size: clamp(1.375rem, 2.8vw, 2rem);
  font-weight: 500; line-height: 1.32; letter-spacing: -0.02em;
  color: #fff;
}
.rev--lead cite { margin-top: 1.5rem; }

.rev-grid {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  display: grid; gap: clamp(1.75rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
@media (min-width: 900px) { .rev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rev-grid .rev p { font-size: 1rem; max-width: 44ch; }
.reviews__more { margin-top: clamp(2.25rem, 4vw, 3rem); }
.reviews .link-action { color: #fff; }
.reviews .link-action:hover { color: var(--accent); }

/* ---------- contact ---------- */

.contact { background: var(--paper); }
.contact__wrap {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
}
.contact__lead { margin-top: 1.125rem; max-width: 52ch; color: var(--muted); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }
.contact__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 560px) {
  .contact__actions .btn, .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
}
.contact__or a {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem); font-weight: 800; letter-spacing: -0.03em;
  text-decoration: none; border-bottom: 2px solid var(--line);
}
.contact__or a:hover, .contact__or a:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }
.contact__or { margin-top: 1.5rem; display: flex; align-items: baseline; gap: .625rem; flex-wrap: wrap; color: var(--muted); }
.contact__or a { color: var(--text); }
.contact__price { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 52ch; color: var(--muted); font-size: .9375rem; }

.facts { margin: 0; display: grid; gap: 1.5rem; }
.facts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: .375rem 0 0; }
.facts dd a[href^="tel"], .facts dd a[href^="https"] { font-weight: 600; }
.facts .link-action { margin-top: .625rem; font-size: .9375rem; }

@media (max-width: 860px) {
  .contact__wrap { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
}

.map { grid-column: 1 / -1; margin: 0; }
.map__frame {
  display: block; width: 100%;
  height: clamp(17.5rem, 32vw, 26rem);
  border: 1px solid var(--line); border-radius: var(--r);
}
.map__credit {
  margin-top: .75rem;
  display: flex; flex-wrap: wrap; gap: .25rem 1.25rem;
  font-size: .8125rem; color: var(--muted);
}
.map__credit a { color: var(--muted); }
.map__credit a:hover { color: var(--accent); }

/* ---------- footer ---------- */

.foot { background: var(--paper-2); border-top: 1px solid var(--line); }
.foot__wrap {
  padding-block: 2rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  font-size: .875rem; color: var(--muted);
}
.foot__brand { font-weight: 600; color: var(--text); }
.foot__note { max-width: 46ch; font-size: .875rem; color: var(--muted); }

/* ---------- sticky mobile bar ---------- */

.bar {
  position: fixed; z-index: 30;
  left: 0; right: 0; bottom: 0;
  display: none; gap: .625rem;
  padding: .625rem var(--gut) calc(.625rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .34s var(--ease);
}
.bar[data-shown="true"] { transform: none; }
.bar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  font-weight: 600; text-decoration: none;
  background: var(--paper);
}
.bar__btn--accent { flex: 1 1 0; background: var(--accent); border-color: var(--accent); color: #fff; }
.bar__btn--dark { flex: 1 1 0; background: var(--ink); border-color: var(--ink); color: #fff; }
.bar__btn--dark .ic { stroke: #fff; }
.bar__btn:not(.bar__btn--accent):not(.bar__btn--dark) { width: 52px; flex: none; }

@media (max-width: 720px) {
  .bar { display: flex; }
}
@media (max-width: 360px) {
  .bar { gap: .5rem; }
  .bar__btn { font-size: .9375rem; gap: .375rem; }
  .bar__btn:not(.bar__btn--accent):not(.bar__btn--dark) { width: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .bar { transition: none; }
}
