:root {
    --bg: #f4f6f5;
    --bg-soft: #e8ecea;
    --card: #ffffff;
    --border: #d5ddd8;
    --text: #1f2a24;
    --text-muted: #5f6b64;
    --accent: #1e8e3e;
    --accent-2: #34a853;
    --accent-dark: #0f5c28;
    --accent-glow: rgba(30,142,62,0.25);
    --danger: #d93025;
    --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
            radial-gradient(circle at 15% 10%, rgba(30,142,62,0.06), transparent 45%),
            radial-gradient(circle at 85% 70%, rgba(52,168,83,0.05), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* HEADER */
header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(244,246,245,0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}
header.scrolled { border-bottom-color: var(--border); background: rgba(244,246,245,0.98); box-shadow: 0 2px 20px rgba(0,0,0,0.04); }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 50px; object-fit: contain; }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

.nav-actions { display: flex; gap: 10px; align-items: center; }

.btn {
    padding: 11px 22px; border-radius: 10px; font-size: 14px; font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer; border: none; font-family: inherit; transition: all 0.2s; white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 4px 18px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px var(--accent-glow); color: #fff; }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-vk { background: #0077FF; color: #fff; padding: 10px 16px; }
.btn-vk:hover { background: #0066dd; transform: translateY(-2px); color: #fff; }

.burger { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* HERO */
.hero { padding: 150px 0 90px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: flex-start; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: rgba(30,142,62,0.1);
    border: 1px solid rgba(30,142,62,0.25);
    border-radius: 50px;
    font-size: 13px; font-weight: 600; color: var(--accent-dark);

}
.hero-badge::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-size: 46px; line-height: 1.1; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 22px; }
.hero p { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; max-width: 540px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 34px; border-top: 1px solid var(--border); }
.stat-num {
    font-size: 32px; font-weight: 800;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    letter-spacing: -1px;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.hero-visual {
    position: relative; height: 700px; border-radius: 22px;
    /*background: linear-gradient(135deg, #ffffff, #eef3f0);*/
    /*border: 1px solid var(--border);*/
    overflow: hidden;
    /*box-shadow: 0 10px 40px rgba(30,142,62,0.08);*/
}
.hero-visual img.hero-photo { width: 100%; height: 100%; object-fit: contain; }

.floating-card {
    position: absolute; background: rgba(255,255,255,0.96);
    border: 1px solid var(--border); border-radius: 12px;
    padding: 12px 16px; font-size: 13px; font-weight: 600;
    z-index: 3; animation: float 4s ease-in-out infinite;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.fc-1 { top: 24px; right: 24px; }
.fc-2 { bottom: 24px; left: 24px; animation-delay: -2s; }
.floating-card small { display: block; color: var(--text-muted); font-size: 11px; margin-top: 2px; font-weight: 500; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* SECTIONS */
section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
    display: inline-block; padding: 6px 14px;
    background: rgba(30,142,62,0.1);
    border: 1px solid rgba(30,142,62,0.22);
    border-radius: 50px; font-size: 12px; font-weight: 700;
    color: var(--accent-dark); margin-bottom: 14px;
    letter-spacing: 0.8px; text-transform: uppercase;
}
.section-head h2 { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; line-height: 1.15; }
.section-head p { color: var(--text-muted); font-size: 17px; }

/* CAROUSEL (ГРУППЫ ТОВАРОВ) */
.carousel-wrap { position: relative; }
.carousel-viewport { overflow: hidden; padding: 10px; margin: -10px; }
.carousel-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); will-change: transform; }
.product-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    display: flex; flex-direction: column;
}
.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.08), 0 0 0 1px rgba(30,142,62,0.05);
}
.product-image {
    height: 200px;
    background: linear-gradient(135deg, #f0f5f2, #e4ebe7);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
}
.product-image::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(30,142,62,0.14), transparent 70%);
}
.product-image img {
    width: 100%; height: 100%; object-fit: contain;
    position: relative; z-index: 2; transition: transform .4s;
}
.product-card:hover .product-image img { transform: scale(1.06); }
.product-image svg { width: 76px; height: 76px; stroke: var(--accent-dark); fill: none; stroke-width: 1.4; position: relative; z-index: 2; }
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 8px; }
.product-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.3px; }
.product-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.product-features { list-style: none; margin-bottom: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.product-features li { font-size: 13px; color: var(--text-muted); padding: 3px 0 3px 18px; position: relative; }
.product-features li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.carousel-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 36px; }
.carousel-arrow {
    width: 46px; height: 46px; border-radius: 50%;
    background: #fff; border: 1px solid var(--border); color: var(--text);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; font-size: 22px; line-height: 1;
}
.carousel-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.05); }
.carousel-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel-dots { display: flex; gap: 8px; }
.cdot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: all 0.3s; padding: 0; }
.cdot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* GOODS (ПОПУЛЯРНЫЕ ТОВАРЫ) */
.goods-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.goods-filter-btn {
    padding: 10px 18px; border-radius: 50px; border: 1px solid var(--border);
    background: #fff; color: var(--text-muted); font-family: inherit;
    font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.goods-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.goods-filter-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent; color: #fff; box-shadow: 0 4px 16px var(--accent-glow);
}

