:root {
  --bg: #fff;
  --bg-soft: #f2f2f2;
  --surface: #fff;
  --ink: #000;
  --muted: #6b6b6b;
  --accent: #000;
  --accent-2: #8a8a8a;
  --gold: #000;
  --line: rgba(0, 0, 0, 0.12);
  --line-strong: #000;
  --overlay: rgba(0, 0, 0, 0.45);
  --shadow: none;
  --radius: 0;
  --radius-sm: 0;
  --serif: "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --container: 1240px;
  --header-h: 84px;
  --page-pad: 28px;
  --focus: 0 0 0 2px #000;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: 100%; padding-inline: var(--page-pad); }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  transition: 0.15s ease;
}
.btn:hover { background: #fff; color: #000; }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #000;
}
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #fff; color: #000; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
body[data-page="home"] .header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  background: transparent;
  border-bottom-color: transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
body[data-page="home"] .header .nav a { color: #000; }
body[data-page="home"] .header .nav a:hover,
body[data-page="home"] .header .nav a.is-active { color: #000; }
body[data-page="home"] .header .header-phone a,
body[data-page="home"] .header .header-phone small { color: #000; }
body[data-page="home"] .header .nav.is-open {
  background: #fff;
}
body[data-page="home"] .header.is-solid {
  background: #fff;
  border-bottom-color: var(--line);
}
html.a11y-on body[data-page="home"] .header {
  position: sticky;
  background: #fff;
  border-bottom-color: var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: var(--header-h);
  width: 100%;
  padding: 0 var(--page-pad);
}
.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.logo img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 280px;
}
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-width: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.nav a { color: var(--muted); white-space: nowrap; }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
}
.icon-btn svg { width: 20px; height: 20px; display: block; }
.icon-btn:hover { background: #f2f2f2; }
html.a11y-on .icon-btn[data-a11y-toggle] { background: #000; color: #fff; }
.search-panel {
  border-top: 1px solid var(--line);
  background: #fff;
}
.search-panel[hidden] { display: none; }
.search-panel-inner { padding: 12px 28px 16px; }
.search-label { display: block; }
.search-panel input[type="search"] {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  padding: 10px 0;
  font-size: 18px;
  background: transparent;
}
.search-panel input[type="search"]:focus { outline: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  margin-left: 8px;
  margin-right: 20px;
}
.header-phone a { font-weight: 700; }
.header-phone small { color: var(--muted); font-size: 13px; }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

.hero {
  position: relative;
  display: block;
  min-height: 100vh;
  overflow: hidden;
  background: #f2f2f2;
  color: #000;
}
.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slider img.is-on { opacity: 1; }
.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-height: 100vh;
  padding: calc(var(--header-h) + 48px) var(--page-pad) 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  max-width: none;
  color: #000;
}
.hero-name { color: #243A5E; }
.hero .lead { color: #000; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-badge a { color: #000; }
.hero-badge a:hover { color: #243A5E; }
.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta b { display: block; font-size: 28px; font-family: var(--serif); }
.hero-meta span { color: var(--muted); font-size: 13px; }
.hero-visual,
.about-photo,
.founder-photo,
.media-frame,
.ba-item,
.equip-card,
.img-fallback {
  background: linear-gradient(160deg, #f2f2f2 0%, #c8c8c8 42%, #3a3a3a 100%);
}
img.is-broken { display: none; }
.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.hero-badge {
  margin-top: 18px;
  max-width: 320px;
}
.hero-badge a {
  font-size: 18px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section { padding: 88px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
}
.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  max-width: 16ch;
}
.section-dark {
  background: #000;
  color: #fff;
}
.section-dark .lead, .section-dark .muted { color: rgba(255, 255, 255, 0.68); }
.section-soft { background: var(--bg-soft); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 460px;
  position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.values { display: grid; gap: 16px; margin-top: 28px; }
.value {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
}
.value b { display: block; margin-bottom: 4px; }

.nav-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.nav-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: 0.2s ease;
}
.nav-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.nav-card img { height: 180px; width: 100%; object-fit: cover; }
.nav-card-photo {
  height: 220px;
  background: #e8e8e8;
  overflow: hidden;
}
.nav-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.nav-card-body h3 { margin: 0 0 8px; font-size: 30px; }
.nav-card-body p { color: var(--muted); margin: 0 0 16px; }
.nav-card-body .btn { margin-top: auto; align-self: flex-start; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.service-chip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}
.service-chip small { color: var(--muted); }

.reasons-phrase {
  margin: 0;
  font-size: clamp(32px, 7.4vw, 110px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #c4c4c4;
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: 100%;
}
.reasons-phrase > span { display: block; white-space: nowrap; }
.reasons-phrase-top {
  display: flex;
  justify-content: space-between;
  gap: 0.25em;
}
.reasons-accent { color: #32657B; }
.values-phrase {
  margin: 0;
  font-size: clamp(28px, 6.8vw, 110px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #c4c4c4;
  display: flex;
  flex-direction: column;
  gap: 0.12em;
  width: 100%;
  overflow: hidden;
}
.values-line {
  display: block;
  white-space: nowrap;
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
}
.values-line.is-left {
  align-self: flex-start;
  transform: translateX(-45%);
}
.values-line.is-right {
  align-self: flex-end;
  transform: translateX(45%);
}
.values-phrase.is-in .values-line {
  transform: translateX(0);
  opacity: 1;
}
.values-phrase.is-in .values-line:nth-child(2) { transition-delay: 0.7s; }
.values-phrase.is-in .values-line:nth-child(3) { transition-delay: 1.4s; }
.team-intro,
.services-intro,
.equip-intro,
.brands-intro,
.results-intro {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 84ch);
  gap: 24px 64px;
  align-items: start;
  margin-bottom: 40px;
}
.team-intro h2,
.services-intro h2,
.equip-intro h2,
.brands-intro h2,
.results-intro h2,
.stories-intro h2 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.1;
}
.team-intro .lead,
.services-intro .lead,
.equip-intro .lead,
.brands-intro .lead,
.results-intro .lead {
  margin: 0;
  width: 100%;
  max-width: none;
  color: var(--ink);
  justify-self: stretch;
}
.intro-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.team-intro .intro-copy,
.equip-intro .intro-copy,
.brands-intro .intro-copy,
.results-intro .intro-copy { padding-top: 22px; }
.team-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin-inline: calc(var(--page-pad) * -1);
  padding-inline: var(--page-pad);
}
.team-grid .team-card {
  position: relative;
  flex: 0 0 380px;
  width: 380px;
  min-width: 380px;
  min-height: 580px;
  height: 580px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 0;
  scroll-snap-align: start;
}
.team-grid .team-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}
.team-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.team-grid .team-card h3 {
  margin: 0;
  font-size: 22px;
  color: #000;
  line-height: 1.15;
}
.team-card-text { display: flex; flex-direction: column; gap: 4px; }
.team-grid .team-role {
  margin: 0;
  font-size: 14px;
  color: #000;
  line-height: 1.3;
}
.team-card .team-exp {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  margin: 0;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #000;
}
.team-grid .team-card .btn {
  min-height: 40px;
  padding: 0 16px;
}
.team-grid-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.team-grid-tiles .team-card {
  position: relative;
  min-width: 0;
  width: auto;
  min-height: 580px;
  height: 580px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 0;
  scroll-snap-align: unset;
}
.team-grid-tiles .team-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}
.team-grid-tiles .team-card h3 {
  margin: 0;
  font-size: 22px;
  color: #000;
  line-height: 1.15;
}
.team-grid-tiles .team-role {
  margin: 0;
  font-size: 14px;
  color: #000;
  line-height: 1.3;
}
.team-grid-tiles .team-card .btn {
  min-height: 40px;
  padding: 0 16px;
}
.team-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.team-card {
  min-width: min(280px, 80vw);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.team-card img { height: 320px; width: 100%; object-fit: cover; }
.team-card-body { padding: 18px; }
.team-card h3 { margin: 0 0 4px; font-size: 28px; }
.team-card p { margin: 0; color: var(--muted); }

.equip-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin-inline: calc(var(--page-pad) * -1);
  padding-inline: var(--page-pad);
}
.equip-track[hidden],
.equip-park[hidden] {
  display: none !important;
}
.equip-slide {
  flex: 0 0 340px;
  width: 340px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  scroll-snap-align: start;
  overflow: hidden;
}
.equip-slide-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #e8e8e8;
}
.equip-slide-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 24px 24px;
  flex: 1;
}
.equip-slide-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.equip-origin {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}
.equip-slide h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}
.equip-slide p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}
.equip-slide .btn { margin-top: auto; }

