html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

body {
  -ms-overflow-style: none;
  scrollbar-width: none;
  font-family: 'Roboto', sans-serif;
  padding-top: 70px;
}

h1.display-4 {
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1.2;
}

@media (max-width: 992px) {
  h1.display-4 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  h1.display-4 {
    font-size: 2rem;
  }
  .btn-cta, .btn-phone {
    padding: 12px 20px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .navbar .btn-phone {
    padding: 8px 16px;
    font-size: 14px;
  }
  .navbar-brand {
    font-size: 18px;
  }
  .lead {
    font-size: 1rem;
  }
}

/* Синие иконки */
.bi {
  color: #0d6efd !important;
}

header.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;

  /* Мобильный фон по умолчанию — легче для PageSpeed */
  background-image: url('../img/hero-mobile.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  z-index: 1;
  margin-bottom: 0;
}

/* Фон для планшетов и компьютеров */
@media (min-width: 768px) {
  header.hero {
    background-image: url('../img/hero-desktop.webp');
  }
}

header.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

header.hero .container {
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.service-card {
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #ffffffee;
}

.btn-cta {
  background-color: #28a745;
  color: #fff !important;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-cta:hover, .btn-cta:focus {
  background-color: #218838;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(40, 167, 69, 0.5);
  transform: translateY(-1px);
}

.btn-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  height: auto;
}

/* Блок «Наши особенности» */
.features-section .bi {
  font-size: 2.5rem;
}
.features-section .p-3 {
  border-radius: 10px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 2px solid #28a745;
}
.features-section .p-3:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

/* Картинка в блоке «Важно знать» */
img[src*="water-section"] {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Картинка в блоке "О компании" без тени и скруглением */
img[src*="about-us"] {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: none;
}

/* Адаптивное поведение списка */
ul.list-unstyled li::marker {
  content: none;
}
ul.list-unstyled li::before {
  content: '✔';
  color: #28a745;
  margin-right: 8px;
}

/* Плашка "Почему выбирают нас" налезает на хедер */
section.py-5.bg-light.position-relative {
  margin-top: -150px;
  z-index: 10;
  position: relative;
}

section.py-5.bg-light.position-relative .bg-white.shadow {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  z-index: 11;
  position: relative;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: #ffffff;
  border-radius: 1rem;
  margin-top: -80px;
}

/* Новый редизайн секции "Услуги и цены" */
.pricing-section {
  padding: 60px 0;
  background: #f4f6f9;
}

.pricing-card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.07);
  padding: 30px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid #28a745;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card h5 {
  font-weight: 700;
  color: #007bff;
  margin-bottom: 15px;
}

.pricing-card p {
  color: #444;
  margin-bottom: 10px;
}

.pricing-features {
  padding-left: 1.2rem;
  margin-bottom: 15px;
  color: #555;
}

.pricing-features li {
  margin-bottom: 6px;
}

.pricing-image {
  max-height: 260px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  margin: 15px 0;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #28a745;
  margin-top: auto;
}

.hover-raise {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-raise:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.img-variant {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.telegram-icon i {
  font-size: 2.2rem; /* Было 1.8rem */
  color: #229ED9 !important;
  transition: transform 0.2s ease;
}

.telegram-icon i:hover {
  transform: scale(1.2);
}

.consultation-badge {
  position: fixed;
  right: 0;
  top: 40%;
  background-color: #198754;
  color: white;
  padding: 12px 20px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  z-index: 1050;
  transition: background-color 0.3s ease;
}

.consultation-badge:hover {
  background-color: #157347;
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 1050;
  background-color: #fff;           /* Внутренность белая */
  color: #0d6efd;                   /* Цвет текста и иконки */
  border: 2px solid #0d6efd;        /* Синяя обводка */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  justify-content: center;
  align-items: center;
  display: flex;
}

.scroll-to-top:hover {
  background-color: #0d6efd;
}

.scroll-to-top:hover svg {
  fill: #fff;  /* Стрелка становится белой при наведении */
}

.scroll-to-top.show {
  display: flex;
}

.viber-icon i {
  font-size: 2.2rem; /* как у Telegram */
  color: #7360F2;     /* фирменный цвет Viber */
  transition: transform 0.2s ease;
}

.viber-icon i:hover {
  transform: scale(1.2);
}

.footer-bottom {
  color: #ccc;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 1rem;
  text-align: center;
}

.transition {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  section.py-5.bg-light.position-relative {
    margin-top: -60px; /* Меньше налезает, кнопка не перекрыта */
    z-index: 2;
  }

  section.py-5.bg-light.position-relative .bg-white.shadow {
    margin-top: 0; /* Убираем дополнительный отступ на мобилках */
  }

  header.hero .btn-cta {
    position: relative;
    z-index: 1000; /* Кнопка всегда выше */
  }
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1080;
  background: rgba(33, 37, 41, 0.96);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  padding: 16px 18px;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner__text {
  font-size: 15px;
  line-height: 1.5;
  color: #f1f3f5;
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px;
    border-radius: 14px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }
}

.accordion-item {
  border: none;
  border-bottom: 1px solid #e9ecef;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  background-color: #fff;
  box-shadow: none !important;
  padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background-color: #fff;
  color: #212529;
}

.accordion-body {
  padding: 0 1.5rem 1.25rem;
}

.hero.hero-sm {
  min-height: 220px !important;
  height: auto !important;
  padding: 40px 0 !important;
  display: flex;
  align-items: center;
}

.hero.hero-sm h1 {
  font-size: 2rem !important;
  margin-bottom: 10px;
}

.hero.hero-sm .lead {
  font-size: 1rem !important;
}