/* Стили для Онлайн тестирования */
/* Первая секция */
.section.tariffs_first {
  min-height: 100vh;
  position: relative;
  background-image: url(../images/fp_images/back_img4.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: 'Nunito', sans-serif;
}

.tariffs_first .newdiz-container_section {
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
  height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  margin: 150px 0 0 0;
}

.tariffs_first .tariffs_first__inner {
  flex-direction: column;
  width: 100%;
  text-align: center;
  height: 100%;
}

.tariffs_first .line_first {
  height: 1.5px;
  background-color: white;
  margin: 75px auto 0;
  width: 90%;
}

.tariffs_first .line_second {
  height: 1.5px;
  background-color: white;
  margin: 40px auto 0;
  width: 90%;
}

.tariffs_first .header-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 0 0 20px;
  text-align: center;
}

.tariffs_first .header-line h1 {
  color: white;
  font-size: 3.5vmin;
  font-weight: 300;
  margin: 0;
  white-space: nowrap;
}

.tariffs_first .header-line p {
  color: white;
  font-size: 3.5vmin;
  font-weight: 300;
  margin: 0;
  white-space: nowrap;
}

.tariffs_first .first {
  text-align: center;
  color: white;
  font-size: 9vmin;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.35;
  margin: 0 0 10px;
}

.tariffs_first .second {
  text-align: center;
  color: white;
  font-size: 9vmin;
  font-weight: 300;
  margin: 0 0 30px;
}

.tariffs_first .tariffs_first__inner > div:last-of-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto 40px;
  padding: 0 70px;
}

.tariffs_first .tariffs_first__startpack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 315px;
}

.tariffs_first .tariffs_first__startpack-logo img {
  max-height: 50px;
  width: auto;
}

.tariffs_first .tariffs_first__startpack-reviews {
  margin-left: 20px;
}

.tariffs_first .newdiz-hrmsystem__btn {
  text-align: right;
}

.tariffs_first .newdiz-hrmsystem__btn p {
  color: white;
  margin: 0 0 10px;
  font-size: 12px;
}

.tariffs_first .newdiz-hrmsystem__btn a {
  font-size: 16px;
  background: #ded09f;
  color: white;
  text-transform: none;
  padding: 10px 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  transition: background 0.3s ease;
  width: 100%;
  display: flex;
  justify-content: center;
}

.tariffs_first .newdiz-hrmsystem__btn a:hover {
  background: #c9b58a;
  color: #2e3238;
}

.tariffs_first .newdiz-hrmsystem__btn a:hover .demo-arrow {
  transform: translateX(2px);
}

.tariffs_first .newdiz-hrmsystem__btn a:hover .demo-arrow path {
  stroke: #2e3238;
}

.tariffs_first .demo-arrow {
  transition: transform 0.3s ease;
  margin-right: 8px;
}