.equip-intro-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.equip-switch {
  width: 44px;
  height: 24px;
  padding: 3px;
  border: 1px solid var(--ink);
  background: #fff;
  display: inline-flex;
  align-items: center;
}
.equip-switch-knob {
  width: 16px;
  height: 16px;
  background: var(--ink);
  transition: transform 0.25s ease, background 0.25s ease;
}
.equip-switch[aria-pressed="true"] { background: var(--ink); }
.equip-switch[aria-pressed="true"] .equip-switch-knob {
  background: #fff;
  transform: translateX(20px);
}
#oborudovanie { overflow-x: hidden; }
.equip-park { margin-top: 0; }
#oborudovanie:has(.equip-park:not([hidden])) .equip-intro {
  margin-bottom: 8px;
}
.equip-park-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: auto;
  overflow: hidden;
}
.equip-unit {
  position: relative;
  flex: 0 0 12.6%;
  max-width: 190px;
  margin: 0 -1.4%;
  opacity: 0;
  transform: translateX(var(--from, 0)) scale(0.88);
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
  z-index: 1;
}
.equip-unit[data-i="0"] {
  flex-basis: 16%;
  max-width: 240px;
  z-index: 6;
  --from: 0;
  transform: scale(0.62);
}
.equip-unit[data-i="-1"],
.equip-unit[data-i="1"] { z-index: 5; }
.equip-unit[data-i="-2"],
.equip-unit[data-i="2"] { z-index: 4; }
.equip-unit[data-i="-3"],
.equip-unit[data-i="3"] { z-index: 3; }
.equip-unit[data-i="-4"],
.equip-unit[data-i="4"] { z-index: 2; }
.equip-unit[data-i="-1"] { --from: -70vw; }
.equip-unit[data-i="1"] { --from: 70vw; }
.equip-unit[data-i="-2"] { --from: -85vw; }
.equip-unit[data-i="2"] { --from: 85vw; }
.equip-unit[data-i="-3"] { --from: -100vw; }
.equip-unit[data-i="3"] { --from: 100vw; }
.equip-unit[data-i="-4"] { --from: -115vw; }
.equip-unit[data-i="4"] { --from: 115vw; }
.equip-unit[data-i="-5"] { --from: -130vw; }
.equip-unit[data-i="5"] { --from: 130vw; }
.equip-unit img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.equip-park.is-play .equip-unit {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.equip-park.is-play .equip-unit[data-i="0"] { transition-delay: 0.05s; }
.equip-park.is-play .equip-unit[data-i="-1"],
.equip-park.is-play .equip-unit[data-i="1"] { transition-delay: 0.7s; }
.equip-park.is-play .equip-unit[data-i="-2"],
.equip-park.is-play .equip-unit[data-i="2"] { transition-delay: 1.35s; }
.equip-park.is-play .equip-unit[data-i="-3"],
.equip-park.is-play .equip-unit[data-i="3"] { transition-delay: 1.5s; }
.equip-park.is-play .equip-unit[data-i="-4"],
.equip-park.is-play .equip-unit[data-i="4"] { transition-delay: 1.65s; }
.equip-park.is-play .equip-unit[data-i="-5"],
.equip-park.is-play .equip-unit[data-i="5"] { transition-delay: 1.8s; }
.equip-park-accent {
  margin: 36px 0 0;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.equip-park.is-play .equip-park-accent {
  opacity: 1;
  transform: none;
  transition-delay: 2.15s;
}
@media (prefers-reduced-motion: reduce) {
  .equip-unit,
  .equip-park-accent {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.equip-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 14px;
}
.equip-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
  color: #fff;
}
.equip-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.equip-card span, .equip-card b {
  position: relative;
  z-index: 1;
}
.equip-card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.equip-card.wide { grid-row: span 2; }

.founder {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.founder h2 {
  margin: 0 0 24px;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.1;
}
.founder-photo {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  position: relative;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; position: absolute; inset: 0; }
.quote {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
  margin: 16px 0 20px;
}
.founder-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.founder-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.brand-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin-inline: calc(var(--page-pad) * -1);
  padding-inline: var(--page-pad);
}
.brand-slide {
  flex: 0 0 340px;
  width: 340px;
  scroll-snap-align: start;
  background: #fff;
}
.brand-slide img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  background: #f2f2f2;
}
.brand-slide h3 {
  margin: 16px 0 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}

.stories-intro {
  margin-bottom: 40px;
}
.stories-intro h2 {
  margin: 0;
}
.stories-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin-inline: calc(var(--page-pad) * -1);
  padding-inline: var(--page-pad);
}
.story-slide {
  flex: 0 0 280px;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  scroll-snap-align: start;
  background: #fff;
}
.story-media {
  position: relative;
  width: 100%;
}
.story-slide video {
  display: block;
  width: 100%;
  height: 498px;
  object-fit: cover;
  object-position: center;
  background: #111;
}
.story-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 1;
}
.story-play svg { width: 22px; height: 22px; margin-left: 3px; }
.story-play:hover { background: #fff; color: #000; border-color: #fff; }
.story-slide h3 {
  margin: 16px 0 16px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}
.story-slide .result-actions { margin-top: auto; }
.story-modal .story-modal-card {
  width: min(100%, 420px);
  padding: 0;
  background: #000;
}
.story-modal video {
  display: block;
  width: 100%;
  max-height: 85vh;
}

.results-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin-inline: calc(var(--page-pad) * -1);
  padding-inline: var(--page-pad);
}
.result-slide {
  flex: 0 0 360px;
  width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  scroll-snap-align: start;
  background: #fff;
}
.result-slide img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center top;
  background: #f2f2f2;
}
.result-slide h3 {
  margin: 16px 0 8px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}
