:root {
    --primary: #48a216;
    --primary-dark: #3d8712;
    --primary-light: #e8f5e0;
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-gray: #f5f5f5;
    --bg-light: #fafafa;
    --border: #e0e0e0;
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-dropdown: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-card: 0 4px 12px rgba(0,0,0,0.08);
    --header-height: 70px;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    padding-top: 0;
    overflow-x: hidden;
}

/* Анимации для фоновых изображений */
@keyframes zoomAndPan {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }
    25% {
        transform: scale(1.05) translateX(-1%) translateY(-0.5%);
    }
    50% {
        transform: scale(1.1) translateX(1%) translateY(0.5%);
    }
    75% {
        transform: scale(1.05) translateX(-0.5%) translateY(-0.25%);
    }
    100% {
        transform: scale(1) translateX(0) translateY(0);
    }
}

@keyframes zoomAndPanSlow {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }
    33% {
        transform: scale(1.03) translateX(-0.8%) translateY(-0.4%);
    }
    66% {
        transform: scale(1.06) translateX(0.8%) translateY(0.4%);
    }
    100% {
        transform: scale(1) translateX(0) translateY(0);
    }
}

@keyframes zoomAndPanVerySlow {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }
    50% {
        transform: scale(1.04) translateX(-0.6%) translateY(-0.3%);
    }
    100% {
        transform: scale(1) translateX(0) translateY(0);
    }
}

.zoom-pan-animation {
    animation: zoomAndPan 40s infinite ease-in-out;
    will-change: transform;
}

.zoom-pan-animation-slow {
    animation: zoomAndPanSlow 60s infinite ease-in-out;
    will-change: transform;
}

.zoom-pan-animation-very-slow {
    animation: zoomAndPanVerySlow 80s infinite ease-in-out;
    will-change: transform;
}

@media (max-width: 768px) {
    .zoom-pan-animation {
        animation: zoomAndPanSlow 50s infinite ease-in-out;
    }
    
    .zoom-pan-animation-slow {
        animation: zoomAndPanVerySlow 70s infinite ease-in-out;
    }
}

/* Плавные переходы для меню */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 2px solid var(--primary);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.solid-header {
    background: var(--bg);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: var(--primary);
}

.site-header.solid-header .site-logo {
    color: var(--text);
    text-shadow: none;
}

.site-header.solid-header .logo-green {
    color: var(--primary);
}

.site-header.solid-header .nav-item > a {
    color: var(--text);
    text-shadow: none;
}

.site-header.solid-header .nav-item:hover > a,
.site-header.solid-header .nav-item.active > a {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.site-header.solid-header .phone-link {
    color: var(--text);
    text-shadow: none;
}

.site-header.solid-header .phone-link:hover {
    color: var(--primary);
}

.site-header.solid-header .phone-link i {
    color: var(--primary);
}

.site-header.solid-header .callback-btn {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: white;
}

.site-header.solid-header .callback-btn:hover {
    background: transparent;
    color: var(--primary);
}

.site-header.solid-header .mobile-menu-btn {
    color: var(--primary);
}

.site-header.transparent-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    border-bottom: 1px solid var(--glass-border);
}

.site-header.transparent-header .site-logo {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.site-header.transparent-header .logo-green {
    color: #e8f5e0;
}

.site-header.transparent-header .nav-item > a {
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.site-header.transparent-header .nav-item:hover > a,
.site-header.transparent-header .nav-item.active > a {
    color: var(--primary-light);
    border-bottom-color: var(--primary-light);
}

.site-header.transparent-header .phone-link {
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.site-header.transparent-header .phone-link:hover {
    color: var(--primary-light);
}

.site-header.transparent-header .phone-link i {
    color: var(--primary-light);
}

.site-header.transparent-header .callback-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.site-header.transparent-header .callback-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.site-header.transparent-header .mobile-menu-btn {
    color: white;
}

/* Мегаменю */
.megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 1000px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-top: 2px solid var(--primary);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    z-index: 1001;
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-height: 65vh;
    overflow-y: auto;
}

.nav-item.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.megamenu-column {
    display: flex;
    flex-direction: column;
}

.megamenu-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(72, 162, 22, 0.2);
}

.megamenu-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.megamenu-links a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 0;
    transition: var(--transition);
    font-size: 13.5px;
    line-height: 1.4;
    border-radius: 4px;
    padding-left: 8px;
}

