/* КлинингПрофф — общие правки поверх Tilda */

:root {
  --kp-yellow: #ffe16c;
  --kp-yellow-hover: #f5d756;
  --kp-ink: #111111;
  --kp-muted: #4a4a4a;
  --kp-line: rgba(17, 17, 17, 0.08);
  --kp-header-h: 78px;
  --kp-hero-stage-h: 720px;
  --kp-tg: #2aabee;
  --kp-font: MuseoSansCyrl, "PT Sans", Arial, sans-serif;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html.kp-menu-open,
html.kp-menu-open body {
  overflow: hidden;
}

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

.kp-hero__person picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Скрыть старую шапку Tilda (попапы оставляем) */
#rec272872206,
#rec272893573,
#rec272893585,
#rec273960586 {
  display: none !important;
}

/* --- Шапка --- */
.kp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  background: #fff;
  box-shadow: 0 1px 0 var(--kp-line), 0 10px 28px rgba(0, 0, 0, 0.06);
  font-family: var(--kp-font);
}

.kp-header__bar {
  max-width: 1200px;
  margin: 0 auto;
  min-height: var(--kp-header-h);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.kp-header__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  flex: 0 0 auto;
  color: inherit;
  min-width: 0;
  line-height: 1;
}

.kp-header__brand img {
  display: block;
  width: 210px;
  height: auto;
}

.kp-header__tagline {
  display: block;
  max-width: 210px;
  margin: 0;
  padding: 0;
  font-size: 11px;
  line-height: 1.2;
  color: var(--kp-muted);
  white-space: nowrap;
}

.kp-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.kp-header__link {
  color: var(--kp-ink) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.kp-header__link:hover,
.kp-header__link.is-active {
  background: #f7f7f7;
  border-color: var(--kp-line);
}

.kp-header__trust {
  margin-left: auto;
  flex: 0 0 auto;
}

.kp-rating-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.kp-rating-badge__ribbon {
  position: relative;
  width: 42px;
  height: 48px;
  background: #f0b429;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.kp-rating-badge__ribbon span {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.kp-rating-badge__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.kp-rating-badge__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}

.kp-rating-badge__stars span {
  width: 12px;
  height: 12px;
  background: #f5c518;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.kp-rating-badge__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #222;
  white-space: nowrap;
}

.kp-rating-badge__sub {
  font-size: 12px;
  line-height: 1.25;
  color: #777;
  white-space: nowrap;
}

.kp-header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.2;
}

.kp-header__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--kp-muted);
  white-space: nowrap;
}

.kp-header__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.kp-header__phone {
  color: var(--kp-ink) !important;
  text-decoration: none !important;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.kp-header__messengers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kp-header__msg {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  transition: transform 0.2s ease;
}

.kp-header__msg:hover {
  transform: translateY(-1px);
}

.kp-header__msg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kp-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--kp-yellow) !important;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.kp-header__cta:hover {
  background: var(--kp-yellow-hover) !important;
  transform: translateY(-1px);
}

.kp-header__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: #f4f4f4;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.kp-header__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #111;
  border-radius: 2px;
}

.kp-header__mobile {
  display: none;
  border-top: 1px solid var(--kp-line);
  padding: 16px 20px 20px;
  background: #fff;
}

.kp-header__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.kp-header__mobile-nav a {
  color: #111 !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 0;
}

.kp-header__mobile-hours {
  margin: 6px 0 14px;
  color: var(--kp-muted);
  font-size: 14px;
}

.kp-rating-badge--mobile {
  margin: 0 0 16px;
}

.kp-header__mobile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Отступ под фиксированную шапку */
#allrecords {
  padding-top: var(--kp-header-h);
}

/* --- Кнопки --- */
.kp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-family: var(--kp-font);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.kp-btn:hover {
  transform: translateY(-1px);
}

.kp-btn--primary {
  background: var(--kp-yellow) !important;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
}

.kp-btn--primary:hover {
  background: var(--kp-yellow-hover) !important;
}

.kp-btn--messenger {
  background: linear-gradient(180deg, #34b7f1 0%, #229ed9 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.kp-btn--ghost {
  background: #fff !important;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 6px 16px rgba(20, 30, 50, 0.05);
}

.kp-btn--ghost:hover {
  border-color: rgba(17, 17, 17, 0.22);
}

/* --- Герой --- */
.kp-hero-host {
  position: relative !important;
  overflow: visible !important;
  z-index: 1;
  max-width: 100%;
}

.kp-hero-host > .t396 {
  position: relative;
  z-index: 1;
}

.kp-hero {
  position: relative;
  z-index: 3;
  font-family: var(--kp-font);
}

.kp-hero__stage {
  position: relative;
  z-index: 3;
  height: auto;
  display: block;
  pointer-events: auto;
  max-width: none;
  box-sizing: border-box;
}

/*
 * Desktop: Tilda-фон — абсолютный слой под контентом.
 * Текст и кнопки остаются в обычном потоке (не absolute) — так не пропадают.
 */
@media (min-width: 701px) {
  /* Хост по высоте = сцена + карточки; фон Tilda тянется на весь хост */
  .kp-hero-host {
    min-height: 0;
  }

  .kp-hero-host > .t396 {
    position: absolute !important;
    inset: 0 !important;
    height: auto !important;
    z-index: 1;
    pointer-events: none;
  }

  .kp-hero-host > .t396 .t396__artboard,
  .kp-hero-host > .t396 .t396__filter,
  .kp-hero-host > .t396 .t396__carrier {
    height: 100% !important;
  }

  .kp-hero-host > .kp-hero {
    position: relative;
    z-index: 3;
  }

  .kp-hero-host > .kp-hero .kp-hero__stage,
  .kp-hero__stage {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    height: var(--kp-hero-stage-h) !important;
    min-height: var(--kp-hero-stage-h);
    display: flex !important;
    align-items: center;
    pointer-events: none;
    margin: 0 !important;
  }

  .kp-hero__copy {
    position: relative;
    z-index: 6;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none;
  }

  .kp-hero--light .kp-hero__brand,
  .kp-hero--light .kp-hero__title,
  .kp-hero--light .kp-hero__list li {
    color: #111 !important;
  }

  .kp-hero--dark .kp-hero__brand,
  .kp-hero--dark .kp-hero__title,
  .kp-hero--dark .kp-hero__list li {
    color: #fff !important;
  }

  .kp-hero__features {
    position: relative;
    z-index: 4;
  }
}

.kp-hero__copy {
  max-width: 560px;
  margin-left: max(24px, calc(50% - 600px + 24px));
  margin-right: 24px;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  animation: kp-hero-in 0.7s ease;
}

@keyframes kp-hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.kp-hero__brand {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kp-ink);
}

.kp-hero__title {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--kp-ink);
}

.kp-hero__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}

.kp-hero__price {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  color: #1a1a1a;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 225, 108, 0.55);
  border-radius: 10px;
}

.kp-hero__promo {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff4c2;
  color: #222;
  font-size: 14px;
  font-weight: 600;
}

.kp-hero__person {
  position: absolute;
  right: max(0px, calc(50% - 600px));
  bottom: 0;
  width: min(46%, 520px);
  height: 92%;
  pointer-events: none;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.kp-hero__person img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
}

.kp-hero--with-person .kp-hero__copy {
  position: relative;
  z-index: 3;
  max-width: 520px;
}

.kp-hero__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.kp-hero__list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.35;
  color: #222;
}

.kp-hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--kp-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23111' d='M6.3 11.5 2.8 8l1.2-1.2 2.3 2.3 5-5L12.5 5.3z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.kp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Общий ряд мессенджеров (Telegram / WhatsApp / MAX) */
.kp-msgs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.kp-msgs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  font-family: var(--kp-font);
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.kp-msgs__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.kp-msgs__btn svg,
.kp-msgs__btn img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.kp-msgs__btn--tg {
  background: #2aabee;
}

.kp-msgs__btn--wa {
  background: #25d366;
}

.kp-msgs__btn--max {
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.kp-msgs--on-dark .kp-msgs__btn--max {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.22);
}

/* Преимущества — карточки поверх низа героя (главная и remonta) */
.kp-hero__features {
  position: relative;
  z-index: 5;
  background: transparent;
  border-top: 0;
  box-shadow: none;
  margin-top: -64px;
  /* нижний padding = фон героя продолжается под карточками, без белой полосы */
  padding: 0 28px 52px;
  opacity: 1;
  animation: kp-hero-in 0.85s ease 0.12s;
}

