/* ===================== Страница тарифов ===================== */

.price-page {
  /* max-width: 1160px; */
  margin: 0 auto;
  /* padding: 0 20px 70px; */
}

/* === Герой === */

.price-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  background-repeat: repeat;
  background-image: none;
  background-size: auto;
  border-radius: 20px;
  overflow: hidden;
  margin: 30px 150px;
  min-height: 75vh;
  background-image: url('../images/price/2-02.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.price-hero__content {
  padding: 44px 50px;
  flex: 1;
}

.price-hero__title {
  font-size: 50px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 15px;
  line-height: 1.2;
}

.price-hero__sub {
  font-size: 17px;
  color: #000;
  margin: 0 0 15px;
}

.price-hero__img {
  width: 440px;
  height: 240px;
  object-fit: cover;
  object-position: right center;
  flex-shrink: 0;
}

/* === Заголовки секций === */

.price-section-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 30px;
  text-align: center;
  padding: 0 10px;
}

/* === Карточки тарифов (пакеты из БД) === */

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 0 150px 30px;
}

.price-card {
  background-image: url('../images/main_imgs/fon_1.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  /* border: 1px solid #d6d6d6; */
  border-radius: 10px;
  padding: 30px 26px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  cursor: default;
  /* transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease; */
}

/* .price-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  border-color: #b0b0b0;
} */

.price-card-featured {
  border-color: #0088cc;
  position: relative;
}

.price-card-featured::before {
  content: 'Популярный';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #0088cc;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-card__name {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 15px;
  text-align: center;
}

.price-card__price {
  font-size: 30px;
  font-weight: 700;
  color: #0088cc;
  margin: 0 0 4px;
}

.price-card__price span {
  font-size: 15px;
  font-weight: 400;
  color: #888;
}

.price-card__duration {
  font-size: 13px;
  color: #888;
  margin: 0 0 20px;
}

.price-card__desc {
  font-size: 15px;
  color: #000;
  line-height: 1.6;
  margin: 0 0 25px;
}

.price-card__btn {
  display: block;
  width: 100%;
  padding: 11px 0;
  background: #0088cc;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

.price-card__btn:hover {
  background: #0077b3;
}

.price-card__empty {
  text-align: center;
  color: #888;
  font-size: 15px;
  padding: 40px 0;
  grid-column: 1 / -1;
}

/* === Сетка возможностей (3 колонки) === */

.price-features {
  /*display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;*/
  margin: 0 150px 30px;
}

.price-feature {
  /* border: 1px solid #d6d6d6; */
  border-radius: 10px;
  padding: 24px 10px;
  background: #fff;
  cursor: default;
  transition: box-shadow 0.25s ease;
  height: auto;
  text-align: center;
}

/* .price-feature:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
} */

.price-feature__img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

.price-feature__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 15px;
}

.price-feature__text {
  font-size: 15px;
  color: #000;
  line-height: 1.6;
  margin: 0;
}

.price-features .slick-track {
  display: flex;
}

.price-features .price-features__dots {
	display: flex;
	justify-content: center;
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
}

.price-features .price-features__dots li {
	margin: 0 5px;
  list-style: none;
}

.price-features .price-features__dots li.slick-active button {
	background: #0088cc;
}

.price-features .price-features__dots button {
	font-size: 0;
	width: 15px;
	height: 15px;
	background: transparent;
	border: none;
	cursor: pointer;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 10px;
}

.price-features .price-features__dots button:hover {
	background: #0088cc;
}

/* === Раздел баннеров === */

.price-banners {
  margin-bottom: 60px;
}

.price-banners__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid #ebebeb;
}

.price-banners__row:last-child {
  border-bottom: none;
}

.price-banners__row-reverse {
  direction: rtl;
}

.price-banners__row-reverse > * {
  direction: ltr;
}

.price-banners__img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 10px;
  display: block;
}

.price-banners__img-vert {
  max-width: 220px;
  margin: 0 auto;
}

.price-banners__title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.price-banners__text {
  font-size: 15px;
  color: #5a5a5a;
  line-height: 1.7;
  margin: 0;
}

/* === TOP-10 блок === */

.price-top {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #f5f8fc;
  border-radius: 16px;
  padding: 36px 44px;
  margin-bottom: 60px;
}

.price-top__img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  flex-shrink: 0;
}

.price-top__title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.price-top__text {
  font-size: 15px;
  color: #5a5a5a;
  line-height: 1.7;
  margin: 0;
}

/* === CTA блок === */

