* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.main-content-container1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.main-content-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  max-width: 1270px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 90px;
}

.header-section {
  display: flex;
  flex-direction: row;
  gap: 62px;
  align-items: center;
  justify-content: space-between;
  height: 113px;
  padding: 0 25px;
  background: white;
  border-radius: 0 0 50px 50px;
}

/* Стили для кнопки */
.personal-cabinet-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff9c2f; /* Синий цвет как в вашем дизайне */
  color: white;
  text-decoration: none;
  border-radius: 30px; /* Закругленные углы */
  font-weight: bold;
  margin-left: 20px; /* Отступ от навигации */
  transition: background-color 0.3s;
  white-space: nowrap; /* Чтобы текст не переносился */
}

.personal-cabinet-btn:hover {
  background-color: #ff7a00; /* Темнее при наведении */
}

.header-logo {
  width: 183px;
  height: 43px;
}

.navigation-links-container {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}

.primary-nav-item {
  font: 400 16px Inter, sans-serif;
  color: #00192c;
}

.primary-button {
  display: block;
  width: 150px;
  height: 25px;
  font: 400 16px Inter, sans-serif;
  color: white;
  cursor: pointer;
  background: #ff9c2f;
  border: none;
  border-radius: 20px;
}

.featured-content-container1 {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 40px auto 0;
  padding-top: 20px;
}

.featured-content-container {
  display: flex;
  flex-direction: row;
  align-items: stretch; /* Растягиваем дочерние элементы по высоте */
  margin: 0 35px;
  gap: 20px; /* Добавляем отступ между блоками */
}

.immersive-image-container {
  flex: 1;
  height: auto;
  object-fit: cover; /* Чтобы изображение заполняло контейнер */
  border-radius: 50px; /* Для единообразия */
}

.blue-box-with-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 60px; /* Уменьшил отступы */
  background: #ff9c2f;
  border-radius: 50px;
  flex: 1; /* Занимает равное пространство с изображением */
}