.kp-hero__features-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.kp-hero__feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(17, 17, 17, 0.05);
  min-height: 148px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kp-hero__feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.kp-hero__feature-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff6c8 0%, var(--kp-yellow) 100%);
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 225, 108, 0.45);
}

.kp-hero__feature-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.kp-hero__feature-text {
  min-width: 0;
}

.kp-hero__feature strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  color: var(--kp-ink);
}

.kp-hero__feature-text > span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--kp-muted);
}

/* Герой remonta — тёмный */
.kp-hero--dark .kp-hero__brand,
.kp-hero--dark .kp-hero__title,
.kp-hero--dark .kp-hero__list li {
  color: #fff;
}

.kp-hero--dark .kp-hero__price {
  color: #111;
  background: var(--kp-yellow);
}

.kp-hero--dark .kp-hero__promo {
  background: rgba(255, 225, 108, 0.95);
  color: #111;
}

.kp-hero--dark .kp-hero__stage {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 46%, rgba(0, 0, 0, 0.08) 100%);
  overflow: visible;
}

/* Девушка: выше, лицо в верхней трети, низ мягко уходит к карточкам */
.kp-hero--dark .kp-hero__person {
  top: 4%;
  right: max(-12px, calc(50% - 620px));
  bottom: 48px;
  width: min(50%, 560px);
  height: auto;
  align-items: flex-start;
  justify-content: center;
  z-index: 2;
}

.kp-hero--dark .kp-hero__person::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 18%;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.07) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.kp-hero--dark .kp-hero__person img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: top center;
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

/* На тёмном герое карточки чуть сильнее «висят» над фоном */
.kp-hero--dark .kp-hero__features {
  margin-top: -80px;
  padding: 0 28px 52px;
}

.kp-hero--dark .kp-hero__feature {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.kp-hero--dark .kp-hero__feature:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

/*
 * Следующий блок НЕ должен наезжать отрицательным margin —
 * иначе белый фон перекрывает продолжение героя под карточками.
 */
.kp-hero-host ~ .kp-rm-why,
#rec262767298 ~ .kp-rm-why {
  margin-top: 0;
  padding-top: 28px;
}

.kp-hero-host ~ .kp-services-section,
#rec273525204 ~ .kp-services-section {
  margin-top: 0;
  padding-top: 32px;
}

.kp-hero-host ~ .kp-rm-why .kp-rm-head,
#rec262767298 ~ .kp-rm-why .kp-rm-head {
  margin-bottom: 22px;
}

/* Скрыть старый контент героя на главной (девушка остаётся) */
#rec273525204 .tn-elem:not([data-elem-id="1611674161481"]),
#rec273525204 .kp-hero-lead {
  display: none !important;
}

@media (min-width: 701px) {
  #rec273525204 .t396__artboard,
  #rec273525204 .t396__filter,
  #rec273525204 .t396__carrier {
    height: 100% !important;
  }
}

#rec273525204 .t396__artboard {
  background-color: #f7f7f5 !important;
}

/* фон: путь от css/ → ../img/ ; поверх — белая вуаль, чтобы не спорил с текстом */
#rec273525204 .t396__carrier {
  background-image: url('../img/hero-bg.jpg') !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  filter: none !important;
}

#rec273525204 .t396__filter {
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.72) 42%,
    rgba(255, 255, 255, 0.35) 100%
  ) !important;
  background-color: transparent !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

#rec273525204 .tn-elem[data-elem-id="1611674161481"] {
  z-index: 7 !important;
}

#rec273525204 .tn-elem[data-elem-id="1611674161481"] .tn-atom__img {
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}

/* Скрыть старый текст героя remonta (фон остаётся) */
#rec262767298 .tn-elem {
  display: none !important;
}

@media (min-width: 701px) {
  #rec262767298 .t396__artboard,
  #rec262767298 .t396__filter,
  #rec262767298 .t396__carrier {
    height: 100% !important;
  }
}

#rec262767298 {
  padding-top: 0 !important;
}

#rec262767298 .t396__artboard {
  overflow: hidden !important;
}

#rec262767298 .t396__carrier {
  background-image: url('../img/hero-bg.jpg') !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  filter: brightness(0.72) saturate(0.92) !important;
}

#rec262767298 .t396__filter {
  pointer-events: none !important;
  z-index: 2 !important;
  background-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.42) 48%,
    rgba(0, 0, 0, 0.18) 100%
  ) !important;
  background-color: transparent !important;
}

/* Жёлтые CTA Tilda: чёрный текст */
#allrecords .tn-elem[data-elem-type="button"] .tn-atom,
#allrecords .tn-elem[data-elem-type="button"] .tn-atom:hover,
#allrecords .tn-elem[data-elem-type="button"] .tn-atom:visited,
#allrecords .tn-elem[data-elem-type="button"] .tn-atom:focus,
#allrecords a.tn-atom[href="#order"],
#t-header .tn-elem[data-elem-type="button"] .tn-atom {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}

.t-submit[style*="background-color:#f2de6d"],
.t-submit[style*="background-color:#ffd738"],
.t-submit[style*="background-color:#ffe16c"],
.t-submit[style*="background-color:#ffe342"],
.t-btn[style*="background-color:#f2de6d"],
.t-btn[style*="background-color:#ffd738"],
.t-btn[style*="background-color:#ffe16c"],
.t-btn[style*="background-color:#ffe342"],
.t-btn[style*="background-color:#ffe342"] td {
  color: #111111 !important;
}

@media (max-width: 1100px) {
  .kp-header__tagline {
    display: none;
  }
  .kp-header__nav {
    margin-left: 0;
  }
}

@media (max-width: 980px) {
  .kp-header__trust {
    display: none;
  }
}

@media (max-width: 900px) {
  :root { --kp-header-h: 64px; }

  .kp-header__nav,
  .kp-header__contacts,
  .kp-header__messengers,
  .kp-header__cta {
    display: none;
  }

  .kp-header__burger {
    display: inline-flex;
    margin-left: auto;
  }

  .kp-header__mobile:not([hidden]) {
    display: block;
  }

  .kp-header__mobile .kp-header__cta,
  .kp-header__mobile .kp-header__messengers,
  .kp-header__mobile .kp-header__phone {
    display: inline-flex;
  }
}

/* Планшет (не мобилка): чуть ниже сцена, 2 колонки фич */
@media (min-width: 701px) and (max-width: 900px) {
  :root { --kp-hero-stage-h: 640px; }

  /* Картинка Tilda не должна вылезать за край экрана */
  .kp-hero-host {
    overflow: hidden;
  }

  .kp-hero-host > .t396 {
    overflow: hidden;
  }

  .kp-hero__features {
    margin-top: -36px;
  }

  .kp-hero__features-inner {
    grid-template-columns: 1fr 1fr;
  }

  .kp-hero__feature {
    min-height: 0;
  }

  .kp-hero__copy {
    margin-left: 20px;
    margin-right: 20px;
    max-width: 520px;
  }

  .kp-hero--dark .kp-hero__stage {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.28) 100%);
  }

  .kp-hero__person {
    width: min(40%, 340px);
    opacity: 0.85;
  }

  .kp-hero--dark .kp-hero__person {
    top: 10%;
    bottom: 56px;
    width: min(42%, 360px);
    height: auto;
  }

  .kp-hero--dark .kp-hero__features {
    margin-top: -40px;
  }
}