.price-cta {
  background: #0088cc;
  border-radius: 16px;
  padding: 44px;
  text-align: center;
  color: #fff;
}

.price-cta__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px;
}

.price-cta__sub {
  font-size: 16px;
  opacity: 0.9;
  margin: 0 0 26px;
}

.price-cta__btn {
  display: inline-block;
  padding: 13px 40px;
  background: #fff;
  color: #0088cc;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.price-cta__btn:hover {
  opacity: 0.9;
}

/* === Общая кнопка === */

.price-btn {
  background: #0088cc;
  color: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.price-btn:hover {
  background: #0077b3;
}

/* === Сноски под тарифными картами === */

.price-notes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin: 0 150px 30px;
}

.price-notes__text p {
  font-size: 13px;
  color: #5a5a5a;
  line-height: 1.7;
  margin: 0 0 4px;
}

.price-notes__text p:last-child {
  margin: 0;
}

/* === Блок "За что платить" === */

.price-pay-cards {
  /*display: flex;
  justify-content: space-around;
  gap: 15px;*/
  margin: 0 150px 30px;
}

.price-pay-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px 15px;
  /* flex: 1; */
  height: auto;
  max-width: 400px;
  margin: 0 auto;
}

.price-pay-cards .slick-track {
  display: flex;
}

.price-pay-cards .price-pay-cards__dots {
	display: flex;
	justify-content: center;
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
}

.price-pay-cards .price-pay-cards__dots li {
	margin: 0 5px;
  list-style: none;
}

.price-pay-cards .price-pay-cards__dots li.slick-active button {
	background: #0088cc;
}

.price-pay-cards .price-pay-cards__dots button {
	font-size: 0;
	width: 15px;
	height: 15px;
	background: transparent;
	border: none;
	cursor: pointer;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 10px;
}

.price-pay-cards .price-pay-cards__dots button:hover {
	background: #0088cc;
}

/* === PRO-инструменты === */

.price-pro {
  margin: 0 150px 30px;
}

.price-pro__row {
  /*display: flex;
  justify-content: space-around;
  gap: 15px;*/
  margin-bottom: 30px;
}

.price-pro__item {
  flex: 1;
  text-align: center;
  height: auto;
  margin: 0 10px;
}

.price-pro__img-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.price-pro__img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

.price-pro__cta {
  text-align: center;
}

.price-pro__row .slick-track {
  display: flex;
}

.price-pro__row .price-pro__row-dots {
	display: flex;
	justify-content: center;
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
}

.price-pro__row .price-pro__row-dots li {
	margin: 0 5px;
  list-style: none;
}

.price-pro__row .price-pro__row-dots li.slick-active button {
	background: #0088cc;
}

.price-pro__row .price-pro__row-dots button {
	font-size: 0;
	width: 15px;
	height: 15px;
	background: transparent;
	border: none;
	cursor: pointer;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 10px;
}

.price-pro__row .price-pro__row-dots button:hover {
	background: #0088cc;
}

/* ===================== Внутренняя страница тарифов рекрутёра ===================== */

.tariff-page {
  padding: 15px 150px 0;
  max-width: 1100px;
  /* margin: 0 auto; */
}

.tariff-page__title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
    margin: 0 0 15px;
}

.tariff-current {
  font-size: 14px;
  color: #333;
  margin: 0 0 8px;
}

.tariff-current strong {
  color: #0088cc;
}

.tariff-promo-used {
  font-size: 13px;
  color: #888;
  margin: 0 0 20px;
}

.tariff-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
}

.tariff-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.tariff-card {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}

.tariff-card__title {
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 18px;
  color: #1a1a1a;
}

.tariff-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.tariff-card__feature {
  font-size: 15px;
  color: #1a1a1a;
  line-height: 1.4;
}

.tariff-card__btn {
  display: block;
  width: 100%;
  padding: 11px 0;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  font-family: inherit;
  transition: background 0.2s;
}

.tariff-card__btn-connect {
  background: #0088cc;
  color: #fff;
  cursor: pointer;
}

.tariff-card__btn-connect:hover {
  background: #0077b3;
}

.tariff-card__btn-connected {
  background: #2e3238;
  color: #fff;
  cursor: default;
}

/* === Пополнение лицевого счёта === */

.tariff-deposit {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 40px;
}

.tariff-deposit__row {
  display: flex;
  margin-bottom: 10px;
}

.tariff-deposit__input {
  flex: 1;
  padding: 13px 18px;
  border: 1px solid #d6d6d6;
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-size: 15px;
  color: #1a1a1a;
  font-family: inherit;
  outline: none;
}