/* Опционально: стили для текста */
.wifi-router-title-text-style {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.wifi-router-price-text-style {
  font-size: 20px;
  margin-bottom: 30px;
}

.immersive-heading {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.entertainment-banner-text-style {
  font-size: 18px;
}

.product-card {
  margin-bottom: 30px;
  flex-grow: 1; /* Позволяет карточкам занимать равную высоту */
}

.wifi-router-title-text-style {
  font: 800 40px Inter, sans-serif;
  color: white;
}

.wifi-router-price-text-style {
  margin-top: 8px;
  font: 500 25px Inter, sans-serif;
  color: white;
}

.entertainment-section {
  margin-top: 77px;
}

.immersive-heading {
  font: 800 40px Inter, sans-serif;
  color: white;
}

.entertainment-banner-text-style {
  font: 500 25px Inter, sans-serif;
  color: white;
}

.immersive-image-container {
  width: 590px;
  height: 496px;
  margin-left: 20px;
  clip-path: path(
    "M0,50c0,-27.6142 22.3858,-50 50,-50h490c27.614,0 50,22.3858 50,50v396c0,27.614 -22.386,50 -50,50h-490c-27.6142,0 -50,-22.386 -50,-50z"
  );
  object-fit: cover;
}

.news-section-container {
  margin-top: 90px;
}

.headline-text {
  padding: 0 34px;
  font: 800 40px Inter, sans-serif;
  color: #00192c;
  text-align: center; /* Добавлено выравнивание по центру */
  margin: 0 auto; /* Дополнительно для блочных элементов */
}

.news-card-container {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  width: 100%;
  margin-top: 30px;
}

.promo-card-container1 {
  width: 9px;
  height: 7.75px;
}

.promo-card-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.news-card1 {
  display: flex;
  flex-direction: column;
  width: 285px;
  background: white;
  border-radius: 30px;
}

.news-card {
  height: 228px;
  clip-path: path(
    "M0,30c0,-16.5685 13.4315,-30 30,-30h225c16.569,0 30,13.4315 30,30v198h-285z"
  );
  object-fit: cover;
}

.internet-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.internet-heading {
  font: 800 40px Inter, sans-serif;
  color: #00192c;
}

.internet-details-text-style {
  margin-top: 5px;
  font: 400 15px Inter, sans-serif;
  color: #00192c;
}

.internet-details-button {
  width: 150px;
  height: 25px;
  margin-top: 10px;
  font: 400 16px Inter, sans-serif;
  color: #00192c;
  cursor: pointer;
  background: transparent;
  border: 1px solid #ff9c2f;
  border-radius: 20px;
}

.service-section-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1272px;
  margin: 0 auto;
  padding: 60px 20px;
}

.service-section1 {
  width: 100%;
}

.service-title-style {
  font: 800 40px Inter, sans-serif;
  color: #00192c;
  text-align: center;
  margin-bottom: 40px;
}

.service-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-card,
.corporate-connection-card,
.iptv-channel-container {
  flex: 1;
  min-width: 300px;
  max-width: 387px;
  background: white;
  border-radius: 40px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.flex-container-with-image {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.personal-connection-image,
.company-logo-container {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.customer-onboarding-text-style,
.business-connect-title,
.tv-title-text-style {
  font: 500 25px Inter, sans-serif;
  color: #00192c;
  margin: 0;
}

.blue-heading-text-style,
.business-connection-text,
.iptv-channel-description-text-style {
  font: 400 16px Inter, sans-serif;
  color: #00192c;
  line-height: 1.5;
  margin: 0;
}

.company-info-container,
.media-content-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.internet-support-section {
  box-sizing: border-box;
  min-width: 1440px;
  padding-right: 48px;
  padding-left: 119px;
  background: url("assets/image_de1a9f0a.png") 50% / cover no-repeat;
  border: none;
}

.call-center-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  max-width: 821px;
  padding-top: 74px;
  padding-bottom: 75px;
}

.internet-issue-message {
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  font: 700 40px Inter, sans-serif;
  color: white;
  text-align: left;
}

.call-button {
  box-sizing: border-box;
  display: block;
  flex: 0 0 auto;
  width: 150px;
  min-width: 150px;
  height: 25px;
  margin-top: 30px;
  font: 400 16px Inter, sans-serif;
  color: #00192c;
  cursor: pointer;
  background: white;
  border: none;
  border-radius: 20px;
}

.entertainment-block {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.equipment-card-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 90px 20px;
  box-sizing: border-box;
}

.equipment-title-style {
  font: 700 40px Inter, sans-serif;
  color: #00192c;
  text-align: center;
  margin-bottom: 30px;
}

.carousel-wrapper {
  position: relative;
  max-width: 1272px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  width: 100%; /* Добавлено */
}

.product-card {
  flex: 0 0 100%; /* Занимает 100% ширины карусели */
  min-width: 100%; /* Гарантирует полную ширину */
  display: flex;
  box-sizing: border-box;
  padding: 0 10px;
  min-height: 379px;
}

.product-image-container {
  width: 387px;
  height: 379px;
  flex-shrink: 0;
  clip-path: path(
    "M0,40c0,-22.0914 17.9086,-40 40,-40h307c22.091,0 40,17.9086 40,40v299c0,22.091 -17.909,40 -40,40h-307c-22.0914,0 -40,-17.909 -40,-40z"
  );
  background: #eee;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blue-bubble-container {
  display: flex;
  flex-direction: column;
  padding: 40px 33px;
  margin-left: 20px;
  background: #ff9c2f;
  border-radius: 40px;
  flex-grow: 1;
  justify-content: space-between;
}

.main-title-style {
  margin: 0;
  font: 800 40px Inter, sans-serif;
  color: white;
}

.product-description-text-style {
  margin: 15px 0 0;
  font: 400 15px Inter, sans-serif;
  color: white;
  line-height: 1.5;
}

.price-button-style {
  width: 186px;
  height: 55px;
  font: 700 18px Inter, sans-serif;
  color: #ff9c2f;
  cursor: pointer;
  background: white;
  border: none;
  border-radius: 20px;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.price-button-style:hover {
  background: #f0f0f0;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 20px;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-btn img {
  width: 20px;
  height: 20px;
}

.dots-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #ff9c2f;
}

.payment-options-container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  background: white;
  padding: 20px 0;
}

.payment-methods-container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  padding: 20px;
}

.payment-title {
  margin: 0 0 30px 0;
  font: 800 40px Inter, sans-serif;
  color: #00192c;
  text-align: center;
}

.payment-options-container1 {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: center;
}

.payment-method {
  flex: 1;
  max-width: 390px;
  background: #ff9c2f;
  border-radius: 40px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.method-title {
  margin: 0;
  font: 800 40px Inter, sans-serif;
  color: white;
}

.method-description {
  margin: 15px 0 0 0;
  font: 400 20px Inter, sans-serif;
  color: white;
}

/* Стили только для блока с кнопкой */
.payment-method.with-button {
  padding-bottom: 30px; /* Уменьшаем отступ снизу для кнопки */
}

.details-button {
  margin-top: 20px;
  padding: 10px 20px;
  background: white;
  color: #ff9c2f;
  border: none;
  border-radius: 20px;
  font: 400 16px Inter, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.details-button:hover {
  background: #f0f0f0;
}

.contact-info-container1 {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 1440px;
}

.contact-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 1201px;
  padding-top: 90px;
  padding-bottom: 129px;
}

.contact-info-container {
  flex: 0 0 auto;
}

.contact-title-style {
  padding: 0;
  margin: 0;
  font: 700 40px Inter, sans-serif;
  color: #00192c;
}

.contact-info-container2 {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  justify-content: center;
  margin-top: 29px;
}

.address-snippet-container {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.svg-container {
  display: flex;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: #ff9c2f;
}

.contact-address-snippet-style {
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  margin-left: 13px;
  font: 500 25px Inter, sans-serif;
  color: #00192c;
  white-space: pre-wrap;
}

.contact-card-image {
  box-sizing: border-box;
  display: block;
  width: 689px;
  max-width: initial;
  height: 208px;
  clip-path: path(
    "M0,30c0,-16.5685 13.4315,-30 30,-30h629c16.569,0 30,13.4315 30,30v148c0,16.569 -13.431,30 -30,30h-629c-16.5685,0 -30,-13.431 -30,-30z"
  );
  object-fit: cover;
}

.main-navigation-container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 1440px;
  padding-right: 8px;
  background: #00192c;
}

.header-navigation-bar {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  gap: 87px;
  align-items: center;
  justify-content: space-between;
  min-width: 1200px;
  padding-top: 92px;
  padding-bottom: 92px;
}

.navbar-logo {
  box-sizing: border-box;
  display: block;
  width: 183px;
  max-width: initial;
  height: 43px;
}

.navigation-menu-container {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  justify-content: flex-start;
}

.primary-navigation-link {
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  font: 400 16px Inter, sans-serif;
  color: white;
}

.personal-account-button {
  box-sizing: border-box;
  display: block;
  flex: 0 0 auto;
  width: 150px;
  min-width: 150px;
  height: 25px;
  font: 400 16px Inter, sans-serif;
  color: #00192c;
  cursor: pointer;
  background: white;
  border: none;
  border-radius: 20px;
}

/* ===== Контакты: стабильная сетка ===== */
.contact-section {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 620px; /* левая колонка адаптивная, правая фикс */
  gap: 48px;
  align-items: start;
}

/* Контейнер с текстом не растягивается сверх меры */
.contact-info-container {
  max-width: 720px;
}

.contact-info-container2 {
  display: grid;
  row-gap: 28px;
}

/* Ряд контакта: иконка + текст по сетке, не «уплывает» */
.address-snippet-container {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  column-gap: 18px;
}

.svg-container {
  width: 28px;
  height: 28px;
  color: #ff9c2f;
}

/* Карта */
.contact-map {
  width: 100%;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Ссылки выглядят как текст */
.contact-address-snippet-style a,
a.contact-address-snippet-style {
  color: inherit;
  text-decoration: none;
}

.contact-address-snippet-style a:hover,
a.contact-address-snippet-style:hover {
  text-decoration: underline;
}

/* На планшетах/телефонах — одна колонка */
@media (max-width: 1200px) {
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .contact-map {
    height: 260px;
  }
}

/* ===== CONTACTS — FINAL OVERRIDE (append at END of style.css) ===== */

/* Заголовок по центру и побольше отступ сверху */
#contacts .section-title {
  margin-top: 48px;
  margin-bottom: 24px;
  text-align: center;
  font: 800 40px Inter, sans-serif;
  color: #00192c;
}

/* Две фиксированные колонки — как у правой картинки: 689 × 208 */
#contacts .contact-section {
  display: grid !important;
  grid-template-columns: 689px 689px !important;
  gap: 48px !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 0 !important;
  padding-bottom: 90px !important;
  min-width: unset !important;
}

/* Левая карточка: тот же размер, нормальный «сайтовый» шрифт */
#contacts .contact-info-card,
#contacts .contact-info-container { /* поддержим оба варианта разметки */
  width: 689px !important;
  height: 208px !important;
  background: #fff;
  clip-path: path(
    "M0,30c0,-16.5685 13.4315,-30 30,-30h629c16.569,0 30,13.4315 30,30v148c0,16.569 -13.431,30 -30,30h-629c-16.5685,0 -30,-13.431 -30,-30z"
  );
  box-sizing: border-box;
  padding: 16px 24px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Ряд «иконка + текст» и компактные, но не мелкие интервалы */
#contacts .address-snippet-container {
  display: grid !important;
  grid-template-columns: 28px 1fr !important;
  align-items: center;
  column-gap: 12px;
}

