:root {
            --dark-blue: #2c3e50;
            --medium-blue: #3498db;
            --light-blue: #ecf0f1;
            --accent-green: #2ecc71;
            --gray: #7f8c8d;
            --dark-gray: #34495e;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', sans-serif;
        }
        
        body {
            color: #333333;
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        /* Хидер */
        header {
            background-color: var(--dark-blue);
            height: 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo-img {
            width: 30px;
            height: 30px;
            background: linear-gradient(135deg, #3498db, #2c3e50);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 18px;
        }
        
        .logo-text {
            color: white;
            font-weight: 700;
            margin-left: 10px;
            font-size: 18px;
        }
        
        .optimized-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    /* Оптимизация рендеринга */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
        
        .phone-button {
            background-color: #27ae60; /* Более темный зеленый */
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700; /* Более жирный шрифт */
    font-size: 14px;
    cursor: pointer;
    animation: pulse 2s infinite;
    text-decoration: none;
    display: inline-block;
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
            }
        }
        
        .hamburger {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 24px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1002;
        }
        
        .hamburger span {
            width: 100%;
            height: 3px;
            background-color: white;
            border-radius: 3px;
            transition: all 0.3s linear;
            transform-origin: center;
        }
        
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }
        
        /* Мобильное меню */
     .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    /* Обновленные стили для мобильного меню */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        background: #2c3e50;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-menu.active {
        right: 0;
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: #34495e;
    }
    
    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .mobile-logo .logo-img {
        width: 35px;
        height: 35px;
        background: #3498db;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
    }
    
    .mobile-logo .logo-text {
        color: white;
        font-weight: 600;
        font-size: 16px;
    }
    
    .close-menu {
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    
    .close-menu:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
      .mobile-language-switcher {
        display: flex;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: #34495e;
    }
    
    .mobile-lang-btn {
        flex: 1;
        padding: 12px;
        background: #2c3e50;
        color: white;
        font-weight: 500;
        cursor: pointer;
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-decoration: none;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .mobile-lang-btn:first-child {
        border-radius: 6px 0 0 6px;
        border-right: none;
    }
    
    .mobile-lang-btn:last-child {
        border-radius: 0 6px 6px 0;
        border-left: none;
    }
    
    .mobile-lang-btn.active {
        background: #3498db;
        color: white;
    }
    
    .mobile-lang-btn:hover {
        background: #3498db;
        color: white;
    }
    
    .mobile-nav {
        flex: 1;
        padding: 20px 0;
        overflow-y: auto;
    }
    
    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-nav li {
        margin: 0;
    }
    
    .mobile-menu-btn {
        display: block;
        padding: 18px 25px;
        background: #34495e;
        color: white;
        text-decoration: none;
        font-weight: 500;
        font-size: 16px;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: left;
        cursor: pointer;
    }
    
    .mobile-menu-btn:hover {
        background: #3498db;
    }
    
    .mobile-menu-btn:active {
        background: #2980b9;
    }
    
    /* Адаптивность */
    @media (max-width: 480px) {
        .mobile-menu {
            width: 280px;
            right: -280px;
        }
        
        .mobile-menu-header {
            padding: 15px;
        }
        
        .mobile-language-switcher {
            padding: 12px 15px;
        }
        
        .mobile-lang-btn {
            padding: 10px;
            font-size: 14px;
        }
        
        .mobile-menu-btn {
            padding: 16px 20px;
            font-size: 15px;
        }
    }
        
        /* Секция герой */
               .hero {
            height: 100vh;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            padding: 0 20px;
            position: relative;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }

        /* Затемнение фона */
        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
            z-index: -1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
        }
        
        .hero h1 {
             font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* Более темная тень */
    font-weight: 700;
        }
        
        .hero p {
            font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7); /* Тень для лучшей читаемости */
    font-weight: 500;
        }
        
        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .btn {
            padding: 15px 30px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }
        
        .btn-primary {
            background-color: #27ae60;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    font-weight: 600;
        }
        
        .btn-secondary {
            background-color: transparent;
            color: white;
            border: 2px solid white;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        }
        
        .call-btn {
    background: linear-gradient(135deg, #27ae60, #219653);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    animation: call-pulse 2s infinite;
    min-width: 200px;
    text-align: center;
}

.call-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #219653, #1e8449);
}

.call-btn__icon {
    width: 18px;
    height: 18px;
    fill: white;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.call-btn:hover .call-btn__icon {
    transform: rotate(15deg);
}

.call-btn__text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Анимация пульсации как у оригинальной кнопки */
@keyframes call-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .call-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        min-width: 180px;
        gap: 8px;
    }
    
    .call-btn__icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .call-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        min-width: 160px;
        gap: 6px;
    }
    
    .call-btn__icon {
        width: 14px;
        height: 14px;
    }
    
    .call-btn__text {
        font-size: 0.85rem;
    }
}

/* Для использования в hero-секции рядом с другой кнопкой */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .call-btn {
    margin: 0;
}
        
