/* White Bear — static site styles */
:root {
  --primary: #1fb7bf;
  --primary-dark: #1c8e94;
  --primary-light: #6dd7fe;
  --text: #000;
  --text-muted: #666;
  --bg: #fff;
  --bg-light: #f9f9f9;
  --border: #e4e4e4;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --content: 980px;
  --header-h: 90px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container,
.header__inner,
.hero__inner {
  width: min(100% - 40px, var(--content));
  margin-inline: auto;
}

/* контейнер во всю ширину — для секций, идущих edge-to-edge в оригинале */
.container--wide { width: 100%; }

/* Header — transparent over hero, solid after scroll */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.header--solid {
  background: #fff;
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}

.logo img { width: 245px; height: 45px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: 50px; }

.nav__link {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav__link:hover { color: var(--primary); }

.header__actions {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.header__phone {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.header__callback {
  font-size: 16px;
  font-weight: 300;
  color: #000;
  white-space: nowrap;
}

.header__phone:hover,
.header__callback:hover { color: var(--primary); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text);
  transition: 0.3s;
}

/* Yandex rating badge */
.yandex-badge {
  /* как на оригинале: 152×63, две строки — «пин 5,0 ★★★★★» / подпись */
  position: absolute;
  z-index: 5;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-areas:
    "pin  score stars"
    "text text  text";
  align-items: center;
  justify-content: start;
  column-gap: 6px;
  row-gap: 2px;
  padding: 8px 10px;
  background: #1f1f1f;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.yandex-badge--hero {
  /* как на оригинале: справа под шапкой, x=1041 y=94 при 1440px */
  top: 94px;
  right: max(12px, calc((100vw - min(100vw - 40px, var(--content))) / 2 + 17px));
  left: auto;
}

.yandex-badge--benefits {
  top: 20px;
  right: 20px;
  left: auto;
}

.yandex-badge__pin {
  grid-area: pin;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5c-1.4 0-2.5-1.1-2.5-2.5S10.6 6.5 12 6.5s2.5 1.1 2.5 2.5S13.4 11.5 12 11.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.yandex-badge__score {
  grid-area: score;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.yandex-badge__stars {
  grid-area: stars;
  color: #fc0;
  font-size: 12px;
  letter-spacing: 1px;
}

.yandex-badge__text {
  grid-area: text;
  font-size: 9.5px;
  opacity: 0.92;
}

/* Hero — full-bleed photo with light veil */
.hero { position: relative; overflow: hidden; min-height: 720px; }

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.28) 40%,
    rgba(255,255,255,0.18) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 192px;
  padding-bottom: 107px;
}

.hero__title {
  /* Оригинал: Gilroy Medium 52px/400, строка1 = 657px, всего 3 строки.
     Montserrat шире Gilroy ~11%, поэтому 52px даёт 4 строки (729px).
     47px/400 → строка1 = 659px и 3 строки — совпадает с оригиналом. */
  max-width: 760px;
  font-size: 47px;
  font-weight: 400;
  line-height: 1.29;
  letter-spacing: 0;
  margin-bottom: 72px;
  color: #000;
}

.hero__accent { color: var(--primary); font-weight: 400; }

.hero__text {
  max-width: 694px;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 64px;
  color: #000;
}

.hero__text b { font-weight: 700; }

.hero__cta { position: relative; min-height: 120px; }

.btn--hero {
  position: absolute;
  left: 0;
  top: 10px;
  width: 303px;
  height: 63px;
  padding: 0;
  font-size: 19px;
  font-weight: 500;
  border-radius: 50px;
  box-shadow: 0 1px 20px 7px rgba(31, 183, 191, 0.43);
}

.hero__note {
  position: absolute;
  left: 400px;
  top: 0;
  width: 230px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #000;
}

.hero__arrow {
  position: absolute;
  left: 300px;
  top: 52px;
  width: 107px;
  height: 71px;
  transform: scaleX(-1) rotate(216.17deg);
  transform-origin: center center;
  fill: #222;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease;
  text-align: center;
}

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }

.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--bg-light); }

.btn--sm { padding: 10px 24px; font-size: 14px; }

/* Sections */
.section { padding: 80px 0; }

.section--gray { background: var(--bg-light); }

.section__title {
  /* оригинал: 34–35px, вес 400 (Gilroy Medium) */
  font-size: clamp(24px, 4vw, 35px);
  font-weight: 400;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.3;
}

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

.section__title b { font-weight: 700; }