.goods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.goods-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column;
}
.goods-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0,0,0,0.08); }
.goods-image {
    aspect-ratio: 4 / 3; background: linear-gradient(135deg, #f0f5f2, #e4ebe7);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
}
.goods-image img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 2; transition: transform 0.4s; }
.goods-card:hover .goods-image img { transform: scale(1.06); }
.goods-image svg { width: 64px; height: 64px; stroke: var(--accent-dark); fill: none; stroke-width: 1.4; position: relative; z-index: 2; }
.goods-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.goods-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 8px; }
.goods-body h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.35; }
.goods-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 15px; }
.goods-more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.goods-more {
    padding: 13px 32px; border-radius: 10px; border: 1px solid var(--border);
    background: #fff; color: var(--text); font-family: inherit; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; align-items: center; gap: 8px;
}
.goods-more:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,142,62,0.12); }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-content h2 { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 20px; line-height: 1.15; }
.about-content > p { color: var(--text-muted); font-size: 16px; margin-bottom: 18px; }
.about-list { list-style: none; margin-top: 30px; }
.about-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.about-list li:last-child { border-bottom: none; }
.about-list .ico {
    width: 46px; height: 46px; min-width: 46px; border-radius: 11px;
    background: rgba(30,142,62,0.1); border: 1px solid rgba(30,142,62,0.2);
    display: flex; align-items: center; justify-content: center;
}
.about-list .ico svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.about-list h4 { font-size: 16px; margin-bottom: 3px; font-weight: 700; }
.about-list p { font-size: 14px; color: var(--text-muted); margin: 0; }

.about-visual {
    background: linear-gradient(135deg, #ffffff, #eef3f0);
    border: 1px solid var(--border); border-radius: 22px; padding: 42px;
    position: relative; overflow: hidden; box-shadow: 0 10px 40px rgba(30,142,62,0.06);
}
.about-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: relative; z-index: 2; }
.about-num { padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: 13px; }
.about-num b {
    display: block; font-size: 30px; font-weight: 800; letter-spacing: -1px;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.about-num span { font-size: 13px; color: var(--text-muted); }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; }
.gallery-hidden-data { display: none !important; }
.gallery-item {
    position: relative; border-radius: 16px; overflow: hidden; cursor: pointer;
    background: var(--bg-soft); aspect-ratio: 4 / 3; border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    animation: fadeInGallery 0.5s ease forwards;
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 10px 24px rgba(30,142,62,0.15); border-color: var(--accent); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
    content: '+'; position: absolute; inset: 0; background: rgba(15, 92, 40, 0.4);
    color: #fff; font-size: 40px; font-weight: 300; display: flex;
    align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }

@keyframes fadeInGallery {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* LIGHTBOX */
.lightbox {
    position: fixed; inset: 0; background: rgba(10, 20, 15, 0.95); backdrop-filter: blur(8px);
    z-index: 9999; display: none; align-items: center; justify-content: center;
    padding: 20px; opacity: 0; transition: opacity 0.3s;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); animation: zoomIn 0.3s ease; }
