/* SmilePro native — визуал по эталону Tilda, без t-* классов */
@font-face {
  font-family: "Involve";
  src: url("/assets/img6131-3366-4432-a163-346565326636/Involve-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Involve";
  src: url("/assets/img3362-6438-4432-b331-663861313436/Involve-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Involve";
  src: url("/assets/img6164-3234-4333-b865-376631623037/Involve-Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Involve";
  src: url("/assets/img3062-3061-4835-a134-353939373938/Involve-SemiBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sp-font: "Involve", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --sp-text: #191919;
  --sp-muted: #616c71;
  --sp-accent: #ff7f00;
  --sp-accent-hover: #f59431;
  --sp-bg: #ffffff;
  --sp-surface: #f5f5f5;
  --sp-gradient: linear-gradient(0.48turn, rgba(208, 233, 255, 1) 0%, rgba(209, 237, 232, 1) 100%);
  --sp-scale: 1.15;
  --sp-radius: calc(20px * var(--sp-scale));
  --sp-radius-sm: calc(10px * var(--sp-scale));
  --sp-shadow: 0 calc(12px * var(--sp-scale)) calc(40px * var(--sp-scale)) rgba(25, 25, 25, 0.08);
  --sp-container: min(calc(1200px * var(--sp-scale)), calc(100% - calc(40px * var(--sp-scale))));
}

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

html {
  scroll-behavior: smooth;
  /* Базовый масштаб +15% и плавная подстройка под ширину экрана */
  font-size: clamp(
    calc(14px * var(--sp-scale)),
    calc(11px + 0.42vw),
    calc(16px * var(--sp-scale))
  );
}

body.sp-site {
  margin: 0;
  font-family: var(--sp-font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--sp-text);
  background: var(--sp-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--sp-accent);
}

.sp-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sp-skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 10000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 16px;
  overflow: visible;
  clip: auto;
  background: #000;
  color: #fff;
}

.sp-container {
  width: var(--sp-container);
  margin-inline: auto;
}

/* Header */
.sp-header {
  --sp-header-bar-h: calc(85px * var(--sp-scale));
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: visible;
}

.sp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(20px * var(--sp-scale));
  min-height: var(--sp-header-bar-h);
}

.sp-logo {
  flex-shrink: 0;
  line-height: 0;
}

.sp-logo img {
  height: calc(40px * var(--sp-scale));
  width: auto;
  display: block;
}

.sp-header__panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: calc(28px * var(--sp-scale));
  flex: 1;
  min-width: 0;
}

.sp-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(8px * var(--sp-scale)) calc(28px * var(--sp-scale));
  font-size: calc(14px * var(--sp-scale));
  font-weight: 500;
}