.megamenu-links a:hover {
    color: var(--primary);
    padding-left: 12px;
    background: rgba(72, 162, 22, 0.08);
}

/* Анимации для слайдеров */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-animation {
    animation: fadeIn 1.5s ease-out;
}

@keyframes softZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.soft-zoom-animation {
    animation: softZoom 20s infinite ease-in-out;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-animation {
    animation: slideIn 1.2s ease-out;
}

@keyframes gentleAppear {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 0.7;
    }
}

.gentle-appear-animation {
    animation: gentleAppear 8s infinite ease-in-out;
}

/* Эффект стекла */
.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Слайдер герой */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-slider .container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-height);
}

/* Кнопки навигации слайдера */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Индикаторы слайдов */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Конверт для почты */
.mail-envelope {
    position: absolute;
    right: 20px;
    top: 25%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    z-index: 10;
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mail-envelope:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 6px 20px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Промо-карточки в рамках */
.promo-card.framed {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.promo-card.framed:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-10px);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.promo-icon {
    font-size: 32px;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.promo-card.framed h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.promo-card.framed p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13.5px;
    line-height: 1.5;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

/* Сезонные предложения */
.seasonal-section-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.seasonal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.seasonal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff00 0%, rgb(0 0 0 / 52%) 100%);
    z-index: 2;
}

.seasonal-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 120px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.seasonal-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.seasonal-hero-subtitle {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 400;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.seasonal-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.seasonal-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
    text-align: left;
}

.seasonal-feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(10px);
}

.seasonal-feature-icon {
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.seasonal-feature-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.seasonal-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.seasonal-hero-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-3px);
    box-shadow: 
        0 6px 20px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Секция "О компании" */
.about-section-with-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 700px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.about-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-slide.active {
    opacity: 1;
    visibility: visible;
}

.about-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.about-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.about-section-with-slider .container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

/* Кнопки навигации для слайдера "О компании" */
.about-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-slider-nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.about-slider-nav.prev {
    left: 20px;
}

.about-slider-nav.next {
    right: 20px;
}

/* Индикаторы для слайдера "О компании" */
.about-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.about-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.about-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Контент "О компании" */
.about-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    animation: slideIn 1s ease-out;
}

.about-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-hero-description.glass-effect {
    padding: 30px;
}

.about-hero-description p {
    font-size: 16px;
    margin-bottom: 20px;
    color: white;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.about-hero-description p:last-child {
    margin-bottom: 0;
}

.about-hero-description strong {
    color: #e8f5e0;
}

.about-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-stat-item.glass-effect {
    padding: 25px 20px;
    transition: var(--transition);
}

.about-stat-item.glass-effect:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.35);
}

.about-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-stat-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ============ СЕТКА С 5 КАРТОЧКАМИ И ИНФО-БЛОКОМ ============ */

.grid.grid-5 {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(5, 1fr);
}

/* Информационный блок */
.info-block-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed var(--primary);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    min-height: 100%;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.info-block-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    width: auto;
    height: auto;
    overflow: visible;
    display: flex !important;
}

.info-block-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dropdown);
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: var(--primary);
}

.info-block-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 28px;
}

.info-block-content {
    width: 100%;
}

.info-block-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.info-block-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 14px;
}

.info-block-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 14px;
    margin-bottom: 20px;
    width: 100%;
    justify-content: center;
}

.info-block-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.info-block-contacts {
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.info-block-contacts p {
    color: var(--text-light);
    font-size: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.info-block-contacts p i {
    color: var(--primary);
    font-size: 13px;
}

/* Контейнер */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

/* Шапка */
.header-main {
    height: 100%;
    display: flex;
    align-items: center;
}

.header-main > .container {
    height: 100%;
}

.header-main__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    gap: 20px;
    height: 100%;
}

.site-logo {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text);
    z-index: 1002;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
}

/* Основное меню */
.main-nav {
    display: flex;
    gap: 5px;
    height: 100%;
    flex: 1;
    justify-content: center;
    margin: 0 15px;
    align-items: center;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    position: relative;
}

.nav-item > a i.fa-chevron-down {
    font-size: 11px;
    margin-left: 6px;
    transition: var(--transition);
}

