@font-face {
    font-family: 'MyFont1'; 
    src: url('../fonts/Comfortaa.ttf') format('woff2'),
         url('../fonts/Comfortaa.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-weight: 100;
}



@font-face {
    font-family: 'MyFont2'; 
    src: url('../fonts/tilda-script-non-connect-bold.otf') format('woff2'),
         url('../fonts/tilda-script-non-connect-bold.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-weight: 100;
}

*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    letter-spacing: 1px;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    box-sizing: border-box;

}

body{
    font-family: "MyFont1", Arial, sans-serif;
    color: #2e2c3a;
    background: #ffffff;
    padding-top: 110px;
    user-select: none;
    -webkit-user-select: none;
}

.font-family-thy {
    font-family: "MyFont2", Arial, sans-serif;
}

button {
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  background-color: transparent;
  cursor: pointer
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.srow {
  display: flex;
  justify-content: center;
  align-items: center;
}

img {
  display: block;
  margin: 0 auto;
  max-width: 100%;

}

p {
    font-size: 17px;
    line-height: 1.7;
}

.sh {
    font-size: 17px;
    line-height: 1.7;
}


.curs {
    font-family: "MyFont1", Arial, sans-serif;
    color: rgb(75, 79, 88);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3 !important;
}

.curss {
    font-family: "MyFont2", Arial, sans-serif;
    color: rgb(75, 79, 88);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3 !important;
}

h1 {
        font-size: 43px;
        line-height: 0.8 !important;  /* Компактность строк */
        margin-bottom: 20px !important; 
        margin-top: 0 !important;
        padding: 0 !important;
}

.text-shadow {
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
}

.h1-min {
    font-size: 25px;
    line-height: 1.2 !important;
}

h2 {
    font-size: 30px;
    line-height: 1.1 !important;
}

.font-h2 {
    font-size: 25px !important; 
}


.subtitle {
    font-size: 30px;
}

.city {
      font-size: 30px;
  }

.static-content p {
    font-size: 25px !important;
    line-height: 1.2 !important;
}

.p-min {
    font-size: 25px !important;
    line-height: 1.2 !important;
}



@media (max-width: 768px) {
  /* Делаем так, чтобы каждый блок занимал всю ширину */
  .static-content h1 span {
    display: block; 
    width: 100%;
  }

  .subtitle {
    font-size: 0.6em; /* Размер для "Певица и Ведущая" */
    margin-top: 10px;
    line-height: 1.2 !important;
  }

  .city {
    font-size: 0.6em; /* Размер для "г.Саратов" */
    margin-top: 5px;
    line-height: 1.2 !important;
  }
}



/* ================== swiper ==================== */
.swiper {
    width: 100%;
    height: 800px;
    border: 1px solid rgb(255, 255, 255, 0.1);    
    
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;     /* ← меняем auto на 100% */
    object-fit: cover; /* картинка заполнит весь блок, обрезая лишнее */
  }

  .swiper-slide {
    background: #373737;
    display: flex;
    /* 1. Картинка всегда занимает весь блок без пустот */
    background-size: cover; 
    /* 2. Точка привязки — центр (картинка будет обрезаться равномерно с краев) */
    background-position: center; 
     /* 3. Запрещаем повторение картинки */
    background-repeat: no-repeat; 
  }

.filter-m {
    filter: brightness(0.7); 
}

/* ================== nav ==================== */
        
/* Стили навигационной панели */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: #ffffff;
            box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            background-color: rgb(255, 255, 255);
            box-shadow: 0 6px 15px rgba(163, 163, 163, 0.15);
        }

        .navbar-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 30px;
            height: 110px;
            max-width: 1200px;
            margin: 0 auto;
        }

        nav a.active {
          color: #a855f7; /* Ваш акцентный цвет */
          cursor: default; /* Меняем курсор с "пальца" на обычную стрелку */
          pointer-events: none; /* ПОЛНОСТЬЮ отключает кликабельность */
          text-decoration: none;      
          border-bottom: 4px solid #a855f7; /* Белая линия под текстом */
          padding-bottom: 7px;
        }