.sp-nav a {
  color: var(--sp-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sp-nav a:hover {
  color: var(--sp-accent);
}

.sp-header__meta {
  display: flex;
  align-items: center;
  gap: calc(20px * var(--sp-scale));
  flex-shrink: 0;
}

.sp-header__cta {
  padding: calc(12px * var(--sp-scale)) calc(28px * var(--sp-scale));
  font-size: calc(14px * var(--sp-scale));
  white-space: nowrap;
  flex-shrink: 0;
}

.sp-header__cta--bar {
  display: none;
}

.sp-header__contact {
  text-align: right;
  font-size: calc(10px * var(--sp-scale));
  line-height: 1.4;
}

.sp-header__phone {
  display: block;
  font-size: calc(18px * var(--sp-scale));
  font-weight: 700;
  color: var(--sp-text);
  text-decoration: underline;
  text-underline-offset: calc(3px * var(--sp-scale));
}

.sp-header__phone:hover {
  color: var(--sp-text);
}

.sp-header__phone--bar {
  display: none;
}

.sp-header__addr {
  color: var(--sp-muted);
  font-size: calc(10px * var(--sp-scale));
}

.sp-menu-btn {
  display: none;
  border: 0;
  background: transparent;
  padding: calc(8px * var(--sp-scale));
  cursor: pointer;
  flex-shrink: 0;
}

.sp-menu-btn__lines {
  display: block;
  width: calc(24px * var(--sp-scale));
}

.sp-menu-btn__lines span {
  display: block;
  width: 100%;
  height: calc(2px * var(--sp-scale));
  margin: calc(5px * var(--sp-scale)) 0;
  background: var(--sp-text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, margin 0.25s ease;
}

.sp-menu-btn.is-open .sp-menu-btn__lines span:nth-child(1) {
  transform: translateY(calc(7px * var(--sp-scale))) rotate(45deg);
}

.sp-menu-btn.is-open .sp-menu-btn__lines span:nth-child(2) {
  opacity: 0;
}

.sp-menu-btn.is-open .sp-menu-btn__lines span:nth-child(3) {
  transform: translateY(calc(-7px * var(--sp-scale))) rotate(-45deg);
}

.sp-header__overlay {
  display: none;
}

body.sp-header-menu-open {
  overflow: hidden;
}

/* Buttons */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(14px * var(--sp-scale)) calc(32px * var(--sp-scale));
  border-radius: calc(30px * var(--sp-scale));
  border: calc(2px * var(--sp-scale)) solid transparent;
  font-family: var(--sp-font);
  font-size: calc(14px * var(--sp-scale));
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.sp-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.sp-btn--dark {
  background: var(--sp-text);
  color: #fff;
}

.sp-btn--accent {
  background: linear-gradient(90deg, #ff7f00 0%, #ffa040 100%);
  color: #fff;
  border-color: transparent;
}

.sp-btn--accent:hover {
  background: linear-gradient(90deg, #f59431 0%, #ffb366 100%);
  color: #fff;
  opacity: 1;
}

.sp-btn--outline {
  background: transparent;
  border-color: var(--sp-text);
  color: var(--sp-text);
}

.sp-btn--outline:hover {
  color: var(--sp-text);
}

/* Hero — два блока как Tilda rec848191512 (текст ~42% | фото ~58%) */
.sp-hero {
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.sp-hero__split {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  min-height: calc(530px * var(--sp-scale));
}

.sp-hero__col--text {
  background: var(--sp-gradient);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sp-hero__col-inner {
  width: 100%;
  max-width: calc(520px * var(--sp-scale));
  padding: calc(48px * var(--sp-scale)) calc(40px * var(--sp-scale)) calc(48px * var(--sp-scale)) clamp(calc(24px * var(--sp-scale)), 4vw, calc(48px * var(--sp-scale)));
  box-sizing: border-box;
}

.sp-hero__col--media {
  background: var(--sp-gradient);
  position: relative;
}

.sp-hero__media {
  position: relative;
  height: 100%;
  min-height: calc(530px * var(--sp-scale));
  padding: calc(20px * var(--sp-scale)) calc(20px * var(--sp-scale)) calc(20px * var(--sp-scale)) 0;
  box-sizing: border-box;
}

.sp-hero__tag {
  margin: 0 0 calc(12px * var(--sp-scale));
  font-size: calc(14px * var(--sp-scale));
  font-weight: 600;
  text-transform: lowercase;
  color: var(--sp-muted);
}

.sp-hero__title {
  margin: 0 0 calc(16px * var(--sp-scale));
  font-size: clamp(calc(26px * var(--sp-scale)), 3.2vw, calc(42px * var(--sp-scale)));
  line-height: 1.12;
  font-weight: 700;
}

.sp-hero__subtitle {
  margin: 0 0 calc(28px * var(--sp-scale));
  font-size: calc(18px * var(--sp-scale));
  line-height: 1.45;
  color: var(--sp-muted);
  max-width: 28em;
}

.sp-hero__main-photo {
  position: absolute;
  inset: calc(20px * var(--sp-scale)) calc(20px * var(--sp-scale)) calc(20px * var(--sp-scale)) 0;
  border-radius: var(--sp-radius);
  overflow: hidden;
  box-shadow: var(--sp-shadow);
}

.sp-hero__main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-hero__gallery-row {
  position: absolute;
  z-index: 2;
  left: calc(24px * var(--sp-scale));
  bottom: calc(28px * var(--sp-scale));
  display: flex;
  align-items: center;
  gap: calc(12px * var(--sp-scale));
  width: max-content;
  max-width: calc(100% - calc(48px * var(--sp-scale)));
  padding: calc(10px * var(--sp-scale)) calc(18px * var(--sp-scale)) calc(10px * var(--sp-scale)) calc(10px * var(--sp-scale));
  border-radius: calc(12px * var(--sp-scale));
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 calc(4px * var(--sp-scale)) calc(20px * var(--sp-scale)) rgba(25, 25, 25, 0.2);
  box-sizing: border-box;
}

.sp-hero__thumbs {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
}

.sp-hero__thumb {
  flex-shrink: 0;
  position: relative;
  border-radius: calc(10px * var(--sp-scale));
  object-fit: cover;
  width: calc(50px * var(--sp-scale));
  height: calc(50px * var(--sp-scale));
  box-shadow: 0 calc(2px * var(--sp-scale)) calc(8px * var(--sp-scale)) rgba(0, 0, 0, 0.12);
  border: calc(2px * var(--sp-scale)) solid #fff;
}

.sp-hero__thumb + .sp-hero__thumb {
  margin-left: calc(-12px * var(--sp-scale));
}

.sp-hero__thumb--1 { z-index: 4; }
.sp-hero__thumb--2 { z-index: 3; }
.sp-hero__thumb--3 { z-index: 2; }
.sp-hero__thumb--4 { z-index: 1; }

.sp-hero__reviews {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: calc(4px * var(--sp-scale));
  min-width: 0;
  flex: 1 1 auto;
}

.sp-hero__stars {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: calc(2px * var(--sp-scale));
  flex-shrink: 0;
}

.sp-hero__stars img {
  display: block;
  width: calc(14px * var(--sp-scale));
  height: calc(14px * var(--sp-scale));
}

.sp-hero__reviews-note {
  margin: 0;
  font-size: calc(10px * var(--sp-scale));
  line-height: 1.35;
  color: #616c71;
  font-weight: 400;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.sp-hero__reviews-note strong {
  font-weight: 700;
  color: #191919;
}

.sp-hero__col-inner .sp-btn--accent {
  min-width: calc(210px * var(--sp-scale));
  height: calc(45px * var(--sp-scale));
  padding: 0 calc(24px * var(--sp-scale));
  font-size: calc(13px * var(--sp-scale));
  font-weight: 500;
}


/* Sections */

.sp-section {
  padding: calc(72px * var(--sp-scale)) 0;
}

.sp-section__title {
  margin: 0 0 calc(16px * var(--sp-scale));
  text-align: center;
  font-size: clamp(calc(26px * var(--sp-scale)), 3.45vw, calc(36px * var(--sp-scale)));
  font-weight: 700;
}

.sp-section__title--left {
  text-align: left;
}

.sp-section__lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto calc(40px * var(--sp-scale));
  color: var(--sp-muted);
  font-size: calc(18px * var(--sp-scale));
}

/* Benefits (после hero) — rec848195599 */
.sp-section--benefits {
  background: #fff;
  padding: calc(19px * var(--sp-scale)) 0 calc(40px * var(--sp-scale));
}

.sp-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(20px * var(--sp-scale));
  align-items: stretch;
}

.sp-benefit {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-height: calc(225px * var(--sp-scale));
  padding: calc(20px * var(--sp-scale)) calc(20px * var(--sp-scale)) calc(24px * var(--sp-scale));
  border-radius: calc(20px * var(--sp-scale));
  background: #f5f5f5;
}

.sp-benefit--accent {
  background: linear-gradient(0.48turn, rgba(208, 233, 255, 1) 0%, rgba(209, 237, 232, 1) 100%);
}

.sp-benefit__icon {
  flex-shrink: 0;
  width: calc(42px * var(--sp-scale));
  height: calc(42px * var(--sp-scale));
  margin: 0 0 calc(16px * var(--sp-scale));
  object-fit: contain;
}

.sp-benefit__title {
  margin: 0 0 calc(12px * var(--sp-scale));
  font-size: calc(14px * var(--sp-scale));
  font-weight: 600;
  line-height: 1.3;
  color: #191919;
}

.sp-benefit__text {
  margin: 0;
  margin-top: auto;
  font-size: calc(14px * var(--sp-scale));
  line-height: 1.4;
  font-weight: 400;
  color: #191919;
}

/* Video */
.sp-section--video {
  background: #fff;
  padding-top: calc(40px * var(--sp-scale));
}

.sp-video__box {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: calc(12px * var(--sp-scale));
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  max-height: min(90vh, calc(680px * var(--sp-scale)));
}

.sp-video__box iframe,
.sp-video__box video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  display: block;
}

/* SmilePro — следующий шаг (rec848206034) */
.sp-section--next-step {
  background: #fff;
  padding-top: calc(20px * var(--sp-scale));
  padding-bottom: calc(48px * var(--sp-scale));
  overflow: hidden;
}

.sp-next-step__head {
  position: relative;
  text-align: center;
  padding: calc(40px * var(--sp-scale)) 0 calc(28px * var(--sp-scale));
  margin-bottom: calc(8px * var(--sp-scale));
}

.sp-next-step__head-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sp-next-step__glow {
  position: absolute;
  left: max(-5%, calc(-40px * var(--sp-scale)));
  bottom: calc(-80px * var(--sp-scale));
  width: calc(327px * var(--sp-scale));
  height: calc(311px * var(--sp-scale));
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(208, 233, 255, 1) 0%, rgba(209, 237, 232, 1) 100%);
  filter: blur(calc(84px * var(--sp-scale)));
  opacity: 0.7;
}

.sp-next-step__arc {
  position: absolute;
  left: 50%;
  bottom: calc(-220px * var(--sp-scale));
  transform: translateX(-50%);
  width: min(92vw, calc(560px * var(--sp-scale)));
  aspect-ratio: 1;
  border: 1px solid rgba(245, 245, 245, 0.95);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(232, 238, 242, 0.6);
}

.sp-next-step__brand {
  position: relative;
  z-index: 1;
  display: block;
  width: min(92%, calc(459px * var(--sp-scale)));
  max-width: calc(459px * var(--sp-scale));
  height: auto;
  margin: 0 auto calc(18px * var(--sp-scale));
}

.sp-next-step__subtitle {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: calc(480px * var(--sp-scale));
  padding: 0 calc(16px * var(--sp-scale));
  font-size: clamp(calc(16px * var(--sp-scale)), 2.5vw, calc(30px * var(--sp-scale)));
  font-weight: 600;
  line-height: 1.1;
  color: #191919;
  text-align: center;
}



@media (max-width: 640px) {
  .sp-next-step__head {
    padding-top: calc(24px * var(--sp-scale));
    padding-bottom: calc(20px * var(--sp-scale));
  }

  .sp-next-step__brand {
    width: min(88%, calc(280px * var(--sp-scale)));
    max-width: calc(280px * var(--sp-scale));
  }

  .sp-next-step__subtitle {
    font-size: calc(16px * var(--sp-scale));
    max-width: calc(300px * var(--sp-scale));
  }

  .sp-next-step__arc {
    width: min(95vw, calc(360px * var(--sp-scale)));
    bottom: calc(-160px * var(--sp-scale));
  }
}

.sp-next-step__stage {
  position: relative;
  width: 100%;
  max-width: calc(1200px * var(--sp-scale));
  margin: 0 auto;
  min-height: calc(720px * var(--sp-scale));
}

.sp-next-step__rings {
  position: absolute;
  left: 42%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: min(92%, calc(560px * var(--sp-scale)));
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
}

.sp-next-step__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(186, 220, 240, 0.65);
  border-radius: 50%;
}

.sp-next-step__ring:nth-child(1) {
  inset: 8%;
}

.sp-next-step__ring:nth-child(2) {
  inset: 22%;
}

.sp-next-step__ring:nth-child(3) {
  inset: 36%;
}

.sp-next-step__eye {
  position: absolute;
  left: 42%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: min(48%, calc(460px * var(--sp-scale)));
  z-index: 1;
  pointer-events: none;
}

.sp-next-step__eye img {
  width: 100%;
  height: auto;
  display: block;
}

.sp-next-step__pills {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.sp-next-step__pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: calc(8px * var(--sp-scale));
  margin: 0;
  padding: calc(8px * var(--sp-scale)) calc(14px * var(--sp-scale));
  font-size: calc(13px * var(--sp-scale));
  font-weight: 600;
  line-height: 1.35;
  color: var(--sp-text);
  background: #fff;
  border: 1px solid #d1ebf5;
  border-radius: calc(999px * var(--sp-scale));
  box-shadow: 0 calc(2px * var(--sp-scale)) calc(10px * var(--sp-scale)) rgba(25, 25, 25, 0.06);
  pointer-events: auto;
  max-width: calc(240px * var(--sp-scale));
}

.sp-next-step__pill::after {
  content: "+";
  flex-shrink: 0;
  width: calc(30px * var(--sp-scale));
  height: calc(30px * var(--sp-scale));
  border-radius: 50%;
  background: linear-gradient(145deg, #d8efff 0%, #b8dff5 100%);
  color: #fff;
  font-size: calc(18px * var(--sp-scale));
  font-weight: 600;
  line-height: calc(30px * var(--sp-scale));
  text-align: center;
}

.sp-next-step__pill--1 {
  left: 14%;
  top: 62%;
  flex-direction: row-reverse;
  text-align: right;
}

.sp-next-step__pill--2 {
  left: 10%;
  top: 76%;
  flex-direction: row-reverse;
  text-align: right;
}

.sp-next-step__pill--3 {
  left: 42%;
  top: 32%;
}

.sp-next-step__pill--4 {
  right: 12%;
  top: 55%;
  left: auto;
}

.sp-next-step__pill--5 {
  right: 8%;
  top: 44%;
  left: auto;
}

.sp-next-step__card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: calc(14px * var(--sp-scale));
  width: min(calc(339px * var(--sp-scale)), 36vw);
  padding: calc(20px * var(--sp-scale)) calc(22px * var(--sp-scale));
  border-radius: calc(20px * var(--sp-scale));
  background: linear-gradient(0.48turn, rgba(208, 233, 255, 1) 0%, rgba(209, 237, 232, 1) 100%);
  box-shadow: 0 calc(8px * var(--sp-scale)) calc(28px * var(--sp-scale)) rgba(25, 25, 25, 0.08);
  text-align: left;
  box-sizing: border-box;
}

.sp-next-step__card p {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: calc(14px * var(--sp-scale));
  line-height: 1.55;
  font-weight: 600;
  color: var(--sp-text);
}

.sp-next-step__card-icon {
  flex-shrink: 0;
  width: calc(42px * var(--sp-scale));
  height: calc(42px * var(--sp-scale));
  object-fit: contain;
  background: #fff;
  border-radius: calc(8px * var(--sp-scale));
  padding: calc(4px * var(--sp-scale));
  box-sizing: border-box;
}

.sp-next-step__card--tl {
  left: 3%;
  top: 32%;
}

.sp-next-step__card--br {
  right: 3%;
  left: auto;
  top: 68%;
}

/* Biglion promo — rec848213001 (позиции и размеры как на Tilda) */
.sp-section--promo {
  background: #fff;
  padding: calc(20px * var(--sp-scale)) 0 calc(40px * var(--sp-scale));
}

.sp-promo__card {
  position: relative;
  width: 100%;
  max-width: calc(1120px * var(--sp-scale));
  margin: 0 auto;
  min-height: calc(291px * var(--sp-scale));
  padding: calc(40px * var(--sp-scale)) calc(200px * var(--sp-scale)) calc(36px * var(--sp-scale));
  border-radius: calc(20px * var(--sp-scale));
  background: linear-gradient(0.48turn, rgba(208, 233, 255, 1) 0%, rgba(209, 237, 232, 1) 100%);
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-promo__decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* 200×222 слева снизу */
.sp-promo__decor--left {
  left: 0;
  bottom: 0;
  width: min(17.86%, calc(200px * var(--sp-scale)));
  height: calc(222px * var(--sp-scale));
}

/* 197×292 справа сверху */
.sp-promo__decor--right {
  right: 0;
  top: 0;
  width: min(17.6%, calc(197px * var(--sp-scale)));
  height: min(100%, calc(292px * var(--sp-scale)));
}

.sp-promo__decor img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.sp-promo__decor--left img {
  object-position: left bottom;
}

.sp-promo__decor--right img {
  object-position: right top;
}

.sp-promo__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(806px * var(--sp-scale));
  margin: 0 auto;
  padding: 0;
}

.sp-promo__headline {
  margin: 0 0 calc(20px * var(--sp-scale));
  font-size: clamp(calc(18px * var(--sp-scale)), 4.14vw, calc(43px * var(--sp-scale)));
  line-height: 1.1;
  font-weight: 600;
  color: var(--sp-text);
}

.sp-promo__price-old {
  color: var(--sp-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.sp-promo__text {
  margin: 0 auto calc(40px * var(--sp-scale));
  max-width: calc(519px * var(--sp-scale));
  font-size: calc(14px * var(--sp-scale));
  line-height: 1.4;
  font-weight: 400;
  color: var(--sp-text);
}

.sp-btn--promo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(210px * var(--sp-scale));
  height: calc(45px * var(--sp-scale));
  padding: 0 calc(24px * var(--sp-scale));
  font-size: calc(13px * var(--sp-scale));
  font-weight: 500;
  line-height: 1.55;
  border-radius: calc(30px * var(--sp-scale));
  background: #ff7f00;
  border-color: #ff7f00;
  color: #fff;
}

.sp-btn--promo:hover {
  background: #f59431;
  border-color: #f59431;
  color: #fff;
  opacity: 1;
}

.sp-section__lead--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.sp-doctors__title {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(900px * var(--sp-scale));
  font-size: clamp(calc(22px * var(--sp-scale)), 3.22vw, calc(30px * var(--sp-scale)));
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}

.sp-doctors__lead {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(806px * var(--sp-scale));
  font-size: calc(14px * var(--sp-scale));
  line-height: 1.4;
  font-weight: 400;
  color: #191919;
  text-align: center;
}

@media (max-width: 479px) {
  .sp-doctors__title,
  .sp-doctors__lead {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
}


/* Services / pricing */
.sp-section--services {
  background: #fff;
  padding: calc(48px * var(--sp-scale)) 0;
}

.sp-services {
  position: relative;
  background: #f5f5f5;
  border-radius: calc(20px * var(--sp-scale));
  padding: calc(40px * var(--sp-scale)) calc(32px * var(--sp-scale));
  overflow: hidden;
}

.sp-services__head {
  position: relative;
  margin-bottom: calc(8px * var(--sp-scale));
  min-height: calc(48px * var(--sp-scale));
  padding-right: min(42%, calc(200px * var(--sp-scale)));
}

.sp-services__title {
  margin: 0;
  font-size: clamp(calc(28px * var(--sp-scale)), 4vw, calc(40px * var(--sp-scale)));
  font-weight: 700;
  line-height: 1.15;
  color: var(--sp-text);
}

.sp-services__decor {
  position: absolute;
  top: calc(-24px * var(--sp-scale));
  right: calc(-8px * var(--sp-scale));
  width: min(calc(220px * var(--sp-scale)), 38vw);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.sp-services__list {
  list-style: none;
  margin: 0 0 calc(28px * var(--sp-scale));
  padding: 0;
}

.sp-services__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(20px * var(--sp-scale));
  padding: calc(16px * var(--sp-scale)) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: calc(14px * var(--sp-scale));
  line-height: 1.45;
}

.sp-services__item:last-child {
  border-bottom: 0;
}

.sp-services__name {
  flex: 1 1 auto;
  color: var(--sp-text);
  font-weight: 400;
}

.sp-services__price {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--sp-text);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .sp-services {
    padding: calc(24px * var(--sp-scale)) calc(18px * var(--sp-scale));
  }

  .sp-services__head {
    padding-right: 0;
    margin-bottom: calc(16px * var(--sp-scale));
  }

  .sp-services__decor {
    position: static;
    display: block;
    width: calc(120px * var(--sp-scale));
    margin: 0 0 calc(12px * var(--sp-scale)) auto;
  }

  .sp-services__item {
    flex-direction: column;
    align-items: flex-start;
    gap: calc(6px * var(--sp-scale));
  }
}

/* Equipment */
.sp-section--equipment {
  background: #fff;
}

.sp-equip-card {
  flex: 0 0 calc(215px * var(--sp-scale));
  width: calc(215px * var(--sp-scale));
  max-width: 86.25vw;
  text-align: left;
}

.sp-equip-card__photo {
  height: calc(215px * var(--sp-scale));
  border-radius: var(--sp-radius-sm);
  overflow: hidden;
  background: #f0f3f5;
  margin-bottom: calc(12px * var(--sp-scale));
}

.sp-equip-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-equip-card__title {
  margin: 0 0 calc(6px * var(--sp-scale));
  font-size: calc(14px * var(--sp-scale));
  font-weight: 600;
  line-height: 1.3;
}

.sp-equip-card__text {
  margin: 0;
  font-size: calc(13px * var(--sp-scale));
  line-height: 1.4;
  color: var(--sp-muted);
}

.sp-carousel--equipment .sp-carousel__viewport {
  touch-action: pan-x;
  cursor: grab;
  mask-image: none;
  -webkit-mask-image: none;
}

.sp-carousel--equipment .sp-carousel__viewport:active {
  cursor: grabbing;
}

.sp-carousel--equipment .sp-carousel__track {
  align-items: flex-start;
  padding-bottom: calc(16px * var(--sp-scale));
}

/* Path */
.sp-section--path {
  background: var(--sp-gradient);
}

.sp-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(20px * var(--sp-scale));
}

.sp-path__step {
  background: #fff;
  border-radius: var(--sp-radius-sm);
  padding: calc(24px * var(--sp-scale)) calc(20px * var(--sp-scale));
  box-shadow: 0 calc(2px * var(--sp-scale)) calc(12px * var(--sp-scale)) rgba(0, 0, 0, 0.04);
}

.sp-path__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(32px * var(--sp-scale));
  height: calc(32px * var(--sp-scale));
  margin-bottom: calc(12px * var(--sp-scale));
  border-radius: 50%;
  background: var(--sp-gradient);
  font-weight: 700;
  font-size: calc(14px * var(--sp-scale));
}

.sp-path__step h3 {
  margin: 0 0 calc(8px * var(--sp-scale));
  font-size: calc(16px * var(--sp-scale));
  font-weight: 600;
}

.sp-path__step p {
  margin: 0;
  font-size: calc(14px * var(--sp-scale));
  color: var(--sp-muted);
  line-height: 1.45;
}

/* CTA — видео-фон + логотип */
.sp-section--cta {
  background: #fff;
  padding: calc(48px * var(--sp-scale)) 0;
}

.sp-cta-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(530px * var(--sp-scale));
  border-radius: calc(20px * var(--sp-scale));
  overflow: hidden;
  background: #1a1a1a center / cover no-repeat;
}

.sp-cta-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sp-cta-banner__iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  border: 0;
  transform: translate(-50%, -50%) scale(1.08);
  pointer-events: none;
}

