        /* Общие стили */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            line-height: 1.6;
            color: #333;
            background-color:#F0F1FF;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        img {
            max-width: 100%;
            height: auto;
        }
        
        .btn {
    display: inline-block;
    padding: 12px 28px;
    background: radial-gradient(circle at center, 
        #F6C43B 0%, 
        #EEB029 50%, 
        #DC870C 100%);
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
    text-shadow: 
        0 -1px 0 rgba(0, 0, 0, 0.4),
        0 0 6px rgba(0, 0, 0, 0.7),
        0 0 10px rgba(0, 0, 0, 0.9);
    border: none;
    border-radius: 8px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: radial-gradient(circle at center, 
        #DC870C 0%, 
        #EEB029 50%, 
        #F6C43B 100%);
    text-shadow: 
        0 -1px 2px rgba(0, 0, 0, 0.5),
        0 0 8px rgba(0, 0, 0, 1),
        0 0 14px rgba(0, 0, 0, 1);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
        /* Хедер */
        header {
            background-color: #0C103B; /* Темно-синий цвет */
            padding: 1px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            flex: 1;
            min-width: 200px;
        }
        
        .logo {
            height: 80px;
            margin-right: 15px;
        }
        
        .company-name {
            font-size: 1.2rem;
            font-weight: bold;
            color: white; /* Белый текст */
        }
        
        .nav-container {
            flex: 2;
            min-width: 300px;
        }
        
        .nav-menu {
            display: flex;
            justify-content: center;
            list-style: none;
            flex-wrap: wrap;
        }
        
        .nav-menu li {
            margin: 0 10px;
        }
        
        
        .phone {
            display: none;
        }
        
        .nav-menu a {
            text-decoration: none;
            color: white; /* Белый текст */
            font-weight: 500;
            padding: 5px 10px;
            transition: color 0.3s;
        }
        
        .nav-menu a:hover {
            color: #b3e5fc; /* Светло-голубой при наведении */
        }
        
        .contact-container {
            flex: 1;
            text-align: right;
            min-width: 200px;
        }
        
        .phone-number {
            font-weight: bold;
            font-size: 1.1rem;
            color: white; /* Белый текст */
            text-decoration: none;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: white; /* Белый цвет иконки */
        }
        
        /* Контакты в хедере */
.contact-container {
    flex: 1;
    min-width: 400px;
}

.contact-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-email:hover {
    color: #b3e5fc;
}

.contact-email img {
    width: 20px;
    height: 20px;
}

.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.phone-number {
    font-weight: bold;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.phone-number:hover {
    color: #b3e5fc;
}
        
/* Баннер */
.hero {
  position: relative;
  height: 700px; /* Высота баннера */
  background-image: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.7)), url('/images/banner.jpg');
  background-size: cover;
  background-position: center 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
  /* background-attachment: fixed; убрано */
}

.hero-content {
  max-width: 600px;
  padding: 0 20px;
  margin-left: 20%; /* Отступ от левого края */
  text-align: left;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Секция услуг */
.services-section {
    padding: 60px 0;
    background-color: #F0F1FF; /*молочный фон*/
}

.services-section h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

.service-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.service-tab {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-bottom: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    position: relative;
}

.service-tab:first-child {
    border-radius: 5px 0 0 0;
}

.service-tab:last-child {
    border-radius: 0 5px 0 0;
}

.service-tab.active {
    background-color: #1a237e; /* Темно-синий цвет */
    color: white;
}

/* Анимация пульсации для неактивной вкладки */
/* Анимация пульсирующего увеличения текста */
.service-tab:not(.active) {
    animation: text-pulse 2s infinite ease-in-out;
    transform-origin: center;
}

@keyframes text-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Для мобильных - более мягкий эффект */
@media (max-width: 768px) {
    @keyframes text-pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.01);
        }
        100% {
            transform: scale(1);
        }
    }
}

.service-tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ddd; /* рамка вокруг услуг*/
    border-radius: 0 0 5px 5px;
    margin-top: -30px;
}

.service-tab-content.active {
    display: block;
}