#contacts .contact-info-container2 {
  display: grid !important;
  row-gap: 12px !important; /* стандартный небольшой отступ между строками */
  margin: 0 !important;
}

/* Нормальный размер шрифта как на сайте (25px Inter) */
#contacts .contact-address-snippet-style {
  font: 500 25px/1.22 Inter, sans-serif !important;
  margin: 0 !important;
  color: #00192c;
}

/* Правая карточка-картинка — жёсткий размер 689 × 208 */
#contacts .contact-card-image {
  width: 689px !important;
  height: 208px !important;
  object-fit: cover;
  display: block;
  clip-path: path(
    "M0,30c0,-16.5685 13.4315,-30 30,-30h629c16.569,0 30,13.4315 30,30v148c0,16.569 -13.431,30 -30,30h-629c-16.5685,0 -30,-13.431 -30,-30z"
  ) !important;
}

/* Уберём жёсткие ширины секции, если где-то выше заданы */
#contacts .contact-info-container1 {
  min-width: unset !important;
}

/* MOBILE: контакты в столбик + без горизонтального скролла */
@media (max-width: 900px) {
  /* убираем растягивание секции */
  .contact-info-container1 {
    min-width: 0 !important;
    width: 100%;
    padding: 0 16px;
  }

  /* одна колонка, нормальные отступы */
  .contact-section {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    padding: 0 0 40px !important;
  }

  /* карточка и картинка занимают всю ширину, встают друг под другом */
  .contact-info-card {
    width: auto !important;
    height: auto !important;
    padding: 20px 22px;
  }

  .contact-card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
    border-radius: 30px;
  }

  /* читаемые шрифты на маленьких экранах */
  .contact-address-snippet-style {
    font: 500 clamp(16px, 4.2vw, 22px) / 1.3 Inter, sans-serif;
    word-break: break-word;
  }
}