.tariff-deposit__input:focus {
  border-color: #aaa;
}

.tariff-deposit__btn {
  padding: 13px 24px;
  background: #2e3238;
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background 0.2s;
}

.tariff-deposit__btn:hover {
  background: #1a1e23;
}

.tariff-deposit__hint {
  font-size: 12px;
  color: #888;
  margin: 4px 0 0;
  line-height: 1.5;
}

/* === Модал выбора периода тарифа === */

.tariff-period-modal-box {
  width: 360px;
}

.tariff-period-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tariff-period-item {
  padding: 11px 14px;
  font-size: 15px;
  color: #1a1a1a;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid transparent;
  margin-bottom: 4px;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tariff-period-item:hover {
  background: #f5f5f5;
}

.tariff-period-item-selected {
  border-color: #d6d6d6;
  background: #fff;
}

.tariff-period-discount {
  color: #0088cc;
  font-size: 14px;
}


/* === Адаптив === */

@media (max-width: 1400px) {
  .price-hero {
    margin: 30px 80px;
  }

  .price-features,
  .price-cards,
  .price-notes,
  .price-pay-cards,
  .price-pro {
    margin: 0 80px 30px;
  }
}

@media (max-width: 1300px) {
  .price-hero__content {
    padding: 20px 15px;
  }
}

@media (max-width: 1200px) {
  .price-hero {
    min-height: 60vh;
    background-size: contain;
    background-position: bottom right;
  }

  .price-hero__title {
    font-size: 45px;
  }

  .price-feature__title {
    font-size: 19px;
  }

  .price-features {
    padding: 0 0 40px;
  }

  .price-card__name {
    font-size: 19px;
  }
}

@media (max-width: 1100px) {
  .price-hero {
    margin: 30px 15px;
  }

  .price-features,
  .price-cards,
  .price-notes,
  .price-pay-cards,
  .price-pro {
    margin: 0 15px 30px;
  }

  .price-card {
    padding: 30px 20px;
  }

  .price-pay-card {
    max-width: 100%;
  }
}

@media (max-width: 1000px) {
  .price-hero {
     min-height: 75vh;
     align-items: flex-start;
  }

  .price-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .price-feature {
    padding: 15px 5px;
  }

  .price-feature__img {
    margin: 0 auto 15px;
  }

  .price-feature__title {
    font-size: 20px;
    text-align: center;
    margin: 0 0 10px;
  }

  .price-feature__text {
    text-align: center;
  }

  .price-card {
    padding: 20px 8px;
  }

  .price-btn {
    padding: 15px 25px;
  }

  .price-pro__item {
    margin: 0 8px;
  }

  .price-card__name {
    font-size: 17px;
  }
}

@media (max-width: 900px) {
  .price-hero__title {
    font-size: 40px;
  }

  .price-pay-cards {
    padding: 0 0 60px;
  }

  .price-cards {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 20px 15px;
  }

  .price-card__desc {
    margin: 0 0 15px;
  }

  .price-card__desc br {
    display: none;
  }

  .price-notes {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-btn {
    align-self: center;
  }

  .price-hero__img {
    display: none;
  }

  .price-banners__row {
    grid-template-columns: 1fr;
  }

  .price-banners__row-reverse {
    direction: ltr;
  }

  .price-top {
    flex-direction: column;
    text-align: center;
  }

  .price-pay-cards {
    flex-direction: column;
  }

  .price-card__desc br {
    display: none;
  }

  .price-pro__row {
    flex-direction: column;
    padding: 0 0 60px;
  }

  .price-pro__item {
    margin: 0 10px;
  }

  .price-card__name {
    font-size: 20px;
  }
}

@media (max-width: 800px) {
  .price-hero {
    min-height: 65vh;
  }

  .price-hero__title {
    font-size: 37px;
  }
}

@media (max-width: 700px) {
  .price-hero__sub br {
    display: none;
  }

  .price-hero {
    min-height: 62vh;
  }

  .price-pro__row {
    padding: 0 0 40px;
  }

  .price-pro__item {
    margin: 0;
  }

  .price-card__name {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .price-hero__title {
    font-size: 32px;
  }

  .price-features {
    grid-template-columns: 1fr;
  }

  .price-feature__text br {
    display: none;
  }
}

@media (max-width: 500px) {
  .price-hero__title {
    font-size: 29px;
  }
}

@media (max-width: 400px) {
  .price-hero {
    min-height: auto;
    background-image: none;
  }

  .price-hero__title {
    font-size: 25px;
  }

  .price-card {
    padding: 15px 10px;
  }
}