@media (max-width: 700px) {
  /*
   * Мобильный hero: обычный document flow + свой фон.
   * Absolute на stage здесь НЕТ (см. min-width:701px) — иначе title уезжает под шапку.
   */
  .kp-hero-host,
  #rec262767298.kp-hero-host,
  #rec273525204.kp-hero-host {
    position: relative !important;
    overflow: visible !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .kp-hero-host > .t396,
  #rec273525204 .t396__artboard,
  #rec273525204 .t396__filter,
  #rec273525204 .t396__carrier,
  #rec262767298 .t396__artboard,
  #rec262767298 .t396__filter,
  #rec262767298 .t396__carrier {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .kp-hero--dark .kp-hero__person,
  .kp-hero__person,
  #rec273525204 .tn-elem[data-elem-id="1611674161481"] {
    display: none !important;
  }

  .kp-hero {
    position: relative !important;
    display: block !important;
    max-width: 100%;
    overflow: visible;
    height: auto !important;
  }

  .kp-hero__stage {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    padding: 18px 16px 20px !important;
    box-sizing: border-box !important;
    z-index: 5 !important;
    pointer-events: auto !important;
    overflow: visible !important;
  }

  .kp-hero__copy,
  .kp-hero__features {
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .kp-hero__copy {
    position: relative !important;
    z-index: 6 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .kp-hero__brand {
    display: block !important;
    margin: 0 0 6px !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    line-height: 1.3 !important;
  }

  .kp-hero__title {
    display: block !important;
    margin: 0 0 10px !important;
    font-size: clamp(24px, 6.5vw, 30px) !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
  }

  .kp-hero__price-row {
    margin: 0 0 10px !important;
    gap: 8px !important;
  }

  .kp-hero__price {
    font-size: 20px !important;
    padding: 4px 10px !important;
  }

  .kp-hero__promo {
    font-size: 11px !important;
    padding: 5px 10px !important;
  }

  .kp-hero__list {
    margin: 0 0 12px !important;
    gap: 6px !important;
  }

  .kp-hero__list li {
    font-size: 13px !important;
    line-height: 1.3 !important;
    padding-left: 22px !important;
  }

  .kp-hero__actions {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .kp-hero__actions .kp-btn {
    width: auto !important;
    max-width: 100% !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
  }

  .kp-hero__actions .kp-msgs,
  .kp-rm-cta .kp-msgs,
  .kp-rm-about__actions .kp-msgs,
  .kp-rm-get__cta .kp-msgs,
  .kp-faq__card-copy .kp-msgs,
  .kp-prices__cta-actions .kp-msgs {
    width: 100% !important;
    gap: 6px !important;
  }

  .kp-hero__actions .kp-msgs__btn,
  .kp-rm-cta .kp-msgs__btn,
  .kp-rm-about__actions .kp-msgs__btn,
  .kp-rm-get__cta .kp-msgs__btn,
  .kp-faq__card-copy .kp-msgs__btn,
  .kp-prices__cta-actions .kp-msgs__btn {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  .kp-hero--light .kp-hero__stage {
    background-color: #eef1f4 !important;
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.82) 45%,
        rgba(255, 255, 255, 0.62) 100%
      ),
      url('../img/hero-bg.jpg') !important;
    background-size: cover !important;
    background-position: center right !important;
    background-repeat: no-repeat !important;
  }

  .kp-hero--light .kp-hero__brand,
  .kp-hero--light .kp-hero__title,
  .kp-hero--light .kp-hero__list li {
    color: #111 !important;
  }

  .kp-hero--dark .kp-hero__stage {
    width: 100% !important;
    max-width: 100% !important;
    background-color: #141414 !important;
    background-image:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.66) 50%,
        rgba(0, 0, 0, 0.8) 100%
      ),
      url('../img/hero-bg.jpg') !important;
    background-size: cover !important;
    background-position: 62% center !important;
    background-repeat: no-repeat !important;
  }

  .kp-hero--dark .kp-hero__brand,
  .kp-hero--dark .kp-hero__title,
  .kp-hero--dark .kp-hero__list li {
    color: #fff !important;
  }

  .kp-hero--dark .kp-hero__price {
    color: #111 !important;
    background: #ffe16c !important;
  }

  .kp-hero--dark .kp-hero__promo {
    background: rgba(255, 225, 108, 0.95) !important;
    color: #111 !important;
  }

  .kp-hero__features,
  .kp-hero--dark .kp-hero__features {
    margin-top: 0 !important;
    padding: 12px 12px 4px !important;
  }

  .kp-hero-host ~ .kp-rm-why,
  #rec262767298 ~ .kp-rm-why,
  .kp-hero-host ~ .kp-services-section,
  #rec273525204 ~ .kp-services-section {
    margin-top: 0;
    padding-top: 40px;
  }

  /* фикс высоты Tilda-инлайнов на мобиле */
  #rec273525204,
  #rec262767298 {
    --kp-hero-stage-h: auto;
  }
}

@media (max-width: 560px) {
  .kp-header {
    left: 0;
    right: 0;
  }

  .kp-header__bar {
    padding: 8px 12px;
    min-height: 56px;
  }

  .kp-header__brand img {
    width: 150px;
  }

  :root {
    --kp-header-h: 56px;
    --kp-hero-stage-h: auto;
  }

  .kp-hero__price-row {
    margin-bottom: 12px;
    gap: 8px;
  }

  .kp-hero__price {
    font-size: 22px;
    padding: 4px 10px;
  }

  .kp-hero__promo {
    font-size: 12px;
    padding: 6px 10px;
  }

  .kp-hero__list {
    margin-bottom: 14px;
    gap: 7px;
  }

  .kp-hero__list li {
    font-size: 14px;
    line-height: 1.3;
    padding-left: 24px;
  }

  .kp-hero__actions {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .kp-hero__actions .kp-btn {
    width: auto;
    max-width: 100%;
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }

  .kp-hero__actions .kp-msgs {
    width: 100%;
  }

  .kp-hero__features-inner,
  .kp-hero--dark .kp-hero__features-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0;
  }

  .kp-hero__feature,
  .kp-hero--dark .kp-hero__feature {
    flex-direction: row;
    align-items: flex-start;
    min-height: 0;
    padding: 12px;
    border-radius: 14px;
  }

  .kp-hero__feature-icon,
  .kp-hero--dark .kp-hero__feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex: 0 0 40px;
  }

  .kp-hero__feature strong,
  .kp-hero--dark .kp-hero__feature strong {
    font-size: 15px;
    margin-bottom: 2px;
  }

  .kp-hero__feature-text > span,
  .kp-hero--dark .kp-hero__feature-text > span {
    font-size: 12px;
  }

  .kp-header__trust {
    display: none;
  }
}

/* Старые Tilda-блоки этапов / «что входит» / оборудование — заменены partials */
.kp-hide-tilda-block,
#rec273546603,
#rec273955826,
#rec273524631,
#rec275761324,
#rec273953693,
#rec275739107,
#rec275735889,
#rec275758725,
#rec273964517,
#rec273524622,
#rec273524625,
#rec273524626,
#rec273524627 {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* --- Оборудование (главная) --- */
.kp-equip-section {
  position: relative;
  z-index: 2;
  padding: 48px 20px 56px;
  font-family: var(--kp-font);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255, 225, 108, 0.14), transparent 55%),
    linear-gradient(180deg, #f4f8ff 0%, #ffffff 75%);
}

.kp-equip {
  max-width: 1120px;
  margin: 0 auto;
}

.kp-equip__head {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.kp-equip__head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--kp-ink);
}

.kp-equip__head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #5b6470;
}

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

.kp-equip__item {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 10px 24px rgba(20, 30, 50, 0.05);
}

.kp-equip__item img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
}

.kp-equip__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: #222;
}

@media (max-width: 960px) {
  .kp-equip__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .kp-equip-section {
    padding: 40px 16px 48px;
  }

  .kp-equip__grid {
    grid-template-columns: 1fr;
  }

  .kp-equip__item img {
    height: 160px;
  }
}

/* --- Команда --- */
.kp-team-section {
  position: relative;
  z-index: 2;
  padding: 48px 0 56px;
  background: #f4f8ff;
  font-family: var(--kp-font);
}

.kp-team {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.kp-team__head {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.kp-team__head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  color: #111;
}

.kp-team__head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: #666;
}

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

.kp-team__card {
  min-width: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(20, 30, 50, 0.07);
  border: 1px solid rgba(17, 17, 17, 0.04);
}

.kp-team__photo {
  aspect-ratio: 1 / 1;
  background: #e8eef5;
  overflow: hidden;
}

.kp-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.kp-team__meta {
  padding: 14px 14px 16px;
  display: grid;
  gap: 4px;
}

.kp-team__meta strong {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
}

.kp-team__meta span {
  font-size: 14px;
  color: #777;
}

@media (max-width: 960px) {
  .kp-team__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .kp-team {
    padding: 0 16px;
  }

  .kp-team__head h2 {
    font-size: 24px;
  }

  .kp-team__head p {
    font-size: 15px;
  }

  .kp-team__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 0 16px 8px;
  }

  .kp-team__card {
    flex: 0 0 min(72vw, 240px);
    scroll-snap-align: start;
  }
}

/* --- Консультация менеджера --- */
.kp-consult-section {
  position: relative;
  z-index: 2;
  padding: 20px 20px 48px;
  background: #fff;
  font-family: var(--kp-font);
}

.kp-consult {
  max-width: 1120px;
  margin: 0 auto;
}

