/* Стили для текста "Мы там, где вам удобно – в любое время!" */
.top-message {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #333; /* Графитовый цвет */
    padding: 10px 0;
    background-color: #00BCFF; /* Голубой фон */
    margin: 0;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Основной контейнер */
.container {
    width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Фиксированный заголовок */
header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f8f8; /* Молочный фон */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Легкая тень */
}

/* Контент внутри хедера */
.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    margin-top: 50px;
    padding-bottom: 20px;
}

/* Отступ для основного контента, чтобы не перекрывался с фиксированным header */
body {
    font-family: 'Arial', sans-serif;
    background-color: #F8F9FA; /* Молочно-белый фон */
    color: #212529; /* Графитовый текст */
    margin: 0;
    padding: 0;
    margin-top: 60px;
}

.call-button {
    display: none;
}

/* Стили для логотипа и заголовка */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Логотип изображения */
.logo img {
    height: 40px;
    margin-left: 20px;
}

/* Заголовок под логотипом */
.logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #333; /* Графитовый цвет */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Легкая тень для текста */
    margin: 5px 0;
    transition: transform 0.3s ease-in-out; /* Плавное увеличение при наведении */
}

/* Эффект при наведении на заголовок */
.logo h2:hover {
    transform: scale(1.05); /* Легкое увеличение заголовка при наведении */
}

/* Логотип с заголовком */
.logo-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Контейнер заголовка */
.title-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Основной заголовок */
.title {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Градиентный текст "Вывод" */
.gradient-text {
    background: linear-gradient(to right, #007bff, #ff0000);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent; /* На случай поддержки в будущем */
    display: inline-block; /* Убирает возможные баги в рендеринге */
    font-weight: bold;
}

/* Красный акцент для "запоя" */
.highlight {
    color: #d90000;
    font-weight: bold;
}

/* Иконка SVG-часов */
.icon-clock svg {
    margin-left: 10px;
    width: 40px;
    height: 40px;
    display: block;
}

/* Анимация стрелок часов */
.clock-hands {
    transform-origin: center;
    animation: rotate-clock 5s linear infinite;
}


/* Стили для текста "Работаем круглосуточно" */
.working-hours {
    font-size: 0.9rem; /* Меньший размер шрифта */
    color: #666; /* Темно-серый цвет текста */
    text-align: center; /* Центрирование текста */
    margin-top: 5px;
}

.working-hours strong {
    font-weight: 700; /* Полужирное выделение слова "круглосуточно" */
    color: #0077B6; /* Основной голубой для выделенного слова */
}

.info-text {
    text-align: center;
}

.info-text h1 {
    margin: 10px 0;
    font-size: 24px; /* Можно изменить под нужный размер */
}

/* Контейнер секции */
.info-sect {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f0; /* Молочно-серый фон на случай, если изображение не загрузится */
    padding: 5px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    margin-top: 150px;
    flex-wrap: wrap; /* Чтобы элементы могли перетекать */
    position: relative;
}

/* Контейнер секции */
.info-section {
    position: relative;
    overflow: hidden; /* чтобы размазанный фон не выходил за границы */

    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f0f0; /* Молочно-серый фон на случай, если изображение не загрузится */
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    margin-top: 10px;
    flex-wrap: wrap; /* Чтобы элементы могли перетекать */
    position: relative;
}

/* Псевдоэлемент для размытого фона */
.info-section::before {
    content: ''; /* Псевдоэлемент для наложения размытия */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/background.webp');/* Указываем путь к изображению */
    background-size: cover; /* Покрытие всего контейнера изображением */
    background-position: center; /* Центрирование изображения */
    filter: blur(12px); /* Размытие фона */
    z-index: 0; /* Помещаем размытие на задний план */
    opacity: 0.6; /* если хочешь полупрозрачный эффект */
}

.form-container, .info-content {
    position: relative; /* Для того, чтобы элементы оставались видимыми поверх размытого фона */
    z-index: 1;
}

/* Ширина для .info-content */
.info-content {
    width: 55%; /* Задаем ширину для .info-content */
}

.info-content h1 {
    font-size: 2rem;
    color: #333; /* Графитовый */
    margin-bottom: 10px;
}

/* Заголовок */
.info-content p {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}


/* Стили для контейнера с услугами */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Две колонки по умолчанию для больших экранов */
    gap: 10px;
    margin-bottom: 20px;
    max-width: 100%;  /* Ограничим максимальную ширину */
}

/* Основной контейнер формы */
.form-container {
    width: 40%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}
/* Стили для полей ввода в форме */
form input {
    width: 100%;  /* Убедимся, что поля занимают всю ширину контейнера */
    padding: 10px;
    margin-bottom: 10px;  /* Отступ снизу между полями */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;  /* Чтобы padding не выходил за пределы поля */
}

/* Добавляем отступ справа */
form input[type="text"],
form input[type="tel"] {
    padding-right: 15px;  /* Добавляем отступ справа */
}

/* Опционально — можно добавить отступ справа и для кнопки */
form button {
    padding: 12px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    background-color: #0077B6;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.phone-info {
    display: flex;
    flex-direction: column;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333; /* Графитовый текст */
}

.phone-subtext {
    font-size: 0.9rem;
    color: #666; /* Темно-серый цвет */
}

/* Стили для каждого элемента (услуги) */
.feature {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* Растягиваем карточку по высоте */
}
/* Текст внутри карточек */
.feature span {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
    display: block;
    margin-top: 10px;
}

.feature img {
    width: 24px;
    height: 24px;
}

/* Стиль для отправки формы */
#callbackForm {
    margin-bottom: 20px;
}