.sp-cta-banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.sp-cta-banner__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.sp-cta-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(20px * var(--sp-scale));
  width: 100%;
  max-width: calc(462px * var(--sp-scale));
  padding: calc(40px * var(--sp-scale)) calc(24px * var(--sp-scale));
  text-align: center;
}

.sp-cta-banner__logo {
  display: block;
  width: min(100%, calc(462px * var(--sp-scale)));
  height: auto;
  margin: 0 auto;
}

.sp-cta-banner__text {
  margin: 0;
  color: #fff;
  font-size: calc(16px * var(--sp-scale));
  font-weight: 400;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .sp-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(20px * var(--sp-scale));
  }

  .sp-benefit {
    min-height: calc(220px * var(--sp-scale));
  }

  .sp-benefit__title {
    font-size: calc(16px * var(--sp-scale));
  }

  .sp-path {
    grid-template-columns: 1fr 1fr;
  }

  .sp-next-step__stage {
    min-height: 0;
    padding-bottom: calc(24px * var(--sp-scale));
  }

  .sp-next-step__rings {
    display: none;
  }

  .sp-next-step__eye {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(100%, calc(320px * var(--sp-scale)));
    margin: 0 auto calc(16px * var(--sp-scale));
  }

  .sp-next-step__pills {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: calc(8px * var(--sp-scale));
    margin-bottom: calc(16px * var(--sp-scale));
  }

  .sp-next-step__pill {
    position: static;
    flex-direction: row !important;
    text-align: left !important;
    max-width: none;
  }

  .sp-next-step__card {
    position: static;
    width: 100%;
    max-width: none;
    margin-bottom: calc(12px * var(--sp-scale));
  }

  .sp-next-step__card--br {
    margin-left: auto;
    margin-right: 0;
    width: 92%;
  }

  .sp-promo__card {
    min-height: 0;
    padding: calc(28px * var(--sp-scale)) calc(20px * var(--sp-scale)) calc(24px * var(--sp-scale));
  }

  .sp-promo__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: none;
  }

  .sp-promo__decor--left {
    width: calc(100px * var(--sp-scale));
    height: calc(110px * var(--sp-scale));
  }

  .sp-promo__decor--right {
    width: calc(88px * var(--sp-scale));
    height: calc(150px * var(--sp-scale));
  }

  .sp-promo__headline {
    font-size: clamp(calc(16px * var(--sp-scale)), 5.75vw, calc(24px * var(--sp-scale)));
    margin-bottom: calc(14px * var(--sp-scale));
  }

  .sp-promo__text {
    max-width: none;
    margin-bottom: calc(24px * var(--sp-scale));
    padding: 0 calc(4px * var(--sp-scale));
    font-size: calc(15px * var(--sp-scale));
    line-height: 1.45;
  }

  .sp-btn--promo {
    margin: 0 auto;
    min-width: calc(260px * var(--sp-scale));
    width: min(100%, calc(320px * var(--sp-scale)));
    height: calc(48px * var(--sp-scale));
    font-size: calc(14px * var(--sp-scale));
  }

  .sp-hero__col-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sp-hero__col-inner .sp-btn--accent {
    display: inline-flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    min-width: calc(260px * var(--sp-scale));
    width: min(100%, calc(320px * var(--sp-scale)));
    height: calc(48px * var(--sp-scale));
    font-size: calc(14px * var(--sp-scale));
  }

  .sp-header__panel--mobile .sp-header__cta--panel {
    width: min(100%, calc(320px * var(--sp-scale)));
    min-width: calc(260px * var(--sp-scale));
    margin: 0 auto;
    justify-content: center;
  }

  .sp-header__panel--mobile .sp-header__meta {
    align-items: center;
  }

  .sp-services > .sp-btn--accent {
    display: inline-flex;
    justify-content: center;
    margin: calc(24px * var(--sp-scale)) auto 0;
    min-width: calc(260px * var(--sp-scale));
    width: min(100%, calc(320px * var(--sp-scale)));
    height: calc(48px * var(--sp-scale));
    font-size: calc(14px * var(--sp-scale));
  }

  .sp-services {
    text-align: center;
  }

  .sp-carousel--doctors .sp-carousel__viewport {
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    mask-image: none;
  }

  .sp-carousel--doctors .sp-doctor-card {
    flex: 0 0 var(--sp-doctor-slide-w, calc(220px * var(--sp-scale)));
    width: var(--sp-doctor-slide-w, calc(220px * var(--sp-scale)));
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .sp-carousel--doctors .sp-carousel__track {
    gap: calc(12px * var(--sp-scale));
  }

  .sp-carousel--doctors .sp-carousel__btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .sp-benefits,
  .sp-path {
    grid-template-columns: 1fr;
  }

  .sp-benefit {
    min-height: calc(200px * var(--sp-scale));
  }
}