/* ===== CONTACTS: фикс переполнения на мобилке ===== */
@media (max-width: 900px) {
  /* оболочка не должна давать горизонтальный скролл */
  .contact-fullwrap {
    display: block !important;
    width: 100% !important;
    overflow-x: hidden; /* или clip, если хотите */
  }

  /* контейнер без min-width и с внутренними отступами */
  .contact-info-container1 {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* ключ: колонка, которая действительно ужимается */
  .contact-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important; /* вместо просто 1fr */
    gap: 16px !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    padding: 0 0 40px !important;
    width: 100%;
    max-width: 100%;
  }

  /* карточки и картинка — без фиксированных ширин, с min-width:0 */
  .contact-info-card,
  .contact-card-image {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important; /* критично для grid */
    margin: 0 !important;
    box-sizing: border-box;
  }

  .contact-info-card {
    height: auto !important;
    padding: 20px 22px;
    border-radius: 30px;
  }

  .contact-card-image {
    height: auto !important;
    display: block;
    object-fit: cover;
    border-radius: 30px;
    aspect-ratio: 689 / 208;
  }

  /* читаемая типографика и переносы */
  .contact-address-snippet-style {
    font: 500 clamp(16px, 4.2vw, 22px) / 1.3 Inter, sans-serif;
    word-break: break-word;
  }
}

