:root {
  --ink: #163236;
  --muted: #607174;
  --line: #d8e5e2;
  --paper: #f7fbfa;
  --white: #ffffff;
  --soft-white: #f8fbf9;
  --brand-green: #289968;
  --brand-gold: #d28a00;
  --teal: #087b7c;
  --teal-dark: #075f62;
  --mint: #ccebe2;
  --coral: #e47f65;
  --shadow: 0 24px 60px rgba(14, 55, 60, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  --header-gap: clamp(24px, 2.6vw, 40px);
  --rule-text-gap: clamp(18px, 1.8vw, 28px);
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(120px, 0.65fr) auto minmax(90px, 0.8fr) auto;
  align-items: center;
  gap: var(--header-gap);
  min-height: 132px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 229, 226, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 410px;
}

.brand img {
  width: 178px;
  height: 112px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 2px;
}

.header-rule {
  display: block;
  width: calc(100% - (var(--rule-text-gap) * 2));
  height: 0.75px;
  min-width: 0;
  background: var(--brand-green);
}

.header-rule-brand {
  justify-self: center;
}

.header-rule-phone {
  justify-self: center;
}

.brand small {
  display: block;
  max-width: 170px;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.main-nav a,
.header-phone {
  transition: color 180ms ease;
}

.main-nav a:hover,
.header-phone:hover {
  color: var(--brand-gold);
}

.header-phone {
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: min(760px, calc(100vh - 132px));
  padding: clamp(90px, 12vw, 150px) clamp(18px, 4vw, 64px) 24px;
  overflow: hidden;
  background: var(--white);
}

.hero-content {
  position: relative;
  width: min(1180px, 100%);
  color: #000000;
  text-align: center;
  animation: heroRise 900ms ease-out both;
}

.hero-logo-mark {
  position: relative;
  width: min(660px, 82vw);
  aspect-ratio: 1;
  margin: 0 auto clamp(18px, 2.8vw, 34px);
}

.hero-logo-animated,
.hero-logo-final {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-logo-final {
  opacity: 0;
  transform: scale(0.985);
  filter: blur(4px);
  animation: heroLogoExactReveal 520ms ease 2750ms forwards;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(92px, 14vw, 190px);
  line-height: 0.86;
  letter-spacing: 0;
}

.lead {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.32;
  text-align: center;
  color: #000000;
  white-space: nowrap;
  transform: translateX(-48px);
}

.lead span {
  display: inline;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(56px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLogoExactReveal {
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.contacts .button.secondary {
  color: var(--teal);
  border-color: var(--line);
  background: var(--white);
}

.section-pad {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 4vw, 64px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 0;
  padding-bottom: 0;
  background: var(--white);
  scroll-margin-top: 152px;
}

.stat {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 210px;
  padding: 42px 30px;
  background: var(--white);
  text-align: center;
}

.stat + .stat::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 118px;
  content: "";
  background: var(--brand-green);
  transform: translateY(-50%);
}

.stat strong {
  display: block;
  color: var(--brand-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 8vw, 126px);
  font-weight: 700;
  line-height: 0.88;
}

.stat span {
  display: block;
  max-width: 260px;
  margin-top: 22px;
  color: #000000;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 1.2;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 110px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

p {
  color: var(--muted);
}

.section-copy p:last-child {
  max-width: 620px;
  font-size: 18px;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list article,
.service-card,
.timeline article,
.faq-list details,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(14, 55, 60, 0.06);
}

.feature-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 28px;
}

.feature-list .icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 800;
}

.feature-list p {
  grid-column: 2;
  margin: -10px 0 0;
}

.therapy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  background: transparent;
}

.therapy-block {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: clamp(30px, 4vw, 52px);
  border: 1.5px solid var(--brand-green);
  border-radius: 18px;
  background: transparent;
}

.therapy-block-primary {
  border-color: var(--brand-green);
}

.therapy-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  max-width: 1060px;
}

.therapy-content h2 {
  color: #000000;
  font-size: clamp(38px, 4.6vw, 68px);
}

.therapy-content p {
  max-width: 980px;
  margin: 22px 0 0;
  color: #000000;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.62;
}

.therapy-points {
  display: grid;
  gap: 0;
  margin-top: 22px;
  padding-top: 0;
  background: transparent;
}

.therapy-points span {
  min-height: auto;
  padding: 10px 0;
  color: #000000;
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 400;
  line-height: 1.2;
}

.therapy-points strong {
  display: inline;
  margin-right: 10px;
  color: var(--brand-gold);
  font-size: 20px;
  font-weight: 400;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.services {
  background: var(--white);
  scroll-margin-top: 152px;
}

.services .section-head h2,
.steps .section-head h2 {
  color: #000000;
}

.service-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  --service-closed-height: 560px;
  --service-preview-height: 144px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 16px 16px 22px;
  overflow: hidden;
  border-color: var(--brand-green);
  border-radius: 28px;
}

.service-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  border-radius: 22px;
  object-fit: cover;
  background: var(--white);
}

.service-card h3 {
  font-size: clamp(18px, 1.45vw, 23px);
}

.service-card p {
  margin: 18px 0 0;
  color: #000000;
  font-size: 16px;
  line-height: 1.5;
}

.service-card > p {
  height: var(--service-preview-height);
  overflow: hidden;
  transition: height 320ms ease;
  will-change: height;
}

.service-card.is-open > p,
.service-card.is-closing > p {
  height: auto;
  overflow: visible;
}

.service-card p + p {
  margin-top: 12px;
}

.service-more p:first-child {
  margin-top: 12px;
}

.service-more {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: height 320ms ease, opacity 220ms ease, transform 220ms ease;
  will-change: height, opacity, transform;
}

.service-card.is-open .service-more,
.service-card.is-closing .service-more {
  opacity: 1;
  transform: translateY(0);
}

.service-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 14px;
  padding: 0;
  border: 0;
  color: var(--brand-green);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease;
}