.section__subtitle {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
  font-size: 18px;
  font-weight: 300;
}

.section__subtitle--closing { margin: 48px auto 0; }

.section__actions { text-align: center; margin-top: 40px; }

/* Problems grid — 6 circular photos in a row */
.problems {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin: 48px 0 48px;
}

.problem { text-align: center; }

.problem__photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.problem__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: #000;
}

/* Оригинал: текст на белом фоне, слева, узкой колонкой — без плашки и без фото */
.info-block {
  background: transparent;
  color: var(--text);
  padding: 0;
  border-radius: 0;
  text-align: left;
  max-width: 660px;
  margin: 0;
}

.info-block p { margin-bottom: 26px; font-size: 17px; font-weight: 400; line-height: 1.45; }
.info-block p:last-child { margin-bottom: 0; }
.info-block b { font-weight: 700; }

/* последний абзац — бирюзовый жирный, как в оригинале */
.info-block__accent {
  color: var(--primary);
  font-weight: 700;
  max-width: 700px;
}

.info-row {
  position: relative;
  margin-top: 64px;
  margin-bottom: 16px;
  padding-bottom: 24px;
}

.info-row .info-block {
  margin: 0;
  max-width: 660px;
  text-align: left;
  padding: 0;
  overflow: visible;
  box-sizing: border-box;
}

.info-row__equip {
  width: var(--equip-size);
  max-width: none;
  height: 100%;
  min-height: 280px;
  display: block;
  object-fit: cover;
  object-position: center;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 0 12px 12px 0;
  align-self: stretch;
}

/* Клещ — как в оригинале: под текстом, правее середины колонки */
.info-row__mite {
  position: absolute;
  left: 640px;
  top: auto;
  bottom: 0;
  width: 130px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* фото оборудования — в оригинале только в мобильной версии */
.problems__equip { display: none; }

#services {
  overflow-x: clip;
  overflow-y: visible;
  padding-bottom: 24px;
}

/* Benefits — white text left, photo flush right, cards full-width overlapping both */
.benefits-section {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 64px;
  overflow-x: clip;
  background: #fff;
}

.benefits-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.95fr);
  grid-template-rows: auto auto;
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: none;
  position: relative;
}

.benefits-split__main {
  grid-column: 1;
  grid-row: 1;
  background: var(--primary);
  border-radius: 0;
  padding: 56px 48px 180px clamp(20px, 4vw, 64px);
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.benefits-split__media {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 100%;
  margin: 0;
  z-index: 0;
}

.benefits-split__media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.benefits-head__title {
  margin-bottom: 18px;
  max-width: 640px;
  color: #fff;
}

.benefits-head__sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin-bottom: 0;
}

/* Cards span full width and overlap title + photo from above */
.benefits {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: -150px;
  padding: 0 clamp(20px, 3.5vw, 48px) 8px;
  position: relative;
  z-index: 2;
}

.benefit {
  background: #fff;
  border-radius: 14px;
  padding: 30px 24px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  min-width: 0;
  overflow: visible;
}

.benefit__body { min-width: 0; width: 100%; }

.benefit__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.benefit__num {
  font-size: 52px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.benefit__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.benefit__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #555;
  overflow-wrap: break-word;
}

.accent { color: var(--primary); font-weight: 700; }

/* Gallery — dark band + horizontal scroll collage like Wix */
.section--gallery {
  /* оригинал: лента идёт от края до края, без боковых полей */
  background: #1a1a1a;
  padding-top: 56px;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.section__title--on-dark {
  /* оригинал: заголовок в 2 строки, узкая колонка */
  color: #fff;
  max-width: 460px;
  margin: 0 auto 44px;
}

.gallery-wrap {
  position: relative;
  max-width: 100%;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  /* оригинал: лента ~540px высотой, две строки по ~265px */
  grid-template-rows: repeat(2, 265px);
  grid-auto-columns: minmax(220px, 28vw);
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.35) transparent;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  scroll-snap-align: start;
  min-height: 0;
}

.gallery__item:nth-child(3n) { grid-row: span 2; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery__item:hover img { transform: scale(1.04); }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.gallery-nav--prev { left: 12px; }
.gallery-nav--next { right: 12px; }

.gallery-nav[hidden] { display: none; }

/* Source file is stored sideways */
.gallery__item--rotate img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 133.3333%;
  height: 133.3333%;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
}