.kp-consult__card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(200px, 0.7fr);
  gap: 24px 32px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 14px 34px rgba(20, 30, 50, 0.08);
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.kp-consult__copy {
  min-width: 0;
}

.kp-consult__copy h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  color: #111;
}

.kp-consult__copy > p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.4;
  color: #666;
}

.kp-consult__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.kp-consult__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  background: #ffe16c;
  color: #111 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.kp-consult__call:hover {
  filter: brightness(0.97);
}

.kp-consult__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  min-width: 0;
}

.kp-consult__person img {
  width: min(180px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
}

.kp-consult__name {
  display: grid;
  gap: 2px;
}

.kp-consult__name strong {
  font-size: 15px;
  color: #111;
}

.kp-consult__name span {
  font-size: 13px;
  color: #777;
}

@media (max-width: 700px) {
  .kp-consult-section {
    padding: 12px 16px 40px;
  }

  .kp-consult__card {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 18px;
  }

  .kp-consult__copy h2 {
    font-size: 22px;
  }

  .kp-consult__actions {
    width: 100%;
  }

  .kp-consult__call {
    width: 100%;
  }

  .kp-consult__actions .kp-msgs {
    width: 100%;
  }

  .kp-consult__actions .kp-msgs__btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 10px;
    font-size: 12px;
  }

  .kp-consult__person {
    order: -1;
  }

  .kp-consult__person img {
    width: 140px;
  }
}

/* --- Этапы работы --- */
.kp-steps-section {
  position: relative;
  z-index: 2;
  padding: 48px 20px 40px;
  background: #fff;
  font-family: var(--kp-font);
}

.kp-steps {
  max-width: 1120px;
  margin: 0 auto;
}

.kp-steps__title {
  margin: 0 0 28px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  color: #111;
  text-align: center;
}

.kp-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kp-steps__card {
  position: relative;
  padding: 28px 22px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 12px 28px rgba(20, 30, 50, 0.07);
  overflow: hidden;
  min-height: 210px;
}

.kp-steps__num {
  position: absolute;
  top: 8px;
  left: 14px;
  font-size: 72px;
  line-height: 1;
  font-weight: 800;
  color: #f0f0f0;
  pointer-events: none;
  z-index: 0;
}

.kp-steps__card h3 {
  position: relative;
  z-index: 1;
  margin: 36px 0 12px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  color: #111;
}

.kp-steps__card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #555;
}

.kp-steps__phone {
  display: inline-block;
  margin-top: 8px;
  color: #ff8562;
  font-weight: 700;
  text-decoration: none;
}

.kp-steps__phone:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .kp-steps__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kp-steps__card {
    min-height: 0;
    padding: 22px 18px 18px;
  }

  .kp-steps__num {
    font-size: 56px;
  }

  .kp-steps__card h3 {
    margin-top: 28px;
    font-size: 18px;
  }
}

/* --- Что входит в уборку --- */
.kp-incl-section {
  position: relative;
  z-index: 2;
  padding: 24px 0 56px;
  background: #fff;
  font-family: var(--kp-font);
}

.kp-incl {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.kp-incl__head {
  margin-bottom: 22px;
  text-align: center;
}

.kp-incl__head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  color: #111;
}

.kp-incl__head p {
  margin: 0;
  font-size: 17px;
  color: #666;
}

.kp-incl__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kp-incl__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f4f8ff;
  border: 1px solid rgba(17, 17, 17, 0.05);
  box-shadow: 0 10px 24px rgba(20, 30, 50, 0.06);
}

.kp-incl__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #e8eef5;
  overflow: hidden;
}

.kp-incl__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.kp-incl__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 18px;
  flex: 1 1 auto;
}

.kp-incl__body h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #111;
}

.kp-incl__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  flex: 1 1 auto;
}

.kp-incl__body li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.35;
  color: #444;
}

.kp-incl__body li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #999;
}

.kp-incl__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: #ffe16c;
  color: #111 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.kp-incl__btn:hover {
  filter: brightness(0.97);
}

@media (max-width: 960px) {
  .kp-incl__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .kp-incl {
    padding: 0 16px;
  }

  .kp-incl__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .kp-incl__card {
    flex: 0 0 min(86vw, 300px);
    scroll-snap-align: start;
  }

  .kp-incl__media {
    aspect-ratio: 16 / 11;
  }
}

/* --- Услуги --- */
.kp-services-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(255, 225, 108, 0.18), transparent 55%),
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 70%);
  padding: 56px 20px 64px;
  font-family: var(--kp-font);
}

.kp-services {
  max-width: 1120px;
  margin: 0 auto;
}

.kp-services__head {
  max-width: 640px;
  margin: 0 0 28px;
}

.kp-services__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--kp-ink);
}

.kp-services__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #5b6470;
}

.kp-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Формат как у конкурентов: текст слева, портрет справа */
.kp-service {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(140px, 0.85fr);
  align-items: stretch;
  min-width: 0;
  min-height: 220px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 10px 28px rgba(20, 30, 50, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kp-service:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(20, 30, 50, 0.1);
}

.kp-service__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 18px 20px;
  min-width: 0;
}

.kp-service__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: #111;
}

.kp-service__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #5b6470;
}

.kp-service__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.kp-service__meta li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.35;
  color: #444;
}

.kp-service__meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kp-yellow);
}

.kp-service__meta span {
  color: #7a8490;
}

.kp-service__meta strong {
  color: #111;
  font-weight: 700;
}

.kp-service__foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.kp-service__price {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

.kp-service__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffe16c 0%, #f5c518 100%);
  color: #111 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 225, 108, 0.35);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.kp-service__btn:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
  color: #111 !important;
}

.kp-service__media {
  display: block;
  position: relative;
  min-width: 0;
  min-height: 100%;
  background: #eef1f5;
  overflow: hidden;
}

.kp-service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease;
}

.kp-service:hover .kp-service__media img {
  transform: scale(1.03);
}

@media (max-width: 960px) {
  .kp-services__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .kp-services-section {
    padding: 40px 16px 48px;
  }

  .kp-services__head {
    margin-bottom: 20px;
  }

  .kp-services__lead {
    font-size: 15px;
  }

  .kp-service {
    grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.9fr);
    min-height: 200px;
  }

  .kp-service__body {
    padding: 14px 12px 14px 14px;
    gap: 8px;
  }

  .kp-service__title {
    font-size: 18px;
  }

  .kp-service__desc {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .kp-service__meta li {
    font-size: 12px;
  }

  .kp-service__price {
    font-size: 16px;
  }

  .kp-service__btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }
}

/* --- Калькулятор --- */
.kp-calc-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: #fff;
  padding: 48px 20px 64px;
  font-family: var(--kp-font);
}

.kp-calc {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px 40px;
  align-items: stretch;
}

.kp-calc__visual {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kp-calc__title {
  margin: 0 0 20px;
  max-width: 560px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--kp-ink);
}

.kp-calc__photo {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.kp-calc__photo img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(20, 30, 50, 0.12));
}

.kp-calc__panel {
  background: linear-gradient(180deg, #eef5fb 0%, #f4f8ff 100%);
  border-radius: 24px;
  padding: 28px 26px 24px;
  box-shadow: 0 14px 36px rgba(20, 30, 50, 0.06);
  border: 1px solid rgba(17, 17, 17, 0.04);
}

.kp-calc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kp-calc-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.kp-calc-form__input {
  width: 100%;
  height: 46px;
  box-sizing: border-box;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 16px;
  color: #111;
  background: #fff;
  outline: none;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select.kp-calc-form__input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111' d='M1.2 1.2 6 6l4.8-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.kp-calc-form__input:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(255, 225, 108, 0.65);
}

.kp-calc-form__input.validate_error {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.45);
}

.kp-calc-form__btn {
  margin-top: 6px;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffe16c 0%, #f5c518 100%);
  color: #111;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 10px 22px rgba(255, 225, 108, 0.4);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.kp-calc-form__btn:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}

.kp-calc-form__note {
  margin: 2px 0 0;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

@media (max-width: 900px) {
  .kp-calc {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kp-calc__title {
    max-width: none;
    text-align: center;
  }

  .kp-calc__photo img {
    width: min(100%, 300px);
  }

  .kp-calc__panel {
    order: -1;
  }
}

@media (max-width: 560px) {
  .kp-calc-section {
    padding: 36px 16px 48px;
  }

  .kp-calc__panel {
    padding: 20px 16px 18px;
    border-radius: 18px;
  }

  .kp-calc-form__input {
    height: 44px;
    font-size: 15px;
  }

  .kp-calc-form__btn {
    min-height: 48px;
    font-size: 15px;
  }
}

/* --- Цены на работы --- */
#rec273945298,
#rec273557414,
#rec274168327 {
  display: none !important;
}

.kp-prices-section {
  position: relative;
  z-index: 2;
  padding: 56px 20px 64px;
  font-family: var(--kp-font);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 225, 108, 0.18), transparent 58%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 55%);
}

