:root {
    --color-bg: #F8F9FA;
    --color-bg-alt: #FFFFFF;
    --color-header-footer: #212529;
    --color-text: #343A40;
    --color-text-light: #ffffff;
    --color-accent: #2A6F97;
    --color-accent-secondary: #38B000;
    --color-accent-hover: #1D5A7A;
    --color-card: #ffffff;
    --color-border: #E9ECEF;
    --transition: all 0.3s ease;
    --section-padding: 60px;
    --animation-duration: 0.6s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Прелоадер */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-header-footer);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top: 5px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Кнопка "Наверх" */
.back-to-top {
    position: fixed;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transition: var(--transition);
    color: white;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    border: 2px solid white;
    font-size: 20px;
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover,
.back-to-top:focus {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px) scale(1.1);
}

/* Шапка */
header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: var(--color-header-footer);
    z-index: 1001;
    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 {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.03);
}

.logo-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}

.logo-slogan {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-top: -5px;
}

.header-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 5px;
}

nav ul li:last-child {
    background-color: var(--color-accent);
}

nav ul li {
    margin: 0;
}

.nav-item {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 16px;
    padding: 12px 18px;
    display: inline-block;
    text-align: center;
    min-width: 90px;
    border-radius: 4px;
    white-space: nowrap;
    background-color: rgba(255,255,255,0.1);
}

.nav-item:hover,
.nav-item:focus {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.phone-number {
    font-weight: 500;
    color: var(--color-text-light);
    font-size: 16px;
    white-space: nowrap;
    padding: 12px 18px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: var(--transition);
}

.phone-number a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.phone-number:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.phone-number a:hover,
.phone-number a:focus {
    color: #a8c6e0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--color-accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn:hover,
.btn:focus {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Основной контент */
main {
    margin-top: 80px;
    padding: 0;
}

/* Герой-баннер */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(33, 37, 41, 0.85), rgba(33, 37, 41, 0.9)), 
                url('https://img.freepik.com/free-photo/electronic-devices-empty-data-center_482257-122639.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    top: -1px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeInUp var(--animation-duration) ease-out;
}

.hero h1 {
    font-family: 'Teko', sans-serif;
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: white;
    color: var(--color-accent);
    font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #f0f0f0;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: rgba(255,255,255,0.1);
}

/* Секции */
.section {
    padding: var(--section-padding) 0;
    scroll-margin-top: 80px;
}

.section-light {
    background-color: var(--color-bg-alt);
}

.section-dark {
    background-color: var(--color-bg);
}

.section-title {
    text-align: center;
    font-family: 'Teko', sans-serif;
    font-size: 40px;
    margin-bottom: 50px;
    position: relative;
    color: var(--color-text);
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp var(--animation-duration) ease-out forwards;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Услуги */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 0 auto;
    max-width: 1200px;
    align-items: stretch;
}

.service-card {
    background-color: var(--color-card);
    padding: 30px;
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--color-border);
    width: calc(25% - 25px);
    min-width: 250px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    height: 100%;
    min-height: 380px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp var(--animation-duration) ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

@media (max-width: 1200px) {
    .service-card {
        width: calc(33.33% - 25px);
    }
}

@media (max-width: 900px) {
    .service-card {
        width: calc(50% - 25px);
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .service-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto 20px;
        box-sizing: border-box;
        padding: 25px 15px;
        min-height: auto;
        height: auto;
    }
    
    .services-grid {
        gap: 15px;
    }
}

/* Стили для бургер-меню */
@media (max-width: 768px) {
    .service-card .btn {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--color-accent);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--color-text);
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
    font-size: 15px;
}

.service-card .btn {
    margin-top: 15px;
    align-self: center;
    padding: 10px 20px;
    font-size: 15px;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Преимущества */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.benefit-item {
    padding: 25px 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    width: calc(20% - 20px);
    min-width: 180px;
    max-width: 220px;
    background-color: var(--color-card);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    min-height: 220px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp var(--animation-duration) ease-out forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }

.benefit-item p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .benefit-item {
        width: calc(25% - 20px);
    }
}

@media (max-width: 900px) {
    .benefit-item {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 600px) {
    .benefit-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 400px) {
    .benefit-item {
        width: 100%;
        max-width: 280px;
    }
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--color-accent);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item h3 {
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--color-text);
}

/* Статистика */
.stats-section {
    background-color: var(--color-header-footer);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    min-width: 150px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp var(--animation-duration) ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
    font-family: 'Teko', sans-serif;
    font-size: 24px; /* Уменьшенный размер шрифта */
    font-weight: 500; /* Сниженная жирность */
    margin-bottom: 10px;
    color: var(--color-text-light); /* Цвет как у заголовков */
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* Разделители секций */
.contact-form, 
.partners-section, 
.map-section {
    border-top: 1px solid var(--color-border);
    padding-top: 60px;
    margin-top: 60px;
}

/* Партнеры */
.swiper {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.partner-logo {
    max-width: 140px;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.swiper-button-next, 
.swiper-button-prev {
    color: var(--color-accent);
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-button-next::after, 
.swiper-button-prev::after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: #cbd5e0;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--color-accent);
}

/* Кейсы - слайдер */
.cases-slider {
    width: 100%;
    padding: 20px 0;
}

.cases-slider .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.case-card {
    background-color: var(--color-card);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    max-width: 350px;
    width: 100%;
    border: 1px solid var(--color-border);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp var(--animation-duration) ease-out forwards;
    margin: 0 auto;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--color-accent);
}

.case-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.case-content p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
}

/* Отзывы - слайдер */
.testimonials-slider {
    width: 100%;
    padding: 20px 0;
}

.testimonials-slider .swiper-slide {
    height: auto;
    padding: 0 15px;
}

.testimonial-card {
    background-color: var(--color-card);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp var(--animation-duration) ease-out forwards;
    height: 100%;
}

.testimonial-content {
    position: relative;
    padding: 20px 0;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: "";
    font-family: Georgia, serif;
    font-size: 80px;
    color: var(--color-accent);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: -10px;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-weight: 600;
    color: var(--color-text);
}

.testimonial-author span {
    font-size: 14px;
    color: #666;
}

/* Форма обратной связи */
.wpcf7-form {
    background-color: var(--color-card);
}

.form-container {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--color-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Прогресс-бар формы */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-border);
    z-index: 1;
    transform: translateY(-50%);
}

.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--color-bg);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.progress-step.active {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--color-accent);
    border-color: transparent;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn-prev {
    background-color: #e0e0e0;
    color: var(--color-text);
}