#callbackForm input {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Стиль для скрытия сообщения по умолчанию */
#successMessage.hide {
    display: none;
}

#callbackForm button {
    padding: 10px 20px;
    background-color: #2e8b57; /* Цвет кнопки по умолчанию */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Когда кнопка неактивна */
#callbackForm button.disabled {
    background-color: #d3d3d3; /* Серый цвет для неактивной кнопки */
    color: #a9a9a9; /* Более светлый цвет для текста */
    cursor: not-allowed; /* Меняем курсор на "недоступно" */
}

/* Секция преимуществ */
.advantages {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 20px;
    align-items: center;
    background: #f8f9fc; /* Светлый фон */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.advantages h2 {
    font-size: 2rem;
    color: #222; /* Темный графитовый для заголовков */
    margin-bottom: 20px;
}

/* Контейнер преимуществ */
.advantage-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background: #f8f9fc;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Карточки преимуществ */
.advantage-item {
    flex: 1;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

/* Иконки в карточках преимуществ */
.advantage-item img {
    width: 60px;
    margin-bottom: 15px;
}

/* Заголовок карточки */
.advantage-item h3 {
    font-size: 1.2rem;
    color: #0077B6; /* Голубой для выделения заголовков */
    margin-bottom: 10px;
}

/* Текст в карточке */
.advantage-item p {
    font-size: 1rem;
    color: #555; /* Темно-серый для текста */
}

.review-section {
    background: #f9f9f9;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    margin: 40px 0;
}
.review-section h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}
.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.review-item blockquote {
    font-style: italic;
    background: white;
    padding: 20px;
    border-left: 4px solid #48a868;
    border-radius: 6px;
}


/*
.regions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f0f0; /* Молочно-серый фон на случай, если изображение не загрузится 
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    margin-top: 10px;
    flex-wrap: wrap; /* Чтобы элементы могли перетекать 
    position: relative;
}


.regions h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}
*/

.regions {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    margin: 40px auto;
    max-width: 1200px;
}

.regions h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: #333;
}

.regions ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.regions li a {
    display: block;
    padding: 14px 20px;
    background-color: #ffffff;
    color: #007bff;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    transition: all 0.2s ease;
}

.regions li a:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
}


/* Стили для мобильных устройств */
@media (max-width: 768px) {
    #callbackForm button {
        width: 100%;
        padding: 15px;
    }
}

/* Стили для ПК */
@media (min-width: 769px) {
    #callbackForm button {
        width: auto;
        padding: 10px 20px;
    }
}

