/* ===== HERO — ДТП и страховые споры (минимализм) ===== */

.dtp-hero {
  margin-top: 125px;              /* отступ под фиксированный header */
  padding: 160px 0 120px;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.dtp-hero__inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.dtp-hero__content {
  max-width: 720px;
}

/* маленький верхний тег */
.dtp-hero__kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8A8F96;
  margin-bottom: 14px;
}

/* заголовок — тот же шрифт, что и везде (RFDewiExtended через var(--font-main)) */
.dtp-hero__title {
  font-family: var(--font-main);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: #172833; /* var(--ink), но напрямую чтобы не дублировать */
  margin-bottom: 24px;
}

/* основной текст */
.dtp-hero__lead {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  max-width: 540px;
  margin-bottom: 28px;
}

/* небольшие чипы-преимущества под текстом */
.dtp-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.dtp-chip {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f5f6f7;
  color: #172833;
  border: 1px solid rgba(0,0,0,0.04);
}

/* кнопка */
.dtp-hero__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  background: #913661;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease,
              box-shadow 0.25s ease;
}

.dtp-hero__btn:hover {
  background: #CA578D;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(145, 54, 97, 0.22);
}

/* простой адаптив */
@media (max-width: 768px) {
  .dtp-hero {
    padding: 140px 0 80px;
  }

  .dtp-hero__title {
    font-size: 38px;
  }

  .dtp-hero__lead {
    font-size: 16px;
  }
}

/* ===== HERO — с фото справа (чистая версия) ===== */

/* 2 колонки: слева текст, справа фото */
.dtp-hero__inner {
  display: grid;
  grid-template-columns: 1fr auto; /* авто-ширина для картинки */
  align-items: center;
  gap: 60px;
}

/* блок фотографии */
.dtp-hero__image-block {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;      /* чтобы обрезало края если есть */
  border-radius: 0;      /* никаких закруглений */
  width: auto;
  height: auto;

  /* теперь ты регулируешь сам: */
  max-width: 470px;      /* можешь менять на любое значение */
  max-height: 470px;     /* можешь менять на любое значение */
}

/* картинка */
.dtp-hero__image {
  width: 110%;
  height: 110%;
  object-fit: cover;      /* всегда красиво заполняет */
  object-position: center;
  display: block;
}

/* адаптив */
@media (max-width: 900px) {
  .dtp-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dtp-hero__image-block {
    max-width: 100%;      /* фото занимает всю ширину */
    max-height: 300px;    /* можешь менять */
  }
}






















/* ===== ВЕРТИКАЛЬНАЯ ЛИНИЯ С АНИМАЦИЕЙ ===== */

.dtp-steps {
  padding: 140px 0;
  background: #ffffff;
}

.dtp-steps__title {
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 700;
  color: #172833;
  margin-bottom: 60px;
}

/* обёртка */
.dtp-steps__wrapper {
  position: relative;
  padding-left: 60px;
}

/* вертикальная линия */
.dtp-steps__line {
  position: absolute;
  top: 0;
  left: 18px;
  width: 2px;
  height: 100%;
  background: #e3e3e3;
}

/* контейнер пунктов */
.dtp-steps__items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* один пункт */
.dtp-step {
  position: relative;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(.25, .1, .25, 1);
}

/* активный */
.dtp-step.active {
  transform: translateY(0);
  opacity: 1;
}

/* точка */
.dtp-step__dot {
  position: absolute;
  left: -48px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: #CA578D;
  border-radius: 50%;
}

/* текст */
.dtp-step__text {
  font-size: 18px;
  line-height: 1.65;
  color: #172833;
  max-width: 720px;
}


/* адаптив */
@media (max-width: 768px) {
  .dtp-steps {
    padding: 100px 0;
  }

  .dtp-steps__title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .dtp-steps__wrapper {
    padding-left: 28px;
  }

  .dtp-steps__line {
    left: 8px;
  }

  .dtp-step__dot {
    left: -25px;
    width: 12px;
    height: 12px;
  }

  .dtp-step__text {
    font-size: 16px;
  }
}






















