/* Общие стили */
/* Плавный скролл для всей страницы */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: cadetblue;
  height: 100vh;
    background-image: url('Cartfon.png');
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 300px auto;
  transition: background-image 0.3s ease;

}



/* начало кода Стилизация ползунка прокрутки */
body::-webkit-scrollbar {
    width: 12px; /* Ширина ползунка */
}

body::-webkit-scrollbar-track {
    background: #1e1e1e; /* Цвет фона дорожки */
    border-radius: 10px; /* Закругление углов */
}

body::-webkit-scrollbar-thumb {
    background: #333333; /* Цвет ползунка */
    border-radius: 10px; /* Закругление углов */
    border: 2px solid #1e1e1e; /* Граница вокруг ползунка */
}

body::-webkit-scrollbar-thumb:hover {
    background: #555555; /* Цвет ползунка при наведении */
}

/* Поддержка Firefox */
* {
    scrollbar-width: thin; /* Толщина ползунка */
    scrollbar-color: #333333 #1e1e1e; /* Цвет ползунка и фона */
}
/* конец кода Стилизация ползунка прокрутки */





/* начало Стили для фрейма с карточками */
/* Общий стиль для FrameBannerCard */
.FrameBannerCard {
  max-width: 100vw;
  width: 88%;
  margin: 0 auto;
  padding-top: 5%;
  padding-bottom: 5%;
  background: darkslategrey;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  margin-top: -2%;
  z-index: 2;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  position: relative;
}

.FrameBannerCard-grid {
  display: flex;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 95%;
  max-width: 100vw;
  justify-content: center;
}

.FrameBannerCard-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.FrameBannerCard-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.FrameBannerCard-cardImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.FrameBannerCard-card:hover .FrameBannerCard-cardImage {
  transform: scale(1.05);
}

.FrameBannerCard-cardTitle {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.FrameBannerCard-cardText {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  transition: all 0.3s ease;
}

.FrameBannerCard-cardImageWrapper {
  position: relative;
  display: inline-block;
}

.FrameBannerCard-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ff4d4d; /* Красный цвет */
  color: white;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  white-space: nowrap;
}

/* Новый стиль для отображения полного текста при наведении */
.FrameBannerCard-card:hover .FrameBannerCard-cardText {
  -webkit-line-clamp: unset; /* Убираем ограничение на количество строк */
  overflow: visible; /* Показываем весь текст */
}

.FrameBannerCard-cardButton {
  display: inline-block;
  background: transparent;
  border: 2px solid #000;
  color: #000;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 5px;
  text-align: center;
}

.FrameBannerCard-cardButton:hover {
  background: #000;
  color: #fff;
}

.FrameBannerCard-cardButton1 {
  display: inline-block;
  background: transparent;
  border: 2px solid #000;
  color: #000;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 5px;
  text-align: center;
}

.FrameBannerCard-cardButton1:hover {
  background: #000;
  color: #fff;
}