.btn-prev:hover {
    background-color: #d0d0d0;
}

/* Сообщение об успешной отправке */
.success-message {
    text-align: center;
    padding: 30px;
}

.success-message i {
    font-size: 60px;
    color: #38B000;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 24px;
    margin-bottom: 15px;
}


.wpcf7-form {
    background-color: var(--color-card);
}

/* ===== ПРАВИЛА ДЛЯ CF7 ===== */
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"], 
.wpcf7 input[type="email"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100% !important;
    padding: 12px !important;
    background-color: var(--color-bg) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 4px !important;
    color: var(--color-text) !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: 2px solid var(--color-accent) !important;
    border-color: transparent !important;
}

.wpcf7 .wpcf7-response-output {
    margin-top: 1rem;
    border-radius: 4px;
    padding: 15px;
}

.wpcf7 .btn {
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: var(--transition) !important;
    font-family: inherit !important;
}

.wpcf7 button[type="submit"] {
    background-color: var(--color-accent) !important;
    color: white !important;
}

/* .form-buttons {
    display: flex !important;
    gap: 1rem !important;
    justify-content: flex-end !important;
    margin-top: 20px !important;
} */

/* Анимация */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Подвал */
footer {
    padding: 30px 0 15px; /* Уменьшенные отступы */
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
    background-color: var(--color-header-footer);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки вместо трех */
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-family: 'Teko', sans-serif;
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
    display: inline-block;
    padding: 5px 0;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
    color: #a8c6e0;
    text-decoration: underline;
    outline: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Чат */
.chat-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
    border: none;
    color: white;
    font-size: 26px;
}

.chat-button:hover,
.chat-button:focus {
    transform: scale(1.1);
    background-color: var(--color-accent-hover);
    outline: none;
}

/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 0;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/*Single page*/
.single-title {
    font-size: 36px;
}

.single-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    margin-top: 10px;
    background-color: #2a6f97;
}

.single-page .section-light {
    padding-top: 15px;
    min-height: 450px;
}

.single-content {
    margin-top: 20px;
}

/* Адаптивность */
@media (max-width: 1100px) {
    .header-nav {
        gap: 5px;
    }
    
    .nav-item, .phone-number, .btn {
        padding: 10px 15px;
        font-size: 15px;
    }
    
    .hero h1 {
        font-size: 46px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 900px) {
    .header-container {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .header-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        margin-top: 0;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .service-card, .benefit-item {
        width: calc(50% - 20px);
    }
    
    :root {
        --section-padding: 50px;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .header-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-header-footer);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.4s ease-in-out;
        z-index: 1000;
    }
    
    .header-nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    nav ul li {
        width: 100%;
    }
    
    .nav-item, .phone-number, .btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        text-align: center;
        background-color: rgba(255,255,255,0.05);
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        margin-bottom: 10px;
        padding: 14px;
        font-size: 17px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    :root {
        --section-padding: 40px;
        --animation-duration: 0.4s;
    }
}

@media (max-width: 480px) {
    .logo {
        justify-content: flex-start;
        margin-bottom: 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .dg-widget-container {
        height: 300px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .partners-title {
        font-size: 28px;
    }
    
    .stat-item {
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 16px;
    }
}