.nav-item:hover > a,
.nav-item.active > a {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-item:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Контакты в шапке */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    z-index: 1002;
    height: 100%;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    white-space: nowrap;
    height: 100%;
    align-items: center;
    padding: 0 10px;
}

.phone-link:hover {
    color: var(--primary);
}

.phone-link i {
    color: var(--primary);
    font-size: 16px;
}

.callback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 13px;
    border: 1px solid var(--primary);
    white-space: nowrap;
    height: 40px;
}

.callback-btn:hover {
    background: transparent;
    color: var(--primary);
}

/* Кнопка мобильного меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background: var(--primary-light);
    border-radius: 4px;
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transform: translateX(-100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-top: 1px solid var(--glass-border);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__header {
    padding: 20px;
    background: rgba(72, 162, 22, 0.1);
    border-bottom: 1px solid rgba(72, 162, 22, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.mobile-address {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.4;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    flex: 1;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-nav-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.mobile-nav-item > a:hover {
    background: rgba(72, 162, 22, 0.1);
    color: var(--primary);
}

.mobile-nav-item.has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--text-light);
    transition: var(--transition);
}

.mobile-nav-item.has-children.active > a::after {
    transform: rotate(180deg);
    color: var(--primary);
}

.mobile-submenu {
    display: none;
    background: rgba(245, 245, 245, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
}

.mobile-nav-item.active .mobile-submenu {
    display: block;
}

.mobile-submenu a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: var(--text-light);
    text-decoration: none;
    border-top: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    font-size: 14px;
    line-height: 1.4;
}

.mobile-submenu a:hover {
    color: var(--primary);
    background: rgba(72, 162, 22, 0.08);
    padding-left: 45px;
}

/* Кнопки в мобильном меню */
.mobile-actions {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: rgba(245, 245, 245, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.mobile-action:hover {
    background: var(--primary-dark);
}

/* Герой контент */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 400;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-btn {
    display: inline-block;
    padding: 14px 35px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-3px);
    box-shadow: 
        0 6px 20px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Промо-карточки */
.promo-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.promo-card {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Категории */
.categories-section {
    padding: 50px 0;
    background: var(--bg-light);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-dropdown);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: white;
}

.category-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 14px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px;
}

.category-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Преимущества */
.advantages-section {
    background: var(--bg-light);
    padding: 50px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.advantage-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 25px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.advantage-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.advantage-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.advantage-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 14px;
}

/* Ассортимент */
.grid {
    display: grid;
    gap: 25px;
}

/* Карточки товаров */
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-dropdown);
}

.card-img-wrapper {
    overflow: hidden;
    height: 180px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 20px 20px 10px;
    color: var(--text);
}

.card-specs {
    list-style: none;
    padding: 0 20px 20px;
}

.card-specs li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px dashed var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.card-specs li strong {
    color: var(--text);
    font-weight: 500;
}

.card-specs li:last-child {
    border-bottom: none;
}

.card-specs .price {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--primary-light);
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 14px;
}

/* Регионы */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.region-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 25px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.region-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.region-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 18px;
}

.region-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text);
}

.region-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 14px;
    flex-grow: 1;
}

/* Контактная форма */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-gray);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-card);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(72, 162, 22, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-dark);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow-card);
}

.info-item i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 3px;
}

.info-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text);
}

.info-item a, .info-item p {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
}

.info-item a:hover {
    color: var(--primary);
}

/* Футер */
.site-footer {
    background: #1a252f;
    color: white;
    padding: 50px 0 20px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col p,
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
    line-height: 1.5;
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition);
    margin-bottom: 0;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

/* Кнопка "Наверх" */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Бейдж с датой */
.date-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    margin-left: 15px;
    vertical-align: middle;
}

/* ============ АДАПТИВНОСТЬ ДЛЯ 5 КАРТОЧЕК ============ */