/* Секция услуг */
.services {
    padding: 80px 20px;
    background-color: var(--light-blue);
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-blue);
    font-size: 2.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* ИСПРАВЛЕННЫЙ СТИЛЬ ДЛЯ service-image */
.service-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa; /* Фон на время загрузки */
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

/* Аварийный вариант - обрезка через CSS */
.service-image--wide {
    overflow: hidden;
}

.service-image--wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.1); /* Небольшое увеличение для заполнения */
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Оверлей с текстом поверх изображения */
.service-image__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 15px 10px;
    color: white;
    z-index: 2;
}

.service-image__title {
    font-weight: 600;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    margin: 0;
}

.service-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--dark-blue);
    font-weight: 700;
}

.service-content p {
    margin-bottom: 20px;
    color: var(--dark-blue);
    flex-grow: 1;
    line-height: 1.6;
}

.service-btn {
    background-color: var(--accent-green);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.service-btn:hover {
    background-color: #27ae60;
}

   .pricing-section {
        padding: 80px 20px;
        background: #f8f9fa;
    }
    
    .pricing-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .pricing-title {
        text-align: center;
        font-size: 2.5rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 15px;
    }
    
    .pricing-subtitle {
        text-align: center;
        font-size: 1.1rem;
        color: #7f8c8d;
        margin-bottom: 50px;
    }
    
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .pricing-category {
        background: white;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid #ecf0f1;
    }
    
    .pricing-category h3 {
        color: #2c3e50;
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid #3498db;
    }
    
    .pricing-items {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .price-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f1f2f6;
    }
    
    .price-item:last-child {
        border-bottom: none;
    }
    
    .service-name {
        color: #2c3e50;
        font-weight: 500;
        flex: 1;
    }
    
    .price {
        color: #27ae60;
        font-weight: 600;
        font-size: 1.1rem;
        min-width: 120px;
        text-align: right;
    }
    
    .pricing-note {
        background: #fff3cd;
        border: 1px solid #ffeaa7;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .pricing-note p {
        color: #856404;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .pricing-cta {
        text-align: center;
    }
    
    .cta-button {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: linear-gradient(135deg, #27ae60, #219653);
        color: white;
        text-decoration: none;
        padding: 16px 32px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }
    
    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    }
    
    /* Адаптивность */
    @media (max-width: 768px) {
        .pricing-section {
            padding: 60px 15px;
        }
        
        .pricing-title {
            font-size: 2rem;
        }
        
        .pricing-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .pricing-category {
            padding: 20px;
        }
        
        .price {
            min-width: 100px;
            font-size: 1rem;
        }
    }
    
    @media (max-width: 480px) {
        .pricing-section {
            padding: 40px 10px;
        }
        
        .pricing-title {
            font-size: 1.8rem;
        }
        
        .pricing-subtitle {
            font-size: 1rem;
        }
        
        .price-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 5px;
        }
        
        .price {
            text-align: left;
        }
        
        .cta-button {
            padding: 14px 25px;
            font-size: 1rem;
        }
    }

        /* Секция "О нас" */
        .about {
            padding: 80px 20px;
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin: 40px auto;
            max-width: 1200px;
        }

        .about-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .about h2 {
            text-align: center;
            margin-bottom: 20px;
            color: var(--dark-blue);
            font-size: 2.5rem;
            font-weight: 700;
        }

        .about-subtitle {
            text-align: center;
            margin-bottom: 50px;
            color: var(--gray);
            font-size: 1.3rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }

        .about-content {
            display: flex;
            align-items: flex-start;
            gap: 50px;
        }

        .about-image {
            flex: 0 0 400px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .about-image:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        }

        .about-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.3s ease;
        }

        .about-image:hover img {
            transform: scale(1.05);
        }

        .about-text {
            flex: 1;
        }

        .about-text p {
            margin-bottom: 25px;
            line-height: 1.8;
            color: #555;
            font-size: 1.1rem;
            text-align: justify;
        }

        .about-text__visible {
            overflow: hidden;
        }

        .about-text__hidden {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease;
        }

        .about-text__hidden.expanded {
            max-height: 5000px; /* Большое значение для полного раскрытия */
        }

        .read-more-btn {
            background: none;
            border: none;
            color: var(--medium-blue);
            cursor: pointer;
            font-weight: 600;
            font-size: 1.1rem;
            padding: 10px 0;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: color 0.3s ease;
            margin-top: 10px;
        }

        .read-more-btn:hover {
            color: var(--dark-blue);
        }

        .read-more-btn svg {
            width: 18px;
            height: 18px;
            transition: transform 0.3s ease;
        }

        .read-more-btn.expanded svg {
            transform: rotate(180deg);
        }

        /* Адаптивность для секции "О нас" */
        @media (max-width: 1024px) {
            .about-content {
                gap: 40px;
            }
            
            .about-image {
                flex: 0 0 350px;
            }
            
            .about h2 {
                font-size: 2.2rem;
            }
            
            .about-subtitle {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 900px) {
            .about-content {
                flex-direction: column;
                text-align: center;
                gap: 30px;
            }
            
            .about-image {
                flex: 0 0 auto;
                max-width: 500px;
                width: 100%;
                margin: 0 auto;
            }
            
            .about-text {
                text-align: left;
            }
            
            /* На мобильных всегда показываем кнопку */
            .read-more-btn {
                display: inline-flex !important;
            }
        }

        @media (max-width: 768px) {
            .about {
                padding: 60px 20px;
                margin: 20px auto;
            }
            
            .about h2 {
                font-size: 2rem;
                margin-bottom: 15px;
            }
            
            .about-subtitle {
                font-size: 1.1rem;
                margin-bottom: 40px;
            }
            
            .about-text p {
                font-size: 1rem;
                margin-bottom: 20px;
            }
            
            .about-text__hidden:not(.expanded) {
                max-height: 150px; /* Ограничение видимой части на мобильных */
                -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
                mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
            }
        }

        @media (max-width: 480px) {
            .about {
                padding: 40px 15px;
                margin: 15px auto;
                border-radius: 10px;
            }
            
            .about h2 {
                font-size: 1.8rem;
            }
            
            .about-subtitle {
                font-size: 1rem;
                margin-bottom: 30px;
            }
            
            .about-content {
                gap: 25px;
            }
            
            .about-image {
                border-radius: 10px;
            }
            
            .about-text p {
                font-size: 0.95rem;
                line-height: 1.7;
            }
            
            .about-text__hidden:not(.expanded) {
                max-height: 120px;
                -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
                mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
            }
            
            .read-more-btn {
                font-size: 1rem;
                padding: 8px 0;
            }
        }

        /* Дополнительные стили для очень маленьких экранов */
        @media (max-width: 360px) {
            .about {
                padding: 30px 12px;
            }
            
            .about h2 {
                font-size: 1.6rem;
            }
            
            .about-subtitle {
                font-size: 0.95rem;
            }
            
            .about-text p {
                font-size: 0.9rem;
            }
            
            .about-text__hidden:not(.expanded) {
                max-height: 100px;
            }
        }

/* Плавающая кнопка */
        .floating-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: var(--accent-green);
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 20px rgba(46, 204, 113, 0.4);
            cursor: pointer;
            z-index: 999;
            animation: pulse 2s infinite, swing 1.5s ease-in-out infinite;
        }
        
        @keyframes swing {
            0%, 100% { transform: rotate(-5deg); }
            50% { transform: rotate(5deg); }
        }
        
        .floating-btn svg {
            width: 24px;
            height: 24px;
            fill: white;
        }
        
        .floating-btn::before,
        .floating-btn::after {
            content: '';
            position: absolute;
            border: 2px solid var(--accent-green);
            border-radius: 50%;
            animation: waves 2s linear infinite;
            opacity: 0;
        }
        
        .floating-btn::after {
            animation-delay: 1s;
        }
        
      @keyframes waves {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.67); /* 100px/60px ≈ 1.67 */
        opacity: 0;
    }
}

        
        .social-icons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin: 20px 0;
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: transform 0.3s ease;
            text-decoration: none;
        }
        
        .social-icon:hover {
            transform: scale(1.1);
        }
        
        .telegram {
            background-color: #0088cc;
        }
        
        .viber {
            background-color: #7360f2;
        }
        
        .social-icon svg {
            width: 24px;
            height: 24px;
        }
        
        .telegram svg {
            fill: white;
        }
        
        .viber svg {
            fill: white;
        }
        
        .form-group {
            margin-bottom: 15px;
            text-align: left;
        }
        
        .form-group label {
            display: block;
    margin-bottom: 5px;
    font-weight: 600; /* Более жирный */
    color: #2c3e50;
        }
        
        .form-group input {
            width: 100%;
    padding: 12px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    font-size: 16px;
        }
        
        .form-group input:focus {
    border-color: #3498db;
    outline: none;
}

        