/* Ключевые кадры анимации */
@keyframes rotate-clock {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 768px) {
  header {
      width: 100%;  /* Ширина на весь экран */
      padding: 10px 0px; /* Меньшие отступы */
  }
  .header-content {
      display: flex;
      flex-direction: column; /* Элементы располагаются вертикально */

      gap: 5px; /* Промежуток между строками */
      margin-top: 20px; /* Уменьшаем отступ сверху для мобильных устройств */
      padding-bottom: 15px; /* Уменьшаем отступ снизу для мобильных */
  }

  .container {
      width: 100%; /* Делаем контейнер шириной 100% */
      padding: 0 3px; /* Немного уменьшаем отступы с боков */
  }

  .logo {
      /* margin: 0 auto; /* Центрируем логотип 
      padding: 5px 0; /* Уменьшаем отступы 
      margin-left: 25px; */
      display: none; /* Скрываем логотип на мобильных устройствах */
  }

  .logo-title {
        margin-top: 15px;
        flex-direction: column;
        justify-content: center;
    }

    .break-line {
        display: block; /* Перенос на новую строку */
    }

    .title {
        margin-left: 5px;
        margin-right: 10px;
        font-size: 1.0rem;
    }

    .icon-clock svg {
        width: 32px;
        height: 32px;
    }

  .logo h1 {
      font-size: 1.2rem; /* Уменьшаем размер заголовка */
  }

  .logo h2 {
      font-size: 1.2rem; /* Уменьшаем размер шрифта на мобильных */
  }

  .working-hours {
      display: none; /* Скрываем элемент на мобильных устройствах */
  }

  /* Редактируем контейнер секции */
  .info-sect {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 120px;
    padding: 5px;
}

  .info-section {
      flex-direction: column;
      margin-top: 10px;
      padding: 20px;
  }

  .info-content {
      width: 100%;
      margin-bottom: 20px; /* Отступ снизу */
  }

  /* Уменьшаем размер шрифта и немного уменьшаем отступы */
  .info-content h1 {
      font-size: 1.6rem;
  }

  .features {
      grid-template-columns: 1fr; /* Одна колонка для мобильных */
  }

  .info-content p {
      font-size: 1.5rem; /* Уменьшаем размер заголовка для мобильных */
  }

  .feature {
      padding: 15px; /* Уменьшаем padding в карточке */
  }

  .feature span {
      font-size: 1rem; /* Уменьшаем размер шрифта в карточке */
  }

  /* Уменьшаем ширину контейнера формы на мобильных */
  .form-container {
      width: 90%; /* Делаем контейнер шире, почти на весь экран */
      padding: 15px; /* Уменьшаем отступы внутри */
  }

  /* Уменьшаем отступы и размер полей ввода */
  form input[type="text"],
  form input[type="tel"] {
      padding-right: 10px;  /* Уменьшаем отступ справа для мобильных */
      font-size: 1rem;  /* Уменьшаем размер шрифта */
  }

  /* Уменьшаем размер кнопки */
  form button {
      font-size: 1rem; /* Уменьшаем размер шрифта */
      padding: 10px 18px; /* Уменьшаем размер кнопки */
  }

  .phone-info {
    display: flex;
    flex-direction: column; /* Размещаем номер и текст по вертикали */
    align-items: flex-start;
}


  .phone-number {
    font-size: 0.9rem; /* Уменьшаем размер шрифта */
    white-space: nowrap; /* Не даем номеру перенести строку */
    word-wrap: normal; /* Если это необходимо, можно добавить для предотвращения переноса */
    overflow: hidden;
  }

  .phone-subtext {
      font-size: 0.8rem; /* Уменьшаем размер */
  }

  .call-button {
      display: block;
      position: fixed;
      bottom: 30px;
      right: 20px;
      z-index: 1000; /* Чтобы кнопка была поверх других элементов */
  }

  .call-button a {
      width: 70px;
      height: 70px; /* Уменьшаем размер кнопки */
      animation: pulse 1.5s infinite; /* Добавлена анимация */
  }

  .call-button img {
      width: 48px;
      height: 48px; /* Уменьшаем размер иконки */
  }

  @media (max-width: 768px) {
    .regions {
      padding: 20px 10px;
      border-radius: 12px;
    }
  
    .regions h2 {
      font-size: 20px;
      margin-bottom: 16px;
    }
  
    .regions li a {
      font-size: 14px;
      padding: 10px 14px;
    }
  }
  

}