.kp-prices {
  max-width: 980px;
  margin: 0 auto;
}

.kp-prices__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.kp-prices__head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--kp-ink);
}

.kp-prices__head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: #5b6470;
}

.kp-prices__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 16px 36px rgba(20, 30, 50, 0.07);
}

.kp-prices__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}

.kp-prices__table thead th {
  padding: 16px 18px;
  text-align: left;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, #ffe16c 0%, #f5d04a 100%);
  white-space: nowrap;
}

.kp-prices__table thead th:first-child {
  border-radius: 20px 0 0 0;
}

.kp-prices__table thead th:last-child {
  border-radius: 0 20px 0 0;
}

.kp-prices__table tbody th,
.kp-prices__table tbody td {
  padding: 14px 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  color: #333;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}

.kp-prices__table tbody th {
  color: #111;
  font-weight: 700;
  background: #fafbfc;
  position: sticky;
  left: 0;
  z-index: 1;
}

.kp-prices__table tbody tr:hover td,
.kp-prices__table tbody tr:hover th {
  background: #fffdf2;
}

.kp-prices__table tbody tr:last-child th,
.kp-prices__table tbody tr:last-child td {
  font-size: 14px;
}

.kp-prices__note {
  margin: 14px 4px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #6b7280;
}

.kp-prices__cta {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 20px;
  background: #111;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.kp-prices__cta-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: min(100%, 260px);
}

.kp-prices__cta-copy strong {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.kp-prices__cta-copy span {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.kp-prices__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kp-prices__cta-actions .kp-btn--ghost {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22);
}

.kp-prices__cta-actions .kp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

@media (max-width: 700px) {
  .kp-prices-section {
    padding: 40px 16px 48px;
  }

  .kp-prices__head p {
    font-size: 15px;
  }

  .kp-prices__table {
    font-size: 13px;
    min-width: 560px;
  }

  .kp-prices__table thead th,
  .kp-prices__table tbody th,
  .kp-prices__table tbody td {
    padding: 12px 12px;
  }

  .kp-prices__cta {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .kp-prices__cta-copy strong {
    font-size: 18px;
  }

  .kp-prices__cta-actions {
    width: 100%;
  }

  .kp-prices__cta-actions .kp-btn {
    width: 100%;
  }
}

/* --- Отзывы + выполненные работы --- */
#rec273948803,
#rec346052816,
#rec346047448,
#rec273869827 {
  display: none !important;
}

.kp-social-proof {
  background: linear-gradient(180deg, #f5f7fa 0%, #fafbfc 40%, #ffffff 100%);
  padding: 56px 0 48px;
  font-family: var(--kp-font);
}

.kp-social-proof__head {
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 0 20px;
  text-align: center;
}

.kp-social-proof__lead {
  margin: 10px auto 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.45;
  color: #5b6470;
}

.kp-social-proof__head--works {
  margin-top: 56px;
}

.kp-social-proof__head h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--kp-ink);
}

.kp-reviews {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.55fr repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
  min-height: 340px;
}

.kp-review {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #1a1a1a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kp-review--main {
  min-height: 340px;
}

.kp-review:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.kp-review__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.kp-review:hover .kp-review__thumb {
  transform: scale(1.04);
}

.kp-review__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 38px;
  margin: -19px 0 0 -27px;
  border-radius: 10px;
  background: #ff0033;
  box-shadow: 0 6px 18px rgba(255, 0, 51, 0.35);
  transition: transform 0.2s ease;
}

.kp-review__play::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 11px;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
}

.kp-review:hover .kp-review__play {
  transform: scale(1.06);
}

.kp-review__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  line-height: 1.3;
}

.kp-review.is-playing {
  cursor: default;
}

.kp-review.is-playing:hover {
  transform: none;
}

.kp-review iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.kp-works {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.kp-works__item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8e8e8;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(20, 30, 50, 0.06);
}

.kp-works__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
  pointer-events: none;
}

.kp-works__item:hover img {
  transform: scale(1.05);
}

html.kp-lb-open,
html.kp-lb-open body {
  overflow: hidden;
}

.kp-lightbox[hidden] {
  display: none !important;
}

.kp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.kp-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(10, 12, 16, 0.88);
  cursor: pointer;
}

.kp-lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 100%);
  max-height: min(90vh, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kp-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(86vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  background: #111;
}

.kp-lightbox__close,
.kp-lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.kp-lightbox__close {
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 28px;
  z-index: 2;
}

.kp-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 30px;
}

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

@media (max-width: 640px) {
  .kp-lightbox {
    padding: 12px;
  }

  .kp-lightbox__close {
    top: 8px;
    right: 8px;
  }

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

  .kp-lightbox__img {
    max-height: 78vh;
    border-radius: 8px;
  }
}

@media (max-width: 960px) {
  .kp-reviews {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }
  .kp-review,
  .kp-review--main {
    min-height: 0;
  }
  .kp-review--main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
  .kp-review--short {
    aspect-ratio: 9 / 14;
  }
  .kp-works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 16px;
  }

  .kp-works__item {
    border-radius: 12px;
  }

  .kp-social-proof__lead {
    font-size: 14px;
    padding: 0 12px;
  }
}

@media (max-width: 560px) {
  .kp-social-proof {
    padding: 40px 0 32px;
  }
  .kp-reviews {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 12px;
  }
  .kp-review__play {
    width: 44px;
    height: 30px;
    margin: -15px 0 0 -22px;
    border-radius: 8px;
  }
  .kp-review__play::before {
    left: 17px;
    top: 8px;
    border-width: 7px 0 7px 11px;
  }
}

/* --- Что получите (главная) --- */
.kp-benefits-section {
  position: relative;
  z-index: 2;
  padding: 64px 20px 88px;
  margin-bottom: 8px;
  font-family: var(--kp-font);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 225, 108, 0.2), transparent 58%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 60%);
}

.kp-get {
  max-width: 1120px;
  margin: 0 auto;
}

.kp-get__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.kp-get__head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--kp-ink);
}

.kp-get__head span {
  background: #ffe16c;
  padding: 0 8px;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.kp-get__head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: #5b6470;
}

.kp-get__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.kp-get__card {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 12px 28px rgba(20, 30, 50, 0.06);
}

.kp-get__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #ffe16c;
  color: #111;
}

.kp-get__icon svg {
  width: 22px;
  height: 22px;
}

.kp-get__card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  color: #111;
}

.kp-get__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #5b6470;
}

.kp-get__checks {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 14px;
}

.kp-get__checks li {
  position: relative;
  padding: 12px 14px 12px 36px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 17, 17, 0.06);
  font-size: 14px;
  line-height: 1.35;
  color: #222;
  font-weight: 600;
}

.kp-get__checks li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 1.05em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffe16c;
  box-shadow: 0 0 0 3px rgba(255, 225, 108, 0.35);
}

.kp-get__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  margin-top: 8px;
  padding: 26px 28px;
  border-radius: 20px;
  background: #111;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.kp-get__cta-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 280px;
  min-width: min(100%, 280px);
  max-width: 420px;
}

.kp-get__cta-copy strong {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.kp-get__cta-copy span {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.kp-get__cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 1 1 320px;
  justify-content: flex-end;
}

.kp-get__cta-actions .kp-btn {
  min-height: 46px;
  padding: 0 16px;
  font-size: 15px;
}

.kp-get__cta-actions .kp-btn--ghost {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22);
}

.kp-get__cta-actions .kp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

