/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #2a9d8f, #21867a);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 157, 143, 0.4);
}

section {
    padding: 100px 0;
    width: 100%;
}

h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.8rem;
    color: #264653;
    font-weight: 700;
}

/* Улучшенный header для десктопа */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    box-shadow: 0 2px 40px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    width: 100%;
}

.logo h1 {
    font-size: 1.6rem;
    color: #264653;
    font-weight: 700;
}

.logo span {
    color: #2a9d8f;
    background: linear-gradient(135deg, #2a9d8f, #264653);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Красивое меню для десктопа */
.nav {
    display: flex;
    gap: 35px;
    margin: 0 40px;
}

.nav a {
    text-decoration: none;
    color: #264653;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #2a9d8f, #264653);
    transition: width 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(38, 70, 83, 0.1);
}

.nav a:hover {
    color: #2a9d8f;
    transform: translateY(-2px);
}

.nav a:hover::before {
    width: 100%;
}

.nav a.active {
    color: #2a9d8f;
}

.nav a.active::before {
    width: 100%;
}

.contact-info a {
    text-decoration: none;
    color: #264653;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #2a9d8f;
}

.telegram-link {
    margin-left: 30px;
}

.tg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #0088cc, #00b3ff);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tg-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.tg-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
}

.tg-btn:hover::before {
    left: 100%;
}

.tg-btn::after {
    content: '📱';
    font-size: 1.1rem;
    animation: float 3s ease-in-out infinite;
}

/* Главный баннер */
.hero {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.9), rgba(38, 70, 83, 0.9)), 
                url('https://images.unsplash.com/photo-1599087746120-67c795fce524?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 140px 0 100px;
    margin-top: 70px;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 35px;
    opacity: 0.95;
    line-height: 1.6;
}

/* О нас */
.about {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.feature {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2a9d8f, #264653);
}

.feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #2a9d8f;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
    animation: float 4s ease-in-out infinite;
}

.feature h3 {
    margin-bottom: 15px;
    color: #264653;
    font-size: 1.4rem;
}

/* Продукция */
.products {
    background: linear-gradient(135deg, #ffffff, #f8fdf8);
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 3rem;
    color: #264653;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2a9d8f, #264653);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Премиум видео секция */
.premium-video-section {
    margin-bottom: 80px;
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(42, 157, 143, 0.3);
    transform: translateZ(0);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 50px;
}

.video-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(42, 157, 143, 0.4);
}

.premium-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s ease;
}

.video-container:hover .premium-video {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.05);
}

.video-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 30%,
        rgba(42, 157, 143, 0.1) 70%,
        rgba(42, 157, 143, 0.2) 100%
    );
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(38, 70, 83, 0.7) 0%,
        rgba(42, 157, 143, 0.5) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.video-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.video-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Карточка товара */
.premium-product-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    border: 2px solid transparent;
}

.premium-product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: #2a9d8f;
}

.product-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #e76f51, #f4a261);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 3;
    animation: pulse 2s infinite;
    box-shadow: 0 5px 15px rgba(231, 111, 81, 0.3);
}