.result-slide p {
  margin: 0 0 16px;
  color: var(--muted);
}
.result-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}
.result-actions .btn {
  flex: 1;
  padding: 0 12px;
  white-space: nowrap;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.brand-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 180px;
}
.brand-card h3 { margin: 0 0 10px; font-size: 32px; }

.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.widget {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}
a.blog-card:hover h3 { text-decoration: underline; }
.blog-card img,
.blog-card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  background: #e8e8e8;
}
.blog-card-photo { display: block; }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { margin: 8px 0 10px; font-size: 26px; line-height: 1.15; }
.blog-card-body > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.article-photo { margin: 0 0 28px; }

.capture {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.capture h2 {
  margin: 10px 0 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  max-width: 16ch;
}
body[data-page="uslugi"] .capture h2 { max-width: 22ch; }
body[data-page="akcii"] .capture h2 { max-width: 22ch; }
.parent-page .capture h2 { max-width: 16ch; }
.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 12px;
}
.form label { font-size: 13px; font-weight: 600; }
.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 0;
  padding: 12px 14px;
}
.form textarea { min-height: 110px; resize: vertical; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 400 !important;
  color: var(--muted);
}
.consent input {
  width: auto;
  margin-top: 2px;
}
.consent a { text-decoration: underline; color: var(--ink); }
.form-note { font-size: 12px; color: var(--muted); }