.kp-get__cta-actions .kp-msgs {
  width: 100%;
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .kp-get__grid,
  .kp-get__checks {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .kp-benefits-section {
    padding: 40px 16px 56px;
  }

  .kp-get__head p {
    font-size: 15px;
  }

  .kp-get__grid,
  .kp-get__checks {
    grid-template-columns: 1fr;
  }

  .kp-get__checks {
    margin-bottom: 32px;
  }

  .kp-get__cta {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .kp-get__cta-copy strong {
    font-size: 18px;
  }

  .kp-get__cta-actions {
    width: 100%;
    justify-content: stretch;
  }

  .kp-get__cta-actions .kp-btn {
    width: 100%;
  }

  .kp-get__cta-actions .kp-msgs {
    width: 100%;
    justify-content: stretch;
  }

  .kp-get__cta-actions .kp-msgs__btn {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 0;
    padding: 0 10px;
  }
}

/* Старый Tilda FAQ — не показывать (Tilda JS иначе включает по data-screen-*) */
#rec275749044,
#rec273573594,
#rec273980435,
#rec274170945,
.kp-old-faq {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Старый Tilda FAQ — Tilda JS иначе включает его по data-screen-* */
#rec275749044,
#rec273573594,
#rec273980435,
#rec274170945,
.kp-old-faq {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* --- FAQ --- */
.kp-faq-section {
  position: relative;
  z-index: 2;
  padding: 64px 20px 72px;
  font-family: var(--kp-font);
  background:
    radial-gradient(ellipse 60% 45% at 15% 20%, rgba(255, 225, 108, 0.16), transparent 55%),
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 70%);
}

.kp-faq {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px 40px;
  align-items: start;
}

.kp-faq__aside h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--kp-ink);
}

.kp-faq__lead {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.45;
  color: #5b6470;
  max-width: 34ch;
}

.kp-faq__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(120px, 0.85fr);
  gap: 14px;
  align-items: stretch;
  min-height: 0;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 18px 40px rgba(20, 30, 50, 0.08);
  overflow: hidden;
}

.kp-faq__card-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 6px 0 6px 4px;
}

.kp-faq__card-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #222;
}

.kp-faq__card-copy strong {
  display: inline;
  padding: 1px 6px;
  border-radius: 5px;
  background: #ffe16c;
  color: #111;
  font-weight: 800;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.kp-faq__card-copy .kp-btn {
  min-height: 46px;
  padding: 0 18px;
  font-size: 15px;
  border-radius: 14px;
}

.kp-faq__phone,
.kp-faq__msg {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  line-height: 1.3;
}

.kp-faq__msg {
  color: #1f8fc9;
}

.kp-faq__msg:hover {
  text-decoration: underline;
}

.kp-faq__card-photo {
  position: relative;
  min-width: 0;
  min-height: 220px;
  max-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: #f1f3f5;
}

.kp-faq__card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.kp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.kp-faq__item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 8px 20px rgba(20, 30, 50, 0.05);
  overflow: visible;
}

.kp-faq__item.is-open {
  box-shadow: 0 12px 28px rgba(20, 30, 50, 0.08);
}

.kp-faq__q {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 36px;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #111;
}

.kp-faq__num {
  font-size: 17px;
  font-weight: 800;
  line-height: 36px;
  color: #c9a227;
  text-align: left;
}

.kp-faq__q-text {
  min-width: 0;
  padding-top: 7px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.kp-faq__toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--kp-yellow);
  position: relative;
  flex: 0 0 36px;
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.28);
}

.kp-faq__toggle::before,
.kp-faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.kp-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.15s ease;
}

.kp-faq__item.is-open .kp-faq__toggle::after {
  opacity: 0;
}

.kp-faq__a {
  padding: 0 18px 16px 58px;
}

.kp-faq__a[hidden] {
  display: none !important;
}

.kp-faq__a p {
  margin: 0;
  padding-top: 2px;
  font-size: 15px;
  line-height: 1.5;
  color: #5b6470;
}

@media (max-width: 960px) {
  .kp-faq-section {
    padding: 48px 20px 56px;
  }

  /* Планшет/мобила: заголовок → вопросы → карточка (фото не перекрывает FAQ) */
  .kp-faq {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .kp-faq__aside {
    display: contents;
  }

  .kp-faq__aside h2 {
    order: 1;
    margin: 0;
  }

  .kp-faq__lead {
    order: 2;
    margin: 0;
    max-width: none;
  }

  .kp-faq__list {
    order: 3;
  }

  .kp-faq__card {
    order: 4;
    grid-template-columns: 1fr;
    padding: 0 0 16px;
  }

  .kp-faq__card-copy {
    padding: 0 16px;
    align-items: stretch;
  }

  .kp-faq__card-copy .kp-btn,
  .kp-faq__phone,
  .kp-faq__msg,
  .kp-faq__card-copy .kp-msgs {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .kp-faq__card-photo {
    order: -1;
    aspect-ratio: 16 / 10;
    min-height: 0;
    max-height: 220px;
    height: auto;
    border-radius: 22px 22px 0 0;
  }

  .kp-faq__card-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }
}

@media (max-width: 640px) {
  .kp-faq-section {
    padding: 40px 16px 48px;
  }

  .kp-faq {
    gap: 18px;
  }

  .kp-faq__aside h2 {
    font-size: 26px;
  }

  .kp-faq__lead {
    font-size: 15px;
  }

  .kp-faq__card-photo {
    max-height: 180px;
  }

  .kp-faq__q {
    grid-template-columns: 26px minmax(0, 1fr) 34px;
    gap: 10px;
    padding: 14px 14px;
  }

  .kp-faq__num {
    font-size: 15px;
    line-height: 34px;
  }

  .kp-faq__toggle {
    width: 34px;
    height: 34px;
  }

  .kp-faq__q-text {
    font-size: 15px;
    padding-top: 6px;
  }

  .kp-faq__a {
    padding: 0 14px 14px 50px;
  }
}

/* --- Страница «после ремонта»: скрыть старые стены текста --- */
#rec262494573,
#rec262813243,
#rec262811991,
#rec262829149,
#rec262828611,
#rec262497323,
#rec262525586,
#rec262525492,
#rec262505582,
#rec263007812,
#rec262512817,
#rec262515056,
#rec262516224,
#rec262519298,
#rec263117029,
#rec262910660,
#rec262800532,
#rec262800405 {
  display: none !important;
}

/* --- Галерея работ после калькулятора --- */
.kp-rm-gallery-section {
  position: relative;
  z-index: 2;
  padding: 48px 20px 56px;
  font-family: var(--kp-font);
  background: #fff;
}

.kp-rm-gallery {
  max-width: 1120px;
  margin: 0 auto;
}

.kp-rm-gallery__head {
  text-align: center;
  margin-bottom: 28px;
}

.kp-rm-gallery__head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--kp-ink);
}

.kp-rm-gallery__head p {
  margin: 0 auto;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--kp-muted);
}

.kp-rm-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kp-rm-gallery__item {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #eef2f6;
  box-shadow: 0 8px 20px rgba(20, 30, 50, 0.06);
}

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

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

@media (max-width: 900px) {
  .kp-rm-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .kp-rm-gallery-section {
    padding: 36px 16px 44px;
  }

  .kp-rm-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .kp-rm-gallery__item {
    border-radius: 12px;
    aspect-ratio: 1;
  }
}

/* --- Что получите + О компании (remonta) --- */
.kp-rm-get-section {
  position: relative;
  z-index: 2;
  padding: 56px 20px 40px;
  font-family: var(--kp-font);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 225, 108, 0.18), transparent 58%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.kp-rm-get {
  max-width: 980px;
  margin: 0 auto;
}

.kp-rm-get__head {
  text-align: center;
  margin-bottom: 28px;
}

.kp-rm-get__head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--kp-ink);
}

.kp-rm-get__head span {
  background: #ffe16c;
  padding: 0 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.kp-rm-get__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
  margin-bottom: 22px;
}

.kp-rm-get__benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.kp-rm-get__num {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffe16c;
  color: #111;
  font-weight: 700;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kp-rm-get__benefit p {
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 1.4;
  color: #222;
}

.kp-rm-get__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}

.kp-rm-get__list li {
  position: relative;
  padding: 14px 16px 14px 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 17, 17, 0.06);
  font-size: 15px;
  line-height: 1.4;
  color: #222;
}

.kp-rm-get__list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 1.1em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffe16c;
  box-shadow: 0 0 0 3px rgba(255, 225, 108, 0.35);
}

.kp-rm-get__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 12px 28px rgba(20, 30, 50, 0.06);
}

.kp-rm-get__cta p {
  margin: 0;
  flex: 1 1 auto;
  min-width: min(100%, 220px);
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.kp-rm-get__phone {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}

.kp-rm-get__phone:hover {
  color: #333;
}

.kp-rm-about-section {
  position: relative;
  z-index: 2;
  padding: 40px 20px 64px;
  font-family: var(--kp-font);
  background: #fff;
}

.kp-rm-about {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px 48px;
  align-items: center;
}

.kp-rm-about__copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--kp-ink);
}