/* Patients carousel */
.sp-section--patients {
  background: #fff;
}

.sp-patient-card {
  flex: 0 0 calc(220px * var(--sp-scale));
  width: calc(220px * var(--sp-scale));
  max-width: 86.25vw;
  text-align: center;
}

.sp-patient-card__photo {
  height: calc(280px * var(--sp-scale));
  border-radius: var(--sp-radius-sm);
  overflow: hidden;
  background: #e8ecef;
  box-shadow: 0 calc(4px * var(--sp-scale)) calc(20px * var(--sp-scale)) rgba(0, 0, 0, 0.08);
}

.sp-patient-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.sp-patient-card__name {
  margin: calc(14px * var(--sp-scale)) 0 calc(6px * var(--sp-scale));
  font-size: calc(16px * var(--sp-scale));
  font-weight: 600;
  line-height: 1.25;
}

.sp-patient-card__role {
  margin: 0;
  font-size: calc(13px * var(--sp-scale));
  line-height: 1.4;
  color: var(--sp-muted);
}

.sp-carousel--patients .sp-carousel__track {
  align-items: flex-start;
  padding-bottom: calc(16px * var(--sp-scale));
}

/* Doctors carousel */
.sp-section--doctors {
  background: transparent;
}

.sp-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(8px * var(--sp-scale));
}