.product-image {
    height: 350px;
    background: linear-gradient(135deg, #ccf2ff, #e6f7ff);
    position: relative;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-product-card:hover .product-img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 157, 143, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.premium-product-card:hover .image-overlay {
    opacity: 1;
}

.view-details {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    color: #264653;
}

.product-content {
    padding: 45px;
}

.product-content h3 {
    font-size: 2.2rem;
    color: #264653;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.product-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6c757d;
}

.product-feature-icon {
    font-size: 1.2rem;
}

.product-description {
    text-align: center;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.product-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.detail {
    text-align: center;
    color: #495057;
}

.price-section {
    text-align: center;
    margin-bottom: 25px;
}

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2a9d8f;
    display: inline-block;
    margin-right: 15px;
}

.old-price {
    font-size: 1.5rem;
    color: #6c757d;
    text-decoration: line-through;
    display: inline-block;
}

.btn-product {
    background: linear-gradient(135deg, #2a9d8f, #264653);
    padding: 15px 40px;
    font-size: 1.1rem;
    width: auto;
    margin: 0 auto;
    display: block;
}

.btn-product:hover {
    background: linear-gradient(135deg, #248277, #1d3d4d);
    transform: translateY(-3px);
}

/* Доставка */
.delivery {
    background: #f8f9fa;
}

.delivery-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.delivery-item {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.delivery-item h3 {
    margin-bottom: 15px;
    color: #264653;
}

/* Форма заказа */
.order-form-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.order-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #264653;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    transition: border 0.3s;
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2a9d8f;
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.order-info {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background: #264653;
    color: white;
    border-radius: 10px;
}

.order-info h3 {
    margin-bottom: 20px;
    color: white;
}

.order-info ol {
    margin-left: 20px;
    margin-bottom: 30px;
}

.order-info li {
    margin-bottom: 10px;
}

.contact-details p {
    margin-bottom: 10px;
}

/* Подвал */
.footer {
    background: #264653;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #2a9d8f;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.modal-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: left;
}

.modal-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-info strong {
    color: #264653;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Анимации при скролле */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* КОМПАКТНЫЙ HEADER ДЛЯ МОБИЛЬНЫХ */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 60px;
    }

    /* Компактная шапка */
    .header {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        min-height: 60px;
        padding: 0;
    }
    
    .header-content {
        padding: 10px 0;
        position: relative;
    }
    
    /* Логотип и контактная информация в одной строке */
    .logo-contact-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        margin: 0;
    }
    
    .contact-info {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .contact-info a {
        font-size: 0.8rem;
        font-weight: 700;
        white-space: nowrap;
    }
    
    /* Скрываем обычную навигацию */
    .nav {
        display: none;
    }
    
    /* Скрываем Telegram кнопку в основном контенте */
    .telegram-link {
        display: none;
    }
    
    /* Гамбургер-меню */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: 15px;
    }
    
    .menu-toggle span {
        display: block;
        height: 2px;
        width: 100%;
        background: #264653;
        border-radius: 1px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    /* Анимация гамбургера при открытии */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Мобильное меню */
    .mobile-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .mobile-menu.active {
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .mobile-nav {
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .mobile-nav a {
        display: block;
        padding: 15px 20px;
        text-decoration: none;
        color: #264653;
        font-weight: 600;
        font-size: 1rem;
        border-radius: 10px;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }
    
    .mobile-nav a:hover {
        background: linear-gradient(135deg, #2a9d8f, #21867a);
        color: white;
        border-left-color: #264653;
        transform: translateX(5px);
    }
    
    .mobile-nav a.active {
        background: linear-gradient(135deg, #2a9d8f, #21867a);
        color: white;
        border-left-color: #264653;
    }
    
    .mobile-telegram {
        padding: 20px;
        border-top: 1px solid #e9ecef;
        margin-top: 10px;
    }
    
    .mobile-telegram .tg-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Уменьшаем отступ героя */
    .hero {
        padding: 90px 0 60px;
        margin-top: 60px;
        background-attachment: scroll;
        background-position: center 30%;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
        padding: 0 15px;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 20px;
        margin-bottom: 25px;
    }
    
    .hero .btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
        scroll-margin-top: 60px;
    }
    
    h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 50px;
        padding: 0 25px;
    }
    
    .features {
        flex-direction: column;
        gap: 25px;
        padding: 0 10px;
    }
    
    .feature {
        min-width: 100%;
        padding: 35px 25px;
        margin: 0 5px;
        background: linear-gradient(135deg, #ffffff, #f8f9fa);
        border: 2px solid #e9ecef;
        border-radius: 20px;
    }
    
    .feature:hover {
        transform: translateY(-8px);
        border-color: #2a9d8f;
        box-shadow: 0 15px 35px rgba(42, 157, 143, 0.15);
    }
    
    .feature:nth-child(1) {
        border-top: 4px solid #2a9d8f;
    }
    
    .feature:nth-child(2) {
        border-top: 4px solid #e76f51;
    }
    
    .feature:nth-child(3) {
        border-top: 4px solid #f4a261;
    }
    
    .feature-icon {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .feature h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .premium-product-card {
        margin: 0 15px;
        border-radius: 20px;
        border: 2px solid #e9ecef;
    }
    
    .product-badge {
        top: 20px;
        right: 20px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .product-image {
        height: 280px;
    }
    
    .product-content {
        padding: 35px 25px;
    }
    
    .product-content h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .price {
        font-size: 2.3rem;
    }
    
    .btn-product {
        padding: 16px 35px;
        font-size: 1.1rem;
        width: 100%;
        max-width: 280px;
    }

    .reveal {
        transform: translateY(40px);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Видео секция для мобильных */
    .video-container {
        height: 400px;
        margin-bottom: 30px;
    }
    
    .video-content p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    
    .video-stats {
        gap: 30px;
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 2rem;
    }

    /* Форма заказа для мобильных */
    .order-form-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }
    
    .order-form {
        min-width: 100%;
        padding: 35px 25px;
        background: linear-gradient(135deg, #ffffff, #f8f9fa);
        border: 2px solid #e9ecef;
        border-radius: 20px;
    }
    
    .order-info {
        min-width: 100%;
        padding: 35px 25px;
        background: linear-gradient(135deg, #264653, #2a9d8f);
        border-radius: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        font-size: 16px;
        background: white;
        transition: all 0.3s ease;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: #2a9d8f;
        background: #f8fdf8;
        transform: translateY(-2px);
    }
    
    .btn-submit {
        padding: 16px;
        font-size: 1.1rem;
        background: linear-gradient(135deg, #2a9d8f, #21867a);
    }

    /* Подвал для мобильных */
    .footer {
        padding: 60px 0 25px;
        background: linear-gradient(135deg, #264653, #2a9d8f);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 35px;
        text-align: center;
        padding: 0 20px;
    }
    
    .footer-section h3 {
        color: #2a9d8f;
        font-size: 1.3rem;
    }

    /* Модальное окно для мобильных */
    .modal-content {
        margin: 20% auto;
        padding: 35px 25px;
        border-radius: 20px;
        background: linear-gradient(135deg, #ffffff, #f8f9fa);
    }
    
    .close {
        right: 20px;
        top: 20px;
        font-size: 28px;
    }

     /* Гамбургер-меню - показываем только на мобильных */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: 15px;
    }
    
    /* Мобильное меню - показываем только на мобильных */
    .mobile-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .mobile-menu.active {
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .mobile-nav {
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .mobile-telegram {
        padding: 20px;
        border-top: 1px solid #e9ecef;
        margin-top: 10px;
    }
}

/* Скрываем мобильные элементы на больших экранах */
@media (min-width: 769px) {
    .mobile-menu,
    .mobile-nav,
    .mobile-telegram,
    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 480px) {
    html {
        scroll-padding-top: 55px;
    }

    .header {
        min-height: 55px;
    }
    
    .header-content {
        padding: 8px 0;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .contact-info a {
        font-size: 0.75rem;
    }
    
    .menu-toggle {
        width: 22px;
        height: 16px;
    }
    
    .mobile-menu {
        top: 55px;
    }
    
    .hero {
        padding: 80px 0 50px;
        margin-top: 55px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        padding: 0 10px;
    }

    .title-line-1,
    .title-line-2,
    .title-line-3 {
        display: block;
        line-height: 1.2;
    }

    .title-line-2 {
        font-size: 0.9em;
    }

    .title-line-3 {
        font-size: 0.8em;
    }
    
    .hero p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    section {
        padding: 50px 0;
        scroll-margin-top: 55px;
    }
    
    h2 {
        font-size: 1.9rem;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature {
        padding: 30px 20px;
        margin: 0;
        border-radius: 18px;
    }
    
    .premium-product-card {
        margin: 0 10px;
        border-radius: 18px;
    }
    
    .product-content {
        padding: 30px 20px;
    }

    .order-form,
    .order-info {
        padding: 30px 20px;
        margin: 0 5px;
    }

    .modal-content {
        margin: 15% auto;
        padding: 30px 20px;
    }
}

@media (max-width: 360px) {
    html {
        scroll-padding-top: 50px;
    }

    .header {
        min-height: 50px;
    }
    
    .header-content {
        padding: 6px 0;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .contact-info a {
        font-size: 0.7rem;
    }
    
    .menu-toggle {
        width: 20px;
        height: 14px;
        margin-left: 10px;
    }
    
    .mobile-menu {
        top: 50px;
    }
    
    .hero {
        padding: 70px 0 40px;
        margin-top: 50px;
    }
    
    section {
        padding: 40px 0;
        scroll-margin-top: 50px;
    }
}

/* Анимация для компактной шапки при скролле */
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .header.scrolled {
        min-height: 55px;
    }
    
    .header.scrolled .header-content {
        padding: 8px 0;
    }
    
    .header.scrolled .logo h1 {
        font-size: 1.1rem;
    }
}

/* Улучшения для accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Фокус состояния */
.btn:focus,
.tg-btn:focus,
.menu-toggle:focus {
    outline: 3px solid #2a9d8f;
    outline-offset: 2px;
}