/* ===== PRICES PAGE ===== */

.prices-page {
  background: #F5F6F8;
}

/* HERO */

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

.prices-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 60px;
  align-items: flex-start;
}

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

.prices-hero__kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8A8F96;
  margin-bottom: 14px;
}

.prices-hero__title {
  font-family: var(--font-main);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  color: #172833;
  margin-bottom: 22px;
}

.prices-hero__lead {
  font-size: 17px;
  line-height: 1.7;
  color: #525862;
  margin-bottom: 26px;
}

.prices-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

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

.prices-hero__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  background: #CA578D;
  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;
}

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

.prices-hero__note {
  margin-top: 16px;
  font-size: 14px;
  color: #6C7380;
}

/* правый блок в hero */

.prices-hero__aside {
  display: flex;
  justify-content: flex-end;
}

.prices-hero__badge {
  max-width: 320px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #0F161C;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.prices-hero__badge-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9DA4B0;
  margin-bottom: 8px;
}

.prices-hero__badge-title {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.prices-hero__badge-text {
  font-size: 14px;
  line-height: 1.6;
  color: #D1D3D9;
}

/* ОБЩИЕ ЗАГОЛОВКИ СЕКЦИЙ */

.prices-section-head {
  margin-bottom: 32px;
}

.prices-section-head--row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
}

.prices-section-title {
  font-family: var(--font-main);
  font-size: 30px;
  font-weight: 700;
  color: #172833;
  margin-bottom: 10px;
}

.prices-section-sub {
  font-size: 15px;
  line-height: 1.7;
  color: #6B7280;
  max-width: 520px;
}

/* Теги справа */

.prices-section-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prices-tag {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(23,40,51,0.18);
  font-size: 12px;
  color: #4B5563;
  background: #F8F9FB;
}

/* ПАКЕТЫ */

.prices-packages {
  padding: 80px 0 40px;
}

.prices-packages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* карточка тарифа */

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #E2E4EA;
  box-shadow: 0 10px 30px rgba(15,22,28,0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              border-color 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15,22,28,0.08);
  border-color: rgba(202,87,141,0.32);
}

.price-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.price-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #172833;
  max-width: 75%;
}

.price-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9CA3AF;
}

.price-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #4B5563;
  margin-bottom: 14px;
}

.price-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 13px;
  color: #4B5563;
}

.price-card__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}

.price-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #CA578D;
}

.price-card__bottom {
  margin-top: auto;
  border-top: 1px solid #ECEEF3;
  padding-top: 12px;
}

.price-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.price-card__price-main {
  font-size: 18px;
  font-weight: 700;
  color: #172833;
}

.price-card__price-tag {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(202,87,141,0.08);
  color: #913661;
}

.price-card__hint {
  font-size: 12px;
  line-height: 1.5;
  color: #6B7280;
}

/* выделенная карточка */

.price-card--featured {
  border: 1px solid rgba(202,87,141,0.65);
  box-shadow: 0 20px 50px rgba(15,22,28,0.12);
}

.price-card--featured:hover {
  box-shadow: 0 24px 60px rgba(15,22,28,0.18);
}

.price-card__badge {
  position: absolute;
  top: -10px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #CA578D;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

/* СПИСОК ОТДЕЛЬНЫХ УСЛУГ */

.prices-list-section {
  padding: 60px 0 60px;
}

.prices-list {
  margin-top: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #E2E4EA;
  overflow: hidden;
}

.prices-list__item {
  display: grid;
  grid-template-columns: minmax(0, 3fr) auto;
  gap: 24px;
  padding: 16px 22px;
  border-top: 1px solid #ECEEF3;
}

.prices-list__item:first-child {
  border-top: none;
}

.prices-list__main {
  min-width: 0;
}

.prices-list__title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.prices-list__note {
  font-size: 13px;
  color: #6B7280;
}

.prices-list__price {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  color: #172833;
  white-space: nowrap;
  align-self: center;
}

.prices-footnote {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: #6B7280;
}

/* КАК ФОРМИРУЕТСЯ СТОИМОСТЬ */

.prices-how {
  padding: 40px 0 100px;
}

.prices-how__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.prices-how__item {
  padding: 20px 20px 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px dashed #E0E3EB;
}

.prices-how__item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #172833;
  margin-bottom: 8px;
}

.prices-how__item p {
  font-size: 14px;
  line-height: 1.7;
  color: #4B5563;
}

/* АДАПТИВ */

@media (max-width: 1024px) {
  .prices-hero__inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
    gap: 32px;
  }

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

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

@media (max-width: 768px) {
  .prices-hero {
    padding: 110px 0 60px;
  }

  .prices-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .prices-hero__title {
    font-size: 32px;
  }

  .prices-packages {
    padding-top: 60px;
  }

  .prices-packages__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .prices-section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .prices-list__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .prices-how__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}














.prices-section {
  padding: 80px 0;
  background: #fff;
}

.price-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #0F161C;
}

.price-group {
  margin-bottom: 50px;
}

.price-subtitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.price-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 16px;
  color: #222;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.price-value {
  font-weight: 600;
  color: #000;
}

.price-value.green {
  color: #009f4d;
}




















/* ===== 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;
}



@media (max-width: 480px) {

.cta__desc {
  font-size: 14px;
  line-height: 1.4;
  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 20px;
    text-align: center;
  }

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

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












/* Форма */
.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;
}