/* ===== БЛОК 3: 8 причин (новый вариант) ===== */

.dtp-reasons {
  padding: 120px 0;
  background: #ffffff;
}

.dtp-reasons__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 40px;
  padding: 56px 52px;
  border-radius: 32px;
  background: #f5f6fb; /* светлая плашка, отличающаяся от фона */
}

/* левая часть */
.dtp-reasons__left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dtp-reasons__kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A8F96;
}

.dtp-reasons__title {
  font-family: var(--font-main);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  color: #172833;
  max-width: 420px;
}

.dtp-reasons__subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: #4A4F55;
  max-width: 460px;
}

.dtp-reasons__btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 999px;
  background: #913661;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
  width: fit-content;
}

.dtp-reasons__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(202, 87, 141, 0.35);
  background: #CA578D;
}

/* правая часть */
.dtp-reasons__right {
  display: flex;
  align-items: stretch;
}

.dtp-reasons__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  width: 100%;
}

/* одна причина */
.dtp-reason {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transform: translateY(26px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(.22,.61,.36,1),
              opacity 0.6s cubic-bezier(.22,.61,.36,1);
}

.dtp-reason.visible {
  transform: translateY(0);
  opacity: 1;
}

.dtp-reason__header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.dtp-reason__index {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #C0C3D2;
}

.dtp-reason__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A8F96;
}

/* подсветка для разных типов */
.dtp-reason__label--free {
  color: #1f7a4d;
}

.dtp-reason__label--fast {
  color: #b45b15;
}

.dtp-reason__label--safe {
  color: #334155;
}

.dtp-reason__text {
  font-size: 14px;
  line-height: 1.6;
  color: #2d3238;
}

/* адаптив */
@media (max-width: 1100px) {
  .dtp-reasons__panel {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    gap: 30px;
  }

  .dtp-reasons__title {
    max-width: 100%;
  }

  .dtp-reasons__subtitle {
    max-width: 100%;
  }
}

@media (max-width: 800px) {
  .dtp-reasons {
    padding: 90px 0;
  }

  .dtp-reasons__panel {
    border-radius: 24px;
  }

  .dtp-reasons__grid {
    grid-template-columns: 1fr;
    gap: 18px 0;
  }
}

@media (max-width: 480px) {
  .dtp-reasons__title {
    font-size: 24px;
  }

  .dtp-reason__index {
    font-size: 16px;
  }

  .dtp-reason__text {
    font-size: 13px;
  }
}

















/* ===== ТЁМНЫЙ БЛОК ЛЕСТНИЦЫ ===== */

.dtp-ladder-section.dark {
  padding: 140px 0 0; /* снизу 0 */
  background: #0F161C;
}


.dtp-ladder-head {
  margin-bottom: 60px;
  text-align: left;
}

.dtp-ladder-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6e7680;
  margin-bottom: 10px;
}

.dtp-ladder-title {
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
}

/* Горизонтальный скролл */
.dtp-ladder-wrapper {
  overflow-x: auto;
  padding-bottom: 50px; /* нужно, чтобы текст не прилипал */
}

/* Горизонтальная лестница */
.dtp-ladder {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 0;
}

/* ===== СТУПЕНЬКА ===== */
.dtp-ladder-step {
  width: 140px;
  background: #1A232B;
  border-radius: 14px 14px 0 0;
  border: 1px solid rgba(255,255,255,0.06);

  height: 0;
  opacity: 0;
  transform: translateY(50px);

  transition:
    height .9s cubic-bezier(.22,.61,.36,1),
    opacity .5s ease,
    transform .5s ease,
    background .25s ease;
}

.dtp-ladder-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Внутри ступеньки */
.dtp-ladder-inner {
  height: 100%;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
}

/* Верх: номер + стрелка */
.dtp-step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dtp-step-num {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  color: #CA578D;
}

.dtp-step-arrow {
  font-size: 16px;
  color: #8f98a1;
  transition: .3s ease;
}