/* Контактное окно: звонок / чат / callback */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(20, 35, 50, .72);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: min(100%, 460px);
    max-height: calc(100dvh - 32px);
    padding: 28px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.modal-contact__badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 12px;
    color: #1d6fa5;
    background: #eaf6ff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.modal-contact__title {
    margin: 0 34px 5px;
    color: #2c3e50;
    font-size: 25px;
    line-height: 1.15;
}

.modal-contact__subtitle {
    margin: 0 0 17px;
    color: #617181;
    font-size: 14px;
    line-height: 1.35;
}

.modal-contact__actions {
    display: grid;
    gap: 10px;
}

.modal-contact__call,
.modal-contact__chat,
.modal-contact__submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.modal-contact__call {
    color: #fff;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 7px 18px rgba(39, 174, 96, .24);
}

.modal-contact__chat {
    color: #fff;
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 7px 18px rgba(52, 152, 219, .23);
}

.modal-contact__call:hover,
.modal-contact__chat:hover,
.modal-contact__submit:hover {
    transform: translateY(-1px);
}

.modal-contact__phone {
    font-size: 17px;
    white-space: nowrap;
}

.modal-contact__divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 17px 0 14px;
    color: #7c8995;
    font-size: 13px;
    font-weight: 600;
}

.modal-contact__divider::before,
.modal-contact__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dfe6eb;
}