.page-hero {
  padding: 64px 0 28px;
}
body[data-page="uslugi"] .page-hero,
body[data-page="specialisty"] .page-hero,
body[data-page="akcii"] .page-hero,
body[data-page="blog"] .page-hero,
body[data-page="contacts"] .page-hero,
body[data-page="licenses"] .page-hero,
body[data-page="prices"] .page-hero {
  padding: 64px var(--page-pad) 88px;
}
.page-hero h1 {
  margin: 12px 0 12px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
}
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

.filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 28px 0 32px;
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
}
a.chip { display: inline-flex; align-items: center; justify-content: center; }
.chip.is-active, .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-search {
  display: block;
  margin: 0;
  flex: 1 1 280px;
  max-width: 420px;
}
.service-search input {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 0;
  min-height: 52px;
  padding: 12px 16px;
  font-size: 16px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 0;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.service-card-photo {
  position: relative;
  height: 220px;
  background: #e8e8e8;
}
.service-card-label {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #fff;
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.service-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-body h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.15;
}
.service-card-body p {
  margin: 0 0 18px;
  color: var(--muted);
  flex: 1;
}
.service-card-body .btn { align-self: flex-start; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  position: relative;
  background: #e8e8e8;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.direction-page .page-hero h1 { margin-top: 24px; margin-bottom: 18px; }
.direction-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  margin: 12px 0 0;
  max-width: 1100px;
}
.direction-text p { margin: 0; }
.direction-search {
  display: block;
  max-width: none;
  width: calc((100% - 36px) / 3 * 2 + 18px);
  margin: 56px 0 32px;
  flex: none;
}
.list-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.list-card ul { margin: 12px 0 0; padding-left: 18px; }
.list-card li + li { margin-top: 8px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step b {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 8px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.price-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.price-table tr:last-child td { border-bottom: 0; }
.price-group {
  margin: 28px 0 12px;
  font-size: 28px;
}

body[data-page="prices"] .page-hero { padding-bottom: 40px; }
body[data-page="prices"] .page-hero h1 { margin-bottom: 28px; }
body[data-page="prices"] .filters { margin: 0; }
.price-catalog { padding: 0 var(--page-pad) 96px; }
.price-parent { margin: 0 0 56px; }
.price-parent:last-child { margin-bottom: 0; }
.price-h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  margin: 0 0 20px;
}
.price-h2 h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  font-weight: 500;
}
.price-h2 h2 a:hover { text-decoration: underline; }
.price-child { margin: 0 0 22px; }
.price-child:last-child { margin-bottom: 0; }
.price-h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.price-h3 h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
}
.price-h3 h3 a:hover { text-decoration: underline; }
.price-h3 .price-meta {
  align-items: flex-start;
  text-align: left;
}
.price-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 0 0 auto;
  text-align: right;
}
.price-sum {
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}
.price-note {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--muted);
  max-width: 28ch;
}
.price-old {
  margin-right: 8px;
  font-weight: 400;
  text-decoration: line-through;
  opacity: 0.55;
}
.price-extras-heading {
  margin: 4px 0 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
}
.price-h4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 8px;
}
.price-h4 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.price-h4 h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
}
.price-h4 .price-sum { font-size: 16px; color: var(--muted); }
.price-h4:hover { background: var(--ink); color: #fff; }
.price-h4:hover .price-sum,
.price-h4:hover .price-note { color: inherit; }
.price-h4-static { cursor: default; }
.price-h4-static:hover { background: transparent; color: inherit; }
.price-h4-static:hover .price-sum,
.price-h4-static:hover .price-note { color: var(--muted); }

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ba-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background: #e8e8e8;
}
.ba-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ba-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #fff;
  border: 1px solid #000;
  padding: 6px 10px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 16px 18px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 18px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  background: #000;
  color: #fff;
}
.promo .eyebrow { color: #bdbdbd; }
.promo.is-hidden { display: none; }
body[data-page="akcii"] .promo { margin: 32px 0 18px; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.offer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  color: inherit;
  overflow: hidden;
}
a.offer-card:hover h2 { text-decoration: underline; }
.offer-card > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
}
.offer-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.offer-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}
.offer-card-body p {
  flex: 1;
  margin: 0;
  color: var(--muted);
}
.offer-card-body .btn { align-self: flex-start; margin-top: auto; }
.offer-card .offer-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.offer-card .hero-actions { margin-top: auto; }
.countdown { display: flex; gap: 10px; }
.countdown b {
  min-width: 58px;
  background: rgba(255,255,255,0.12);
  border-radius: 0;
  padding: 10px;
  text-align: center;
  display: block;
}
.countdown span { display: block; font-size: 11px; opacity: 0.75; font-weight: 500; }