/* Заголовок шага */
.dtp-step-title {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

/* описание скрыто */
.dtp-step-description {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: #d6d9dc;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height .45s ease,
    opacity .3s ease;
}

/* hover */
.dtp-ladder-step:hover {
  background: #222c35;
  cursor: pointer;
}

.dtp-ladder-step:hover .dtp-step-description {
  max-height: 260px;
  opacity: 1;
}

.dtp-ladder-step:hover .dtp-step-arrow {
  transform: rotate(180deg);
  color: #CA578D;
}

.dtp-ladder-wrapper {
  overflow-x: auto;
  padding-bottom: 50px; /* изначально 50 */
  transition: padding-bottom .45s ease;
}

.dtp-ladder-wrapper.pb-40 { padding-bottom: 40px; }
.dtp-ladder-wrapper.pb-30 { padding-bottom: 30px; }
.dtp-ladder-wrapper.pb-20 { padding-bottom: 20px; }
.dtp-ladder-wrapper.pb-10 { padding-bottom: 10px; }
.dtp-ladder-wrapper.pb-0  { padding-bottom: 0; }






/* Текстовая зона */
.dtp-ladder-text {
  margin-top: 40px;
  margin-bottom: 50px;
  max-width: 600px;

  /* фиксируем высоту под самый длинный текст */
  min-height: 115px;

  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .35s ease,
    transform .35s ease;
}

.dtp-ladder-text.hidden {
  opacity: 0;
  transform: translateY(6px);
}

/* Заголовок шага */
.dtp-ladder-step-title {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}


/* Описание шага */
.dtp-ladder-step-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #d8d9db;
  margin-bottom: 10px;
}

/* Линия под текстом — ширина по тексту */
.dtp-ladder-line {
  height: 1px;
  background: rgba(255,255,255,0.10);
  width: fit-content;
  margin-top: 4px;
}

.dtp-step-description {
  display: none !important;
}

.dtp-ladder-chip-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.dtp-ladder-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 32px;
  padding: 0 12px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);

  border-radius: 8px;

  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  color: #fff;

  transition: background .25s ease, border-color .25s ease;
}














/* ===== ОТЗЫВЫ — 3D КАРУСЕЛЬ (БЕЛАЯ ТЕМА) ===== */

.dtp-reviews {
  padding: 140px 0;
  background: #ffffff; /* белый фон */
  color: #172833;
}

.dtp-reviews-head {
  text-align: left;
  margin-bottom: 50px;
}

.dtp-reviews-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8A8F96;
  margin-bottom: 10px;
}

.dtp-reviews-title {
  font-family: var(--font-main);
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #172833;
}

.dtp-reviews-subtitle {
  font-size: 15px;
  color: #6b727a;
  max-width: 420px;
}

/* Вьюпорт карусели */
.dtp-reviews-viewport {
  position: relative;
  height: 520px;
  margin-top: 10px;
  perspective: 1200px;
}

/* Трек */
.dtp-reviews-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Карточка */
.dtp-review-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 290px;
  height: 480px;

  transform-origin: center center;
  transform: translate(-50%, -50%);

  border-radius: 18px;
  background: #ffffff; /* белая карточка */
  border: 1px solid rgba(0,0,0,0.05);

  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);

  overflow: hidden;
  opacity: 0;
  pointer-events: none;

  transition:
    transform .6s cubic-bezier(.22,.61,.36,1),
    opacity .5s ease,
    box-shadow .3s ease;

  cursor: zoom-in;
}

/* Внутри — изображение */
.dtp-review-img-wrap {
  width: 100%;
  height: 100%;
}

.dtp-review-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Чип рейтинга */
.dtp-review-rating {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;

  padding: 4px 10px;
  border-radius: 999px;

  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.12);

  font-size: 12px;
  font-weight: 600;

  display: inline-flex;
  align-items: center;
  gap: 4px;

  color: #172833;
}

.dtp-review-rating::before {
  content: "★";
  color: #FFD466;
  font-size: 11px;
}