.modal-contact__form {
    display: grid;
    gap: 10px;
}

.modal-contact__field {
    text-align: left;
}

.modal-contact__field label {
    display: block;
    margin: 0 0 5px 2px;
    color: #435363;
    font-size: 13px;
    font-weight: 600;
}

.modal-contact__field input {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #cfd9e1;
    border-radius: 10px;
    background: #fff;
    color: #263746;
    font: inherit;
    font-size: 16px;
    outline: none;
}

.modal-contact__field input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, .11);
}

.modal-contact__submit {
    min-height: 48px;
    margin-top: 2px;
    color: #fff;
    background: #3498db;
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 13px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: #667785;
    background: #f1f4f6;
    font-size: 25px;
    line-height: 30px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal {
        padding: 8px;
    }

    .modal-content {
        width: min(100%, 390px);
        max-height: calc(100dvh - 16px);
        padding: 18px 17px 16px;
        border-radius: 18px;
    }

    .modal-contact__badge {
        margin-bottom: 5px;
        padding: 4px 10px;
        font-size: 11px;
    }

    .modal-contact__title {
        margin-bottom: 3px;
        font-size: 21px;
    }

    .modal-contact__subtitle {
        margin-bottom: 11px;
        font-size: 12px;
    }

    .modal-contact__actions {
        gap: 8px;
    }

    .modal-contact__call,
    .modal-contact__chat {
        min-height: 45px;
        border-radius: 10px;
        font-size: 14px;
    }

    .modal-contact__phone {
        font-size: 15px;
    }

    .modal-contact__divider {
        margin: 11px 0 9px;
        font-size: 12px;
    }

    .modal-contact__form {
        gap: 7px;
    }

    .modal-contact__field label {
        margin-bottom: 3px;
        font-size: 12px;
    }

    .modal-contact__field input {
        height: 42px;
        border-radius: 9px;
    }

    .modal-contact__submit {
        min-height: 43px;
        font-size: 14px;
    }

    .close-modal {
        top: 8px;
        right: 9px;
        width: 31px;
        height: 31px;
        font-size: 22px;
    }
}

/* Дополнительное ужатие для невысоких мобильных экранов */
@media (max-width: 768px) and (max-height: 650px) {
    .modal-content {
        padding: 12px 15px 11px;
    }

    .modal-contact__badge,
    .modal-contact__subtitle {
        display: none;
    }

    .modal-contact__title {
        margin-bottom: 8px;
        font-size: 19px;
    }

    .modal-contact__call,
    .modal-contact__chat {
        min-height: 40px;
    }

    .modal-contact__divider {
        margin: 7px 0 6px;
    }

    .modal-contact__field input {
        height: 38px;
    }

    .modal-contact__submit {
        min-height: 39px;
    }
}

        /* Адаптивность */
        @media (max-width: 768px) {
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .btn {
                padding: 12px 25px;
                font-size: 0.9rem;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 480px) {
            .hero-buttons {
                flex-direction: column;
            }
            
            .logo-text {
                display: none;
            }
        }
        
        .phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #125496;
    font-weight: 600;
    font-size: 16px;
    padding: 6px 0;
    transition: all 0.2s ease;
    font-family: 'Arial', sans-serif;
}

.phone-link::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2327ae60'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.24 1.02L6.62 10.79z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    margin-right: 8px;
    vertical-align: middle;
}

.phone-link:hover {
    color: #219653;
    transform: translateY(-1px);
}

.phone-link:active {
    transform: translateY(0);
}

       .phon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #125496;
    font-weight: 600;
    font-size: 16px;
    padding: 6px 0;
    transition: all 0.2s ease;
    font-family: 'Arial', sans-serif;
}


.phon-link:hover {
    color: #219653;
    transform: translateY(-1px);
}

.phon-link:active {
    transform: translateY(0);
}


/* Стили для формы */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.faq-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.faq-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 40px;
}