/* Логотип */
        .logo {
            padding-left: 30px;
            margin: 0px;
            padding: 0px;
        }

        .logo i {
            margin-right: 10px;
            color: #a855f7;
        }

/* Основное меню для десктопа */
        .nav-menu {
            display: flex;
            list-style: none;
        }

        .nav-menu li {
            margin-left: 30px;
        }

        .nav-menu a {
            color: #282828ff;
            text-decoration: none;
            font-weight: 500;
            font-size: 25px;
            padding: 10px 0;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-menu a:hover {
            color: #a855f7;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            background-color: #a855f7;
            bottom: 0;
            left: 0;
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

/* Бургер-меню для мобильных устройств */
        .burger-menu {
            display: none;
            cursor: pointer;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
        }

        .burger-line {
            width: 100%;
            height: 3px;
            background-color: #282828ff;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

/* Стили для мобильного меню */
        .mobile-menu {
            display: none;
            position: absolute;
            top: 110px;
            left: 0;
            width: 100%;
            background-color: #ffffff;
            z-index: 999;
            padding: 20px 0;
        }

        .mobile-menu.active {
            display: block;
        }

        .mobile-menu ul {
            list-style: none;
            text-align: center;
        }

        .mobile-menu li {
            margin-bottom: 20px;
        }

        .mobile-menu a {
            color: #2f2f2f;
            text-decoration: none;
            font-size: 25px;
            font-weight: 500;
            padding: 10px 0;
            display: inline-block;
            transition: color 0.3s ease;
        }

        .mobile-menu a:hover {
            color: #a855f7;
        }

        
        
        
        
        
/* Контент страницы для демонстрации скролла */
        .content {
            padding: 80px 20px;
        }



        .section h2 {
            color: #2c3e50;
            margin-bottom: 20px;
            padding-bottom: 10px;

        }

        .section {
            font-size: 17px;
            line-height: 1.7;
        }

        .highlight {
            background-color: #f1f8ff;
            padding: 20px;
            border-radius: 6px;
            border-left: 4px solid #a855f7;
            margin: 20px 0;
        }

        
        
        
        
/* Анимация бургера при открытии */
        .burger-menu.active .burger-line:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .burger-menu.active .burger-line:nth-child(2) {
            opacity: 0;
        }

        .burger-menu.active .burger-line:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        
        
        
        
        
        
/* Адаптивность */
        @media screen and (max-width: 910px) {
            .nav-menu {
                display: none;
            }

            .burger-menu {
                display: flex;
            }

            .navbar-container {
                padding: 0 15px;
            }
        }

        @media screen and (max-width: 480px) {

            .logo {
                font-size: 20px;
            }

            .mobile-menu {
                top: 100px;
            }

            body {
                padding-top: 70px;
            }
        }
        

        footer {
            text-align: center;
            padding: 30px;
            background-color: #1f2026;
            color: white;
            font-size: 20px
        }





.static-content {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: white;
  pointer-events: none;
  max-width: 1200px;
  width: 90%;
  padding: 0 20px;
  box-sizing: border-box;
}





.containers {
  display: flex;
  flex-wrap: wrap; /* Позволяет блокам переноситься */
  gap: 20px;
  align-items: flex-start;
  justify-content: center; /* Центрируем видео в ряду */
}

.image-block {
    flex: 0 1 300px; /* Растягиваются, но не меньше 300px */
    width: 30%;
    height: auto;   /* Пропорции сохраняются */
    border-radius: 8px;
    overflow: hidden;
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.text-block {
    flex: 1 1 300px; /* Растягиваются, но не меньше 300px */
    padding: 10px;
}
        






.pad-p {
    margin-top: 15px
}

.pad {
    margin-top: 50px;
    font-weight: 600;
    font-size: 19px;
    background-color: white;
    padding: 40px;
    box-shadow: 0 -10px 15px -10px rgba(0, 0, 0, 0.05), 0 10px 15px -10px rgba(0, 0, 0, 0.05);
}

.section-video {
    background: #f8f8f8
}



.video-container {
    display: flex;          /* Включаем флексбокс */
    flex-wrap: wrap;        /* Позволяет переноситься на мобильных */
    gap: 20px;              /* Расстояние между видео */
    justify-content: center; /* Центрируем видео в ряду */
    width: 100%;
    padding-top: 20px

}

.v-size {
    max-width: 49%;
    height: auto;
    border-radius: 8px;
}

@media screen and (max-width: 1000px) {

    .v-size {
    max-width: 60%;
}

}

@media screen and (max-width: 750px) {

    .v-size {
    max-width: 100%;
}

}



 



/* --- button --- */
.button-v {
  margin-top: 50px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

/* Сама ссылка */
.button-v .learn-more {
  position: relative; /* Важно для позиционирования текста внутри */
  display: block;    /* Растягиваем на всю ширину */
  width: 18rem;
  height: auto;
  text-decoration: none; /* Убираем подчеркивание ссылки */
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
}

.button-v .learn-more .circle {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 position: relative;
 display: block;
 margin: 0;
 width: 3rem;
 height: 3rem;
 background: #282936;
 border-radius: 1.625rem;
}

.button-v .learn-more .circle .icon {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 position: absolute;
 top: 0;
 bottom: 0;
 margin: auto;
 background: #fff;
}

.button-v .learn-more .circle .icon.arrow {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 left: 0.625rem;
 width: 1.125rem;
 height: 0.125rem;
 background: none;
}

.button-v .learn-more .circle .icon.arrow::before {
 position: absolute;
 content: "";
 top: -0.29rem;
 right: 0.0625rem;
 width: 0.625rem;
 height: 0.625rem;
 border-top: 0.125rem solid #fff;
 border-right: 0.125rem solid #fff;
 transform: rotate(45deg);
}

.button-v .learn-more .button-text {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 position: absolute;
 top: 50%;                 /* Центрируем по вертикали */
 left: 0;
 right: 0;
 transform: translateY(-50%); /* Точное выравнивание по центру круга */
 margin: 0 0 0 3.5rem;    /* Немного уменьшили отступ слева для баланса */
 color: #282936;
 font-weight: 700;
 text-align: center;
 text-transform: none;    /* Отменяем заглавные буквы */
 font-size: 1.7rem;       /* Увеличили шрифт (было по умолчанию около 0.8-0.9) */
 line-height: 1;          /* Чтобы текст не уезжал вниз */
}

.button-v:hover .circle {
 width: 100%;
}

.button-v:hover .circle .icon.arrow {
 background: #fff;
 transform: translate(1rem, 0);
}

.button-v:hover .button-text {
 color: #fff;
}



















/* --- стили --- */




/* ГАЛЕРЕЯ - АДАПТИВНАЯ, ОДИНАКОВАЯ ВЫСОТА БЕЗ ОБРЕЗАНИЯ */
.custom-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-y; /* Разрешаем только вертикальный скролл на тач-устройствах */
}

.custom-gallery.dragging {
    cursor: grabbing;
}

.gallery-container {
    overflow: hidden;
    padding: 50px 0;
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    will-change: transform;
    align-items: stretch;
}

.gallery-slide {
    flex: 0 0 calc(33.333% - 14px);
    transition: all 0.3s ease;
    opacity: 0.5;
    transform: scale(0.85);
    display: flex;
    justify-content: center; /* Центрируем слайд */
    align-items: center;
}

/* Активный (центральный) слайд */
.gallery-slide.active {
    opacity: 1;
    transform: scale(1);
}

.gallery-photo {
    width: 100%;
    height: 400px;
    overflow: visible;
    cursor: pointer;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto; /* Разрешаем клики только когда не свайпаем */
}

/* Само изображение */
.gallery-photo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto; /* Центрируем изображение */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    object-fit: contain;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;

}

.gallery-photo img.portrait {
    max-width: 70%;
}

/* При наведении увеличиваем только если не перетаскиваем */
.gallery-photo:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Точки пагинации */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #a855f7;
    width: 28px;
    border-radius: 6px;
}








/* Lightbox */




/* Планшеты (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .gallery-slide {
        flex: 0 0 calc(50% - 10px);
    }
    
    .gallery-track {
        gap: 20px;
    }
    
    .gallery-photo {
        height: 350px;
    }
    
    .gallery-photo img {
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
}

/* Телефоны (до 768px) */
@media screen and (max-width: 768px) {
    .custom-gallery {
        padding: 10px 0;
    }
    
    .gallery-container {
        display: flex;
        justify-content: center; /* Центрируем контейнер */
    }
    
    .gallery-track {
        gap: 15px;
    }
    
    .gallery-slide {
        flex: 0 0 85%; /* Один слайд на 85% ширины */
        opacity: 0.7;
        transform: scale(0.9);
        margin: 0 auto; /* Центрируем слайд */
    }
    
    .gallery-slide.active {
        opacity: 1;
        transform: scale(1);
    }
    
    .gallery-photo {
        height: 300px;
    }
    
    .gallery-photo img {
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }
    
    .gallery-photo img.portrait {
        max-width: 80%;
    }
    
    .gallery-dots {
        gap: 8px;
        margin-top: 20px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 24px;
        border-radius: 5px;
    }
}

/* Маленькие телефоны (до 480px) */
@media screen and (max-width: 480px) {
    .custom-gallery {
        padding: 5px 0;
    }
    
    .gallery-track {
        gap: 10px;
    }
    
    .gallery-slide {
        flex: 0 0 90%;
        opacity: 0.6;
        transform: scale(0.85);
    }
    
    .gallery-slide.active {
        opacity: 1;
        transform: scale(1);
    }
    
    .gallery-photo {
        height: 250px;
    }
    
    .gallery-photo img {
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }
    
    .gallery-photo img.portrait {
        max-width: 85%;
    }
    
    .gallery-dots {
        gap: 6px;
        margin-top: 15px;
    }
    
    .dot {
        width: 7px;
        height: 7px;
    }
    
    .dot.active {
        width: 20px;
    }
}

/* Очень маленькие экраны (до 360px) */
@media screen and (max-width: 360px) {
    .gallery-photo {
        height: 220px;
    }
    
    .gallery-photo img {
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }
}

/* Улучшения для тач-устройств */
@media (hover: none) and (pointer: coarse) {
    .gallery-photo:hover img {
        transform: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
}









/* Улучшенный лайтбокс с навигацией */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    cursor: default;
}

/* Кнопки навигации */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-nav svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Кнопка закрытия */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Индикатор текущего фото */
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    background: rgba(0,0,0,0.6);
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 10001;
}

/* Для мобильных */
@media screen and (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
    
    .gallery-lightbox img {
        max-width: 90%;
        max-height: 80%;
    }
}
















.slider-wrapper {
    position: relative;
    
}



.fakt-ul {
    color: rgb(82, 95, 128);
    padding-left: 10px;
    padding-top: 20px;
    font-size: 17px;
    line-height: 1.7;
    padding-bottom: 80px;
}

.fakt-ul ul {
    list-style: none;
    padding-left: 0;
}

.fakt-ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.fakt-ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #a855f7;
    font-size: 18px;
    font-weight: bold;
}