.service-toggle:hover {
  color: var(--brand-gold);
}

.service-toggle-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.service-toggle-icon::before {
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.service-card.is-open .service-toggle-icon {
  transform: rotate(180deg);
}

.steps {
  background: var(--white);
  padding-top: clamp(64px, 9vw, 120px);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  padding: 10px 0;
}

.timeline article {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 270px;
  padding: 44px 30px;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow:
    -18px 0 28px rgba(16, 58, 48, 0.08),
    18px 0 28px rgba(16, 58, 48, 0.08);
  text-align: center;
}

.timeline article:not(:first-child)::before {
  position: absolute;
  top: 50%;
  left: 6px;
  z-index: 2;
  width: 34px;
  height: 34px;
  content: "";
  border-top: 6px solid var(--brand-green);
  border-right: 6px solid var(--brand-green);
  background: transparent;
  transform: translateY(-50%) rotate(45deg);
}

.timeline article:not(:first-child)::after {
  position: absolute;
  top: 50%;
  left: -11px;
  z-index: 2;
  width: 34px;
  height: 34px;
  content: "";
  border-top: 6px solid var(--brand-green);
  border-right: 6px solid var(--brand-green);
  background: transparent;
  transform: translateY(-50%) rotate(45deg);
}

.timeline article:not(:first-child) {
  padding-left: 58px;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border: 1px solid var(--brand-gold);
  border-radius: 50%;
  color: var(--brand-gold);
  background: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

.timeline h3 {
  color: #000000;
  font-size: 18px;
  text-transform: uppercase;
}

.timeline p {
  max-width: 210px;
  margin: 14px auto 0;
  color: #000000;
  font-size: 14px;
  line-height: 1.45;
}

.specialists {
  padding-top: clamp(64px, 9vw, 120px);
  background: var(--white);
  color: var(--ink);
  scroll-margin-top: 152px;
}

.specialists .section-head h2 {
  color: #000000;
}

.specialist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.specialist-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26px 20px 24px;
  overflow: hidden;
  border: 1.5px solid var(--brand-green);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(14, 55, 60, 0.06);
}

.specialist-photo {
  width: min(270px, 92%);
  aspect-ratio: 1;
  min-height: 0;
  margin: 0 auto 34px;
  border: 4px solid var(--brand-gold);
  border-radius: 50%;
  overflow: hidden;
  background: #f4f6f2;
}

.specialist-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
}

.specialist-info {
  display: flex;
  min-height: 170px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 0;
  text-align: center;
}

.specialist-info h3 {
  max-width: 270px;
  color: #000000;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 800;
  line-height: 1.02;
}

.specialist-info p {
  max-width: 100%;
  margin: auto 0 0;
  padding: 0;
  color: #000000;
  background: transparent;
  font-size: 15px;
  line-height: 1.4;
}

.prices {
  padding-top: clamp(64px, 9vw, 120px);
  background: var(--white);
  scroll-margin-top: 152px;
}

.prices .section-head h2 {
  color: #000000;
}