article.page-hero {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: 18px;
  text-align: left;
}
article.page-hero .crumbs,
article.page-hero .eyebrow,
article.page-hero > h1,
article.page-hero > .lead,
.akciya-layout {
  grid-column: 1 / span 6;
}
.akciya-layout {
  margin-top: 32px;
}
.akciya-copy {
  min-width: 0;
  text-align: left;
}
.akciya-copy p { margin: 0 0 16px; }
.akciya-copy .akciya-sets {
  margin: 0 0 20px;
  padding-left: 1.15em;
}
.akciya-copy .akciya-sets li { margin: 0 0 8px; }
.akciya-combo {
  margin: 0 0 28px;
}
.akciya-combo p { margin: 0 0 8px; }
.akciya-price {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 8px 0 0;
}
.akciya-price b { font-size: 22px; font-weight: 600; }
.akciya-price s { color: var(--muted); font-weight: 400; }

.certs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cert {
  min-height: 140px;
  border: 1px dashed var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  display: flex;
  align-items: end;
  padding: 16px;
}

.doc-grid { display: grid; gap: 12px; }
.doc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  align-items: center;
}

.contacts-layout {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 32px;
  margin-top: 40px;
  align-items: start;
}
.contacts-copy { grid-column: 1 / span 4; }
.contacts-copy p { margin: 0 0 14px; }
.contacts-copy .btn { margin-top: 12px; }
.contacts-map { grid-column: 5 / span 4; min-height: 420px; }
.contacts-map iframe { height: 420px; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  background: #e8e8e8;
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; }