.gallery__item--rotate:hover img { transform: translate(-50%, -50%) rotate(90deg) scale(1.04); }

.gallery__item--flip img { transform: rotate(180deg); }

.gallery__item--flip:hover img { transform: rotate(180deg) scale(1.04); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.step { text-align: center; padding: 8px; }

.step__num {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: #333;
}

.step__link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  margin-top: 40px;
}

.features--single { grid-template-columns: 1fr; gap: 8px; }

.features--plain .feature {
  /* оригинал: свободные интервалы между пунктами, ~72px шаг */
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 18px 0;
  font-weight: 700;
  gap: 18px;
}

/* правая колонка: оригинал — заголовок x=834 (w=490), пункты x=904 */
.split--fullbleed .split__body { padding: 40px clamp(24px, 8vw, 116px) 40px clamp(24px, 8vw, 114px); }
.split--fullbleed .split__body-title { max-width: 490px; }
.split--fullbleed .features--plain { padding-left: 10px; }
.split--fullbleed .split__media { border-radius: 0; }

.split__media-title {
  display: none;
}

.features-closing {
  margin-top: 36px;
  padding: 48px 40px;
  border-radius: 16px;
  background: #f0fafa;
  border: 1.5px solid #c2e8e8;
  box-shadow: 0 4px 24px rgba(0,180,180,0.08);
  text-align: center;
}

.features-closing .section__subtitle--closing {
  max-width: 620px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.55;
}

.features-closing .section__actions {
  margin-top: 32px;
}

.features--onpanel { margin-top: 24px; }

.features--onpanel .feature {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.features--onpanel .feature::before {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231fb7bf' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.feature::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Two-column media/content split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.split--tight { gap: 0; }

/* Во всю ширину экрана, без скруглений — как «Чистим шторы любого размера» в оригинале */
.section--fullbleed { padding-left: 0; padding-right: 0; padding-top: 0; }

.section--features { padding-bottom: 16px; }

#prices { padding-top: 28px; }
.split--fullbleed { gap: 0; }
.split--fullbleed .split__media,
.split--fullbleed .panel { border-radius: 0; }
/* оригинал: блок размеров ~636px от заголовка до следующего баннера */
.split--fullbleed .split__media img { min-height: 645px; }
/* Контент бирюзового блока — по левому краю */
.split--fullbleed .panel {
  align-items: flex-start;
  text-align: left;
  padding: 48px clamp(24px, 3vw, 40px);
}
.split--fullbleed .panel > * { max-width: 310px; }
.split--fullbleed .panel__btn {
  align-self: flex-start;
  width: auto;
  padding: 14px 30px;
  font-size: 17px;
}

/* Скидки по объёму — простой текст, как в оригинале (не плашки) */
.volume-list { margin: 28px 0 30px; }
.volume-list__item {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}

.split__media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.split--tight .split__media {
  border-radius: 12px 0 0 12px;
}

.split__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split__media--tint::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #009DD6;
  opacity: 0.4;
  pointer-events: none;
}

.split__body { display: flex; flex-direction: column; justify-content: center; }

.panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  border-radius: 0 12px 12px 0;
}