.kp-rm-about__copy p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.55;
  color: #333;
}

.kp-rm-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.kp-rm-about__visual {
  position: relative;
  min-width: 0;
}

.kp-rm-about__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(20, 30, 50, 0.12);
}

.kp-rm-about__logo {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: min(46%, 200px);
  height: auto;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 10px 24px rgba(20, 30, 50, 0.12);
}

@media (max-width: 900px) {
  .kp-rm-get__benefits,
  .kp-rm-get__list,
  .kp-rm-about {
    grid-template-columns: 1fr;
  }

  .kp-rm-about__visual {
    order: -1;
  }
}

@media (max-width: 560px) {
  .kp-rm-get-section,
  .kp-rm-about-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .kp-rm-get {
    max-width: 100%;
    overflow-x: clip;
  }

  .kp-rm-get__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .kp-rm-get__cta p {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
  }

  .kp-rm-get__phone,
  .kp-rm-get__cta .kp-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .kp-rm-get__cta .kp-msgs {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .kp-rm-get__cta .kp-msgs__btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 6px !important;
    font-size: 11px !important;
  }

  .kp-rm-about__actions .kp-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* --- Контент remonta --- */
.kp-rm-section {
  position: relative;
  z-index: 2;
  padding: 56px 20px;
  font-family: var(--kp-font);
  background: #fff;
}

.kp-rm-why,
.kp-rm-whyus,
.kp-rm-include,
.kp-why-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 225, 108, 0.16), transparent 55%),
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 70%);
}

.kp-why-section {
  position: relative;
  z-index: 2;
  padding: 56px 20px;
  font-family: var(--kp-font);
}

@media (max-width: 560px) {
  .kp-why-section {
    padding: 40px 16px 48px;
  }

  .kp-why-section .kp-rm-cards--4 {
    grid-template-columns: 1fr;
  }
}

.kp-rm-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.kp-rm-head {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.kp-rm-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--kp-ink);
}

.kp-rm-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: #5b6470;
}

.kp-rm-cards {
  display: grid;
  gap: 14px;
  align-items: start;
}

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

.kp-rm-cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kp-rm-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px 18px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 12px 30px rgba(20, 30, 50, 0.06);
  height: auto;
  align-self: start;
}

.kp-rm-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(160deg, #fff6c8 0%, var(--kp-yellow) 100%);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(255, 225, 108, 0.4);
}

.kp-rm-card__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.kp-rm-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--kp-yellow);
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.kp-rm-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
  color: #111;
}

.kp-rm-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #5b6470;
}

.kp-rm-card--soft {
  min-height: unset;
}

.kp-rm-photos {
  padding-top: 8px;
  padding-bottom: 8px;
}

.kp-rm-photos__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kp-rm-photos__grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 10px 24px rgba(20, 30, 50, 0.08);
}

.kp-rm-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  counter-reset: rmstep;
}

.kp-rm-steps__list li {
  counter-increment: rmstep;
  position: relative;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 18px;
  padding: 18px 16px 16px 68px;
  box-shadow: 0 10px 24px rgba(20, 30, 50, 0.05);
}

.kp-rm-steps__list li::before {
  content: counter(rmstep);
  position: absolute;
  left: 16px;
  top: 20px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe16c 0%, #f5c518 100%);
  color: #111;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kp-rm-steps__list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: #111;
}

.kp-rm-steps__list span {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: #5b6470;
}

.kp-rm-equip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.kp-rm-equip__item {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 10px 24px rgba(20, 30, 50, 0.05);
}

.kp-rm-equip__item img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
}

.kp-rm-equip__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: #222;
}

.kp-rm-include__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.kp-rm-include__col {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 12px 28px rgba(20, 30, 50, 0.05);
}

.kp-rm-include__col--accent {
  border-color: rgba(255, 225, 108, 0.8);
  box-shadow: 0 14px 32px rgba(255, 225, 108, 0.28);
}

.kp-rm-include__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--kp-yellow);
  color: #111;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.kp-rm-include__col h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #111;
}

.kp-rm-include__price {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.3;
  color: #333;
}

.kp-rm-include__price strong {
  font-size: 22px;
  font-weight: 800;
  color: #111;
}

.kp-rm-include__for {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.35;
  color: #6b7280;
}

.kp-rm-include__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.kp-rm-include__col li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.4;
  color: #444;
}

.kp-rm-include__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--kp-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23111' d='M6.3 11.5 2.8 8l1.2-1.2 2.3 2.3 5-5L12.5 5.3z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.kp-rm-note {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff8d6;
  border: 1px solid rgba(255, 225, 108, 0.7);
  font-size: 14px;
  line-height: 1.45;
  color: #333;
}

.kp-rm-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 960px) {
  .kp-rm-cards--3,
  .kp-rm-cards--4,
  .kp-rm-steps__list,
  .kp-rm-equip__grid,
  .kp-rm-include__grid,
  .kp-rm-photos__grid {
    grid-template-columns: 1fr 1fr;
  }

  .kp-rm-cards,
  .kp-rm-steps__list,
  .kp-rm-equip__grid,
  .kp-rm-include__grid {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .kp-rm-section {
    padding: 36px 16px;
  }

  .kp-rm-cards--3,
  .kp-rm-cards--4,
  .kp-rm-steps__list,
  .kp-rm-equip__grid,
  .kp-rm-include__grid,
  .kp-rm-photos__grid {
    grid-template-columns: 1fr;
  }

  .kp-rm-photos__grid {
    grid-template-columns: 1fr 1fr;
  }

  .kp-rm-steps__list {
    gap: 10px;
  }

  .kp-rm-steps__list li {
    min-height: 0;
    padding: 14px 14px 14px 60px;
    border-radius: 14px;
  }

  .kp-rm-steps__list li::before {
    left: 12px;
    top: 14px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .kp-rm-steps__list strong {
    margin-bottom: 4px;
    font-size: 15px;
  }

  .kp-rm-steps__list span {
    font-size: 13px;
  }

  .kp-rm-cards {
    gap: 10px;
  }

  .kp-rm-card,
  .kp-rm-card--soft {
    min-height: 0 !important;
    height: auto !important;
    padding: 14px 14px;
    border-radius: 14px;
  }

  .kp-rm-card h3 {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .kp-rm-card p {
    font-size: 13px;
    line-height: 1.4;
  }

  .kp-rm-whyus .kp-rm-head {
    margin-bottom: 18px;
  }

  .kp-rm-cta .kp-btn {
    width: auto;
    max-width: 100%;
  }

  .kp-rm-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- Онлайн-калькулятор (после ремонта) --- */
.kp-rm-calc-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 225, 108, 0.18), transparent 60%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 48%, #f4f7fb 100%);
  padding: 56px 20px 40px;
  font-family: var(--kp-font);
}

.kp-rm-calc {
  max-width: 980px;
  margin: 0 auto;
}

.kp-rm-calc__head {
  text-align: center;
  margin-bottom: 28px;
}

.kp-rm-calc__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--kp-ink);
}

.kp-rm-calc__lead {
  margin: 0 auto;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--kp-muted);
}

.kp-rm-calc__form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.kp-rm-calc__step {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.kp-rm-calc__step legend {
  padding: 0;
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--kp-ink);
}

.kp-rm-calc__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 14px;
  max-width: 640px;
}

.kp-rm-calc__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin: 0;
}

.kp-rm-calc__card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kp-rm-calc__card-media {
  display: block;
  width: 88px;
  height: 88px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #eef3f8;
  border: 2px solid transparent;
  box-shadow: 0 6px 14px rgba(20, 30, 50, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.kp-rm-calc__card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kp-rm-calc__card-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  line-height: 1.25;
}

.kp-rm-calc__card:hover .kp-rm-calc__card-media {
  transform: translateY(-2px);
}

.kp-rm-calc__card input:checked + .kp-rm-calc__card-media {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(255, 225, 108, 0.7), 0 10px 22px rgba(20, 30, 50, 0.08);
}

.kp-rm-calc__range input[type="range"] {
  width: 100%;
  accent-color: #111;
}

.kp-rm-calc__range-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 13px;
  color: #6b7280;
}

.kp-rm-calc__range-meta strong {
  font-size: 18px;
  color: var(--kp-ink);
}

.kp-rm-calc__extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.kp-rm-calc__extra {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(17, 17, 17, 0.08);
  cursor: pointer;
  font-size: 14px;
  color: #222;
}