.footer {
  background: #000;
  color: #fff;
  padding: 48px 0 24px;
}
.footer a { color: inherit; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.65fr repeat(3, 0.75fr);
  column-gap: 16px;
  row-gap: 28px;
}
.footer-description { max-width: 460px; margin: 0 0 28px; }
.footer h3 { margin: 0 0 14px; font-size: 22px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li + li { margin-top: 8px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.legal { margin: 0; max-width: 62ch; }
.footer-copy {
  margin: 0;
  text-align: center;
  color: rgba(255,255,255,0.7);
}
.footer-disclaimer {
  margin: 0;
  text-align: right;
  max-width: 42ch;
  justify-self: end;
}

.cookie {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 16px;
  box-shadow: var(--shadow);
}
.cookie.is-hidden { display: none; }
.float-bar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.float-menu {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.float-bar.is-open .float-menu { display: flex; }
.float-link {
  min-height: 44px;
  padding: 0 18px;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}
.float-link.is-static { cursor: default; }
.float-btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 0;
  border: 0;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 500;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  place-items: center;
  z-index: 60;
  padding: 20px;
}
.modal.is-open { display: grid; }
.modal-card {
  width: min(100%, 460px);
  background: var(--surface);
  border-radius: 0;
  padding: 24px;
}
.a11y-panel {
  display: none;
  background: #111;
  color: #fff;
  padding: 10px 0;
}
html.a11y-on .a11y-panel { display: block; }
.a11y-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.a11y-tools button {
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 0;
  padding: 6px 10px;
  font-weight: 700;
}

html.a11y-on {
  --bg: #fff;
  --bg-soft: #fff;
  --surface: #fff;
  --ink: #000;
  --muted: #111;
  --line: #000;
}
html.a11y-on body { font-size: 20px; line-height: 1.8; }
html.a11y-on img { filter: grayscale(1) contrast(1.2); }
html.a11y-on .logo img { filter: none; }
html.a11y-on a { text-decoration: underline; }
html.a11y-on .btn { border-radius: 0; }

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--ink);
  color: #fff;
  padding: 14px 16px;
  border-radius: 0;
  z-index: 70;
  display: none;
}
.toast.is-on { display: block; }

/* Страница услуги — шаблон «Родитель» */
.parent-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  align-items: start;
  padding: 64px var(--page-pad) 72px;
}
.parent-hero-copy h1 {
  margin: 12px 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
}
.parent-hero-copy h1 + .parent-price,
.parent-hero-copy h1 + .parent-price-block { margin-top: -4px; }
.parent-price-block { margin: 0 0 16px; }
.parent-price {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.parent-price-block .parent-price { margin-bottom: 6px; }
.parent-price-note {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--muted, #6b6b6b);
}
.parent-hero-copy .lead {
  color: var(--ink);
  max-width: none;
  margin: 0 0 28px;
}
.parent-snippets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 28px;
}
.parent-snippet {
  border: 1px solid var(--line);
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
.parent-media {
  position: relative;
  min-height: 520px;
  background: #e8e8e8;
}
.parent-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border: 1px solid var(--ink);
  background: #fff;
  display: grid;
  place-items: center;
}
.parent-play svg { width: 22px; height: 22px; margin-left: 3px; }

.parent-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 var(--page-pad) 0;
  padding: 20px 28px;
  background: #000;
  color: #fff;
}
.parent-offer h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  font-weight: 500;
}
.parent-offer .btn { background: #fff; color: #000; border-color: #fff; }

.parent-children { padding: 72px var(--page-pad); }
.parent-children h2 {
  margin: 0 0 28px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}
.parent-child-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.parent-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}
.parent-child-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.parent-child-price {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}
.parent-child-note {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--muted);
}
.parent-child-old {
  margin-right: 8px;
  font-weight: 400;
  text-decoration: line-through;
  opacity: 0.55;
}
.parent-child:hover { background: var(--ink); color: #fff; }
.parent-child:hover .parent-child-price,
.parent-child:hover .parent-child-note { color: inherit; }
.parent-child-static { cursor: default; }
.parent-child-static:hover { background: transparent; color: inherit; }
.parent-child-static:hover .parent-child-price,
.parent-child-static:hover .parent-child-note { color: var(--muted); }
.parent-child svg { flex: 0 0 24px; width: 24px; height: 24px; }

.parent-about {
  padding: 72px var(--page-pad);
}
.parent-about > h2 {
  margin: 0 0 32px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}
.parent-about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px 64px;
  align-items: start;
}
.parent-about-text p { margin: 0 0 16px; }
.parent-about-text p:last-child { margin-bottom: 0; }
.parent-about .form h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 500;
}