.specialists .section-head,
.prices .section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.price-list {
  display: grid;
  gap: 14px;
  width: 100%;
}

.price-group {
  overflow: hidden;
  border: 1.5px solid var(--brand-green);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(14, 55, 60, 0.06);
}

.price-group summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  color: #000000;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  list-style: none;
}

.price-group summary::-webkit-details-marker {
  display: none;
}

.price-group summary::after {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--brand-green);
  border-radius: 50%;
  color: var(--brand-green);
  content: "+";
  font-size: 24px;
  font-weight: 400;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.price-group summary:hover::after {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.price-group.is-open summary::after {
  content: "−";
  transform: rotate(180deg);
}

.price-group.is-closing summary::after {
  content: "+";
  transform: none;
}

.price-items {
  display: grid;
  gap: 0;
  overflow: hidden;
  height: 0;
  opacity: 0;
  padding: 0 30px 0;
  transform: none;
  transition: none;
  contain: layout paint;
}

.price-group.is-open .price-items {
  height: auto;
  padding-bottom: 28px;
  opacity: 1;
}

.price-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--brand-green);
  color: #000000;
}

.price-item span {
  font-size: 17px;
  line-height: 1.35;
}

.price-item strong {
  color: var(--brand-gold);
  font-size: 18px;
  white-space: nowrap;
}

.contacts .section-head h2 {
  color: #000000;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.02;
  text-align: left;
}