/* ===== MOBILE FIX: контакты и общие min-width ===== */
@media (max-width: 900px) {
  /* снять растягивающие min-width по сайту */
  .main-navigation-container,
  .header-navigation-bar,
  .internet-support-section,
  .contact-info-container1,
  .contact-section {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Контакты: одна колонка, колонки ужимаются */
  #contacts .contact-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    padding: 0 16px 40px !important;
  }

  /* Карточка текста — резиновая */
  #contacts .contact-info-card {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 20px 22px !important;
    border-radius: 30px !important;
  }

  /* Картинка — во всю ширину, без фикс 689×208 и без clip-path */
  #contacts .contact-card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 30px !important;
    clip-path: none !important;
  }

  /* Текст адреса — адаптивная кегль, переносы */
  #contacts .contact-address-snippet-style {
    font: 500 clamp(16px, 4.2vw, 22px) / 1.35 Inter, sans-serif !important;
    word-break: break-word !important;
    white-space: normal !important;
  }
}

/* Страховка от редких горизонтальных «хвостов» */
html,
body {
  overflow-x: clip;
}


/* === Одна ширина 1200px для Тарифы / Сервисы / Оплата === */

/* Тарифы и Оплата — общий контейнер .section-inner */
#tariffs .section-inner,
#payment .section-inner {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Сервисы — свой контейнер */
#services .service-section-container {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* === Новый яркий акцент вместо голубого === */
:root {
  --accent-main: #ff9c2f;      /* основной оранжевый */
  --accent-main-hover: #ff7a00;/* наведение */
  --accent-main-soft: #fff4de; /* тёплый фон блоков */
}

/* Кнопка "Личный кабинет" и основная кнопка в шапке/герое */
.personal-cabinet-btn,
.primary-button {
  background-color: var(--accent-main);
}

.personal-cabinet-btn:hover,
.primary-button:hover {
  background-color: var(--accent-main-hover);
}

/* Кнопка "Подробнее об интернете" и похожие */
.internet-details-button {
  border-color: var(--accent-main);
  color: #00192c;
}

.internet-details-button:hover {
  background: var(--accent-main);
  color: #ffffff;
}

/* Белые кнопки с цветным текстом */
.details-button,
.price-button-style,
.payment-card .btn {
  color: var(--accent-main);
}

.details-button:hover {
  background: #f5f5f5;
}

.payment-card .btn:hover {
  background: var(--accent-main-soft);
}

/* Большие цветные плашки на главной */
.blue-bubble-container,
.blue-box-with-content,
.tariff-card,
.payment-card {
  background: var(--accent-main);
}

/* Активная точка слайдера */
.dot.active {
  background: var(--accent-main);
}

/* Скроллбар в блоке новостей */
.news-card-container {
  scrollbar-color: var(--accent-main) #f0f0f0;
}

.news-card-container::-webkit-scrollbar-thumb {
  background: var(--accent-main);
}

html[data-theme="dark"] .price-button-style {
  border: 2px solid #ffffff !important;
  background: #ffffff !important;
  color: var(--accent-main) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Фон блока оборудования на главной вместо голубого */
#equipment.page-section {
  background: var(--page-surface-soft);
}





/* === Новый яркий акцент вместо голубого (общий для всех страниц) === */
:root {
  --accent-main: #ff9c2f;       /* основной яркий оранжевый */
  --accent-main-hover: #ff7a00; /* наведение / активные состояния */
  --accent-main-soft: #fff4de;  /* тёплый светлый фон вместо голубого */
  --accent-main-soft-2: #ffe0b2;
  --accent-main-soft-3: #ffcf8a;
}

/* Основные кнопки (шапка, герой, CTA) */
.personal-cabinet-btn,
.primary-button,
.btn-primary {
  background: var(--accent-main);
  color: #ffffff;
}