.sp-carousel__viewport,
.sp-reviews__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sp-carousel__viewport {
  overflow-y: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.sp-carousel__viewport::-webkit-scrollbar,
.sp-reviews__viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.sp-carousel__track,
.sp-reviews__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: calc(20px * var(--sp-scale));
  width: max-content;
  padding: calc(8px * var(--sp-scale)) calc(4px * var(--sp-scale)) calc(12px * var(--sp-scale));
}

.sp-carousel__btn {
  flex-shrink: 0;
  width: calc(44px * var(--sp-scale));
  height: calc(44px * var(--sp-scale));
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.sp-carousel__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: calc(10px * var(--sp-scale));
  height: calc(10px * var(--sp-scale));
  border: solid var(--sp-text);
  border-width: calc(2px * var(--sp-scale)) calc(2px * var(--sp-scale)) 0 0;
}

.sp-carousel__btn--prev::after {
  transform: rotate(-135deg);
  left: calc(4px * var(--sp-scale));
}

.sp-carousel__btn--next::after {
  transform: rotate(45deg);
  right: calc(4px * var(--sp-scale));
}

.sp-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.sp-doctor-card {
  flex: 0 0 calc(220px * var(--sp-scale));
  width: calc(220px * var(--sp-scale));
  background: #fff;
  border-radius: var(--sp-radius-sm);
  overflow: hidden;
  box-shadow: 0 calc(4px * var(--sp-scale)) calc(20px * var(--sp-scale)) rgba(0, 0, 0, 0.06);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sp-doctor-card__photo {
  aspect-ratio: 4 / 5;
  background: var(--sp-gradient);
  overflow: hidden;
}

.sp-doctor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-doctor-card h3 {
  margin: calc(12px * var(--sp-scale)) calc(12px * var(--sp-scale)) calc(4px * var(--sp-scale));
  font-size: calc(14px * var(--sp-scale));
  font-weight: 600;
  line-height: 1.3;
}

.sp-doctor-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sp-doctor-card h3 a:hover,
.sp-doctor-card h3 a:focus-visible {
  color: var(--sp-accent);
}

.sp-doctor-card p {
  margin: 0 calc(12px * var(--sp-scale)) calc(16px * var(--sp-scale));
  font-size: calc(13px * var(--sp-scale));
  color: var(--sp-muted);
}

.sp-doctor-card__role {
  margin-bottom: calc(4px * var(--sp-scale)) !important;
  line-height: 1.35;
}

.sp-doctor-card__exp {
  margin-top: 0 !important;
  margin-bottom: calc(14px * var(--sp-scale)) !important;
  font-size: calc(12px * var(--sp-scale)) !important;
  font-weight: 600;
  color: var(--sp-accent) !important;
}

.sp-doctors__team-link-wrap {
  margin: calc(20px * var(--sp-scale)) 0 0;
  text-align: center;
}

.sp-doctors__team-link {
  font-size: calc(14px * var(--sp-scale));
  font-weight: 600;
  color: var(--sp-accent);
  text-decoration: none;
}

.sp-doctors__team-link:hover {
  text-decoration: underline;
}

/* Reviews (Yandex) */
.sp-reviews {
  --sp-review-card-h: calc(288px * var(--sp-scale));
  background: #fff;
}

.sp-reviews__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(16px * var(--sp-scale));
  margin-bottom: calc(24px * var(--sp-scale));
  flex-wrap: wrap;
}