.contacts .section-head {
  min-height: 0;
  margin-bottom: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 620px;
  min-height: 0;
  align-content: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.faq-list details {
  padding: 16px 20px;
  border: 1px solid var(--brand-green);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(14, 55, 60, 0.06);
}

.faq-list summary {
  cursor: pointer;
  color: #000000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  transition: color 180ms ease;
}

.faq-list summary:hover,
.faq-list details[open] summary {
  color: var(--brand-gold);
}

.faq-answer {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: height 320ms ease, opacity 220ms ease, transform 220ms ease;
}

.faq-list details[open] .faq-answer {
  height: auto;
  opacity: 1;
  transform: translateY(0);
}

.faq-list p {
  margin: 14px 0 0;
  max-width: 520px;
  color: #000000;
  font-size: 17px;
  line-height: 1.45;
  text-align: left;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(360px, 0.96fr) minmax(320px, 0.78fr);
  grid-template-areas:
    "faq map route"
    "copy panel route";
  column-gap: clamp(24px, 3vw, 42px);
  row-gap: clamp(22px, 3vw, 44px);
  align-items: stretch;
  background: var(--white);
  padding-top: clamp(34px, 4vw, 56px);
}

.contact-faq {
  display: grid;
  grid-area: faq;
  align-content: start;
  gap: 44px;
}

.contact-copy h2 {
  margin: 0;
  color: #000000;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.18;
  white-space: nowrap;
}

.contacts p {
  max-width: 560px;
  font-size: 18px;
}

.contact-copy {
  grid-area: copy;
  align-self: start;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.contact-copy p {
  margin: 14px 0 0;
  color: #000000;
  font-size: 18px;
  line-height: 1.35;
}

.contact-map {
  grid-area: map;
  align-self: stretch;
  overflow: hidden;
  width: 100%;
  height: auto;
  min-height: 0;
  border: 1.5px solid var(--brand-green);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(14, 55, 60, 0.06);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-panel {
  grid-area: panel;
  align-self: start;
  width: 100%;
  padding: 30px 34px;
  border: 1.5px solid var(--brand-green);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.route-card {
  grid-area: route;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 28px 30px;
  border: 1.5px solid var(--brand-green);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(14, 55, 60, 0.06);
}

.route-card h3 {
  color: #000000;
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.05;
}

.route-card p {
  margin: 20px 0 0;
  color: #000000;
  font-size: 17px;
  line-height: 1.45;
}

.route-card strong {
  font-weight: 400;
}

.route-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 16px 18px;
  border: 1.5px solid var(--brand-green);
  border-radius: 999px;
  color: var(--brand-green);
  background: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  transition: color 180ms ease, border-color 180ms ease;
}

.route-button:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.contact-panel p {
  margin: 16px 0 0;
  color: #000000;
  font-size: 17px;
  line-height: 1.45;
  white-space: nowrap;
}

.phone-big {
  display: block;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
  font-weight: 900;
  color: #000000;
  transition: color 180ms ease;
}

.phone-big:hover {
  color: var(--brand-gold);
}

.mobile-break {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 64px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button:hover {
    transform: none;
  }

  .hero-content,
  .hero-logo-animated,
  .hero-logo-final {
    animation: none;
  }

  .hero-logo-animated {
    opacity: 0;
  }

  .hero-logo-final {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (min-width: 1041px) and (max-width: 1320px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  .site-header,
  .section-pad,
  .site-footer {
    width: 100%;
    max-width: 100%;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    row-gap: 12px;
    column-gap: 28px;
    min-height: 136px;
    padding: 12px clamp(24px, 3vw, 42px) 16px;
  }

  .header-rule {
    display: none;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .brand img {
    width: 148px;
    height: 94px;
  }

  .brand small {
    max-width: 168px;
    font-size: 18px;
  }

  .header-phone {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    font-size: 18px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-items: center;
    width: 100%;
    gap: 0;
    font-size: 18px;
  }

  .contacts {
    grid-template-columns: minmax(260px, 0.72fr) minmax(300px, 0.92fr) minmax(320px, 0.9fr);
    column-gap: 24px;
  }

  .contact-copy h2 {
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.12;
    white-space: normal;
  }

  .contact-copy p {
    font-size: 17px;
  }

  .contact-panel {
    padding: 26px 24px;
  }

  .contact-panel p {
    font-size: 16px;
    line-height: 1.35;
    white-space: normal;
  }

  .mobile-break {
    display: block;
  }

  .phone-big {
    font-size: 28px;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-rule {
    display: none;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 0 4px;
    gap: 28px;
    font-size: 18px;
  }

  .split,
  .therapy,
  .contacts {
    grid-template-columns: 1fr;
  }

  .contacts {
    grid-template-areas:
      "faq"
      "map"
      "route"
      "copy"
      "panel";
  }

  .section-copy {
    position: static;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .specialist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .therapy-points {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .timeline article {
    border-radius: 22px;
  }

  .timeline article:not(:first-child)::before,
  .timeline article:not(:first-child)::after {
    display: none;
  }

  .contact-map,
  .contact-panel,
  .route-card {
    width: 100%;
  }

  .contact-map {
    height: auto;
    min-height: 320px;
  }

}

@media (min-width: 681px) and (max-width: 1040px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  .site-header,
  .hero,
  .stats,
  .therapy,
  .services,
  .steps,
  .specialists,
  .prices,
  .contacts,
  .site-footer {
    width: 100%;
    max-width: 100%;
  }

  .section-pad {
    width: 100%;
    max-width: 100%;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    row-gap: 14px;
    column-gap: 24px;
    min-height: 142px;
    padding: 14px clamp(24px, 4vw, 44px) 16px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    gap: 14px;
  }

  .brand img {
    width: 136px;
    height: 86px;
  }

  .brand small {
    max-width: 160px;
    font-size: 16px;
    line-height: 1.06;
  }

  .header-phone {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    font-size: 18px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-items: center;
    align-items: center;
    width: 100%;
    gap: 0;
    overflow: visible;
    padding: 0;
    font-size: 18px;
  }

  .hero {
    justify-items: center;
    padding-right: clamp(24px, 4vw, 44px);
    padding-left: clamp(24px, 4vw, 44px);
  }

  .hero-content {
    display: grid;
    justify-items: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-logo-mark {
    width: min(560px, 82vw);
    margin-right: auto;
    margin-left: auto;
  }

  .lead {
    width: min(680px, 100%);
    margin-right: auto;
    margin-left: auto;
    white-space: normal;
    text-align: center;
    transform: none;
  }

  .lead span {
    display: block;
  }

  .therapy {
    display: grid;
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    padding: 0 0 10px;
    touch-action: pan-y pinch-zoom;
  }

  .therapy-block {
    grid-area: 1 / 1;
    width: 100%;
    min-height: auto;
    opacity: 0 !important;
    pointer-events: none;
    transform: translateX(110%) scale(0.98);
    transition: opacity 620ms ease, transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .therapy:not(.is-slider-ready) .therapy-block:first-child,
  .therapy .therapy-block.is-active {
    z-index: 3;
    opacity: 1 !important;
    pointer-events: auto;
    transform: translateX(0) scale(1);
  }

  .therapy .therapy-block.is-before {
    transform: translateX(-110%) scale(0.98);
  }

  .therapy .therapy-block.is-leaving-left {
    z-index: 4;
    opacity: 0 !important;
    transform: translateX(-110%) scale(0.98);
  }

  .therapy .therapy-block.is-leaving-right {
    z-index: 4;
    opacity: 0 !important;
    transform: translateX(110%) scale(0.98);
  }

  .therapy-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  .site-header,
  .hero,
  .stats,
  .therapy,
  .services,
  .steps,
  .specialists,
  .prices,
  .contacts,
  .section-pad {
    width: 100%;
    max-width: none;
  }

  .section-pad {
    padding-right: 18px;
    padding-left: 18px;
  }

  body,
  main,
  .site-header,
  .hero,
  .stats,
  .stat,
  .therapy,
  .therapy-block,
  .services,
  .service-card,
  .steps,
  .timeline article,
  .specialists,
  .specialist-card,
  .prices,
  .price-group,
  .contacts,
  .contact-panel,
  .route-card,
  .faq-list details,
  .site-footer {
    background: var(--white) !important;
  }

  .site-header {
    min-height: 104px;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 12px;
  }

  .brand img {
    width: 100px;
    height: 66px;
  }

  .brand {
    min-width: 0;
    gap: 0;
    margin-left: -4px;
  }

  .brand small {
    max-width: 106px;
    font-size: 10px;
    line-height: 1.04;
  }

  .header-phone {
    font-size: 14px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 520px;
    padding-top: 34px;
    padding-bottom: 6px;
    align-items: start;
  }

  .hero-logo-mark {
    width: min(440px, 88vw);
    margin-top: 0;
    margin-bottom: 18px;
  }

  .lead {
    white-space: normal;
    transform: none;
  }

  .lead span {
    display: block;
  }

  .stats,
  .specialist-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    padding: 0 0 8px;
    touch-action: pan-y pinch-zoom;
  }

  .timeline article {
    grid-area: 1 / 1;
    z-index: 0;
    width: calc(100% - 40px);
    min-height: 250px;
    margin: 0 auto;
    padding: 34px 24px;
    border: 1.5px solid var(--brand-green);
    border-radius: 18px;
    opacity: 0 !important;
    box-shadow: none;
    pointer-events: none;
    transform: translateX(120%) scale(0.98);
    transition: opacity 620ms ease, transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .timeline:not(.is-stack-ready) article:first-child,
  .timeline article.is-active {
    z-index: 3;
    opacity: 1 !important;
    pointer-events: auto;
    transform: translateX(0) scale(1);
  }

  .timeline article.is-before {
    z-index: 1;
    transform: translateX(-120%) scale(0.98);
  }

  .timeline article.is-leaving-left {
    z-index: 4;
    opacity: 0 !important;
    transform: translateX(-120%) scale(0.98);
  }

  .timeline article.is-leaving-right {
    z-index: 4;
    opacity: 0 !important;
    transform: translateX(120%) scale(0.98);
  }

  .timeline article:not(:first-child) {
    padding-left: 24px;
  }

  .timeline article:not(:first-child)::before,
  .timeline article:not(:first-child)::after {
    display: none;
  }

  .service-grid {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 20px 8px;
    background: var(--white) !important;
    overscroll-behavior-y: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .service-grid.has-open-card {
    overflow-y: visible;
    overscroll-behavior-y: auto;
  }

  .services {
    padding-bottom: 0;
  }

  .steps {
    padding-bottom: 0;
  }

  .specialists {
    padding-bottom: 0;
  }

  .contacts {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "faq"
      "route"
      "map"
      "copy"
      "panel";
    row-gap: 28px;
    overflow: hidden;
  }

  .contact-faq,
  .contacts .section-head,
  .faq-list,
  .faq-list details {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .contacts .section-head h2 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-list details {
    padding: 16px 18px;
    border-radius: 18px;
  }

  .faq-list summary,
  .faq-list p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .route-button {
    margin-top: 26px;
  }

  .contact-panel p {
    white-space: normal;
  }

  .mobile-break {
    display: block;
  }

  .service-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    --service-closed-height: 530px;
    --service-preview-height: 144px;
    flex: 0 0 88%;
    min-height: auto;
    scroll-snap-align: start;
  }

  .service-card:not(.is-open) {
    height: auto;
  }

  .service-toggle:hover {
    color: var(--brand-green);
  }

  .specialist-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 20px 8px;
    background: var(--white) !important;
    overscroll-behavior-y: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .specialist-grid::-webkit-scrollbar {
    display: none;
  }

  .specialist-card {
    flex: 0 0 88%;
    min-height: auto;
    scroll-snap-align: start;
  }

  .stats {
    gap: 20px;
    padding: 4px 22px 32px;
    max-width: 390px;
    margin-right: auto;
    margin-left: auto;
  }

  .price-group summary {
    padding: 22px 20px;
  }

  .price-group summary:hover::after {
    border-color: var(--brand-green);
    color: var(--brand-green);
  }

  .price-group.is-open summary::after {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
  }

  .faq-list summary:hover {
    color: #000000;
  }

  .faq-list details[open] summary {
    color: var(--brand-gold);
  }

  .price-items {
    padding: 0 20px 0;
  }

  .price-group.is-open .price-items {
    padding-bottom: 22px;
  }

  .price-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stat {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 18px;
    align-items: center;
    justify-items: start;
    min-height: auto;
    padding: 0;
    text-align: left;
  }

  .stat + .stat::before {
    display: none;
  }

  .stat strong {
    justify-self: center;
    width: 104px;
    text-align: center;
    font-size: 56px;
    font-weight: 700;
    line-height: 0.95;
  }

  .stat span {
    max-width: 100%;
    margin-top: 0;
    font-size: 19px;
    line-height: 1.24;
  }

  .feature-list article {
    grid-template-columns: 1fr;
  }

  .feature-list p {
    grid-column: auto;
    margin-top: 0;
  }

  .therapy-points span {
    min-height: auto;
  }

  .therapy-block {
    min-height: auto;
    height: auto;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: none;
  }

  .therapy {
    display: grid;
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
    margin-right: 18px;
    margin-left: 18px;
    overflow: hidden;
    padding: 0 0 8px;
    touch-action: pan-y pinch-zoom;
  }

  .therapy::-webkit-scrollbar {
    display: none;
  }

  .therapy-block {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0 !important;
    pointer-events: none;
    transform: translateX(110%) scale(0.98);
    transition: opacity 620ms ease, transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .therapy:not(.is-slider-ready) .therapy-block:first-child,
  .therapy .therapy-block.is-active {
    z-index: 3;
    opacity: 1 !important;
    pointer-events: auto;
    transform: translateX(0) scale(1);
  }

  .therapy .therapy-block.is-before {
    transform: translateX(-110%) scale(0.98);
  }

  .therapy .therapy-block.is-leaving-left {
    z-index: 4;
    opacity: 0 !important;
    transform: translateX(-110%) scale(0.98);
  }

  .therapy .therapy-block.is-leaving-right {
    z-index: 4;
    opacity: 0 !important;
    transform: translateX(110%) scale(0.98);
  }

  .therapy-content h2 {
    margin-bottom: 12px;
    font-size: 34px;
    line-height: 1.05;
  }

  .therapy-content p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }

  .therapy-points {
    gap: 0;
    margin-top: 14px;
    padding-top: 0;
  }

  .therapy-points span {
    padding: 5px 0;
    font-size: 15px;
    line-height: 1.18;
  }

  .therapy-points strong {
    margin-right: 8px;
    font-size: 16px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 360px) and (min-height: 800px) {
  .therapy.section-pad {
    width: auto;
    margin-right: 12px;
    margin-left: 12px;
    padding-right: 0;
    padding-left: 0;
  }

  .therapy-block {
    padding: 22px 18px;
  }

  .therapy-content h2 {
    font-size: 31px;
  }

  .therapy-content p {
    font-size: 14px;
    line-height: 1.42;
  }

  .contact-copy h2 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .therapy.section-pad {
    width: auto;
    margin-right: 10px;
    margin-left: 10px;
    padding-right: 0;
    padding-left: 0;
  }

  .therapy-block {
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact-copy h2 {
    max-width: 100%;
    font-size: 27px;
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 330px) {
  .site-header {
    min-height: 92px;
    gap: 8px;
    padding: 8px 9px;
  }

  .brand {
    gap: 2px;
    margin-left: -2px;
  }

  .brand img {
    width: 84px;
    height: 56px;
  }

  .brand small {
    max-width: 88px;
    font-size: 8.5px;
    line-height: 1.02;
  }

  .header-phone {
    font-size: 12px;
  }

  .stats {
    gap: 16px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .stat {
    grid-template-columns: 86px minmax(0, 1fr);
    column-gap: 14px;
  }

  .stat strong {
    width: 86px;
    font-size: 50px;
  }

  .stat span {
    font-size: 17px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .therapy-block {
    padding: 20px 16px;
  }

  .therapy-content h2 {
    font-size: 29px;
  }

  .therapy-content p {
    font-size: 13.5px;
    line-height: 1.4;
  }

  .phone-big {
    font-size: 22px;
    white-space: nowrap;
  }
}