.tariffs_first .newdiz-header-fixed {
  position: fixed !important;
  background: white;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tariffs_first .tariffs_first__inner {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
}

.tariffs_first .tariffs_first__startpack-reviews-star span {
  color: #dacc99;
  font-size: 25px;
}

.tariffs_first .tariffs_first__startpack-reviews-num p {
  color: #dacc99;
  font-family: 'Montserrat Regular';
  font-size: 17px;
}

/* Вторая секция */
.tariffs_second {
  padding: clamp(20px, 5vw, 40px) 0;
  background: linear-gradient(
    to right,
    rgba(211, 211, 211, 0.7),
    rgba(255, 248, 220, 0.7)
  );
  display: flex;
  align-items: center;
  font-family: 'Nunito', sans-serif;
}

.tariffs_second .tariffs_second-wrapper {
  padding: 0 clamp(20px, 5vw, 70px);
  width: 100%;
}

.tariffs_second .tariffs_second-title {
  text-align: left;
  margin-bottom: clamp(10px, 4vw, 20px);
}

.tariffs_second .tariffs_second-title h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: bold;
  line-height: 1.3;
  color: #333;
  margin: 0;
  white-space: pre-line;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.tariffs_second .tariffs_second-description {
  text-align: left;
  margin-bottom: clamp(10px, 4vw, 20px);
}

.tariffs_second .tariffs_second-description p {
  font-size: clamp(18px, 4vw, 24px);
  line-height: 1.3;
  color: #333;
  margin: 0;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease-out;
  margin-top: 30px;
}

.tariffs_second .tariffs_second-inner .inner_title {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.tariffs_second .tariffs_second-inner .content-item {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.tariffs_second .tariffs_second-inner .inner-content_main {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.tariffs_second .tariffs_second-inner .inner_title {
  font-size: clamp(18px, 4vw, 24px);
  font-weight: bold;
  margin-bottom: 15px;
}

.tariffs_second .tariffs_second-inner .inner-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
  margin-bottom: 15px;
}

.tariffs_second .tariffs_second-inner .item-title {
  text-align: center;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: bold;
  color: #dacc99;
  margin-bottom: 15px;
  text-shadow: -0.5px -0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px 0.5px 0 #000,
    0.5px 0.5px 0 #000;
}

.tariffs_second .tariffs_second-inner .content-item {
  padding: 25px 50px;
  background: #e6e6e6;
  border-radius: 10px;
  line-height: 1.35;
}

.tariffs_second .tariffs_second-inner .item-desc p {
  font-size: 16px;
  margin-bottom: 10px;
}

.tariffs_second .tariffs_second-inner .item-desc ul {
  font-size: 16px;
  margin-bottom: 10px;
}

.tariffs_second .tariffs_second-inner .item-desc ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.tariffs_second .tariffs_second-inner .item-desc ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #ddcf9d;
}

.tariffs_second .tariffs_second-inner .item-desc .price {
  font-weight: bold;
  font-size: clamp(22px, 4vw, 28px);
  text-align: center;
}

.tariffs_second .tariffs_second-inner .inner-content_main {
  padding: 25px 50px;
  background: #e6e6e6;
  border-radius: 10px;
  line-height: 1.35;
}

.tariffs_second .tariffs_second-inner .content_main-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: bold;
  color: #000;
  margin-bottom: 15px;
}

.tariffs_second .tariffs_second-inner .content_main-title span {
  color: #ddcf9d;
  text-shadow: -0.5px -0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px 0.5px 0 #000,
    0.5px 0.5px 0 #000;
}

.tariffs_second .tariffs_second-inner .content_main-desc {
  font-size: 16px;
  margin-bottom: 20px;
}

.tariffs_second .tariffs_second-inner .content_main-items {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.7fr;
  gap: clamp(10px, 4vw, 20px);
  align-items: center;
  margin-bottom: 15px;
}

.tariffs_second .tariffs_second-inner .content_main-items ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.tariffs_second .tariffs_second-inner .content_main-items ul li p {
  font-size: 16px;
}

.tariffs_second .tariffs_second-inner .content_main-items ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #ddcf9d;
}

.tariffs_second .tariffs_second-inner .content_main-items .price {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: bold;
  color: #000;
}

.tariffs_second .tariffs_second-inner .content-item .item-desc p span {
  background-color: #dacc99;
  padding: 3px 6px;
  border-radius: 10px;
}

.tariffs_second .animate-in {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* Третья секция */
.tariffs_third {
  min-height: 100vh;
  padding: clamp(20px, 5vw, 40px) 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  font-family: 'Nunito', sans-serif;
  position: relative;
  overflow: hidden;
}

.tariffs_third .bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #212327;
  z-index: -1;
  transition: width 1s ease;
}

.tariffs_third.animate .bg-animation {
  width: 100%;
}

.tariffs_third .tariffs_third-wrapper {
  padding: 0 clamp(20px, 5vw, 70px);
  width: 100%;
  position: relative;
  z-index: 1;
}

.tariffs_third .tariffs_third-title {
  text-align: left;
  margin-bottom: clamp(10px, 4vw, 20px);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.tariffs_third .tariffs_third-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.tariffs_third .tariffs_third-title h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: bold;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
  white-space: pre-line;
}