.personal-cabinet-btn:hover,
.primary-button:hover,
.btn-primary:hover {
  background: var(--accent-main-hover);
  color: #ffffff;
}

/* Кнопки «Подробнее» / текстовые кнопки с акцентным цветом */
.internet-details-button,
.details-button,
.price-button-style,
.payment-card .btn {
  border-color: var(--accent-main);
  color: var(--accent-main);
}

.internet-details-button:hover {
  background: var(--accent-main);
  color: #ffffff;
}

.price-button-style:hover {
  background: var(--accent-main-soft);
}

/* Большие цветные плашки (герой, промо, оплата, тарифы и т.п.) */
.blue-bubble-container,
.blue-box-with-content,
.tariff-card,
.payment-card,
.payment-method {
  background: var(--accent-main);
  color: #ffffff;
}

/* Кнопки внутри карточек оплаты — мягкий фон при наведении */
.payment-card .btn:hover {
  background: var(--accent-main-soft);
}

/* Иконки/кружочки с акцентным цветом */
.svg-container {
  color: var(--accent-main);
}

/* Активная точка слайдера */
.dot.active {
  background-color: var(--accent-main);
}

/* Скроллбар в блоке новостей */
.news-card-container {
  scrollbar-color: var(--accent-main) #f0f0f0;
}

.news-card-container::-webkit-scrollbar-thumb {
  background: var(--accent-main);
}

/* Фон блока оборудования на главной вместо голубого */
#equipment.page-section {
  background: var(--page-surface-soft);
}

/* Приборы (gauge) — убираем голубой градиент, делаем тёплый */
.gauge {
  background: radial-gradient(
    120% 140% at 10% 0%,
    #e6f4ff 0%,
    #cfeaff 55%,
    #b7dcff 100%
  );
  border: 1px solid #b7dcff;
}

/* Текстовые акценты поверх тёмного фона (тех. характеристики и т.п.) */
.tech-name {
  color: #ffe7c2;
}

/* === Глобальные переменные темы (светлая + тёмная) === */
:root {
  /* Яркий акцент (общий для всей витрины) */
  --accent-main: #ff9c2f;       /* основной яркий оранжевый */
  --accent-main-hover: #ff7a00; /* наведение / активные состояния */
  --accent-main-soft: #fff4de;  /* тёплый светлый фон вместо голубого */
  --accent-main-soft-2: #ffe0b2;
  --accent-main-soft-3: #ffcf8a;

  /* Базовая светлая тема */
  --page-bg: #eaf6ff;
  --page-surface: #ffffff;
  --page-surface-soft: #e6f4ff;
  --page-border-subtle: rgba(15, 23, 42, 0.08);
  --text-main: #00192c;
  --text-muted: #4b5563;
  --header-bg: rgba(255, 255, 255, 0.96);
  --header-text: #00192c;
  --header-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --nav-bg-mobile: #ffffff;
  --overlay-backdrop: rgba(0, 0, 0, 0.35);

  /* Алиас под старое имя акцента из header.html */
  --accent: var(--accent-main);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #020617;
  --page-surface: #020617;
  --page-surface-soft: #020617;
  --page-border-subtle: rgba(148, 163, 184, 0.28);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --header-bg: rgba(15, 23, 42, 0.96);
  --header-text: #e5e7eb;
  --header-shadow: 0 22px 60px rgba(15, 23, 42, 0.92);
  --nav-bg-mobile: #020617;
  --overlay-backdrop: rgba(15, 23, 42, 0.85);

  /* Цвета блока доверия в тёмной теме */
  --trust-text:#e5e7eb;
  --trust-muted:#9ca3af;
  --trust-card:#0b1120;
  --trust-accent:#ff9c2f;

  /* Чуть более тёмный мягкий фон для акцентных блоков */
  --accent-main-soft: #1e293b;
}

html:not([data-theme="dark"]) {
  color-scheme: light;
}
/* === DARK THEME: заголовок "Контакты" должен быть светлым === */
html[data-theme="dark"] .contact-title-style,
html[data-theme="dark"] #contacts .section-title {
  color: var(--text-main) !important; /* в dark это #e5e7eb */
}