.panel--teal { background: var(--primary); color: #fff; }

.panel--teal .section__title { color: #fff; margin-bottom: 12px; }

.panel__lead { font-size: 17px; font-weight: 300; }

.panel__btn { align-self: flex-start; margin-top: 28px; }

/* Full-width photo banners */
.banner {
  position: relative;
  padding: 72px 0;
  color: #fff;
  text-align: center;
  background-color: #242323;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.banner .container { position: relative; }

.banner__title {
  /* оригинал: крупный жирный текст в 2 строки, высота блока ~136px */
  font-size: clamp(26px, 3.9vw, 48px);
  font-weight: 700;
  line-height: 1.42;
  max-width: 700px;
  margin: 0 auto;
}

.banner__title b { font-weight: 700; }

.banner--podklad {
  background-image: url("../images/D0_BF_D0_BE_D0_B4_D0_BA_D0_BB_D0_B0_D0.webp");
  /* оригинал: текст занимает 136px, баннер выше нашего */
  padding: 96px 0;
}

/* Акция — в оригинале светлый фон без затемнения, тёмный заголовок,
   бирюзовый подзаголовок в две строки */
.banner--promo {
  background-image: url("../images/9a13719d381544928503.webp");
  color: var(--text);
}

.banner--promo::before { background: rgba(255, 255, 255, 0.55); }

/* Desktop: tall promo banner; mobile keeps .banner default padding */
@media (min-width: 901px) {
  .banner.banner--promo {
    padding: 250px 0;
  }
}

.banner__title--dark {
  color: #000;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  margin-bottom: 22px;
}

.banner__sub {
  color: var(--primary);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.9;
  max-width: 560px;
  margin: 0 auto 26px;
}

.banner--promo .btn { margin-top: 28px; }

/* Sections with a photo background */
.section--photo {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

.section--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.section--photo > .container { position: relative; }

.section--bonuses { background-image: url("../images/25D0_259D_25D0_25B0_25D1_2588_25D0_25B8.webp"); }

/* Бонусы — в оригинале фон светлее, фото читается */
.section--bonuses::before { background: rgba(0, 0, 0, 0.28); }

/* «Также мы чистим» — фон тоже светлее, чем был */
.section--sofa::before { background: rgba(0, 0, 0, 0.34); }

/* подзаголовок «Пока мы чистим… 6 бонусов в подарок» — крупный, в 2 строки */
.section--bonuses .section__subtitle {
  font-size: clamp(22px, 3.4vw, 35px);
  font-weight: 400;
  line-height: 1.45;
  max-width: 620px;
  margin-bottom: 60px;
}

.section--sofa { background-image: url("../images/fef09341c0034e50a9c3.webp"); }

.section--flush-bottom { padding-bottom: 0; }

/* Pricing — circular tiles with teal center badge (Wix style) */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
  margin-top: 40px;
}

/* Extras (furniture etc.): 6 items → 3×2 on desktop */
.pricing--extras {
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.price-card:hover {
  box-shadow: none;
  transform: translateY(-4px);
}

.price-card__media {
  position: relative;
  width: min(100%, 200px);
  aspect-ratio: 1;
  overflow: visible;
  border-radius: 50%;
}

.price-card__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.price-card__overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 88px;
  height: 88px;
  padding: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 14px rgba(31, 183, 191, 0.45);
}

.price-card__price {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-shadow: none;
}

.price-card__price--text { font-size: 13px; line-height: 1.15; }

.price-card__from {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  margin-right: 2px;
}

.price-card__unit {
  font-size: 11px;
  color: rgba(255,255,255,0.95);
  line-height: 1;
}

.price-card__name {
  font-size: 15px;
  font-weight: 600;
  min-height: 0;
  display: block;
  color: #111;
}

.price-card__btn {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.4s ease;
}

.price-card:hover .price-card__btn,
.price-card:focus-within .price-card__btn {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (hover: none) {
  .price-card__btn { opacity: 1; transform: none; pointer-events: auto; }
  .price-card:hover { transform: none; }
}

.price-note {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
  font-style: italic;
}

/* Mobile quick action bar */
.quick-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  height: 58px;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  grid-template-columns: repeat(3, 1fr);
}

.quick-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
}

.quick-bar__icon { color: var(--primary); }

.quick-bar__item:nth-child(1) .quick-bar__icon { color: #2ecc71; }
.quick-bar__item:nth-child(2) .quick-bar__icon { color: #e84393; }
.quick-bar__item:nth-child(3) .quick-bar__icon { color: #2aabee; }

/* Bonuses — circular photo tiles with a white caption card below */
.bonuses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  margin-top: 40px;
}

.bonus {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bonus__img {
  /* оригинал: кружки ~185px */
  width: 185px;
  height: 185px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 22px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.35);
}

.bonus__text {
  /* оригинал: карточка по ширине текста, не на всю колонку */
  width: auto;
  max-width: 100%;
  padding: 14px 20px;
  background: #fff;
  color: var(--text);
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

/* Clients */
.clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 36px 48px;
  margin-top: 40px;
}

.clients img {
  height: 96px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

/* Reviews */
.reviews-slider {
  position: relative;
  margin-top: 40px;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.reviews__slide {
  min-width: 0;
}

.reviews img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: block;
}

.reviews-slider__dots {
  display: none;
}

.yandex-reviews-widget {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.yandex-reviews-widget > div {
  max-width: 100%;
}

/* Expert / trust band — full-bleed tehn2 + overlays (Wix original) */
.expert-band {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  color: #111;
  background: #1fcdd9;
  min-height: min(1000px, 120vw);
  aspect-ratio: 1440 / 1000;
  max-height: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.expert-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: 0;
  pointer-events: none;
}

.expert-band__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(1440px, 100%);
  height: 100%;
  margin: 0 auto;
  min-height: inherit;
  min-width: 0;
  box-sizing: border-box;
}

.expert-band__lead {
  position: absolute;
  left: 39%;
  top: 8.5%;
  width: min(620px, 52%);
  margin: 0;
  font-size: clamp(22px, 2.43vw, 35px);
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}

.expert-band__lead-top {
  display: block;
  color: #fff;
}

.expert-band__lead-bot {
  display: block;
  color: #242323;
  margin-top: 0.15em;
}

.expert-band__card {
  position: absolute;
  left: 37%;
  top: 21.7%;
  width: min(666px, 48%);
  background: #fff;
  color: #111;
  border-radius: 10px;
  padding: 28px 32px 30px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.trust-text {
  max-width: none;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #000;
}

.trust-text p { margin-bottom: 14px; }
.trust-text p:last-child { margin-bottom: 0; }

.expert-sign {
  position: absolute;
  left: 24.8%;
  bottom: 6.9%;
  z-index: 2;
  width: min(447px, 36%);
  margin: 0;
  padding: 16px 22px;
  border-top: none;
  text-align: left;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.expert-sign__name {
  font-size: 20px;
  font-weight: 400;
  color: #111;
  line-height: 1.3;
}

.expert-sign__role {
  font-size: 16px;
  font-weight: 400;
  color: #111;
  margin-top: 2px;
}

/* Sofa */
.sofa-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

/* оригинал: блок во всю ширину, текст начинается на x=69 */
.section--sofa > .container {
 /* width: min(100% - 138px, 1302px);*/
}

.sofa-section__copy { max-width: 1180px; }

/* «Также мы чистим» — в оригинале 56px, крупнее прочих заголовков */
.sofa-section__copy .section__title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.41;
  margin-bottom: 0;
}

/* список — оригинал: 15px, интервал 26.25px */
.sofa-section li { padding: 2px 0 2px 28px !important; font-size: 15px !important; line-height: 1.75 !important; }
.sofa-section ul { margin: 4px 0 !important; }
.sofa-section__note { margin-top: 22px !important; font-size: 15px !important; font-weight: 700; opacity: 1 !important; }

/* оригинал: lead на +96px от заголовка, интервал строк 26.25px */
.sofa-section__lead { margin: 17px 0 0; font-weight: 400; font-size: 15px; line-height: 1.75; }
.sofa-section__question { font-weight: 700; margin: 30px 0 2px; font-size: 15px; line-height: 1.75; }
.sofa-section__note { margin-top: 16px; font-size: 14px; opacity: 0.85; }

.sofa-section ul { margin: 12px 0; max-width: 900px; }
.sofa-section li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}
.sofa-section li::before {
  content: '✅';
  position: absolute;
  left: 0;
}

.sofa-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sofa-gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  background: #111;
}

.sofa-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  background: transparent;
}

.sofa-gallery__item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.65);
  text-align: left;
  opacity: 1;
}

/* Form */
/* Форма — как в оригинале: фото на левой половине во всю высоту,
   поверх него белая карточка формы */
.form-section {
  position: relative;
  background: var(--bg-light);
  padding-top: 0;
  padding-bottom: 0;
}

.form-photo-block {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-section__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 720px;
  padding: 0;
}

.form-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* белая карточка поверх фото */
.form-wrapper--card {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 0 auto;
  background: #fff;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.12);
}

.form-wrapper__inner { position: relative; padding: 36px 34px 40px; }

/* подписи полей скрыты визуально, остаются для скринридеров */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.form__title {
  font-size: 19px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 30px;
  line-height: 1.45;
}

.form__subtitle {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 28px;
}

.form__group { margin-bottom: 16px; }

.form__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

.form__input {
  /* оригинал: светлое поле с тонкой бирюзовой рамкой */
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #7fd4dd;
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
  color: #333;
  transition: border-color 0.2s;
}

.form__input::placeholder { color: #8a8a8a; }
.form__input:focus { outline: none; border-color: var(--primary); }

.form__group { margin-bottom: 14px; }

.form__btn {
  width: 100%;
  margin-top: 14px;
  border-radius: 999px;
  font-size: 17px;
  padding: 14px 20px;
}

.form__message {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px;
  text-align: center;
  display: none;
}

.form__message--success { background: #d4edda; color: #155724; display: block; }
.form__message--error { background: #f8d7da; color: #721c24; display: block; }

/* Contact block */
.contact-block { text-align: left; padding: 80px 0; }

.contact-block .section__title { text-align: left; }

.contact-block__phone {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin: 16px 0 8px;
}

.contact-block__phone:hover { color: var(--primary-dark); }

.contact-block__mail {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-block__text {
  font-size: 18px;
  font-weight: 300;
  margin: 16px 0 32px;
  max-width: 620px;
}

.contact-block__title { margin-top: 24px; font-size: 25px; }

.contact-block__region { font-weight: 300; }

/* Footer */
.footer {
  background: var(--text);
  color: #fff;
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
}

.footer__inner { display: flex; flex-direction: column; gap: 8px; }

.footer__tagline { font-size: 16px; font-weight: 500; margin-bottom: 8px; }

.footer__credit { margin-top: 16px; opacity: 0.7; font-size: 13px; }

.footer a { color: var(--primary-light); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 20px 64px;
  touch-action: pan-y;
  user-select: none;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  pointer-events: none;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav:hover { background: rgba(255, 255, 255, 0.28); }

.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

@media (max-width: 600px) {
  .lightbox { padding: 56px 12px 24px; }
  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active { display: flex; }

.modal__box {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  max-width: 440px;
  width: 100%;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* Tablet / narrow desktop — keep the hero overlay but scale it down */
@media (max-width: 1024px) {
  .hero { min-height: 640px; }
  .hero__inner { padding-top: 120px; padding-bottom: 72px; }
  .hero__title { font-size: 40px; margin-bottom: 48px; }
  .hero__text { font-size: 20px; margin-bottom: 48px; }
  .hero__cta {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .btn--hero { position: static; width: 100%; max-width: 303px; }
  .hero__note { position: static; width: auto; max-width: 280px; }
  .hero__arrow { display: none; }
  .problems { gap: 12px; }
  .problem__photo { width: 110px; height: 110px; }
  .problem__title { font-size: 13px; }
  .yandex-badge { top: 12px; left: 12px; right: auto; transform: scale(0.88); transform-origin: top left; }
}

/* Mobile — white header, photo stacked above the text */
@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .header {
    position: sticky;
    top: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
  }

  .header--solid {
    background: #fff;
    border-bottom-color: var(--border);
  }

  .header__inner { gap: 12px; }

  .logo { min-width: 0; }

  .logo img { width: auto; height: 36px; }

  .nav { display: none; }

  .nav.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .header__actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    text-align: right;
  }

  .header__phone { color: var(--primary); font-size: 14px; }

  .header__callback {
    display: block;
    font-size: 11px;
    color: #000;
    white-space: nowrap;
  }

  .burger { display: flex; }

  .yandex-badge--hero { display: flex; }
  .yandex-badge--benefits { display: none; }

  /* Hero stays full-bleed with text overlay (same as desktop) */
  .hero {
    overflow: hidden;
    min-height: 0;
  }

  .hero__veil {
    display: block;
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.42) 45%,
      rgba(255,255,255,0.3) 100%
    );
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    aspect-ratio: unset;
    object-fit: cover;
    object-position: center top;
  }

  /* Мобильный герой — по позициям оригинала: заголовок ~129px,
     подзаголовок ~256px, кнопка ~358px, «Частые проблемы» ~514px */
  .hero__inner {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .hero__title {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.24;
    color: #000;
  }

  .hero__text {
    font-size: 15px;
    color: #000;
    margin-bottom: 32px;
  }

  .problems {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 12px;
  }

  .problem__photo { width: 100px; height: 100px; }

  .steps,
  .pricing,
  .pricing--extras,
  .bonuses,
  .reviews { grid-template-columns: 1fr 1fr; }

  /* Reviews slider — tablet 2 columns, fine */

  .gallery {
    grid-template-rows: repeat(2, minmax(140px, 22vh));
    grid-auto-columns: minmax(160px, 55vw);
  }

  .gallery-nav { width: 36px; height: 36px; font-size: 22px; }

  .sofa-section { grid-template-columns: 1fr; gap: 24px; }

  .sofa-section__copy {
    background: rgba(0, 0, 0, 0.42);
    border-radius: 16px;
    padding: 22px 18px;
    backdrop-filter: blur(2px);
  }

  .sofa-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sofa-gallery__item {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

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

  .benefits-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .split,
  .contact-layout { grid-template-columns: 1fr; }

  .form-photo-block { min-height: 520px; }

  .info-row {
    --equip-size: 100%;
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: 0;
    margin-top: 28px;
    margin-bottom: 0px;
    gap: 0;
    padding-bottom: 8px;
    padding-right: 0;
  }

  .info-row__equip {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 12px 12px 0 0;
    justify-self: stretch;
  }

  .info-row .info-block {
    border-radius: 0 0 12px 12px;
    padding: 24px 18px;
  }

  .info-row__mite {
    left: auto;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: 96px;
  }

  #services { padding-bottom: 0px; padding-top: 24px; }

  .benefits-section { padding-top: 8px; }

  .benefits-split__main {
    grid-column: 1;
    grid-row: 1;
    padding: 28px clamp(20px, 4vw, 40px) 24px;
  }

  .benefits-split__media {
    grid-column: 1;
    grid-row: 2;
  }

  .benefits-split__media img {
    min-height: 0;
    aspect-ratio: 16/10;
  }

  .benefits {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: -56px;
    padding: 0 clamp(20px, 4vw, 40px) 8px;
  }

  .benefits-head__sub { max-width: none; }

  .benefit {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px;
  }

  .benefit:first-child {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .benefit:first-child .benefit__num {
    width: 64px;
    height: 64px;
    font-size: 42px;
  }

  .benefit:first-child .benefit__body { width: 100%; }

  .benefit__icon,
  .benefit__num {
    width: 48px;
    min-width: 48px;
    font-size: 36px;
  }

  .split--features .split__media {
    border-radius: 0;
    min-height: 200px;
  }

  .split--features .split__media img {
    min-height: 200px;
    aspect-ratio: 16 / 9;
  }

  .split--features .split__media-title {
    display: block;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 90px;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  }

  .split--features .split__body-title { display: none; }

  .features--plain { gap: 2px; margin-top: 12px; }

  .features--plain .feature {
    padding: 7px 0;
    font-size: 15px;
  }

  .features-closing {
    margin-top: 24px;
    padding: 36px 20px;
  }

  .section--features { padding-bottom: 8px; }

  #prices { padding-top: 20px; }

  .features-closing .section__subtitle--closing {
    font-size: 15px;
  }

  .quick-bar { display: grid; }

  body { padding-bottom: 58px; }

  .pricing,
  .pricing--extras { grid-template-columns: repeat(2, 1fr); }

  .price-card__media { width: min(100%, 160px); }

  .price-card__overlay { width: 72px; height: 72px; }

  .price-card__price { font-size: 15px; }

  .split__media img { min-height: 0; aspect-ratio: 4/3; }

  /* на мобильном фото не растягиваем на 545px — оригинал показывает его сверху */
  .split--fullbleed .split__media img { min-height: 0; aspect-ratio: 4/3; }
  .split--fullbleed .panel { padding: 36px 24px 44px; }
  .split--fullbleed .split__body { padding: 32px 24px; }

  .split--tight .split__media { border-radius: 12px 12px 0 0; }

  .panel { border-radius: 0 0 12px 12px; padding: 36px 28px; }

  /* кнопка в бирюзовом блоке — во всю ширину, как в оригинале */
  .panel__btn { width: 100%; border-radius: 999px; }

  /* заголовок в бирюзовом блоке — жирный, как в оригинале */
  .panel--teal .section__title { font-weight: 700; }

  .expert-band {
    aspect-ratio: auto;
    min-height: 0;
    background: #fff;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    padding-bottom: 32px !important;
  }

  .expert-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: min(360px, 40vh);
    max-width: 100%;
    background: linear-gradient(160deg, #b8eef2 0%, #d4f6f8 55%, #e8fafb 100%);
    z-index: 0;
  }

  .expert-band__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: min(360px, 40vh);
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: 12% 15%;
    z-index: 0;
  }

  .expert-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(300px, 38vh) auto;
    align-items: stretch;
    padding: 0;
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }

  .expert-band__lead,
  .expert-band__card,
  .expert-sign {
    position: static;
    left: auto;
    top: auto;
    bottom: auto;
    order: unset;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Заголовок справа от лица */
  .expert-band__lead {
    grid-row: 1;
    grid-column: 1;
    align-self: start;
    justify-self: end;
    width: 54%;
    max-width: min(230px, calc(100% - 32px));
    margin: 32px 16px 0 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-size: clamp(16px, 4.4vw, 20px);
    font-weight: 400;
    line-height: 1.28;
    text-align: left;
    z-index: 2;
    overflow-wrap: anywhere;
  }

  .expert-band__lead-top {
    color: #fff;
    font-weight: 400;
    text-shadow: none;
  }

  .expert-band__lead-bot {
    color: #111;
    font-weight: 700;
    text-shadow: none;
  }

  /* Чёрная плашка с именем */
  .expert-sign {
    grid-row: 1;
    grid-column: 1;
    align-self: end;
    justify-self: start;
    width: fit-content;
    max-width: calc(100% - 32px);
    margin: 0 0 28px 16px;
    padding: 12px 16px;
    background: #111;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 3;
  }

  .expert-sign__name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
  }

  .expert-sign__role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Белая карточка с текстом — отделена от плашки */
  .expert-band__card {
    grid-row: 2;
    width: auto;
    max-width: 100%;
    margin: 16px 16px 0;
    padding: 24px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    z-index: 4;
    overflow-wrap: anywhere;
  }

  .trust-text { font-size: 14px; line-height: 1.55; }
}

@media (max-width: 600px) {
  .container,
  .header__inner,
  .hero__inner { width: min(100% - 24px, var(--content)); }

  /* оригинал: высота героя на мобильном ~437px, по содержимому */
  .hero { min-height: 0; }

  .logo img { height: 30px; }

  /* Мобильная шапка: логотип, телефон и бургер */
  .burger { display: flex; }

  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .header__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    text-align: right;
  }

  .yandex-badge--hero { display: none; }

  /* заголовок героя — обычный вес, как в оригинале */
  .hero__title { font-weight: 400; }

  /* кнопка и подпись компактнее — по позициям оригинала */
  .btn--hero { padding: 14px 24px; font-size: 15px; max-width: 280px; }
  .hero__cta { gap: 12px; }
  .hero__note { font-size: 12px; max-width: 260px; }

  /* фото оборудования под заголовком — во всю ширину, как в оригинале */
  .problems__equip {
    display: block;
    width: 100vw;
    max-width: none;
    margin: 18px 0 26px calc(50% - 50vw);
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
  }

  /* Контакты: текст сверху, фото с формой внутри.
     Не используем width:100vw + margin-left:calc(50%-50vw) —
     внутри .container это даёт горизонтальный сдвиг и обрезает карточку. */
  .form-section {
    padding-top: 0;
    padding-bottom: 0;
    overflow-x: clip;
    background: #fff;
  }

  .contact-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 36px 0 0;
    gap: 0;
    width: 100%;
    max-width: none;
  }

  .contact-block {
    order: 1;
    margin-bottom: 28px;
    padding: 0 12px 8px;
  }

  .form-photo-block {
    order: 2;
    position: relative;
    min-height: 0;
    display: block;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .form-section__photo {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    min-height: 520px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
  }

  .form-wrapper--card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(330px, calc(100% - 40px));
    max-width: min(330px, calc(100% - 40px));
    margin: 0;
    box-sizing: border-box;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  }

  .header__phone { font-size: 13px; }

  .burger span { width: 24px; height: 2px; }

  .hero__title { font-size: 24px; }

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

  #services .section__title--left {
    margin-bottom: 24px;
    line-height: 1.28;
  }

  .problem__photo { width: 120px; height: 120px; }

  .steps,
  .bonuses,
  .benefits { grid-template-columns: 1fr; }

  /* Reviews: horizontal scroll snap slider on mobile */
  .reviews {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .reviews::-webkit-scrollbar { display: none; }

  .reviews__slide {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .reviews-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }

  .reviews-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(31, 183, 191, 0.25);
    transition: background .2s;
  }

  .reviews-slider__dot--active {
    background: var(--primary);
  }

  .pricing,
  .pricing--extras { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }

  .gallery {
    grid-template-rows: repeat(2, minmax(120px, 20vh));
    grid-auto-columns: minmax(140px, 70vw);
  }

  .sofa-gallery { grid-template-columns: 1fr; }

  /*.section { padding: 30px 0; }*/
  .expert-band__bg { object-position: 10% 12%; }
  .expert-band__lead { font-size: 17px; max-width: min(210px, calc(100% - 32px)); }
  .clients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .form-wrapper { padding: 28px 20px; }
  .form-wrapper--photo { padding: 0; }
  .form-wrapper__inner { padding: 28px 20px; }
  .banner { padding: 48px 0; }
  .info-block { padding: 28px 20px; }
  .benefits-head__sub { font-size: 16px; }
  .sofa-gallery { grid-template-columns: 1fr; }
}