.kp-rm-calc__extra input {
  width: 18px;
  height: 18px;
  accent-color: #111;
}

.kp-rm-calc__extra em {
  font-style: normal;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.kp-rm-calc__phone {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 360px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.kp-rm-calc__phone input {
  height: 48px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  background: #fff;
}

.kp-rm-calc__phone input:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(255, 225, 108, 0.65);
}

.kp-rm-calc__bar {
  position: sticky;
  bottom: 12px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 8px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 14px 36px rgba(20, 30, 50, 0.12);
  backdrop-filter: blur(8px);
  box-sizing: border-box;
  max-width: 100%;
}

.kp-rm-calc__total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  font-size: 15px;
  color: #444;
}

.kp-rm-calc__total strong {
  font-size: 28px;
  line-height: 1;
  color: var(--kp-ink);
  min-width: 140px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #f3f5f8;
}

.kp-rm-calc__btn {
  min-height: 52px;
  min-width: 220px;
  border: 0;
  border-radius: 14px;
  padding: 0 22px;
  background: linear-gradient(135deg, #ffe16c 0%, #f5c518 100%);
  color: #111;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(255, 225, 108, 0.4);
  transition: filter 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
}

.kp-rm-calc__btn:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}

@media (max-width: 800px) {
  .kp-rm-calc__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }

  .kp-rm-calc__card-media {
    width: 72px;
    height: 72px;
  }

  .kp-rm-calc__extras {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .kp-rm-calc-section {
    padding: 40px 16px 28px;
  }

  .kp-rm-calc__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
  }

  .kp-rm-calc__card-media {
    width: 76px;
    height: 76px;
  }

  .kp-rm-calc__bar {
    flex-direction: column;
    align-items: stretch;
    bottom: 8px;
  }

  .kp-rm-calc__total {
    justify-content: space-between;
  }

  .kp-rm-calc__btn {
    width: 100%;
    min-width: 0;
  }

  .kp-rm-calc__bar {
    bottom: max(8px, env(safe-area-inset-bottom));
  }

  .kp-rm-calc__extra {
    font-size: 13px;
    padding: 10px;
  }

  .kp-rm-get__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .kp-rm-get__cta p {
    flex: 0 0 auto;
    min-width: 0;
  }

  .kp-rm-get__phone {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .kp-footer__phone {
    font-size: 24px;
    word-break: break-word;
  }

  .t-popup__container {
    max-width: calc(100vw - 24px) !important;
  }
}

/* --- Попап заказа --- */
.kp-order-popup.t-popup {
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  background: rgba(12, 16, 24, 0.62) !important;
  backdrop-filter: blur(4px);
}

.kp-order-popup .t-popup__close,
.kp-order-popup__close {
  top: 14px !important;
  right: 14px !important;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.06);
  color: #333;
  cursor: pointer;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kp-order-popup .t-popup__close-icon {
  fill: currentColor;
}

.kp-order-popup__container.t-popup__container,
.kp-order-popup .kp-order-popup__container {
  width: min(920px, calc(100vw - 24px)) !important;
  max-width: 920px !important;
  padding: 0 !important;
  border-radius: 24px !important;
  overflow: hidden;
  background: #fff !important;
  box-shadow: 0 28px 80px rgba(10, 16, 28, 0.28);
  font-family: var(--kp-font);
}

.kp-order {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  min-height: 420px;
}

.kp-order__main {
  padding: 36px 32px 28px;
}

.kp-order__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  color: #111;
}

.kp-order__lead {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.45;
  color: #5b6470;
  max-width: 38ch;
}

.kp-order__messengers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.kp-order__msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.kp-order__msg:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.kp-order__msg svg,
.kp-order__msg-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.kp-order__msg--tg {
  background: #2aabee;
}

.kp-order__msg--wa {
  background: #25d366;
}

.kp-order__msg--max {
  background: #111;
}

.kp-order__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 18px;
  color: #8a93a0;
  font-size: 13px;
}

.kp-order__or::before,
.kp-order__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(17, 17, 17, 0.1);
}

.kp-order__label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3a4250;
}

.kp-order__input.t-input,
.kp-order__input {
  width: 100% !important;
  height: 56px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(17, 17, 17, 0.12) !important;
  border-radius: 16px !important;
  background: #f4f6f8 !important;
  color: #111 !important;
  font-size: 17px !important;
  font-family: var(--kp-font) !important;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.kp-order__input:focus {
  outline: none;
  background: #fff !important;
  border-color: #111 !important;
  box-shadow: 0 0 0 3px rgba(255, 225, 108, 0.55);
}

.kp-order__submit.t-submit,
.kp-order__submit {
  width: 100% !important;
  min-height: 56px !important;
  margin-top: 12px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #ffe16c !important;
  color: #111 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  font-family: var(--kp-font) !important;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 193, 7, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
}

.kp-order__submit:hover {
  background: #f5d756 !important;
  transform: translateY(-1px);
}

.kp-order__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
  cursor: pointer;
}

.kp-order__agree input {
  margin-top: 2px;
  accent-color: #111;
}

.kp-order__success {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eefaf1;
  color: #176b3a;
}

.kp-order__aside {
  padding: 36px 28px 28px;
  background:
    radial-gradient(ellipse 80% 60% at 30% 0%, rgba(255, 225, 108, 0.45), transparent 60%),
    linear-gradient(180deg, #1a1d24 0%, #111418 100%);
  color: #fff;
}

.kp-order__aside-title {
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
}

.kp-order__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kp-order__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 0 0 22px;
}

.kp-order__steps li:not(.is-last)::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.kp-order__step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.kp-order__steps li.is-last .kp-order__step-num {
  background: #ffe16c;
  border-color: #ffe16c;
  color: #111;
}

.kp-order__step-text {
  padding-top: 3px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.kp-order__steps li.is-last .kp-order__step-text {
  color: #ffe16c;
  font-weight: 700;
}

@media (max-width: 820px) {
  .kp-order {
    grid-template-columns: 1fr;
  }

  .kp-order__main {
    padding: 28px 20px 20px;
  }

  .kp-order__aside {
    padding: 22px 20px 24px;
  }

  .kp-order__lead {
    max-width: none;
  }

  .kp-order__steps li {
    padding-bottom: 16px;
  }
}

@media (max-width: 560px) {
  .kp-order-popup__container.t-popup__container,
  .kp-order-popup .kp-order-popup__container {
    max-height: calc(100vh - 24px);
    overflow: auto;
    border-radius: 18px !important;
  }

  .kp-order__title {
    font-size: 26px;
    padding-right: 36px;
  }

  .kp-order__messengers {
    grid-template-columns: 1fr;
  }
}

/* --- Результаты до/после (remonta) --- */
.kp-rm-results-section {
  position: relative;
  z-index: 2;
  padding: 40px 16px 28px;
  font-family: var(--kp-font);
  background: #fff;
}

.kp-rm-results {
  max-width: 920px;
  margin: 0 auto;
}

.kp-rm-results__head {
  text-align: center;
  margin: 0 auto 22px;
  max-width: 640px;
}

.kp-rm-results__head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--kp-ink);
}

.kp-rm-results__head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #5b6470;
}

.kp-rm-results__slider {
  position: relative;
  padding: 0 44px 28px;
}

.kp-rm-results__viewport {
  overflow: hidden;
  border-radius: 16px;
  background: #f3f5f8;
}

.kp-rm-results__track {
  position: relative;
}

.kp-rm-results__slide {
  display: none;
  margin: 0;
}

.kp-rm-results__slide.is-active {
  display: block;
}

.kp-rm-results__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 860 / 520;
  object-fit: contain;
  background: #f3f5f8;
}

.kp-rm-results__arrow {
  position: absolute;
  top: calc(50% - 28px);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #ffcb3b;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.kp-rm-results__arrow--prev { left: 0; }
.kp-rm-results__arrow--next { right: 0; }

.kp-rm-results__arrow:hover {
  filter: brightness(0.97);
}

.kp-rm-results__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.kp-rm-results__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #c7c7c7;
  cursor: pointer;
}

.kp-rm-results__dot.is-active {
  background: #111;
}

@media (max-width: 560px) {
  .kp-rm-results-section {
    padding: 28px 12px 16px;
  }

  .kp-rm-results__slider {
    padding: 0 36px 20px;
  }

  .kp-rm-results__arrow {
    width: 36px;
    height: 36px;
    top: calc(50% - 30px);
  }

  .kp-rm-results__head p {
    font-size: 14px;
  }
}