.parent-indicate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
  align-items: start;
  padding: 72px var(--page-pad);
}
.parent-indicate h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}
.parent-indicate-photo {
  min-height: 420px;
  background: #e8e8e8;
}
.parent-acc details {
  border: 1px solid var(--line);
  padding: 0;
  margin: 0 0 10px;
  background: #fff;
}
.parent-acc summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-size: 20px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.parent-acc summary::-webkit-details-marker { display: none; }
.parent-acc summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 10px;
}
.parent-acc details[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
.parent-acc ul {
  margin: 0;
  padding: 0 20px 20px 40px;
}
.parent-acc li + li { margin-top: 8px; }
.licenses-acc { margin-top: 40px; }
.licenses-acc summary {
  font-size: 18px;
  align-items: flex-start;
  line-height: 1.35;
}
.licenses-acc .acc-body {
  padding: 0 20px 20px;
  color: var(--ink);
}
.licenses-acc .acc-body p { margin: 0 0 12px; }
.licenses-acc .acc-body a { text-decoration: underline; }
.licenses-acc .acc-link-alert { color: #c00; }
.licenses-acc .acc-summary-alert { color: #c00; }
.licenses-acc .acc-link-btn {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #c00;
  text-decoration: underline;
  cursor: pointer;
}
.licenses-acc .acc-body ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.parent-process { padding: 72px 0; }
.parent-process-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 84ch);
  gap: 24px 64px;
  align-items: start;
  margin: 0 var(--page-pad) 40px;
}
.parent-process-head h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
}
.parent-process-head .lead {
  margin: 0;
  max-width: none;
  color: var(--ink);
}
.parent-process-head .intro-copy { padding-top: 8px; }
.parent-steps {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--page-pad) 12px;
}
.parent-step {
  flex: 0 0 320px;
  width: 320px;
  min-height: 220px;
  border: 1px solid var(--line);
  padding: 28px 24px;
  scroll-snap-align: start;
  background: #fff;
}
.parent-step b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 12px;
}
.parent-step h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
}
.parent-step p { margin: 0; color: var(--muted); }

.parent-result { padding: 72px 0 40px; }
.parent-result-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 84ch);
  gap: 24px 64px;
  align-items: start;
  margin: 0 var(--page-pad) 40px;
}
.parent-result-head h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
}
.parent-result-head .lead {
  margin: 0 0 20px;
  max-width: none;
  color: var(--ink);
}
.parent-result-head .intro-copy { padding-top: 8px; }
.parent-result .result-slide h3 { margin: 16px 0; }
.parent-result .results-track { margin-inline: 0; }

.parent-docs { padding: 72px var(--page-pad); }
.parent-docs h2 {
  margin: 0 0 40px;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
}
.parent-device {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
  align-items: start;
}
.parent-device-photo {
  min-height: 420px;
  background: #e8e8e8;
}
.parent-device h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}
.parent-device p { margin: 0 0 24px; }
.parent-device-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.parent-faq {
  padding: 0 var(--page-pad) 72px;
}
.parent-faq h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