.sp-reviews__yandex {
  display: inline-flex;
  align-items: center;
  gap: calc(10px * var(--sp-scale));
  font-weight: 600;
  color: var(--sp-text);
}

.sp-reviews__yandex:hover {
  color: var(--sp-text);
}

.sp-reviews__yandex-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(28px * var(--sp-scale));
  height: calc(28px * var(--sp-scale));
  border-radius: calc(8px * var(--sp-scale));
  background: #fc3f1d;
  color: #fff;
  font-weight: 700;
  font-size: calc(16px * var(--sp-scale));
}

.sp-reviews__count {
  color: var(--sp-muted);
  font-weight: 400;
  font-size: calc(14px * var(--sp-scale));
}

.sp-reviews__all {
  font-size: calc(14px * var(--sp-scale));
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: calc(3px * var(--sp-scale));
}

.sp-reviews__carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(12px * var(--sp-scale));
  margin-top: calc(8px * var(--sp-scale));
  padding-bottom: calc(8px * var(--sp-scale));
}

.sp-reviews__nav {
  flex-shrink: 0;
  align-self: center;
  margin-top: 0;
}

.sp-reviews__viewport {
  overflow-y: hidden;
  height: calc(var(--sp-review-card-h) + calc(32px * var(--sp-scale)));
  padding: calc(14px * var(--sp-scale)) 0 calc(22px * var(--sp-scale));
  box-sizing: content-box;
  mask-image: none;
  -webkit-mask-image: none;
}

.sp-reviews__track {
  align-items: stretch;
  height: auto;
  min-height: var(--sp-review-card-h);
  padding: 0 calc(12px * var(--sp-scale)) calc(4px * var(--sp-scale)) calc(4px * var(--sp-scale));
}

.sp-review-card {
  flex: 0 0 calc(320px * var(--sp-scale));
  width: calc(320px * var(--sp-scale));
  height: var(--sp-review-card-h);
  max-width: 97.75vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: var(--sp-radius);
  padding: calc(18px * var(--sp-scale)) calc(20px * var(--sp-scale)) calc(16px * var(--sp-scale));
  box-shadow: 0 calc(2px * var(--sp-scale)) calc(16px * var(--sp-scale)) rgba(0, 0, 0, 0.05);
}

.sp-review-card__top {
  display: flex;
  align-items: center;
  gap: calc(12px * var(--sp-scale));
  margin-bottom: calc(12px * var(--sp-scale));
}

.sp-review-card__avatar {
  width: calc(44px * var(--sp-scale));
  height: calc(44px * var(--sp-scale));
  border-radius: 50%;
  object-fit: cover;
  background: #ddd;
}

.sp-review-card__avatar--letter {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  background: #7b8fa3;
}

.sp-review-card__name {
  font-weight: 600;
  font-size: calc(15px * var(--sp-scale));
}

.sp-review-card__date {
  font-size: calc(12px * var(--sp-scale));
  color: var(--sp-muted);
}

.sp-review-card__stars {
  color: #ffb800;
  font-size: calc(14px * var(--sp-scale));
  letter-spacing: 1px;
  margin-bottom: calc(8px * var(--sp-scale));
  flex-shrink: 0;
}

.sp-review-card__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.sp-review-card__text {
  margin: 0;
  font-size: calc(14px * var(--sp-scale));
  line-height: 1.45;
  color: var(--sp-text);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-review-card__footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: calc(12px * var(--sp-scale));
  border-top: 1px solid #eef1f3;
}

.sp-review-card__reply-short {
  margin: 0;
  font-size: calc(13px * var(--sp-scale));
  line-height: 1.4;
  color: var(--sp-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-review-card__reply-badge {
  margin: 0 0 calc(8px * var(--sp-scale));
  font-size: calc(13px * var(--sp-scale));
  font-weight: 600;
  color: var(--sp-text);
}

.sp-review-card__yandex-link {
  display: inline-flex;
  align-items: center;
  font-size: calc(13px * var(--sp-scale));
  font-weight: 500;
  color: var(--sp-accent);
  text-decoration: underline;
  text-underline-offset: calc(2px * var(--sp-scale));
}

.sp-review-card__yandex-link:hover {
  color: #e56b45;
}

.sp-reviews__loading,
.sp-reviews__error {
  text-align: center;
  color: var(--sp-muted);
  font-size: calc(14px * var(--sp-scale));
}

.sp-reviews__error {
  color: #b42318;
}

/* FAQ */
.sp-section--faq {
  background: var(--sp-gradient);
}

.sp-faq {
  max-width: 960px;
  margin: 0 auto;
}

.sp-faq__item {
  background: #fff;
  border-radius: var(--sp-radius-sm);
  margin-bottom: calc(8px * var(--sp-scale));
  box-shadow: 0 calc(2px * var(--sp-scale)) calc(12px * var(--sp-scale)) rgba(0, 0, 0, 0.04);
}

.sp-faq__item summary {
  padding: calc(18px * var(--sp-scale)) calc(22px * var(--sp-scale));
  font-size: calc(14px * var(--sp-scale));
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.sp-faq__item summary::-webkit-details-marker {
  display: none;
}

.sp-faq__item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--sp-muted);
}

.sp-faq__item[open] summary::after {
  content: "−";
}

.sp-faq__body {
  padding: 0 calc(22px * var(--sp-scale)) calc(18px * var(--sp-scale));
  font-size: calc(14px * var(--sp-scale));
  color: var(--sp-muted);
  line-height: 1.55;
}

/* Contacts — rec848398369 */
.sp-section--contacts {
  background: #fff;
  padding-top: calc(40px * var(--sp-scale));
  padding-bottom: calc(32px * var(--sp-scale));
}

.sp-contacts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: calc(20px * var(--sp-scale));
  align-items: stretch;
}

.sp-contacts__card,
.sp-contacts__map {
  border-radius: calc(20px * var(--sp-scale));
  overflow: hidden;
  min-height: 400px;
}

.sp-contacts__card {
  background: #f5f5f5;
  padding: calc(28px * var(--sp-scale)) calc(24px * var(--sp-scale));
  box-sizing: border-box;
}