.faq-accordion {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.faq-question {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: #2c3e50;
    background: white;
    transition: background-color 0.1s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #125496;
}

.faq-arrow {
    margin-left: auto;
    font-size: 12px;
    color: #7f8c8d;
    transition: transform 0.1s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color:  #125496;
}

.faq-item.active .faq-question {
    background: #f8f9fa;
    color:  #125496;
}

.faq-answer {
    display: none;
    padding: 0 20px 20px 56px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 15px;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .faq-question {
        padding: 16px;
        font-size: 0.95rem;
        gap: 10px;
    }
    
    .faq-icon {
        width: 20px;
        height: 20px;
        min-width: 20px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 16px 16px 46px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 30px 10px;
    }
    
    .faq-title {
        font-size: 1.7rem;
    }
    
    .faq-question {
        padding: 14px;
        font-size: 0.9rem;
    }
    
    .faq-answer {
        padding: 0 14px 14px 40px;
    }
}

    .districts-section {
        padding: 80px 20px;
        background: #f8f9fa;
    }
    
    .districts-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .districts-title {
        text-align: center;
        font-size: 2.5rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 15px;
    }
    
    .districts-subtitle {
        text-align: center;
        font-size: 1.1rem;
        color: #7f8c8d;
        margin-bottom: 50px;
    }
    
    .districts-content {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        align-items: flex-start;
    }
    
    .districts-map-wrapper {
        flex: 1;
        min-width: 300px;
        position: relative;
    }
    
    .map-container {
        background: white;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        position: relative;
        overflow: hidden;
        margin-bottom: 20px;
    }
    
    .map-container iframe {
        display: block;
        border-radius: 8px;
    }
    
    .map-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -100%);
        z-index: 10;
    }
    
    .map-marker {
        position: relative;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .marker-icon {
        font-size: 24px;
        background: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 3px 10px rgba(0,0,0,0.2);
        color: #2ecc71;
    }
    
    .districts-text-content {
        flex: 1;
        min-width: 300px;
    }
    
    .districts-main h3,
    .districts-additional h4 {
        color: #2c3e50;
        margin-bottom: 15px;
        font-weight: 600;
    }
    
    .districts-card {
        background: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-bottom: 25px;
    }
    
    .districts-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .districts-card li {
        padding: 12px 0;
        color: #2c3e50;
        border-bottom: 1px solid #ecf0f1;
        position: relative;
        padding-left: 30px;
    }
    
    .districts-card li:before {
        content: "✓";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 22px;
        height: 22px;
        background: #2ecc71;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }
    
    .districts-card li:last-child {
        border-bottom: none;
    }
    
    .districts-card strong {
        color: #3498db;
    }
    
    .districts-list {
        background: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-bottom: 25px;
    }
    
    .districts-list ul {
        columns: 2;
        column-gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .districts-list li {
        padding: 8px 0;
        color: #2c3e50;
        position: relative;
        padding-left: 25px;
        break-inside: avoid;
    }
    
    .districts-list li:before {
        content: "•";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        color: #3498db;
        font-size: 20px;
    }
    
    .districts-note {
        background: #e8f4fc;
        padding: 15px 20px;
        border-radius: 8px;
        margin-bottom: 25px;
        border-left: 4px solid #3498db;
    }
    
    .districts-note p {
        margin: 0;
        font-weight: 500;
        color: #2c3e50;
    }
    
    .districts-cta {
        text-align: center;
        padding: 20px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .districts-cta p {
        margin-bottom: 20px;
        font-weight: 500;
        color: #2c3e50;
    }
    
    /* Адаптивность */
    @media (max-width: 968px) {
        .districts-content {
            flex-direction: column;
        }
        
        .districts-map-wrapper,
        .districts-text-content {
            width: 100%;
        }
        
        .districts-list ul {
            columns: 1;
        }
    }
    
    @media (max-width: 768px) {
        .districts-section {
            padding: 60px 15px;
        }
        
        .districts-title {
            font-size: 2rem;
        }
        
        .map-container {
            padding: 10px;
        }
        
        .districts-card,
        .districts-list {
            padding: 15px;
        }
    }
    
    @media (max-width: 480px) {
        .districts-section {
            padding: 40px 10px;
        }
        
        .districts-title {
            font-size: 1.8rem;
        }
        
        .districts-subtitle {
            font-size: 1rem;
        }
        
        .map-container iframe {
            height: 300px;
        }
        
        .districts-card li {
            padding: 10px 0 10px 25px;
        }
        
        .districts-list li {
            padding: 6px 0 6px 20px;
        }
    }
    
        .reviews-section {
        padding: 80px 20px;
        background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
    }
    
    .reviews-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .reviews-title {
        text-align: center;
        font-size: 2.5rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 15px;
    }
    
    .reviews-subtitle {
        text-align: center;
        font-size: 1.1rem;
        color: #7f8c8d;
        margin-bottom: 50px;
    }
    
    .reviews-slider {
        overflow: hidden;
        margin-bottom: 30px;
    }
    
    .reviews-track {
        display: flex;
        gap: 30px;
        transition: transform 0.3s ease;
    }
    
    .review-card {
        flex: 0 0 calc(25% - 23px);
        background: white;
        border-radius: 16px;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        border: 1px solid #ecf0f1;
    }
    
    .review-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
    
    .review-header {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        gap: 15px;
    }
    
    .reviewer-avatar {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, #3498db, #2c3e50);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    .reviewer-info {
        flex: 1;
    }
    
    .reviewer-name {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 5px;
    }
    
    .review-rating {
        display: flex;
        gap: 2px;
    }
    
    .star {
        color: #f39c12;
        font-size: 1.1rem;
    }
    
    .review-content {
        margin-bottom: 20px;
    }
    
    .review-content p {
        color: #2c3e50;
        line-height: 1.6;
        font-size: 1rem;
        margin: 0;
    }
    
    .review-date {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #7f8c8d;
        font-size: 0.9rem;
    }
    
     .reviews-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .nav-btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        border: 2px solid #3498db;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }
    
    .nav-btn:hover {
        background: #3498db;
        transform: scale(1.1);
    }
    
    .nav-btn:hover svg {
        fill: white;
    }
    
    .nav-btn:active {
        transform: scale(0.95);
    }
    
    .reviews-dots {
        display: flex;
        gap: 16px;
        align-items: center;
    }
    
    .dot {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: none;
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 0;
        transition: all 0.3s ease;
    }
    
    .dot-visual {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #bdc3c7;
        transition: all 0.3s ease;
        display: block;
    }
    
    .dot.active .dot-visual {
        background: #3498db;
        transform: scale(1.3);
    }
    
    .dot:hover .dot-visual {
        background: #3498db;
        transform: scale(1.2);
    }
    
    .dot:focus {
        outline: 3px solid rgba(52, 152, 219, 0.3);
        outline-offset: 2px;
    }
    
    .dot:active {
        transform: scale(0.9);
    }
    
    /* Увеличение области касания для мобильных */
    @media (max-width: 768px) {
        .reviews-nav {
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .nav-btn {
            width: 52px;
            height: 52px;
        }
        
        .reviews-dots {
            gap: 14px;
        }
        
        .dot {
            width: 44px;
            height: 44px;
            min-width: 44px;
        }
        
        .dot-visual {
            width: 10px;
            height: 10px;
        }
    }
    
    @media (max-width: 480px) {
        .reviews-nav {
            gap: 16px;
            flex-wrap: wrap;
        }
        
        .nav-btn {
            width: 48px;
            height: 48px;
            order: 3;
            flex: 1;
            max-width: 48px;
        }
        
        .prev-btn {
            order: 1;
        }
        
        .next-btn {
            order: 2;
        }
        
        .reviews-dots {
            order: 4;
            width: 100%;
            justify-content: center;
            gap: 12px;
            margin-top: 15px;
        }
        
        .dot {
            width: 40px;
            height: 40px;
            min-width: 40px;
        }
        
        .dot-visual {
            width: 8px;
            height: 8px;
        }
    }
    
    /* Скрытый текст для скринридеров */
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    
    /* Улучшение доступности */
    .dot:focus-visible {
        outline: 3px solid #3498db;
        outline-offset: 2px;
    }
    
    .nav-btn:focus-visible {
        outline: 3px solid #3498db;
        outline-offset: 2px;
    }
    
    
    .dot.active .dot-visual {
        animation: pulse 2s infinite;
    }
    
    .reviews-cta {
        text-align: center;
        padding: 30px;
        background: white;
        border-radius: 16px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .reviews-cta p {
        font-size: 1.2rem;
        color: #2c3e50;
        margin-bottom: 20px;
        font-weight: 500;
    }
    
    /* Адаптивность */
    @media (max-width: 1024px) {
        .review-card {
            flex: 0 0 calc(33.333% - 20px);
        }
    }
    
    @media (max-width: 768px) {
        .reviews-section {
            padding: 60px 15px;
        }
        
        .reviews-title {
            font-size: 2rem;
        }
        
        .review-card {
            flex: 0 0 calc(50% - 15px);
            padding: 25px;
        }
        
        .reviewer-avatar {
            width: 50px;
            height: 50px;
            font-size: 1rem;
        }
    }
    
    @media (max-width: 576px) {
        .reviews-section {
            padding: 40px 10px;
        }
        
        .reviews-title {
            font-size: 1.8rem;
        }
        
        .reviews-subtitle {
            font-size: 1rem;
        }
        
        .review-card {
            flex: 0 0 100%;
        }
        
        .reviews-cta {
            padding: 20px;
        }
        
        .reviews-cta p {
            font-size: 1.1rem;
        }
    }
    
        .contacts-section {
        padding: 80px 20px;
        background: white;
    }
    
    .contacts-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .contacts-title {
        text-align: center;
        font-size: 2.5rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 15px;
    }
    
    .contacts-subtitle {
        text-align: center;
        font-size: 1.1rem;
        color: #7f8c8d;
        margin-bottom: 60px;
    }
    
    .contacts-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        margin-bottom: 50px;
    }
    
    .contacts-info {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    
    .contact-card {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        padding: 25px;
        background: #f8f9fa;
        border-radius: 16px;
        transition: all 0.3s ease;
        border: 1px solid #ecf0f1;
    }
    
    .contact-card:hover {
        background: white;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }
    
    .contact-icon {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        background: white;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    }
    
    .contact-details {
        flex: 1;
    }
    
    .contact-details h3 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 8px;
    }
    
    .contact-details p {
        color: #2c3e50;
        line-height: 1.5;
        margin-bottom: 5px;
    }
    
    .contact-link {
        color: #3498db;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        transition: color 0.3s ease;
    }
    
    .contact-link:hover {
        color: #2980b9;
    }
    
    .contact-note {
        color: #7f8c8d !important;
        font-size: 0.9rem;
        font-style: italic;
        margin-top: 5px;
    }
    
    .contacts-social {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        padding: 40px;
        border-radius: 20px;
        color: white;
    }
    
    .contacts-social h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: white;
    }
    
    .contacts-social > p {
        color: #bdc3c7;
        margin-bottom: 30px;
    }
    
    .social-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .social-card {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .social-card:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(5px);
    }
    
    .social-icon {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .facebook .social-icon {
        background: linear-gradient(135deg, #3b5998, #4a69a4);
    }
    
    .instagram .social-icon {
        background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    }
    
    .google .social-icon {
        background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
    }
    
    .social-info {
        flex: 1;
    }
    
    .social-info h4 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 5px;
        color: white;
    }
    
    .social-info p {
        color: #bdc3c7;
        font-size: 0.9rem;
        margin: 0;
    }
    
    .social-arrow {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .social-card:hover .social-arrow {
        opacity: 1;
    }
    
    .contacts-cta {
        background: linear-gradient(135deg, #3498db, #2980b9);
        padding: 40px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
        color: white;
        margin-bottom: 10px;
    }
    
    .cta-content p {
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
    }
    
    .cta-button {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: white;
        color: #3498db;
        text-decoration: none;
        padding: 15px 25px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        white-space: nowrap;
    }
    
    .cta-button:hover {
        background: #ecf0f1;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    /* Адаптивность */
    @media (max-width: 968px) {
        .contacts-content {
            grid-template-columns: 1fr;
            gap: 40px;
        }
        
        .contacts-cta {
            flex-direction: column;
            text-align: center;
        }
    }
    
    @media (max-width: 768px) {
        .contacts-section {
            padding: 60px 15px;
        }
        
        .contacts-title {
            font-size: 2rem;
        }
        
        .contact-card {
            padding: 20px;
        }
        
        .contact-icon {
            width: 50px;
            height: 50px;
        }
        
        .contacts-social {
            padding: 30px;
        }
        
        .contacts-cta {
            padding: 30px;
        }
    }
    
    @media (max-width: 480px) {
        .contacts-section {
            padding: 40px 10px;
        }
        
        .contacts-title {
            font-size: 1.8rem;
        }
        
        .contacts-subtitle {
            font-size: 1rem;
        }
        
        .contact-card {
            flex-direction: column;
            text-align: center;
            gap: 15px;
            align-items: center;
        }
        
        .contact-icon {
            margin: 0 auto;
        }
        
        .contact-details {
            text-align: center;
            width: 100%;
        }
        
        .contact-details h3,
        .contact-details p {
            text-align: center;
        }
        
        .social-card {
            padding: 15px;
        }
        
        .social-icon {
            width: 40px;
            height: 40px;
        }
        
        .cta-button {
            padding: 12px 20px;
            font-size: 1rem;
        }
    }
    
       .footer {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        color: white;
        padding: 60px 0 0;
        margin-top: 60px;
    }
    
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-logo {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .footer-logo .logo-img {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #3498db, #2c3e50);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-logo .logo-text {
        font-size: 1.5rem;
        font-weight: 700;
        color: white;
    }
    
    .footer-description {
        color: #bdc3c7;
        line-height: 1.6;
        margin-bottom: 25px;
        font-size: 0.95rem;
    }
    
    .footer-social {
        display: flex;
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .social-link:hover {
        background: #3498db;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 20px;
        color: white;
        position: relative;
        padding-bottom: 10px;
    }
    
    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background: #3498db;
    }
    
    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-links li {
        margin-bottom: 12px;
    }
    
    .footer-links a {
        color: #bdc3c7;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 0.95rem;
        position: relative;
        padding-left: 15px;
    }
    
    .footer-links a::before {
        content: '→';
        position: absolute;
        left: 0;
        opacity: 0;
        transition: opacity 0.3s ease;
        color: #3498db;
    }
    
    .footer-links a:hover {
        color: white;
        padding-left: 20px;
    }
    
    .footer-links a:hover::before {
        opacity: 1;
    }
    
    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-item {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #bdc3c7;
        font-size: 0.95rem;
    }
    
    .contact-item a {
        color: #bdc3c7;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .contact-item a:hover {
        color: white;
    }
    
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 25px 0;
    }
    
    .footer-bottom-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-bottom p {
        color: #bdc3c7;
        margin: 0;
        font-size: 0.9rem;
    }
    
    .footer-bottom-links {
        display: flex;
        gap: 25px;
    }
    
    .footer-bottom-links a {
        color: #bdc3c7;
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s ease;
    }
    
    .footer-bottom-links a:hover {
        color: white;
    }
    
    /* Адаптивность */
    @media (max-width: 1024px) {
        .footer-content {
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
    }
    
    @media (max-width: 768px) {
        .footer {
            padding: 40px 0 0;
        }
        
        .footer-content {
            grid-template-columns: 1fr;
            gap: 30px;
            text-align: center;
        }
        
        .footer-logo {
            justify-content: center;
        }
        
        .footer-section h3::after {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .footer-social {
            justify-content: center;
        }
        
        .footer-bottom-content {
            flex-direction: column;
            gap: 15px;
            text-align: center;
        }
        
        .footer-bottom-links {
            justify-content: center;
        }
    }
    
    @media (max-width: 480px) {
        .footer-container {
            padding: 0 15px;
        }
        
        .footer-logo {
            flex-direction: column;
            gap: 10px;
        }
        
        .footer-social {
            gap: 10px;
        }
        
        .social-link {
            width: 40px;
            height: 40px;
        }
        
        .footer-bottom-links {
            flex-direction: column;
            gap: 10px;
        }
        
        .contact-item {
            justify-content: center;
        }
    }

/* 2026-09-14: callback modal usability */
@media (min-width: 769px) {
    .modal-content {
        width: min(100%, 560px);
        padding: 32px 36px;
    }
}

@media (max-width: 768px) {
    .modal {
        padding: 8px;
    }

    .modal-content {
        width: min(100%, 430px);
        max-height: calc(100dvh - 16px);
        padding: 24px 18px 20px;
        overflow-y: auto;
    }

    .modal-contact__badge {
        display: inline-block;
        margin-bottom: 7px;
        padding: 5px 11px;
        font-size: 12px;
    }

    .modal-contact__title {
        margin: 0 34px 5px;
        font-size: 23px;
    }

    .modal-contact__subtitle {
        display: block;
        margin-bottom: 15px;
        font-size: 13px;
    }

    .modal-contact__actions {
        gap: 10px;
    }

    .modal-contact__call,
    .modal-contact__chat {
        min-height: 54px;
        border-radius: 12px;
        font-size: 15px;
    }

    .modal-contact__phone {
        font-size: 16px;
    }

    .modal-contact__divider {
        margin: 15px 0 12px;
        font-size: 13px;
    }

    .modal-contact__form {
        gap: 10px;
    }

    .modal-contact__field label {
        margin-bottom: 5px;
        font-size: 13px;
    }

    .modal-contact__field input {
        height: 50px;
        border-radius: 10px;
    }

    .modal-contact__submit {
        min-height: 52px;
        font-size: 15px;
    }

    .close-modal {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
}

/* 2026-09-14: accessibility contrast refinement */
.about-subtitle,
.pricing-subtitle,
.faq-subtitle,
.districts-subtitle,
.contacts-subtitle,
.contact-note {
    color: #5f6b76 !important;
}

.service-btn,
.phone-button {
    background-color: #168344 !important;
    color: #ffffff !important;
}

.service-btn:hover,
.phone-button:hover {
    background-color: #126d39 !important;
}

.price {
    color: #1f7a4d !important;
    font-weight: 700;
}

.contact-link,
.districts-card strong {
    color: #1f6fa8 !important;
}

.cta-button {
    color: #1f6fa8;
}

.pricing-section,
.about,
.faq-section,
.districts-section,
.contacts-section,
.review-card,
.districts-card {
    color: #2c3e50;
}

/* 2026-09-14: final accessibility contrast */
.review-date {
    color: #5f6b76 !important;
}

.review-date svg {
    fill: #5f6b76 !important;
}

.phone-button,
.phone-button svg,
.phone-button svg * {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.reviews-subtitle {
    color: #5f6b76 !important;
}

/* 2026-09-14: review CTA contrast */
.btn.btn-primary,
.btn-primary {
    background-color: #168344 !important;
    color: #ffffff !important;
}

.btn.btn-primary:hover,
.btn-primary:hover {
    background-color: #126d39 !important;
}

/* 2026-09-14: read-more contrast */
.read-more-btn {
    color: #1f6fa8 !important;
}

.read-more-btn:hover {
    color: #185985 !important;
}

/* 2026-09-14: Ukrainian phone field */
.phone-field {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.phone-field__prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 0 12px;
    border: 1px solid #cfd9e1;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: #f3f6f8;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 700;
}

.modal-contact__field .phone-field input {
    flex: 1;
    min-width: 0;
    border-radius: 0 10px 10px 0;
}

/* 2026-09-29: Poltava-style mobile callback/chat buttons */
@media (max-width: 767px) {
    .floating-btn,
    .floating-btn--chat {
        position: fixed;
        bottom: max(18px, env(safe-area-inset-bottom));
        z-index: 1080;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        color: #fff;
        background: #1fa85a;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
        cursor: pointer;
        animation: none;
        transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
    }

    .floating-btn {
        right: max(16px, env(safe-area-inset-right));
        left: auto;
    }

    .floating-btn--chat {
        left: max(16px, env(safe-area-inset-left));
        right: auto;
    }

    .floating-btn::before,
    .floating-btn::after,
    .floating-btn--chat::before,
    .floating-btn--chat::after {
        display: none;
    }

    .floating-btn svg,
    .floating-btn--chat svg {
        width: 28px;
        height: 28px;
        color: #fff;
        fill: currentColor;
    }

    .floating-btn--chat svg {
        fill: none;
    }
}