.service-type-header {
    margin: 30px 0 20px;
    color: #1a237e; /* Темно-синий цвет */
    font-size: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%; /* Занимает всю высоту родителя */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-card h4 {
    color: #fff;
    margin-bottom: 15px;
    flex-grow: 1; /* Растягивает заголовок, чтобы прижать нижний блок вниз */
}

.zalivka {
    border-radius: 4px;
    width: 99%;
    min-height: 175px; /* Минимальная высота (можно заменить на фиксированную) */
    background-color: #0C103B;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

/* Новый контейнер для нижней части (цена + кнопка) */
.bottom-section {
    margin-top: auto; /* Прижимаем к низу */
    display: flex;
    flex-direction: column;
    gap: 10px; /* Фиксированное расстояние между ценой и кнопкой */
}

.price-tag {
    background-color: #f8f9fa;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: #1a237e;
    margin: 0; /* Убираем лишние отступы */
}

.modal-btn {
    width: 100%;
    margin: 0; /* Убираем лишние отступы */
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .services-section {
        padding: 40px 0;
    }
    
    .services-section h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .service-tabs {
        margin-bottom: 0px;
    }
    
    .service-tab {
        padding: 0px 0px;
        font-size: 0.9rem;
        animation: none; /* Отключаем пульсацию на мобильных */
    }
    
    .service-tab-content {
        padding: 5px;
        margin-top: -1px;
    }
    
    .service-type-header {
        font-size: 1.3rem;
        margin: 20px 0 15px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .service-card h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .zalivka {
        min-height: 160px;
    }
    
    .price-tag {
        padding: 4px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 30px 15px;
    }
    
    .services-section h1 {
        font-size: 1.4rem;
    }
    
    .service-tab {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .service-type-header {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .zalivka {
        min-height: 140px;
    }
}
        
/* Подвал */
footer {
    background-color: #0C103B; /* Темно-синий цвет */
    color: white;
    padding: 50px 0 20px;
    position: relative; /* Добавляем для псевдоэлемента */
    border-top: 2px solid white; /* Белая линия сверху толщиной 2px */
}

/* Добавляем белую линию поверх футера */
footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: gray;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.2); /* Небольшая тень для объема */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

/* Декоративная линия под заголовками колонок */
.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #A6B3EE;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #b3e5fc; /* Светло-голубой цвет */
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    padding: 2px 0;
}

.footer-menu a:hover {
    color: white;
    transform: translateX(5px);
}

.company-details p {
    margin-bottom: 10px;
    color: #b3e5fc; /* Светло-голубой цвет */
    line-height: 1.6;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #3949ab;
    color: #b3e5fc; /* Светло-голубой цвет */
    font-size: 0.9rem;
}
        
        /* Модальное окно */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }
        
        .modal-content {
            background-color: white;
            margin: 10% auto;
            padding: 30px;
            border-radius: 8px;
            width: 90%;
            max-width: 600px;
            position: relative;
        }
        
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            color: #333;
        }
        
        /* Адаптивность */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .service-tab {
                padding: 8px 15px;
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 768px) {
            .header-container {
                flex-direction: row;
                text-align: left;
            }
            
            .logo-container {
                flex: 1;
                justify-content: flex-start;
                margin-bottom: 0;
            }
            
            .nav-container {
                display: none;
                width: 100%;
                order: 3;
            }
            
            .nav-container.active {
                display: block;
            }
            
            .nav-menu {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .nav-menu li {
                margin: 5px 0;
            }
            
            
             /*Ссылка на номер телефона в мобильном меню*/
             
            .phone a {
                display: inline-flex; /* Использовать flexbox для выравнивания */
                align-items: center; /* Вертикальное выравнивание по центру */
            }

            .phone img {
                width: 16px;  /* Задать ширину */
                height: 16px; /* Задать высоту */
                margin-right: 5px; /* Отступ между изображением и текстом */
            }
            
            .phone {
                display: block; /* Отобразить на мобильных */
                border-radius:8px;
                margin:10px;
            }
            
            .contact-container {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
                margin-left: auto;
            }
            
            .hero {
                height: 400px;
                text-align: center;
            }
            
            .hero-content {
                margin: 0 auto;
            }
            
            .service-tabs {
                flex-direction: column;
            }
            
            .service-tab {
                border-radius: 0;
                border: 1px solid #ddd;
            }
            
            .service-tab:first-child {
                border-radius: 5px 5px 0 0;
            }
            
            .service-tab:last-child {
                border-radius: 0 0 5px 5px;
            }
        }
        
        @media (max-width: 576px) {
             header {padding: 5px 0;
             }
            .hero {
                height: 500px; /*Высота баннера*/
            }
            
            .hero h1 {
                font-size: 1.8rem;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .logo {
                height: 35px;
                margin-right: 10px;
            }
            
            .company-name {
                font-size: 1rem;
            }
        }