.FrameBannerCard-textBlock {
  grid-column: span 3;
  background-color: floralwhite;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.FrameBannerCard-largeText {
  font-size: 36px;
  font-weight: bold;
  color: black;
  line-height: 1.2;
}

/* Адаптивность */
@media (max-width: 768px) {
  .FrameBannerCard-grid {
    display: grid;
  }

  .FrameBannerCard-card {
    padding: 15px;
    height: auto;
  }

  .FrameBannerCard-cardTitle {
    font-size: 18px;
  }

  .FrameBannerCard-cardText {
    font-size: 12px;
  }

  .FrameBannerCard-largeText {
    font-size: 24px;
  }
}

/* Добавляем новый медиа-запрос для разрешений менее 500px */
@media (max-width: 1200px) {
  .FrameBannerCard-grid {
    display: block; /* Карточки будут располагаться одна под другой */
  }

  .FrameBannerCard-card {
    width: 90%; /* Занимать всю доступную ширину */
    max-width: 100vw; /* Занимать всю доступную ширину */
    height: 40%;
    max-height: 100vh;
    margin: 0 auto;
            align-items: center;
    margin-bottom: 20px; /* Добавляем отступ между карточками */
  }

  .FrameBannerCard-cardImage {
   /* height: 200px;  Высота изображения становится автоматической */
           width: 45%;
  }

  .FrameBannerCard-cardTitle {
    font-size: 16px; /* Уменьшаем заголовок для мобильных устройств */
  }

  .FrameBannerCard-cardText {
    font-size: 12px; /* Уменьшаем текст для мобильных устройств */
  }
}
/* конец Стили для фрейма с карточками */


/* начало кода Общие стили хедера и меню */
/* Общий стиль фрейма */
/* Стили для фрейма хедера */
/* Стили для фрейма хедера */
.frame-header {
    max-width: 100vw;
    width: 90%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
    z-index: 7;
    height: 240px;
    margin: 0 auto;
    margin-top: 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: azure;
    box-sizing: border-box;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    padding-right: 30px;
    padding-left: 30px;
    box-sizing: border-box;
    position: relative;
}

/* Контактная информация — выравнивание по правому краю */
/* Стили для контактной информации */
.frame-header-contact-info {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: sans-serif;
    font-size: 18px;
    color: #333;
}

/* Стиль для строк с иконками */
.frame-header-phone,
.frame-header-email,
.frame-header-callback {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px; /* Расстояние между иконкой и текстом */
    white-space: nowrap;
}
.frame-header-email:hover {
    background-color: #d0ecff; /* Светло-синий при наведении */
  }

/* Иконки */
.frame-header-icon {
    width: 20px;
    height: auto;
    vertical-align: middle;
}

@media (max-width: 700px) {
 .frame-header {
  height: 340px;   
 }
     
}    

/* Адаптивность: экраны меньше 1000px */
@media (max-width: 1000px) {
    .frame-header-contact-info {
        font-size: 16px;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        
        flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    }
     .frame-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

    .frame-header-icon {
        width: 20px;
        height: auto;
    }

    .frame-header-phone,
    .frame-header-email,
    .frame-header-callback {
        gap: 6px;
        margin-bottom: 8px;
    }
}

.frame-header-phone,
.frame-header-email,
.frame-header-callback {
    margin-bottom: 8px;
}

.frame-header-phone {
    font-weight: bold;
}

/* Стили для кнопки бургера

.burger-menu {
    display: none;
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
}

.burger-icon,
.burger-icon::before,
.burger-icon::after {
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: black;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.burger-icon {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.burger-icon::before,
.burger-icon::after {
    content: '';
    left: 0;
}

.burger-icon::before {
    top: -8px;
}

.burger-icon::after {
    top: 8px;
}
*/
/* Активное состояние бургера (крестик) 
.burger-menu.active .burger-icon {
    background-color: transparent;
}

.burger-menu.active .burger-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.burger-menu.active .burger-icon::after {
    top: 0;
    transform: rotate(-45deg);
}
*/
/* Стили для меню 
.frame-menu {
    display: flex;
    width: 100%;
    max-width: 1200px;
    justify-content: space-around;
    padding: 0 20px;
    box-sizing: border-box;
}

.frame-menu-item {
    text-decoration: none;
    color: black;
    font-size: 16px;
    padding: 10px 20px;
    transition: all 0.1s ease;
    border-radius: 20px;
}

.frame-menu-item:hover {
    outline: 2px solid black;
    outline-offset: 2px;
    color: #333;
}
*/
/* Адаптивность для мобильных устройств 
@media (max-width: 768px) {
    .burger-menu {
        display: block;
        margin: 20px auto;
    }

    .frame-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        animation: slideDown 0.5s ease forwards;
    }

    .frame-menu.active {
        display: flex;
    }
*/
    /* Анимация появления меню 
    @keyframes slideDown {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
*/
    /* Анимация исчезновения меню 
    @keyframes slideUp {
        from {
            transform: translateY(0);
            opacity: 1;
        }
        to {
            transform: translateY(-100%);
            opacity: 0;
        }
    }

    .frame-menu-item {
        margin: 10px 0;
    }
}
*/
.frame-logo-container {
    text-align: center;
    margin-top: 10px;
}

.frame-logo {
    height: 120px;
    width: auto;
}

/* конец кода Общие стили хедера и меню */

/* начало Стили для фрейма баннера текста */
.frame-banner-text {
  
    height: 200px;
    max-width: 100vw;
    width: 97%;
    margin: 0 auto;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F0F7F8;
    box-sizing: border-box;
    transition: background-color 1s ease; /* Плавная смена фона */
}

.frame-banner-text-content {
    text-align: center;
    color: black;
    font-size: 36px;
    text-transform: uppercase;
    max-width: 1200px;
    line-height: 1.2;
    transition: opacity 1s ease; /* Плавное исчезновение и появление текста */
}
/* конец Стили для фрейма баннера текста */

/* начало Стили для фрейма баннера картинки */
.frame-banner {
    height: 400px;
    width: 97%;
    
   max-width:100vw;
    margin: 0 auto;
    overflow: hidden;
     border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.frame-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease; /* Плавная смена изображения */
}
/* конец Стили для фрейма баннера картинки */

/* начало Стили для фрейма FrameBassein */
        .Frame-Bassein-container {
            display: flex;
            flex-direction: column;
            height: 100vh;
            max-width: 100vw;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            background: #0d2222;
    width: 90%;
    margin: 0 auto;
    margin-top: 4%;
    padding-bottom: 100px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
        }

        .Frame-Bassein-header {
            background: linear-gradient(135deg, #2f4f4f, #0d2222);
            color: white;
            text-align: center;
            padding: 20px;
            font-size: 28px;
            font-weight: bold;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            
           
   
    text-transform: uppercase;
    

        }

        .Frame-Bassein-main {
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            height: calc(100vh - 100px);
            padding-left: 30px;
    padding-right: 30px;
        }

        .Frame-Bassein-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 40px;
          /*  min-height: 100vh; */
            background-color: white;
        }

        .Frame-Bassein-section:nth-child(even) {
            flex-direction: row-reverse;
            background-color: #f4f4f4;
        }

       .Frame-Bassein-content {
    flex: 1;
    max-width: 50%;
    padding: 20px;
}

.Frame-Bassein-content h2 {
    font-size: 48px;
    margin-bottom: 15px;
    color: #4CAF50;
}

.Frame-Bassein-content p,
.Frame-Bassein-content ul {
    font-size: 16px;
    margin-bottom: 15px;
}

        .Frame-Bassein-image {
            flex: 1;
            max-width: 50%;
            height: auto;
            border-radius: 12px;
            transition: transform 0.3s ease;
        }

        .Frame-Bassein-image:hover {
            transform: scale(1.05);
        }
        .CustomGrid-Frame-Bassein-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Создаем сетку 2x2 */
    gap: 15px; /* Отступ между изображениями */
    margin-top: 20px; /* Отступ сверху */
}