.sp-contacts__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(20px * var(--sp-scale));
  height: 100%;
}

.sp-contacts__text {
  flex: 1 1 auto;
  min-width: 0;
}

.sp-contacts__title {
  margin: 0 0 calc(16px * var(--sp-scale));
  font-size: clamp(calc(22px * var(--sp-scale)), 3vw, calc(30px * var(--sp-scale)));
  font-weight: 600;
  line-height: 1.1;
  color: #191919;
}

.sp-contacts__legal {
  margin: 0 0 calc(12px * var(--sp-scale));
  font-size: calc(14px * var(--sp-scale));
  line-height: 1.3;
  font-weight: 600;
  color: #616c71;
}

.sp-contacts__phone {
  margin: 0 0 calc(10px * var(--sp-scale));
  font-size: clamp(calc(20px * var(--sp-scale)), 2.5vw, calc(24px * var(--sp-scale)));
  line-height: 1.2;
  font-weight: 400;
}

.sp-contacts__phone a {
  color: #191919;
  text-decoration: none;
}

.sp-contacts__phone a:hover {
  color: var(--sp-accent);
}

.sp-contacts__address {
  margin: 0 0 calc(6px * var(--sp-scale));
  font-size: calc(16px * var(--sp-scale));
  line-height: 1.4;
  color: #616c71;
}

.sp-contacts__hours {
  margin: 0;
  font-size: calc(16px * var(--sp-scale));
  line-height: 1.4;
  color: #616c71;
}

.sp-contacts__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: calc(12px * var(--sp-scale));
  flex-shrink: 0;
  width: min(100%, calc(210px * var(--sp-scale)));
}

.sp-contacts__actions .sp-btn {
  width: 100%;
  min-height: calc(45px * var(--sp-scale));
  padding: 0 calc(18px * var(--sp-scale));
  font-size: calc(13px * var(--sp-scale));
  font-weight: 500;
  border-radius: calc(30px * var(--sp-scale));
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
}

.sp-btn--clinic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(0.48turn, rgba(208, 233, 255, 1) 0%, rgba(209, 237, 232, 1) 100%);
  color: #191919;
  border: 0;
  text-decoration: none;
}

.sp-btn--clinic:hover {
  filter: brightness(0.97);
  color: #191919;
}

.sp-contacts__map {
  position: relative;
  background: #eef3f6;
}

.sp-contacts__map iframe,
.sp-contacts__map-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

.sp-contacts__map script + iframe,
.sp-contacts__map > iframe {
  min-height: calc(251px * var(--sp-scale));
}

.sp-contacts__legalbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(16px * var(--sp-scale));
  margin-top: calc(20px * var(--sp-scale));
  padding: 0 calc(4px * var(--sp-scale));
  font-size: calc(11px * var(--sp-scale));
  line-height: 1.55;
}

.sp-contacts__legalbar a {
  color: #616c71;
  text-decoration: none;
}

.sp-contacts__legalbar a:hover {
  color: #191919;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sp-contacts__copyright {
  margin: 0;
  color: #616c71;
  text-align: right;
  max-width: min(100%, 520px);
}


.sp-form {
  display: grid;
  gap: calc(14px * var(--sp-scale));
}

.sp-form label {
  display: grid;
  gap: calc(6px * var(--sp-scale));
  font-size: calc(14px * var(--sp-scale));
  font-weight: 500;
}

.sp-form input,
.sp-form textarea {
  padding: calc(12px * var(--sp-scale)) calc(14px * var(--sp-scale));
  border: 1px solid #d8dde3;
  border-radius: var(--sp-radius-sm);
  font: inherit;
  background: #fff;
}

.sp-form textarea {
  min-height: calc(96px * var(--sp-scale));
  resize: vertical;
}


.sp-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.sp-form__hp input {
  display: block;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
}

.sp-form__msg {
  font-size: calc(14px * var(--sp-scale));
  margin: calc(4px * var(--sp-scale)) 0 0;
}
.sp-form__msg--ok {
  color: #0d7a4a;
}
.sp-form__msg--err {
  color: #b42318;
}
/* Lead popup (как #popup:myform на Tilda) */
.sp-modal[hidden] {
  display: none !important;
}

.sp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(16px * var(--sp-scale));
}

.sp-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 25, 25, 0.45);
  backdrop-filter: blur(2px);
}

.sp-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, calc(480px * var(--sp-scale)));
  max-height: min(92vh, calc(640px * var(--sp-scale)));
  overflow: auto;
  padding: calc(32px * var(--sp-scale)) calc(28px * var(--sp-scale)) calc(28px * var(--sp-scale));
  border-radius: calc(20px * var(--sp-scale));
  background: #fff;
  box-shadow: 0 calc(20px * var(--sp-scale)) calc(60px * var(--sp-scale)) rgba(25, 25, 25, 0.18);
}