/* Страница специалиста */
.doctor-hero {
  padding: 48px var(--page-pad) 40px;
}
.doctor-hero .crumbs { margin: 0 0 28px; }
.doctor-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px 64px;
  align-items: start;
}
.doctor-photo {
  position: relative;
  min-height: 640px;
  background: #e8e8e8;
  overflow: hidden;
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  inset: 0;
}
.doctor-photo .parent-play { z-index: 1; }
.doctor-hero-copy h1 {
  margin: 12px 0 8px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
}
.doctor-role {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--muted);
}
.doctor-accreditation {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.doctor-snippets {
  margin: 0 0 20px;
  grid-template-columns: repeat(3, 1fr);
}
.doctor-hero-about p { margin: 0 0 14px; }
.doctor-hero-about p:last-child { margin-bottom: 24px; }
.doctor-hours {
  margin: 14px 0 0;
  color: var(--muted);
  white-space: nowrap;
  font-style: italic;
}
.doctor-quote-band {
  margin: 0 var(--page-pad);
  padding: 28px 22px;
  background: var(--bg-soft);
}
.doctor-quote {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 0;
  max-width: none;
  background: transparent;
  border: 0;
}
.doctor-quote svg { width: 32px; height: 32px; color: var(--ink); }
.doctor-quote p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
}
.doctor-edu.parent-indicate {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 630px);
}
.doctor-edu-video {
  width: 100%;
  aspect-ratio: 1;
  justify-self: end;
  background: #e8e8e8;
  overflow: hidden;
}
.doctor-edu-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-edu-body { padding: 0 20px 20px; }
.doctor-edu-body p {
  margin: 0 0 12px;
  color: var(--muted);
}
.doctor-edu-body p:last-child { margin-bottom: 0; }
.doctor-edu-body b {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.doctor-edu-issued { white-space: nowrap; }
.doctor-services {
  padding: 72px var(--page-pad);
}
.doctor-services h2 {
  margin: 0 0 32px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}
.doctor-services .filters { margin: 0 0 32px; }
.doctor-services .service-grid { margin-top: 0; }
.doctor-services .service-card.is-off { display: none !important; }
.service-grid.is-collapsed:not([data-doctor-services]) .service-card:nth-child(n + 7) { display: none; }
.doctor-services [data-show-more] { margin-top: 28px; }
.doctor-results-title {
  margin: 0 var(--page-pad) 40px;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
}
.doctor-page .parent-result .result-slide h3 { margin: 16px 0; }
.doctor-page .capture h2 { max-width: 22ch; }

@media (max-width: 980px) {
  .about-grid, .founder, .capture, .split, .reviews, .footer-grid, .equip-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
  }
  .footer-copy,
  .footer-disclaimer { text-align: left; justify-self: start; }
  .nav-cards, .service-grid, .team-grid-tiles, .brand-grid, .blog-grid, .steps, .certs, .two-col, .direction-text, .before-after, .offer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .parent-hero,
  .parent-indicate,
  .parent-about-grid,
  .parent-process-head,
  .parent-device,
  .parent-result-head,
  .parent-child-list,
  .doctor-hero-grid,
  article.page-hero,
  .akciya-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
  }
  article.page-hero .crumbs,
  article.page-hero .eyebrow,
  article.page-hero > h1,
  article.page-hero > .lead,
  .akciya-layout,
  .akciya-copy,
  .contacts-copy,
  .contacts-map {
    grid-column: 1 / -1;
  }
  .doctor-photo { min-height: 480px; }
  .doctor-hours { white-space: normal; }
  .doctor-snippets { grid-template-columns: 1fr; }
  .service-grid.is-collapsed:not([data-doctor-services]) .service-card:nth-child(n + 5) { display: none; }
  .parent-offer { flex-direction: column; align-items: flex-start; }
  .parent-media { min-height: 360px; }
  .equip-card.wide { grid-row: auto; min-height: 240px; }
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--bg);
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
  }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .burger { display: grid; place-items: center; }
  .header-phone { display: none; }
  :root { --page-pad: 16px; }
}
@media (max-width: 680px) {
  .nav-cards, .service-grid, .team-grid-tiles, .brand-grid, .blog-grid, .steps, .certs, .two-col, .direction-text, .before-after, .promo, .offer-grid,
  .offer-card .offer-meta {
    grid-template-columns: 1fr;
  }
  .service-grid.is-collapsed:not([data-doctor-services]) .service-card:nth-child(n + 3) { display: none; }
  .hero-copy { padding: calc(var(--header-h) + 32px) 0 48px; }
  .section { padding: 56px 0; }
  .team-intro,
  .services-intro,
  .equip-intro,
  .brands-intro,
  .results-intro { grid-template-columns: 1fr; }
  .team-intro .lead,
  .services-intro .lead,
  .equip-intro .lead,
  .brands-intro .lead,
  .results-intro .lead { justify-self: start; }
  .team-grid .team-card {
    flex-basis: 300px;
    width: 300px;
    min-width: 300px;
    min-height: 500px;
    height: 500px;
  }
  .parent-snippets { grid-template-columns: 1fr; }
  .parent-hero { padding-top: 48px; }
  .price-h4-grid { grid-template-columns: 1fr; }
  .price-h2 { flex-direction: column; align-items: flex-start; }
  .price-meta { align-items: flex-start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider img { transition: none; }
  .values-line {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