@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-close {
    position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s; z-index: 10000; line-height: 1;
}
.lightbox-close:hover { background: var(--danger); border-color: var(--danger); transform: rotate(90deg); }
.lightbox-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
    color: #fff; font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s; z-index: 10000; user-select: none;
}
.lightbox-arrow:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; }
.contact-info h2 { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 30px; }
.contact-item { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-item .ico {
    width: 42px; height: 42px; min-width: 42px; border-radius: 10px;
    background: rgba(30,142,62,0.1); border: 1px solid rgba(30,142,62,0.2);
    display: flex; align-items: center; justify-content: center;
}
.contact-item .ico svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.contact-item h4 { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; font-weight: 600; }
.contact-item p, .contact-item a { font-size: 16px; color: var(--text); font-weight: 600; text-decoration: none; transition: color 0.2s; word-break: break-word; }
.contact-item a:hover { color: var(--accent); }
.vk-link { display: inline-flex; align-items: center; gap: 8px; color: #0077FF !important; }

/* Карта */
.contact-map {
    margin-top: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #eee;
}
.contact-map iframe {
    display: block;
    width: 100% !important;
    height: 400px;
}

/* FORM */
.form-box { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; box-shadow: 0 10px 40px rgba(0,0,0,0.04); }
.form-box h3 { font-size: 23px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.5px; }
.form-box > p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 7px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 13px 15px; background: var(--bg);
    border: 1px solid var(--border); border-radius: 9px;
    font-family: inherit; font-size: 15px; color: var(--text); transition: all 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--accent); background: #fff;
    box-shadow: 0 0 0 3px rgba(30,142,62,0.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit {
    width: 100%; padding: 15px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; border: none; border-radius: 9px; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
    box-shadow: 0 4px 18px var(--accent-glow); margin-top: 6px;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 26px var(--accent-glow); }

/* FORM SUCCESS MESSAGE */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success .success-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 26px var(--accent-glow);
}
.form-success .success-icon svg {
    width: 36px; height: 36px;
    stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.form-success h4 {
    font-size: 22px; font-weight: 700; margin-bottom: 8px;
    color: var(--text);
}
.form-success p {
    color: var(--text-muted); font-size: 15px;
}

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 54px 0 28px; background: #ffffff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: var(--text); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}
.footer-bottom {
    padding-top: 26px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
    font-size: 13px; color: var(--text-muted);
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: calc(100% - 40px); max-width: 800px;
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 16px 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 9999; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    animation: slideUp 0.4s ease-out;
}
.cookie-text { font-size: 14px; color: var(--text); line-height: 1.4; }
.cookie-text a { color: var(--accent); text-decoration: underline; }
@keyframes slideUp {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 99999;
    opacity: 0;
    animation: toastIn 0.4s ease forwards;
    max-width: calc(100% - 40px);
    text-align: center;
}
.toast.error {
    border-color: var(--danger);
    color: var(--danger);
}
@keyframes toastIn {
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* CHECKMARK ANIMATION */
@keyframes checkmark {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}
@keyframes checkScale {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-visual img.hero-photo{
        object-fit: cover;
    }
    .container { padding: 0 20px; }
    .nav-links { display: none; }
    .burger { display: block; }
    .hero { padding: 130px 0 70px; }
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-visual { height: 380px; order: -1; }
    .hero h1 { font-size: 38px; }
    .section-head h2 { font-size: 32px; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .product-card { flex: 0 0 calc((100% - 24px) / 2); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .goods-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav-actions .btn-ghost { display: none; }
    .nav-links.active {
        display: flex; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; background: #fff; border-bottom: 1px solid var(--border);
        padding: 18px 20px; gap: 14px; box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    }
    section { padding: 60px 0; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 15px; }
    .hero-visual { height: 280px; }
    .product-card { flex: 0 0 100%; }
    .goods-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    /* Мобильная галерея (свайп) */
    .gallery-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding-bottom: 15px;
        scrollbar-width: none;
        margin-top: 10px;
    }
    .gallery-grid::-webkit-scrollbar { display: none; }
    .gallery-item {
        flex: 0 0 80%;
        scroll-snap-align: start;
        aspect-ratio: 4 / 3;
        opacity: 1; /* Отключаем анимацию появления для свайпа */
        animation: none;
    }
    #galleryMore { display: none !important; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cookie-banner { flex-direction: column; text-align: center; padding: 20px; }
    .cookie-banner .btn { width: 100%; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .hero-btns .btn { justify-content: center; }
    /*.goods-grid { grid-template-columns: 1fr; }*/
    .about-nums { grid-template-columns: 1fr; }
    .form-box { padding: 18px; }
}
.footer-col {
    min-width: 350px;
}