.sp-modal__close {
  position: absolute;
  top: calc(14px * var(--sp-scale));
  right: calc(14px * var(--sp-scale));
  width: calc(36px * var(--sp-scale));
  height: calc(36px * var(--sp-scale));
  border: 0;
  border-radius: 50%;
  background: #f5f5f5;
  color: var(--sp-text);
  font-size: calc(24px * var(--sp-scale));
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-modal__close:hover {
  background: #ebebeb;
}

.sp-modal__title {
  margin: 0 calc(36px * var(--sp-scale)) calc(12px * var(--sp-scale)) 0;
  font-size: clamp(calc(22px * var(--sp-scale)), 4vw, calc(30px * var(--sp-scale)));
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
}

.sp-modal__phone {
  margin: 0 0 calc(20px * var(--sp-scale));
  text-align: center;
  font-size: calc(14px * var(--sp-scale));
  color: var(--sp-muted);
}

.sp-modal__phone a {
  color: var(--sp-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sp-form--modal .sp-btn--accent {
  width: 100%;
}

.sp-lead-success {
  text-align: center;
  padding: calc(8px * var(--sp-scale)) 0 calc(4px * var(--sp-scale));
}

.sp-lead-success[hidden] {
  display: none !important;
}

.sp-lead-success__icon {
  width: calc(64px * var(--sp-scale));
  height: calc(64px * var(--sp-scale));
  margin: 0 auto calc(16px * var(--sp-scale));
  border-radius: 50%;
  background: #e8f8ef;
  color: #0d7a4a;
  font-size: calc(32px * var(--sp-scale));
  font-weight: 700;
  line-height: calc(64px * var(--sp-scale));
}

.sp-lead-success__title {
  margin: 0 0 calc(12px * var(--sp-scale));
  font-size: clamp(calc(22px * var(--sp-scale)), 4vw, calc(28px * var(--sp-scale)));
  font-weight: 700;
}

.sp-lead-success__text {
  margin: 0 0 calc(24px * var(--sp-scale));
  font-size: calc(15px * var(--sp-scale));
  line-height: 1.5;
  color: var(--sp-muted);
}

.sp-lead-success__btn {
  width: 100%;
}

body.sp-modal-open {
  overflow: hidden;
}






@media (min-width: 641px) and (max-width: 960px) {
  .sp-hero__gallery-row {
    left: calc(16px * var(--sp-scale));
    bottom: calc(20px * var(--sp-scale));
  }
}

/* Hero reviews badge — планшет как на основном (~768px) */
@media (min-width: 641px) and (max-width: 1199px) {
  .sp-hero__gallery-row {
    padding: calc(10px * var(--sp-scale)) calc(20px * var(--sp-scale)) calc(10px * var(--sp-scale)) calc(10px * var(--sp-scale));
    max-width: calc(100% - calc(32px * var(--sp-scale)));
  }

  .sp-hero__thumb {
    width: calc(48px * var(--sp-scale));
    height: calc(48px * var(--sp-scale));
  }

  .sp-hero__stars img {
    width: calc(13px * var(--sp-scale));
    height: calc(13px * var(--sp-scale));
  }

  .sp-hero__reviews-note {
    font-size: calc(10px * var(--sp-scale));
    line-height: 1.3;
  }
}


@media (max-width: 640px) {
  .sp-hero__split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sp-hero__col--text {
    justify-content: center;
  }

  .sp-hero__col-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: none;
    padding: calc(32px * var(--sp-scale)) calc(24px * var(--sp-scale));
  }

  .sp-hero__media {
    min-height: calc(320px * var(--sp-scale));
    padding: 0 calc(16px * var(--sp-scale)) calc(16px * var(--sp-scale));
  }

  .sp-hero__main-photo {
    position: relative;
    inset: auto;
    height: calc(280px * var(--sp-scale));
    margin-bottom: calc(12px * var(--sp-scale));
  }

  .sp-hero__main-photo img {
    height: calc(280px * var(--sp-scale));
  }

  .sp-hero__gallery-row {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: calc(12px * var(--sp-scale));
    padding: calc(10px * var(--sp-scale)) calc(16px * var(--sp-scale));
  }

  .sp-hero__reviews {
    flex: 1;
  }
}


@media (max-width: 640px) {
  .sp-contacts__card {
    padding: calc(20px * var(--sp-scale)) calc(16px * var(--sp-scale));
  }

  .sp-contacts__legalbar {
    flex-direction: column;
    align-items: flex-start;
    gap: calc(8px * var(--sp-scale));
  }
}

/* Мобильное меню (вне header — на весь экран) */
.sp-header__panel--mobile {
  display: none;
  position: fixed;
  top: var(--sp-header-bar-h, 64px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: calc(12px * var(--sp-scale)) calc(20px * var(--sp-scale))
    calc(28px * var(--sp-scale));
  background: #f5f5f5;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sp-header__panel--mobile.is-open {
  display: flex;
}

.sp-header__panel--mobile .sp-nav {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  padding: calc(4px * var(--sp-scale)) 0;
}

.sp-header__panel--mobile .sp-nav a {
  display: block;
  padding: calc(16px * var(--sp-scale)) 0;
  font-size: calc(18px * var(--sp-scale));
  font-weight: 600;
  border-bottom: 1px solid rgba(25, 25, 25, 0.08);
}

.sp-header__panel--mobile .sp-nav a:last-child {
  border-bottom: 0;
}

.sp-header__panel--mobile .sp-header__meta {
  flex-direction: column;
  align-items: stretch;
  gap: calc(20px * var(--sp-scale));
  margin-top: auto;
  padding-top: calc(20px * var(--sp-scale));
  width: 100%;
}

.sp-header__panel--mobile .sp-header__contact {
  display: block;
  text-align: left;
  padding: calc(16px * var(--sp-scale));
  background: #fff;
  border-radius: calc(16px * var(--sp-scale));
  box-shadow: 0 calc(4px * var(--sp-scale)) calc(20px * var(--sp-scale)) rgba(25, 25, 25, 0.06);
}

.sp-header__panel--mobile .sp-header__phone {
  font-size: calc(20px * var(--sp-scale));
  margin-bottom: calc(6px * var(--sp-scale));
}

.sp-header__panel--mobile .sp-header__addr {
  font-size: calc(13px * var(--sp-scale));
  line-height: 1.45;
}

.sp-header__panel--mobile .sp-header__cta--panel {
  width: 100%;
}

.sp-header__overlay {
  position: fixed;
  top: var(--sp-header-bar-h, 64px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(25, 25, 25, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sp-header__overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Responsive — шапка */
@media (max-width: 960px) {
  :root {
    --sp-header-bar-h: calc(64px * var(--sp-scale));
  }

  .sp-header {
    --sp-header-bar-h: calc(64px * var(--sp-scale));
  }

  .sp-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo phone burger";
    align-items: center;
    gap: calc(8px * var(--sp-scale)) calc(10px * var(--sp-scale));
    min-height: var(--sp-header-bar-h);
  }

  .sp-header__panel--desktop {
    display: none !important;
  }

  .sp-logo {
    grid-area: logo;
  }

  .sp-logo img {
    height: calc(24px * var(--sp-scale));
    max-width: calc(96px * var(--sp-scale));
    object-fit: contain;
    object-position: left center;
  }

  .sp-header__phone--bar {
    display: flex;
    grid-area: phone;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    padding: calc(7px * var(--sp-scale)) calc(10px * var(--sp-scale));
    font-size: calc(12px * var(--sp-scale));
    font-weight: 700;
    line-height: 1.2;
    color: var(--sp-accent);
    background: rgba(255, 127, 0, 0.14);
    border: 1px solid rgba(255, 127, 0, 0.35);
    border-radius: calc(999px * var(--sp-scale));
    text-decoration: none;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 calc(2px * var(--sp-scale)) calc(8px * var(--sp-scale)) rgba(255, 127, 0, 0.12);
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .sp-header__phone--bar:hover,
  .sp-header__phone--bar:focus-visible {
    color: var(--sp-accent);
    background: rgba(255, 127, 0, 0.22);
    border-color: rgba(255, 127, 0, 0.5);
  }

  .sp-header__cta--bar {
    display: none;
  }

  .sp-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-area: burger;
  }

  .sp-contacts__grid {
    grid-template-columns: 1fr;
  }

  .sp-contacts__body {
    flex-direction: column;
  }

  .sp-contacts__actions {
    width: 100%;
    max-width: none;
  }

  .sp-contacts__map {
    min-height: calc(280px * var(--sp-scale));
  }

  .sp-carousel[data-sp-carousel] .sp-carousel__btn {
    display: none;
  }

  .sp-carousel--equipment .sp-carousel__btn,
  .sp-carousel--doctors .sp-carousel__btn,
  .sp-reviews__carousel .sp-carousel__btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 961px) {
  .sp-header__panel--mobile,
  .sp-header__overlay {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .sp-cta-banner {
    min-height: calc(320px * var(--sp-scale));
  }

  .sp-cta-banner__content {
    max-width: calc(320px * var(--sp-scale));
  }

  .sp-cta-banner__text {
    font-size: calc(14px * var(--sp-scale));
  }
}

@media (max-width: 480px) {
  .sp-cta-banner {
    min-height: calc(280px * var(--sp-scale));
  }

  .sp-cta-banner__content {
    max-width: calc(250px * var(--sp-scale));
    gap: calc(12px * var(--sp-scale));
  }

  .sp-cta-banner__text {
    font-size: calc(12px * var(--sp-scale));
  }
}