/* Состояния карточек */
.dtp-review-card.is-center {
  opacity: 1;
  pointer-events: auto;

  transform: translate(-50%, -50%) translateZ(60px) scale(1) rotateY(0deg);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  z-index: 3;
}

.dtp-review-card.is-left {
  opacity: 0.65;
  pointer-events: auto;

  transform: translate(-50%, -50%)
             translateX(-260px)
             translateZ(0)
             scale(0.9)
             rotateY(9deg);

  z-index: 2;
}

.dtp-review-card.is-right {
  opacity: 0.65;
  pointer-events: auto;

  transform: translate(-50%, -50%)
             translateX(260px)
             translateZ(0)
             scale(0.9)
             rotateY(-9deg);

  z-index: 2;
}

.dtp-review-card.is-out {
  opacity: 0;
  pointer-events: none;

  transform: translate(-50%, -50%) translateZ(-200px) scale(0.7);
  z-index: 1;
}

/* Hover центральной карточки */
.dtp-review-card.is-center:hover {
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.15);
  transform: translate(-50%, -50%) translateZ(80px) scale(1.02) rotateY(0deg);
}

/* Стрелки */
.dtp-review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;

  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.9);

  color: #172833;
  font-size: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition:
    background .25s ease,
    border-color .25s ease,
    transform .15s ease;

  z-index: 5;
}

.dtp-review-arrow--prev { left: 0; }
.dtp-review-arrow--next { right: 0; }

.dtp-review-arrow:hover {
  background: #CA578D;
  border-color: #CA578D;
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.dtp-review-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

/* ===== МОДАЛКА ===== */

.dtp-review-modal {
  position: fixed;
  inset: 0;

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 100;
}

.dtp-review-modal.is-open {
  display: flex;
}

.dtp-review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}

.dtp-review-modal-dialog {
  position: relative;
  z-index: 101;

  /* Новый адаптив под большие вертикальные отзывы */
  max-width: 90vw;
  max-height: 90vh;

  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.8);
  background: #000;

  display: flex;
  align-items: center;
  justify-content: center;
}

.dtp-review-modal-img {
  display: block;

  /* Главное — показываем полностью */
  max-width: 100%;
  max-height: 90vh;

  width: auto;
  height: auto;

  object-fit: contain;
  background: #000;
}


.dtp-review-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 102;

  width: 32px;
  height: 32px;

  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.7);

  color: #fff;
  font-size: 20px;

  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */

@media (max-width: 768px) {
  .dtp-reviews {
    padding: 100px 0;
  }

  .dtp-reviews-viewport {
    height: 320px;
  }

  .dtp-review-card {
    width: 260px;
    height: 310px;
  }

  .dtp-review-card.is-left,
  .dtp-review-card.is-right {
    transform: translate(-50%, -50%)
               translateX(0)
               translateZ(-80px)
               scale(0.85);
  }

  .dtp-review-arrow--prev { left: 10px; }
  .dtp-review-arrow--next { right: 10px; }
}
















/* ===== CTA (форма в плашке с фоном) ===== */
.cta {
  padding: 140px 0;
}

.cta__panel{
  position: relative;
  border-radius: 32px;
  padding: 80px 80px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  overflow: hidden;
  /* никакого фона здесь */
  background: none;
}



.cta__panel.cta--image {
  position: relative;
  background-image: 
    url('../img/consult-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.cta__panel.cta--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65); /* просто чёрное мягкое затемнение */
  z-index: 0;
}





.cta__left,
.cta__form {
  position: relative;
  z-index: 1; /* чтобы текст и форма были поверх затемнения */
}

/* Текстовая часть */
.cta__title {
  font-family: "RFDewiExtended", sans-serif;
  font-size: 50px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}
.cta__desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
}

/* Форма */
.cta__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 380px;
  margin-left: auto;
}