/* На больших экранах - 5 карточек в ряд */
@media (min-width: 1400px) {
    .grid.grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* На экранах 1200-1399px - 4 карточки + инфо-блок */
@media (min-width: 1200px) and (max-width: 1399px) {
    .grid.grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* На ноутбуках - 3 карточки + инфо-блок */
@media (min-width: 992px) and (max-width: 1199px) {
    .grid.grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* На планшетах - 2 карточки + инфо-блок */
@media (min-width: 768px) and (max-width: 991px) {
    .grid.grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .info-block-card.active {
        grid-column: span 2;
        flex-direction: row;
        text-align: left;
        padding: 20px;
        gap: 20px;
        align-items: center;
    }
    .info-block-icon {
        flex-shrink: 0;
        margin-bottom: 0;
        margin-right: 0;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .info-block-content {
        flex: 1;
    }
    .info-block-btn {
        width: auto;
        margin-bottom: 10px;
    }
    .info-block-contacts {
        flex-basis: 100%;
        margin-top: 10px;
    }
}

/* На мобильных - 1 карточка, инфо-блок в конце */
@media (max-width: 767px) {
    .grid.grid-5 {
        grid-template-columns: 1fr;
    }
}

/* ============ ОБЩАЯ АДАПТИВНОСТЬ ============ */

@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-contacts .callback-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 30px;
    }
    
    .megamenu {
        width: 100%;
        left: 0;
        right: 0;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .mail-envelope {
        width: 50px;
        height: 50px;
        font-size: 20px;
        right: 15px;
    }
}

@media (max-width: 992px) {
    body {
        padding-top: 0;
    }
    
    :root {
        --header-height: 70px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .site-logo {
        font-size: 20px;
    }
    
    .phone-link {
        font-size: 14px;
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .categories-grid,
    .advantages-grid,
    .services-grid,
    .regions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-slider {
        min-height: 100vh !important;
        height: 100vh !important;
        max-height: 800px;
    }
    
    .hero-slider .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        margin: 0 0 30px 0 !important;
        padding: 0 10px !important;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
        margin-bottom: 25px !important;
        line-height: 1.5 !important;
    }
    
    .hero-btn {
        padding: 12px 25px !important;
        font-size: 14px !important;
    }
    
    .promo-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-top: 20px !important;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .promo-card.framed {
        padding: 20px 15px !important;
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .promo-icon {
        font-size: 24px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0;
    }
    
    .promo-card.framed h3 {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }
    
    .promo-card.framed p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
    
    .slider-nav {
        display: none !important;
    }
    
    .slider-dots {
        bottom: 20px !important;
    }
    
    .about-section-with-slider {
        height: auto !important;
        min-height: auto !important;
        padding: 80px 0 50px !important;
    }
    
    .about-slider-container {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 650px !important;
    }
    
    .about-slide-bg {
        background-position: center center !important;
    }
    
    .about-section-with-slider .container {
        position: relative !important;
        z-index: 3 !important;
        padding-top: 0 !important;
    }
    
    .about-hero-content {
        padding: 0 10px !important;
        text-align: center;
    }
    
    .about-hero-title {
        font-size: 28px !important;
        margin-bottom: 25px !important;
    }
    
    .about-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .about-hero-description.glass-effect {
        padding: 25px 20px !important;
        text-align: left;
    }
    
    .about-hero-description p {
        font-size: 14px !important;
        margin-bottom: 15px !important;
    }
    
    .about-hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 30px !important;
    }
    
    .about-stat-item.glass-effect {
        padding: 18px 12px !important;
        min-height: auto !important;
    }
    
    .about-stat-number {
        font-size: 24px !important;
        margin-bottom: 5px !important;
    }
    
    .about-stat-text {
        font-size: 12px !important;
    }
    
    .about-slider-nav {
        display: none !important;
    }
    
    .about-slider-dots {
        bottom: 20px !important;
    }
    
    .seasonal-section-hero {
        height: auto !important;
        min-height: auto !important;
        padding: 80px 0 50px !important;
    }
    
    .seasonal-hero-content {
        padding: 0 10px !important;
        max-width: 100% !important;
    }
    
    .seasonal-hero-title {
        font-size: 28px !important;
        margin-bottom: 20px !important;
    }
    
    .seasonal-hero-subtitle {
        font-size: 16px !important;
        margin-bottom: 30px !important;
    }
    
    .seasonal-features {
        max-width: 100% !important;
        margin-bottom: 30px !important;
    }
    
    .seasonal-feature-item {
        padding: 12px 15px !important;
        gap: 12px !important;
    }
    
    .seasonal-feature-icon {
        font-size: 16px !important;
    }
    
    .seasonal-feature-text {
        font-size: 14px !important;
    }
    
    .seasonal-hero-btn {
        padding: 14px 30px !important;
        font-size: 14px !important;
    }
    
    .phone-link span {
        display: none;
    }
    
    .phone-link i {
        font-size: 18px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .categories-grid,
    .advantages-grid,
    .services-grid,
    .regions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .mail-envelope {
        display: none;
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 65px;
    }
    
    .site-logo {
        font-size: 18px;
    }
    
    .hero-slider {
        min-height: 100vh !important;
        height: 100vh !important;
        max-height: 700px;
    }
    
    .hero-slider .container {
        padding-top: 70px;
        padding-bottom: 30px;
    }
    
    .hero-title {
        font-size: 24px !important;
    }
    
    .hero-subtitle {
        font-size: 14px !important;
    }
    
    .hero-btn {
        padding: 12px 25px !important;
        font-size: 14px !important;
    }
    
    .promo-card.framed {
        padding: 15px 12px !important;
        gap: 12px !important;
    }
    
    .promo-icon {
        font-size: 20px !important;
    }
    
    .promo-card.framed h3 {
        font-size: 13px !important;
    }
    
    .promo-card.framed p {
        font-size: 11px !important;
    }
    
    .about-section-with-slider {
        padding: 70px 0 40px !important;
    }
    
    .about-slider-container {
        min-height: 720px !important;
    }
    
    .about-hero-title {
        font-size: 24px !important;
    }
    
    .about-hero-description.glass-effect {
        padding: 20px !important;
    }
    
    .about-hero-stats {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .about-stat-item.glass-effect {
        padding: 15px !important;
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        text-align: left !important;
    }
    
    .about-stat-number {
        font-size: 22px !important;
        margin-bottom: 0 !important;
        min-width: 50px;
    }
    
    .about-stat-text {
        font-size: 13px !important;
        flex: 1;
    }
    
    .seasonal-section-hero {
        padding: 70px 0 40px !important;
    }
    
    .seasonal-hero-title {
        font-size: 24px !important;
    }
    
    .seasonal-hero-subtitle {
        font-size: 14px !important;
    }
    
    .seasonal-feature-item {
        padding: 10px 12px !important;
    }
    
    .seasonal-feature-text {
        font-size: 13px !important;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .date-badge {
        display: block;
        margin: 10px auto 0;
        width: fit-content;
    }
    
    .mobile-actions {
        flex-direction: column;
    }
    
    .megamenu {
        grid-template-columns: 1fr;
        padding: 15px;
    }
}

@media (max-width: 400px) {
    .hero-slider {
        min-height: 100vh !important;
        height: 100vh !important;
        max-height: 600px;
    }
    
    .hero-title {
        font-size: 20px !important;
    }
    
    .hero-subtitle {
        font-size: 13px !important;
    }
    
    .promo-grid {
        gap: 10px !important;
    }
    
    .promo-card.framed {
        padding: 12px 10px !important;
        gap: 10px !important;
    }
    
    .about-hero-title {
        font-size: 22px !important;
    }
    
    .about-hero-description.glass-effect {
        padding: 18px !important;
    }
    
    .about-slider-container {
        min-height: 680px !important;
    }
    
    .about-stat-item.glass-effect {
        padding: 12px 10px !important;
        gap: 10px !important;
    }
    
    .about-stat-number {
        font-size: 20px !important;
        min-width: 40px !important;
    }
    
    .about-stat-text {
        font-size: 12px !important;
    }
    
    .seasonal-hero-title {
        font-size: 22px !important;
    }
    
    .seasonal-hero-btn {
        padding: 12px 25px !important;
        font-size: 13px !important;
    }
}

/* ============ СПЕЦИАЛЬНЫЕ ИСПРАВЛЕНИЯ ДЛЯ iOS SAFARI ============ */

@supports (-webkit-touch-callout: none) {
    .hero-slider,
    .seasonal-section-hero,
    .about-section-with-slider {
        min-height: -webkit-fill-available !important;
        height: -webkit-fill-available !important;
    }
    
    @media (max-width: 768px) {
        .hero-slider,
        .seasonal-section-hero,
        .about-section-with-slider {
            min-height: 100vh !important;
            height: 100vh !important;
        }
        
        .about-slider-container {
            min-height: 650px !important;
        }
    }
    
    @media (max-width: 576px) {
        .about-slider-container {
            min-height: 720px !important;
        }
    }
}