.CustomGrid-Frame-Bassein-image {
    width: 300px; /* Изображения занимают всю ширину ячейки */
    height: 300px; /* Сохраняем пропорции */
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.CustomGrid-Frame-Bassein-image:hover {
    transform: scale(1.05);
}

        .Frame-Bassein-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        .Frame-Bassein-table th,
        .Frame-Bassein-table td {
            border: 1px solid #ddd;
            padding: 10px;
            text-align: center;
        }

        .Frame-Bassein-table th {
            background-color: #4CAF50;
            color: white;
        }
        
        /* Адаптация для экранов с шириной менее 500px */
@media (max-width: 500px) {
    .Frame-Bassein-header h1 {
        font-size: 18px; /* Уменьшаем размер текста */
        line-height: 1.4; /* Добавляем интервал между строками */
    }

    .Frame-Bassein-header .highlight {
        display: inline-block; /* Обеспечиваем корректное отображение фона */
        font-size: 16px; /* Уменьшаем размер текста внутри span */
        padding: 3px 8px; /* Уменьшаем отступы */
    }
}
        
        @media (max-width: 1000px) {
    /* Общий контейнер */
     /* Общий контейнер */
    .Frame-Bassein-container {
        margin-top: 50px; /* Уменьшаем отступ сверху */
        padding-bottom: 50px; /* Уменьшаем отступ снизу */
        border-radius: 15px; /* Слегка уменьшаем радиус скругления */
        height: 800px;
    }
    
    /* Контент раздела */
    .Frame-Bassein-content {
        max-width: 100%; /* Делаем ширину 100% */
        padding: 15px; /* Уменьшаем отступы */
    }

    .Frame-Bassein-content h2 {
        font-size: 36px; /* Уменьшаем размер заголовка */
    }

    .Frame-Bassein-content p,
    .Frame-Bassein-content ul {
        font-size: 14px; /* Уменьшаем размер текста */
    }

  .CustomGrid-Frame-Bassein-image-grid {
        grid-template-columns: 1fr; /* На маленьких экранах делаем сетку 1x4 */
    }

    .CustomGrid-Frame-Bassein-image {
        max-width: 100%;
        height: auto;
        margin-top: 15px;
    }

    /* Шапка */
    .Frame-Bassein-header {
        font-size: 2rem; /* Уменьшаем размер шрифта */
        padding: 15px; /* Уменьшаем внутренние отступы */
    }

    /* Основной контент */
    .Frame-Bassein-main {
        height: auto; /* Делаем высоту автоматической */
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Разделы */
    .Frame-Bassein-section {
        flex-direction: column; /* Меняем направление на колонку */
        align-items: center; /* Центрируем содержимое */
        padding: 20px; /* Уменьшаем отступы */
        min-height: auto; /* Убираем фиксированную минимальную высоту */
    }

    .Frame-Bassein-section:nth-child(even) {
        flex-direction: column; /* Также меняем направление на колонку */
    }

   

    /* Изображения */
    .Frame-Bassein-image {
        max-width: 100%; /* Делаем изображение растянутым по ширине */
        height: auto; /* Сохраняем пропорции */
        margin-top: 15px; /* Добавляем отступ сверху */
    }

    /* Таблица */
    .Frame-Bassein-table th,
    .Frame-Bassein-table td {
        font-size: 14px; /* Уменьшаем размер текста в таблице */
        padding: 8px; /* Уменьшаем внутренние отступы */
    }
}

     /*   .Frame-Bassein-footer {
            background: #2E7D32;
            color: white;
            text-align: center;
            padding: 10px;
            font-size: 14px;
        }*/
/* конец Стили для фрейма FrameBassein */

/* начало Стили для фрейма FrameBassInstruction */
.FrameBassInstruction {
   
    min-height: 100vh; /* Высота во весь экран */
  background: #343434 url('img-content/fonbas.jpg') no-repeat center center / cover;
    display: flex;
     width: 90%;
    margin: 0 auto;
    margin-top:4%;
   max-width:100vw;
    
    justify-content: center;
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
@media (max-width: 1200px) {
  .FrameBassInstruction {
  /*  background-size: contain;  Адаптация под маленькие экраны */
    background-size: 100% 100%; /* Растягиваем и на маленьких экранах */

  }
}

.FrameBassInstruction-grid {
    max-width: 1200px;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr; /* Три строки равной высоты */
    gap: 20px; /* Отступ между строками */
    padding: 20px;
    box-sizing: border-box;
    background: rgb(0 0 0 / 56%);
    border-radius: 30px;
}

/* Первая строка */
.FrameBassInstruction-row1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.FrameBassInstruction-title {
    color: white;
    font-size: 24px;
    text-transform: uppercase;
    text-align: center;
}

/* Вторая строка */
.FrameBassInstruction-row2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.FrameBassInstruction-subtitle {
    color: white;
    font-size: 80px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

/* Третья строка */
.FrameBassInstruction-row3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.FrameBassInstruction-button {
    background-color: red;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.FrameBassInstruction-button:hover {
    background-color: darkred;
}

/* Адаптивность */
@media (max-width: 768px) {
    .FrameBassInstruction-title {
        font-size: 18px;
    }

    .FrameBassInstruction-subtitle {
        font-size: 36px;
    }

    .FrameBassInstruction-button {
        font-size: 18px;
        padding: 10px 20px;
    }
}
/* конец Стили для фрейма FrameBassInstruction */


/* начало Стили для фрейма Drenaz-container */
/* Стили для общего оформления */
/* Основные стили */
.Drenaz-container {
    max-width: 100vw;
    width: 90%;
    margin: 0 auto;
    background: #343434;
    margin-top: 4%;
    border-radius: 20px;
}

.Drenaz-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.Drenaz-background-image {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.Drenaz-background-image img {
    width: 95%;
    max-width: 100vw;
    height: auto;
}

.Drenaz-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

.Drenaz-house-image {
    flex: 1;
    text-align: center;
}

.Drenaz-house-image img {
    width: 80%;
    max-width: 100vw;
}

.Drenaz-text-section {
    flex: 1;
    color: #fff;
    padding: 20px;
}

.Drenaz-text-section h1 {
    text-align: end;
    max-width: 100vw;
    width: 70%;
    font-size: 45px;
    margin-bottom: 20px;
}

.Drenaz-text-section p {
    text-align: end;
    max-width: 100vw;
    width: 70%;
    font-size: 16px;
    line-height: 1.5;
}

.Drenaz-question-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.Drenaz-question-button {
    background-color: red;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
}

.Drenaz-question-button:hover {
    background-color: darkred;
}

.Drenaz-advantages {
    margin-top: 40px;
    padding: 20px;
    background-color: #222;
    color: #fff;
    position: relative;
    z-index: 3;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.Drenaz-advantages h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

.Drenaz-advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.Drenaz-advantage-item {
    text-align: center;
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
     display: flex; /* Делаем контейнер для иконки и текста гибким */
    flex-direction: column; /* Располагаем элементы вертикально (иконка над текстом) */
    align-items: center; /* Выравниваем содержимое по центру по горизонтали */
  /*  text-align: center;  Выравниваем текст по центру */
    max-width: 90%; /* Ограничиваем ширину каждого элемента */
    margin: 0 auto; /* Центрируем элементы по горизонтали */
}

.Drenaz-advantage-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.Drenaz-advantage-item p {
    width: 75%;
    max-width: 100vw;
    font-size: 16px;
    line-height: 1.5;
}

/* Адаптация под разрешение меньше 768px */
@media (max-width: 768px) {
    .Drenaz-content {
        flex-direction: column;
    }

    .Drenaz-house-image,
    .Drenaz-text-section {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .Drenaz-text-section h1 {
        text-align: center;
        width: 100%;
        font-size: 30px;
    }

    .Drenaz-text-section p {
        text-align: center;
        width: 100%;
        font-size: 14px;
    }

    .Drenaz-advantage-grid {
        grid-template-columns: 1fr;
    }

    .Drenaz-advantages h2 {
        font-size: 28px;
    }

    .Drenaz-question-button {
        font-size: 16px;
        padding: 12px 25px;
    }
}
/* Конец кода  Drenaz-container*/

/* НАЧАЛО Общий стиль для фрейма FrameDrenazNashiRaboty НАШИ РАБОТЫ*/
.FrameDrenazNashiRaboty {
  
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0f8ffc9;
  width: 88%;
    max-width: 100vw;
    margin: 0 auto;
    margin-top: -2%;
    padding-top: 5%;
    padding-bottom: 3%;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
   
  overflow: hidden;
}

/* Стиль заголовков */
.FrameDrenazNashiRaboty__title,
.FrameDrenazNashiRaboty__video-title {
  font-size: 36px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 20px 0;
  text-align: center;
}

/* Стиль сетки с фотографиями */
.FrameDrenazNashiRaboty__photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки */
  grid-template-rows: repeat(2, 1fr); /* 2 строки */
  gap: 20px; /* Расстояние между элементами */
  justify-content: center; /* Выравнивание по центру по горизонтали */
  align-items: center; /* Выравнивание по центру по вертикали */
  padding: 20px; /* Отступы внутри контейнера */
  max-width: 1200px; /* Максимальная ширина контейнера */
  margin: 0 auto; /* Центрирование контейнера на странице */
}

.FrameDrenazNashiRaboty__photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px; /* Скругление углов */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Легкая тень для объема */
  transition: transform 0.3s ease; /* Плавный эффект при наведении */
}

.FrameDrenazNashiRaboty__photo-item img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* Обрезка изображения под размер контейнера */
  transition: transform 0.3s ease; /* Плавный эффект при наведении */
}

.FrameDrenazNashiRaboty__photo-item:hover {
  transform: scale(1.05); /* Эффект увеличения при наведении */
  cursor: pointer; /* Указатель для клика */
}

.FrameDrenazNashiRaboty__photo-item:hover img {
  transform: scale(1.1); /* Эффект увеличения изображения */
}

/* Адаптация для экранов менее 1000px */
@media (max-width: 1000px) {
  .FrameDrenazNashiRaboty__photo-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    grid-template-rows: repeat(3, 1fr); /* 3 строки */
    gap: 15px; /* Уменьшаем расстояние между элементами */
  }

  .FrameDrenazNashiRaboty__photo-item {
    border-radius: 8px; /* Меньший радиус скругления */
  }
}

/* Адаптация для экранов менее 600px */
@media (max-width: 600px) {
  .FrameDrenazNashiRaboty__photo-grid {
    grid-template-columns: 1fr; /* 1 колонка */
    grid-template-rows: repeat(6, 1fr); /* 6 строк */
    gap: 10px; /* Еще меньше расстояние между элементами */
  }
}

/* Стиль сетки с видео */
.FrameDrenazNashiRaboty__video-grid {
  display: flex;
  gap: 20px;
  width: 90%;
  justify-content: center;
  margin-top: 20px;
}

.FrameDrenazNashiRaboty__video-item {
  flex: 1;
  max-width: 300px;
}

.FrameDrenazNashiRaboty__video {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
}

/* Адаптивность */
@media (max-width: 768px) {
  .FrameDrenazNashiRaboty__title,
  .FrameDrenazNashiRaboty__video-title {
    font-size: 24px;
  }

  .FrameDrenazNashiRaboty__photo-item {
    width: 200px;
    height: 150px;
  }

  .FrameDrenazNashiRaboty__video {
    height: 150px;
  }
}

/* начало Стиль для полноэкранного просмотра картинок */
.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fullscreen img {
    max-width: 100vw;
    width: 90%;
    max-height: 90%;
  object-fit: contain;
}

.fullscreen .controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.fullscreen .prev {
  left: 9%;
}

.fullscreen .next {
  right: 9%;
}
/* конец Стиль для полноэкранного просмотра картинок */

/* КОНЕЦ Общий стиль для фрейма FrameDrenazNashiRaboty НАШИ РАБОТЫ*/


/* Начало Общий стиль для фрейма FrameFooter футер*/
      .FrameFooter {
background-color: #343434;
    max-width: 100vw;
    width: 90%;
    margin: 0 auto;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-top: 4%;
    color: #ffffff;
    font-family: Arial, sans-serif;
    padding: 20px 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.FrameFooter__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.FrameFooter__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.FrameFooter__column {
    text-align: center;
}

.FrameFooter__column--left,
.FrameFooter__column--right {
    flex: 1;
}

.FrameFooter__column--center {
    flex: 0 0 auto;
}

.FrameFooter__logo {
    max-width: 200px;
    height: auto;
}

.FrameFooter__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    text-align: right;
}

.FrameFooter__link {
    color: #007bff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    float: right;
}

.FrameFooter__textR {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

.FrameFooter__linkR {
    color: #007bff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    float: left;
}

.FrameFooter__link:hover {
    text-decoration: underline;
}

.FrameFooter__bottom {
    text-align: center;
    font-size: 12px;
    color: #666;
}
/* Адаптация для экранов шириной менее 768px */
@media (max-width: 768px) {
    .FrameFooter__top {
        flex-direction: column;
        gap: 20px; /* Расстояние между блоками */
    }

    .FrameFooter__column {
        flex: none; /* Отключаем гибкость */
        width: 100%; /* Занимают всю доступную ширину */
    }

    .FrameFooter__column--left,
    .FrameFooter__column--center,
    .FrameFooter__column--right {
        text-align: center;
    }

    .FrameFooter__logo {
        max-width: 120px; /* Уменьшаем размер логотипа */
        margin: 0 auto; /* Центрируем логотип */
    }

    .FrameFooter__text {
        font-size: 14px; /* Уменьшаем текст */
        text-align: center;
    }

    .FrameFooter__link {
        font-size: 14px; /* Уменьшаем размер ссылок */
        float: none;
    }
        .FrameFooter__textR {
        font-size: 14px; /* Уменьшаем текст */
        text-align: center;
    }

    .FrameFooter__linkR {
        font-size: 14px; /* Уменьшаем размер ссылок */
        float: none;
    }

    .FrameFooter__bottom {
        font-size: 12px; /* Уменьшаем размер текста в нижней части */
    }
}
/* Конец Общий стиль для фрейма FrameFooter футер*/



/* Начало Стили для контейнера попапа */
.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Стили для окна попапа */
.popup-window {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Адаптивность */
@media (max-width: 600px) {
    .popup-window {
        padding: 15px;
    }
}

/* Заголовок */
.popup-title {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

/* Ввод данных */
.popup-input,
.popup-textarea {
    width: 95%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.popup-textarea {
    resize: none;
    height: 100px;
}

/* Кнопка отправки */
.popup-submit {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.popup-submit:hover {
    background-color: #0056b3;
}
/* Конец Стили для контейнера попапа */



 /*начало  Стили для секции с видео терасс*/
 /* Стили для секции с видео */
/* Стили для секции с видео */
.Frame-Bassein-video-section {
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
}

.video-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.video-preview {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    max-height: 200px; /* Ограничение высоты видео */
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}
 /*конец  Стили для секции с видео терасс*/
 
 /* начало стиллей для иконок вотсапп и телеграмм Базовые стили (для десктопа) */
.FrameFooter__messenger {
    display: flex;
    justify-content: center;     /* Горизонтальное выравнивание */
    align-items: center;         /* Вертикальное выравнивание */
    flex-wrap: wrap;             /* Можно переносить на новую строку при маленьком экране */
    gap: 20px;                   /* Расстояние между иконками */
    margin: 20px 0;
    text-align: center;          /* Резервное выравнивание текста */
}

.FrameFooter__messenger-link1{
    text-align: right;
}
.FrameFooter__messenger-link2{
    text-align: left;
}

.FrameFooter__messenger-icon {
       width: 25%;
    max-width: 100vw;
    height: auto;
    transition: transform 0.3s ease;
}

.FrameFooter__messenger-link:hover .FrameFooter__messenger-icon {
    transform: scale(1.1);
}
/* Адаптация под экраны меньше 1000px */
@media (max-width: 1000px) {
    .FrameFooter__messenger-icon {
            width: 25%;
    max-width: 100vw;
    height: auto;
    }
}

/* Для экранов меньше 600px (смартфоны в портретной ориентации) */
@media (max-width: 600px) {
    .FrameFooter__messenger-icon {
           width: 25%;
    max-width: 100vw;
    height: auto;
    }
  
.FrameFooter__messenger-link1{
    text-align: center;
}
.FrameFooter__messenger-link2{
    text-align: center;
}
    .FrameFooter__messenger {
        gap: 15px;
    }
}
 /* конец стиллей для иконок вотсапп и телеграмм Базовые стили (для десктопа) */

/* === Адаптивность: экраны меньше 600px === */
@media (max-width: 600px) {
    .frame-header-contact-info {
        position: static;
        transform: none;
        margin-top: 20px;
        align-items: flex-start;
        width: 100%;
        padding-left: 30px;
        box-sizing: border-box;
    }

    .frame-header-phone,
    .frame-header-email,
    .frame-header-svaz-button-container {
        display: block;
        text-align: left;
        margin-bottom: 10px;
    }

    .frame-header-email {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .frame-header-svaz-button-container {
        text-align: center;
        width: 100%;
    }

    .frame-header-svaz-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

 
/*  начало кода Стиля кнопки обратная связь */
/* --- Стили для кнопки --- */
.frame-header-svaz-button-container {
  text-align: center;
  margin-top: 15px;
}

.frame-header-svaz-button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.frame-header-svaz-button:hover {
  background-color: #0056b3;
}

/* --- Модальное окно на весь экран --- */
.frame-header-svaz-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* --- Центральная форма --- */
.frame-header-svaz-modal {
  background-color: white;
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-sizing: border-box;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.frame-header-svaz-modal h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 20px;
  color: #333;
}

/* --- Поля ввода --- */
.frame-header-svaz-modal input[type="text"],
.frame-header-svaz-modal input[type="tel"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

/* --- Кнопка отправки --- */
.frame-header-svaz-modal button {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.frame-header-svaz-modal button:hover {
  background-color: #218838;
}

/* --- Адаптивность --- */
@media (max-width: 1000px) {
  .frame-header-svaz-modal {
    padding: 20px;
  }

  .frame-header-svaz-button {
    font-size: 14px;
    padding: 10px 20px;
  }
}
/*  конец кода Стиля кнопки обратная связь */


/*  начало кода Стиля кнопки вверх */
.TopScroll-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none; /* Скрываем по умолчанию */
  width: 50px;
  height: 50px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
}

.TopScroll-button:hover {
  background-color: #0056b3;
}
.TopScroll-button .TopScroll-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 24px;
  color: white;
}
/* Адаптив для экранов менее 700px */
@media (max-width: 700px) {
  .TopScroll-button {
 
    bottom: 80px;         /* Было 30px — стало выше на 80px */
  }
}
/*  конец кода Стиля кнопки вверх */

/*  начало кода Стиля гелереи терас */
        .Frame-Bassein-gallery {
            padding: 40px 20px;
            background-color: #f9f9f9;
        }

        .Frame-Bassein-Gal-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
        }

        .Frame-Bassein-Gal-item {
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        .Frame-Bassein-Gal-item:hover {
            transform: scale(1.03);
        }

        .Frame-Bassein-Gal-img {
            width: 100%;
            height: 100%;
            display: block;
        }

        /* --- Модальное окно --- */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.8);
            transition: opacity 0.3s ease;
        }

        .modal-content {
            margin: 5% auto;
            display: block;
            max-width: 80%;
            max-height: 80vh;
            border-radius: 10px;
            animation: fadeIn 0.3s ease-in-out;
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 35px;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .modal-close:hover,
        .modal-close:focus {
            color: #bbb;
            text-decoration: none;
            cursor: pointer;
            transform: rotate(90deg);
        }

        @keyframes fadeIn {
            from {opacity: 0;}
            to {opacity: 1;}
        }
/*  конец кода Стиля гелереи терас */