.cta__form input {
  height: 56px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.cta__form input::placeholder {
  color: rgba(255,255,255,0.7);
}

.cta__form input:focus {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

/* Кнопка */
.cta__btn {
  height: 56px;
  border-radius: 16px;
  border: none;
  background: #fff;
  color: #913661;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cta__btn:hover {
  background: #f7d3e4;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Подпись */
.cta__legal {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-top: -10px;
  text-align: center;
}

/* адаптив */
@media (max-width: 1024px) {
  .cta__panel {
    grid-template-columns: 1fr;
    padding: 60px 40px;
    text-align: center;
  }

  .cta__form {
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
  }

  .cta__title {
    font-size: 34px;
  }
}












/* Форма */
.cta__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 380px;
  margin-left: auto;
}

.cta__form label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  gap: 8px;
}

/* Поля */
.cta__form input {
  height: 56px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: #fff; /* ← стало белым */
  color: #172833;
  font-family: "RFDewiExtended", sans-serif;
  font-weight: 400;
  font-size: 16px;
  outline: none;
  transition: all 0.25s ease;
}

/* Наведение */
.cta__form input:hover {
  border-color: rgba(145, 54, 97, 0.4);
  box-shadow: 0 0 6px rgba(145, 54, 97, 0.15);
}

/* Фокус (при нажатии) */
.cta__form input:focus {
  border-color: #913661;
  box-shadow: 0 0 0 3px rgba(145, 54, 97, 0.25);
  background: #fff; /* ← не становится прозрачным */
}

/* Когда пользователь ввёл данные */
.cta__form input:not(:placeholder-shown) {
  border-color: rgba(145, 54, 97, 0.4);
}

/* Плейсхолдер */
.cta__form input::placeholder {
  color: rgba(0, 0, 0, 0.45);
  font-weight: 400;
  transition: opacity 0.25s ease;
}

/* Плейсхолдер не исчезает, просто слегка тускнеет при фокусе */
.cta__form input:focus::placeholder {
  opacity: 0.5;
}

/* Кнопка */
.cta__btn {
  height: 56px;
  border-radius: 16px;
  border: none;
  background: #CA578D;
  color: #fff;
  font-family: "RFDewiExtended", sans-serif; /* ← фирменный шрифт */
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta__btn:hover {
  background: #a94a7a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta__btn:active {
  transform: translateY(0);
  background: #7d2c57;
}












.dtp-review-img-wrap img {
  object-fit: contain !important; /* теперь ВСЕ фото видны целиком */
  background: #fff;
}









/* Модалка отзывов — всегда поверх всех элементов */
.dtp-review-modal,
.dtp-review-modal-backdrop,
.dtp-review-modal-dialog {
  z-index: 9999 !important;
}

/* Хедер принудительно ниже */
.header {
  z-index: 10 !important;
}


















/* ==== FIX: Сбрасываем старые стили модалки ==== */
.dtp-review-modal-dialog {
  max-width: 90vw !important;
  max-height: 90vh !important;
}
.dtp-review-modal-img {
  max-height: 90vh !important;
}

















/* ===== HERO — МОБИЛКА: фото в белой плашке ===== */
@media (max-width: 768px) {

  .dtp-hero__image-block {
    background: #ffffff;                 /* белая плашка */
    border: 1px solid rgba(0,0,0,0.06);  /* еле заметная обводка */
    border-radius: 20px;
    padding: 20px;

    max-width: 100%;
    max-height: none;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  }

  .dtp-hero__image {
    width: 100%;
    height: auto;        /* 🔥 важно */
    max-height: 320px;   /* можно менять */
    object-fit: contain; /* 🔥 НИЧЕГО НЕ ОБРЕЗАЕТСЯ */
    display: block;
  }
}








@media (max-width: 1024px) {

  /* скрываем лестницу */
  .dtp-ladder-wrapper {
    display: none;
  }

  /* убираем hover-логику */
  .dtp-ladder-step {
    pointer-events: none;
  }

  /* делаем текстовый блок основным */
  .dtp-ladder-text {
    margin-top: 0;
    margin-bottom: 0;
    max-width: 100%;
    min-height: auto;
  }

}







.dtp-ladder-mobile-step {
  margin-bottom: 36px;
}