.tariffs_third .tariffs_third-desc {
  margin-bottom: clamp(20px, 4vw, 30px);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.tariffs_third .tariffs_third-desc.animate {
  opacity: 1;
  transform: translateY(0);
}

.tariffs_third .tariffs_third-desc p {
  font-size: clamp(22px, 4vw, 26px);
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
}

.tariffs_third .tariffs_third-inner {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.tariffs_third .tariffs_third-inner.animate {
  opacity: 1;
  transform: translateY(0);
}

.tariffs_third .tariffs_third-inner .inner-title {
  color: #fff;
  margin-bottom: clamp(10px, 4vw, 20px);
  font-size: clamp(22px, 4vw, 26px);
}

.tariffs_third .tariffs_third-inner .inner-content {
  display: grid;
  grid-template-columns: 0.6fr 0.8fr 1fr 0.7fr;
  gap: clamp(5px, 4vw, 10px);
  align-items: stretch;
}

.tariffs_third .tariffs_third-inner .tariffs_third-price {
  color: #fff;
  font-size: clamp(22px, 4vw, 26px);
  margin-top: clamp(10px, 4vw, 20px);
  display: flex;
  align-items: center;
  gap: 25px;
}
.tariffs_third .tariffs_third-inner .tariffs_third-price h2 {
  font-size: clamp(22px, 4vw, 26px);
}

.tariffs_third .tariffs_third-ps {
  display: flex;
  gap: 30px;
  color: white;
  width: 100%;
  align-items: center;
  margin-top: clamp(20px, 4vw, 30px);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.tariffs_third .tariffs_third-ps.animate {
  opacity: 1;
  transform: translateY(0);
}

.tariffs_third .tariffs_third-ps_img {
  flex: 0 0 15%;
}

.tariffs_third .tariffs_third-ps_img img {
  width: 100%;
  height: auto;
  display: block;
}

.tariffs_third .tariffs_third-ps_desc {
  flex: 1;
  text-align: left;
}

.tariffs_third .tariffs_third-ps_desc h2 {
  margin-top: 0;
  margin-bottom: 15px;
}

.tariffs_third .tariffs_third-ps_desc p {
  margin-bottom: 15px;
}

.tariffs_third .content_wrapper {
  background: #2e3238;
  padding: 25px;
  border-radius: 10px;
}

.tariffs_third .color-beige {
  color: beige;
}

.tariffs_third .tariffs_third-inner .inner-content {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.tariffs_third .tariffs_third-inner .inner-content .content-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 20%;
}

.tariffs_third .inner-content .content-quantity {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tariffs_third p {
  font-size: 18px;
  text-align: left;
  line-height: 1.3;
  color: #fff;
}

.tariffs_third p.background-light {
  background: #687368;
  color: #fff;
  cursor: pointer;
  border-radius: 10px;
  padding: clamp(20px, 4vw, 28px);
}

.tariffs_third p.background-dark {
  background: #dacc99;
  color: #000;
  cursor: pointer;
  border-radius: 10px;
  padding: clamp(20px, 4vw, 28px);
}

.tariffs_third .content-service,
.tariffs_third .content-rating {
  border: 1px solid #dacc99;
  border-radius: 10px;
  padding: clamp(10px, 4vw, 20px);
}
.tariffs_third .quantity-top,
.tariffs_third .quantity-bottom {
  border: 1px solid #dacc99;
  border-radius: 10px;
  padding: clamp(20px, 4vw, 32px);
}

.tariffs_third .quantity-top {
  display: flex;
  gap: 20px;
  align-items: center;
}

.tariffs_third .bottom-data {
  display: flex;
  gap: 20px;
  align-items: center;
}

.tariffs_third .service-check p {
  border: 1px solid #dacc99;
  border-radius: 10px;
  padding: clamp(2px, 4vw, 5px);
  cursor: pointer;
}

.tariffs_third .bottom-data p.active,
.tariffs_third .service-check p.active,
.tariffs_third .service-quantity p.active,
.tariffs_third .rating-quantity p.active {
  background: #dacc99;
  color: #163444;
}

.tariffs_third .bottom-data p,
.tariffs_third .content-service .service-quantity p,
.tariffs_third .content-rating .rating-quantity p {
  border: 1px solid #dacc99;
  border-radius: 10px;
  padding: clamp(5px, 4vw, 10px);
  font-size: 18px;
  cursor: pointer;
}

.tariffs_third .service-check,
.tariffs_third .service-quantity {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.tariffs_third .rating-quantity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
}

.tariffs_third .content-service p,
.tariffs_third .rating-title p,
.tariffs_third .content-rating p {
  font-size: 14px;
  text-align: center;
  margin-bottom: clamp(5px, 4vw, 15px);
}

.tariffs_third .bottom-title,
.tariffs_third .service-title,
.tariffs_third .rating-title {
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin-bottom: clamp(10px, 4vw, 20px);
  font-size: 20px;
}

.tariffs_third .quantity-top input {
  background: #dacc99;
  border: none !important;
  color: #000;
  font-size: 20px;
  max-width: 50px;
  width: 100%;
  text-align: center;
  border-radius: 10px;
}

.tariffs_third .tariffs_third-price p {
  font-size: 60px;
}

/* Четвертая секция */
.newdiz_request {
  background-image: url(../images/fp_images/title_1.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  background-color: transparent;
  display: flex;
  align-items: center;
  font-family: 'Nunito', sans-serif;
  position: relative;
}

.newdiz_request .newdiz_request-wrapper {
  padding: 0 clamp(20px, 5vw, 70px);
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(50px, 10vh, 100px);
  padding-bottom: clamp(50px, 10vh, 100px);
}

.newdiz_request .newdiz_request-title {
  text-align: center;
  margin-bottom: clamp(50px, 10vw, 100px);
}

.newdiz_request .newdiz_request-title h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: bold;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.newdiz_request .newdiz_request-description {
  text-align: center;
  margin-bottom: clamp(20px, 4vw, 40px);
  display: flex;
  justify-content: space-around;
  color: #ffffff;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.newdiz_request .newdiz_request-description p {
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.5;
  color: #ffffff;
  margin: 0;
  font-style: italic;
}

.newdiz_request .description-btn a {
  font-size: 16px;
  background: #ded09f;
  color: white;
  text-transform: none;
  padding: 10px 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  transition: background 0.3s ease;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.newdiz_request .description-btn a:hover {
  background: #c9b58a;
  color: #2e3238;
}

.newdiz_request .description-btn a:hover .demo-arrow {
  transform: translateX(2px);
}

.newdiz_request .description-btn a:hover .demo-arrow path {
  stroke: #2e3238;
}

.newdiz_request .animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition-delay: 0s !important;
}

/* ===== Планшет и телефон (03.11.2026; у team страница была только под компьютер - на 375 ширина документа 909px) ===== */

@media (max-width: 1200px) {
  /* калькулятор: блоки переносятся, выбор системы - строкой из двух плашек */
  .tariffs_third .tariffs_third-inner .inner-content {
    flex-wrap: wrap;
  }

  .tariffs_third .tariffs_third-inner .inner-content .content-info {
    max-width: none;
    flex: 1 1 100%;
    flex-direction: row;
    gap: 20px;
  }

  .tariffs_third .tariffs_third-inner .inner-content .content-info p {
    flex: 1;
    margin: 0;
  }

  .tariffs_second .tariffs_second-inner .content-item,
  .tariffs_second .tariffs_second-inner .inner-content_main {
    padding: 25px 30px;
  }
}

@media (max-width: 900px) {
  /* первый экран */
  .section.tariffs_first,
  .newdiz_request {
    background-attachment: scroll;
  }

  .tariffs_first .newdiz-container_section {
    height: auto;
    min-height: calc(100vh - 100px);
    margin: 100px 0 0 0;
    padding: 30px 20px;
  }

  .tariffs_first .header-line h1,
  .tariffs_first .header-line p {
    font-size: clamp(16px, 2.6vw, 22px);
    white-space: normal;
  }

  .tariffs_first .first {
    font-size: clamp(30px, 6vw, 48px);
    line-height: 1.25;
  }

  .tariffs_first .tariffs_first__inner > div:last-of-type {
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0 auto 20px;
  }

  .tariffs_first .tariffs_first__startpack {
    width: 100%;
    max-width: 315px;
    justify-content: center;
  }

  .tariffs_first .tariffs_first__startpack-reviews {
    white-space: nowrap;
  }

  .tariffs_first .newdiz-hrmsystem__btn {
    text-align: center;
    width: 100%;
  }

  /* карточки тарифов - в одну колонку */
  .tariffs_second .tariffs_second-inner .inner-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .tariffs_second .tariffs_second-inner .item-desc p,
  .tariffs_second .tariffs_second-inner .item-desc ul {
    font-size: 16px;
  }

  .tariffs_second .tariffs_second-inner .content_main-desc {
    font-size: 16px;
  }

  .tariffs_second .tariffs_second-inner .content_main-items {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tariffs_second .tariffs_second-inner .content_main-items .price {
    text-align: center;
    margin-top: 10px;
  }

  /* калькулятор - блоки столбиком на всю ширину */
  .tariffs_third {
    min-height: auto;
  }

  .tariffs_third .tariffs_third-title h2 br {
    display: none;
  }

  .tariffs_third .tariffs_third-inner .inner-content {
    flex-direction: column;
    gap: 15px;
  }

  .tariffs_third .content_wrapper {
    padding: 15px;
  }

  .tariffs_third .quantity-top {
    justify-content: space-between;
  }

  .tariffs_third .quantity-top,
  .tariffs_third .quantity-bottom {
    padding: 20px;
  }

  .tariffs_third .quantity-bottom {
    margin-top: 15px;
  }

  .tariffs_third .bottom-data {
    justify-content: center;
  }

  .tariffs_third .tariffs_third-inner .tariffs_third-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .tariffs_third .tariffs_third-price p {
    font-size: clamp(36px, 9vw, 60px);
    margin: 0;
  }

  .tariffs_third .tariffs_third-ps {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .tariffs_third .tariffs_third-ps_img {
    flex: 0 0 auto;
    width: 120px;
  }

  /* заявка */
  .newdiz_request {
    min-height: auto;
  }

  .newdiz_request .newdiz_request-description {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .tariffs_first .newdiz-container_section {
    margin: 70px 0 0 0;
    padding: 20px 15px;
  }

  .tariffs_second .tariffs_second-wrapper,
  .tariffs_third .tariffs_third-wrapper {
    padding: 0 15px;
  }

  .tariffs_second .tariffs_second-title h2 {
    font-size: 26px;
  }

  .tariffs_second .tariffs_second-description p,
  .tariffs_third .tariffs_third-desc p {
    font-size: 17px;
  }

  .tariffs_second .tariffs_second-inner .content-item,
  .tariffs_second .tariffs_second-inner .inner-content_main {
    padding: 20px;
  }

  .tariffs_second .tariffs_second-inner .item-title {
    font-size: 30px;
  }

  .tariffs_second .tariffs_second-inner .item-desc p,
  .tariffs_second .tariffs_second-inner .item-desc ul,
  .tariffs_second .tariffs_second-inner .content_main-desc,
  .tariffs_second .tariffs_second-inner .content_main-items ul li p {
    font-size: 16px;
  }

  .tariffs_second .tariffs_second-inner .content_main-title {
    font-size: 24px;
  }

  .tariffs_third .tariffs_third-title h2 {
    font-size: 26px;
  }

  .tariffs_third .tariffs_third-inner .inner-title h3 {
    font-size: 20px;
  }

  /* выбор системы - плашки друг под другом */
  .tariffs_third .tariffs_third-inner .inner-content .content-info {
    flex-direction: column;
    gap: 10px;
  }

  .tariffs_third .tariffs_third-inner .inner-content .content-info p br,
  .tariffs_third .service-title br,
  .tariffs_third .rating-title br {
    display: none;
  }

  .tariffs_third p.background-light,
  .tariffs_third p.background-dark {
    padding: 15px;
    font-size: 16px;
  }

  .tariffs_third .bottom-data,
  .tariffs_third .service-check,
  .tariffs_third .service-quantity,
  .tariffs_third .rating-quantity {
    gap: 10px;
  }

  .tariffs_third .bottom-data p,
  .tariffs_third .content-service .service-quantity p,
  .tariffs_third .content-rating .rating-quantity p {
    font-size: 16px;
    text-align: center;
  }

  .tariffs_third .tariffs_third-inner .tariffs_third-price h2 {
    font-size: 20px;
  }

  .newdiz_request .newdiz_request-title {
    margin-bottom: 30px;
  }
}

@media (max-width: 360px) {
  /* узкий телефон (320): звёзды и отзывы Startpack - в одну строку, как на главной */
  .tariffs_first .tariffs_first__startpack-logo img {
    max-height: 36px;
  }

  .tariffs_first .tariffs_first__startpack-reviews {
    margin-left: 12px;
  }

  .tariffs_first .tariffs_first__startpack-reviews-star span {
    font-size: 20px;
  }

  .tariffs_first .tariffs_first__startpack-reviews-num p {
    font-size: 15px;
  }
}