.content-facts {
    padding: 0px 20px;
}

.section-reviews {
    background: #f8f8f8
}













/* ===== 3 КАРТИНКИ В РЯД ОТЗЫВЫ ===== */

.reviews-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding-top: 50px
}

.review-img {
    flex: 1 1 calc(33.333% - 60px);
    min-width: 250px;
    max-width: 350px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    transition: none;
}

.review-img img {
    width: auto;
    max-width: 100%;
    height: 400px;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease-out;
    will-change: transform;
    border-radius: 8px;
    object-fit: contain
}

.review-img:hover img {
    transform: scale(1.05);
}

/* Адаптация под планшеты (2 картинки в ряд) */
@media (max-width: 900px) {
    .review-img {
        flex: 1 1 calc(50% - 30px);
    }
}

/* Адаптация под телефоны (1 картинка в ряд) */
@media (max-width: 600px) {
    .review-img {
        flex: 1 1 100%;
    }
    
    .reviews-flex {
        gap: 20px;
    }
}





/* ===== КАРТИНКИ С ОГРАНИЧЕННОЙ ВЫСОТОЙ СЕРТИФИКАТЫ ===== */

.reviews-flex-cert {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding-top: 50px
}

.review-img-cert {
    flex: 1 1 calc(33.333% - 60px);  /* 3 картинки в ряд */
    width: 420px;
    height: 200px;          /* фиксированная высота, чтобы не были длинными */
    object-fit: cover;      /* картинка обрезается, но сохраняет пропорции */
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.review-img-cert:hover {
    transform: scale(1.05);

}


/* Адаптация под планшеты (2 картинки в ряд) */
@media (max-width: 900px) {
    .review-img-cert {
        flex: 1 1 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .review-img-cert {
        max-width: 100%;
        height: 280px;
    }
}

/* Адаптация под телефоны (1 картинка в ряд) */
@media (max-width: 600px) {
    .review-img-cert {
        flex: 1 1 100%;
    }
    
    .reviews-flex-cert {
        gap: 20px;
    }
}



/* Модальное окно для увеличения */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}













.contacts-list {
    list-style: none;
    text-align: left;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-row svg {
    display: block;
    flex-shrink: 0;
}

.contact-row a {
    color: white;
    text-decoration: none;
    line-height: 1;
}

.contact-row a:hover {
    text-decoration: underline;
}

.section-contacts {
    color: white;
}

.section-contacts h2 {
    color: white;
    margin-bottom: 25px;
}


.section-one {
    background: #f8f8f8
}

.h2-video {
    padding-bottom: 50px
}

.video-categories {
    padding-top: 40px;
    padding-bottom: 20px;
}

.cat-link {
    display: inline-block;
    padding: 10px !important;
    font-size: 20px;
    color: #2e2c3a;
}
.cat-link:hover {
    color: #a855f7;
}

.g-size {
    max-width: 20%;
    height: auto;
    border-radius: 8px;
}

/* Адаптация для планшетов (2 видео в ряд) */
@media screen and (max-width: 768px) {
    .g-size {
        max-width: calc(50% - 10px);
    }
}

/* Адаптация для телефонов (1 видео в ряд) */
@media screen and (max-width: 580px) {
    .g-size {
        max-width: 50%;
    }
}



.contact-linkk {
    color: #2e2c3a;
    font-size: 20px
}

.contact-roww {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    text-decoration: none;
    line-height: 1;
}

.contact-roww a:hover {
    text-decoration: underline;
}


.footer-kontakt {
    min-height: calc(45vh - 110px); /* Высота экрана минус шапка */
    background-color: #1f2026;
    color: white;
    padding: 30px;
}


/* Для всех контейнеров с картинками */
@media (max-width: 600px) {
    .reviews-flex {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .review-img {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* Переопределяем с большей специфичностью */
    .reviews-flex .review-img img {
        height: auto;
        width: 100%;
    }
}

/* Для всех контейнеров с видео */
@media (max-width: 600px) {
    .video-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .v-size,
    .g-size {
        width: 100%;
        max-width: 350px;
        height: auto;
        margin: 0 auto;
    }
}

