        :root {
            --accent: #87FF32;
            --accent-dark: #6fd43a;
            --white: #F4FBF3;
            --black: #101413;
            --primary: #2c7873;
            --primary-dark: #1e5a56;
            --text-dark: #101413;
            --text-medium: #444444;
            --text-light: #666666;
            --text-muted: #888888;
            --header-height: 80px;
            --transition: 0.3s ease;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.12);
            --radius: 16px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Manrope', 'Segoe UI', sans-serif;
            background: var(--white);
            color: var(--text-dark);
            min-height: 100vh;
            padding: 20px;
            padding-top: calc(var(--header-height) + 30px);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

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

        .section {
            padding: 60px 0;
            border-bottom: 1px solid rgba(16, 20, 19, 0.06);
        }

        .section:last-of-type {
            border-bottom: none;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 15px;
            letter-spacing: -0.5px;
        }

        .section-title span {
            color: var(--primary);
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: var(--text-medium);
            max-width: 700px;
            line-height: 1.6;
        }

        .text-center {
            text-align: center;
        }

        .text-center .section-subtitle {
            margin: 0 auto;
        }

        .section-intro {
            font-size: 0.98rem;
            color: var(--text-medium);
            max-width: 680px;
            line-height: 1.6;
            margin: 10px auto 0;
            opacity: 0.9;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 32px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1rem;
            border: none;
            cursor: pointer;
            transition: all var(--transition);
            text-decoration: none;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
            color: var(--text-dark);
            box-shadow: 0 4px 20px rgba(135, 255, 50, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(135, 255, 50, 0.4);
        }

        .btn-secondary {
            background: var(--white);
            color: var(--text-dark);
            border: 2px solid rgba(16, 20, 19, 0.15);
        }

        .btn-secondary:hover {
            border-color: var(--primary);
            background: rgba(44, 120, 115, 0.05);
            transform: translateY(-3px);
        }

        /* ===== ШАПКА ===== */
        .header-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 12px 20px 0 20px;
            background: transparent;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            pointer-events: none;
        }

        .header-wrapper * {
            pointer-events: auto;
        }

        .header-wrapper.scrolled {
            background: transparent;
            padding-top: 8px;
            padding-bottom: 8px;
        }

        .header {
            max-width: 1200px;
            width: 100%;
            background: var(--white);
            border-radius: var(--radius);
            border: 1px solid rgba(16, 20, 19, 0.08);
            padding: 0 16px;
            height: var(--header-height);
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }

        .header-wrapper.scrolled .header {
            height: calc(var(--header-height) - 12px);
            border-radius: 12px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
        }

        .header-logo {
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            flex-shrink: 0;
            cursor: pointer;
            margin-right: 5px;
            touch-action: manipulation;
            -webkit-tap-highlight-color: rgba(135, 255, 50, 0.3);
        }

        .header-logo-icon {
            cursor: pointer;
            pointer-events: none;
            width: 36px;
            height: 36px;
            background: var(--black);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 800;
            color: var(--accent);
            transition: transform var(--transition);
            flex-shrink: 0;
        }

        .header-logo-icon img {
            width: 62%;
            height: 62%;
            object-fit: contain;
            display: block;
            pointer-events: none;
        }

        .header-logo:hover .header-logo-icon {
            transform: scale(1.05) rotate(-4deg);
        }

        .header-logo-text {
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--text-dark);
            letter-spacing: -0.5px;
            cursor: pointer;
            pointer-events: none;
        }

        .header-logo-text span {
            color: var(--text-dark);
        }

        .header-logo:hover .header-logo-text {
            color: var(--primary);
        }

        .header-nav {
            display: flex;
            align-items: center;
            gap: 2px;
            list-style: none;
            flex-wrap: nowrap;
        }

        .header-nav li {
            position: relative;
            flex-shrink: 0;
        }

        .header-nav a {
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--text-light);
            text-decoration: none;
            padding: 5px 10px;
            border-radius: 8px;
            transition: all var(--transition);
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .header-nav a i {
            font-size: 0.75rem;
            opacity: 0.5;
        }

        .header-nav a:hover {
            color: var(--text-dark);
            background: rgba(16, 20, 19, 0.05);
        }

        .header-nav a:hover i {
            opacity: 0.8;
            color: var(--primary);
        }

        .header-nav a.active {
            color: var(--primary);
            background: rgba(44, 120, 115, 0.08);
        }

        .header-nav a.active i {
            opacity: 1;
            color: var(--primary);
        }

        .header-nav a.delivery-btn {
            color: var(--text-light);
            background: transparent;
            border: none;
            padding: 5px 10px;
        }

        .header-nav a.delivery-btn:hover {
            color: var(--text-dark);
            background: rgba(16, 20, 19, 0.05);
        }

        /* ===== КНОПКА КОРЗИНЫ В ШАПКЕ ===== */
        /* Специально крупнее прочих пунктов меню (и шрифт, и иконка) —
           так просили; лежит вне #mainNav, поэтому видна и на мобильных,
           а не прячется в бургер-меню. */
        .header-cart-btn {
            position: relative;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
            margin-left: 8px;
            padding: 10px 18px;
            border-radius: 10px;
            background: var(--black);
            color: var(--accent);
            font-size: 0.95rem;
            font-weight: 700;
            transition: all var(--transition);
        }

        .header-cart-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(16, 20, 19, 0.25);
        }

        .header-cart-btn i {
            font-size: 1.25rem;
        }

        .header-cart-badge {
            position: absolute;
            top: -6px;
            right: -6px;
            background: var(--accent);
            color: var(--text-dark);
            font-size: 0.7rem;
            font-weight: 800;
            min-width: 20px;
            height: 20px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 5px;
            border: 2px solid var(--white);
        }

        .burger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 8px;
            z-index: 100;
            flex-shrink: 0;
            margin-left: 5px;
        }

        .burger span {
            display: block;
            width: 26px;
            height: 3px;
            background: var(--text-dark);
            border-radius: 3px;
            transition: all var(--transition);
            transform-origin: center;
        }

        .burger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 6px);
        }
        .burger.active span:nth-child(2) {
            opacity: 0;
        }
        .burger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -6px);
        }

        /* ===== HERO ===== */
        .hero {
            padding: 40px 0 60px;
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            background: var(--white);
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .hero-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: rgba(44, 120, 115, 0.10);
            color: var(--primary);
            padding: 10px 22px;
            border-radius: 40px;
            font-size: 1.1rem;
            font-weight: 700;
            width: fit-content;
            border: 1px solid rgba(44, 120, 115, 0.15);
        }

        .hero-badge i {
            color: var(--accent-dark);
            font-size: 1.2rem;
        }

        .hero h1 {
            font-size: 3rem;
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: -0.5px;
            color: var(--text-dark);
        }

        .hero h1 span {
            color: var(--primary);
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--text-medium);
            line-height: 1.6;
            max-width: 550px;
        }

        .hero-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            margin-top: 5px;
        }

        .hero-stats {
            display: flex;
            gap: 30px;
            margin-top: 10px;
            padding-top: 20px;
            border-top: 1px solid rgba(16, 20, 19, 0.06);
        }

        .hero-stats-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            color: var(--text-medium);
        }

        .hero-stats-item i {
            color: var(--primary);
        }

        .hero-stats-item a {
            color: var(--primary);
            font-weight: 600;
            transition: color var(--transition);
        }

        .hero-stats-item a:hover {
            color: var(--accent-dark);
            text-decoration: underline;
        }

        .hero-stats-item .pdf-link {
            color: var(--primary);
            font-weight: 600;
            cursor: pointer;
            transition: color var(--transition);
            border-bottom: 2px dashed rgba(44, 120, 115, 0.3);
        }

        .hero-stats-item .pdf-link:hover {
            color: var(--accent-dark);
            border-bottom-color: var(--accent-dark);
        }

        .hero-slider {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            aspect-ratio: 4/3;
            background: var(--white);
            box-shadow: var(--shadow-hover);
        }

        .hero-slider-track {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .hero-slide {
            min-width: 100%;
            height: 100%;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #e8eee7;
        }

        .hero-slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .hero-slider-dots {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 5;
        }

        .hero-slider-dots button {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all var(--transition);
            padding: 0;
        }

        .hero-slider-dots button.active {
            background: var(--white);
            transform: scale(1.2);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        }

        /* ===== ПРЕИМУЩЕСТВА ===== */
        .advantages-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            margin-top: 40px;
        }

        .advantage-card {
            background: var(--white);
            border-radius: var(--radius);
            padding: 30px 25px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(16, 20, 19, 0.06);
            transition: all var(--transition);
            text-align: center;
            position: relative;
            overflow: hidden;
            min-height: 250px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .advantage-card.has-bg {
            color: var(--white);
            border: none;
        }

        .advantage-card.has-bg .advantage-icon {
            background: rgba(255, 255, 255, 0.2);
            color: var(--white);
        }

        .advantage-card.has-bg h3 {
            color: var(--white);
        }

        .advantage-card.has-bg p {
            color: rgba(255, 255, 255, 0.85);
        }

        .advantage-card.has-bg .price-list {
            border-top-color: rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.7);
        }

        .advantage-card.has-bg .price-list span {
            color: var(--white);
        }

        .advantage-card .advantage-bg-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
            opacity: 0.85;
        }

        .advantage-card .advantage-bg-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(16, 20, 19, 0.6) 0%, rgba(16, 20, 19, 0.3) 100%);
            z-index: 1;
        }

        .advantage-card .advantage-content {
            position: relative;
            z-index: 2;
        }

        .advantage-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary);
        }

        .advantage-card.has-bg:hover {
            border-color: var(--accent);
        }

        .advantage-icon {
            width: 60px;
            height: 60px;
            background: rgba(44, 120, 115, 0.08);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            font-size: 1.5rem;
            color: var(--primary);
        }

        .advantage-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .advantage-card p {
            font-size: 0.9rem;
            color: var(--text-medium);
            line-height: 1.5;
        }

        .advantage-card .price-list {
            font-size: 0.85rem;
            color: var(--text-light);
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid rgba(16, 20, 19, 0.06);
        }

        .advantage-card .price-list span {
            font-weight: 600;
            color: var(--text-dark);
        }

        .advantage-author {
            grid-column: span 1;
            position: relative;
            overflow: hidden;
            min-height: 250px;
            display: flex;
            align-items: flex-end;
            padding: 25px;
            border-radius: var(--radius);
            color: var(--white);
            border: none;
        }

        .advantage-author img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.7;
        }

        .advantage-author .advantage-bg-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(16, 20, 19, 0.7) 0%, rgba(16, 20, 19, 0.3) 100%);
            z-index: 1;
        }

        .advantage-author-content {
            position: relative;
            z-index: 2;
        }

        .advantage-author-content h3 {
            font-size: 1.3rem;
            font-weight: 700;
        }

        .advantage-author-content p {
            font-size: 0.9rem;
            opacity: 0.8;
            margin-top: 5px;
        }

        /* ===== КАЛЬКУЛЯТОРЫ ===== */
        .calc-highlight {
            background: linear-gradient(135deg, #f8fdf6 0%, #eaf5e8 100%);
            border-radius: 20px;
            padding: 50px 40px;
            margin-top: 30px;
            border: 2px solid rgba(44, 120, 115, 0.1);
        }

        .calc-highlight .section-title {
            font-size: 2.2rem;
        }

        .calc-highlight .section-title span {
            color: var(--primary);
        }

        .calc-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 30px;
        }

        .calc-card {
            background: var(--white);
            border-radius: var(--radius);
            padding: 25px 20px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(16, 20, 19, 0.06);
            transition: all var(--transition);
            text-align: center;
            cursor: pointer;
        }

        .calc-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .calc-card.featured {
            border: 2px solid var(--accent);
            background: linear-gradient(135deg, var(--white), #fafff8);
            grid-column: span 1;
        }

        .calc-card .calc-icon {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .calc-card h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .calc-card p {
            font-size: 0.85rem;
            color: var(--text-light);
            line-height: 1.4;
        }

        .calc-card .featured-badge {
            display: inline-block;
            background: var(--accent);
            color: var(--text-dark);
            font-size: 0.65rem;
            font-weight: 700;
            padding: 2px 12px;
            border-radius: 20px;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* ===== ТОВАРЫ (карусель) ===== */
        .products-carousel-wrapper {
            position: relative;
            margin-top: 30px;
        }

        .products-carousel {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            padding: 5px 2px 10px;
        }

        .products-carousel::-webkit-scrollbar {
            height: 6px;
        }

        .products-carousel::-webkit-scrollbar-thumb {
            background: rgba(16, 20, 19, 0.15);
            border-radius: 4px;
        }

        .product-card {
            min-width: calc(100% / 4 - 15px);
            max-width: calc(100% / 4 - 15px);
            background: var(--white);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            border: 1px solid rgba(16, 20, 19, 0.06);
            transition: all var(--transition);
            flex-shrink: 0;
            scroll-snap-align: start;
            aspect-ratio: 3 / 4;
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .product-card.announce {
            border: 2px dashed var(--primary);
            background: rgba(44, 120, 115, 0.03);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 20px;
        }

        .product-card.announce .announce-icon {
            font-size: 3rem;
            margin-bottom: 10px;
        }

        .product-card.announce h4 {
            font-size: 1rem;
            color: var(--primary);
        }

        .product-card.announce p {
            font-size: 0.85rem;
            color: var(--text-light);
        }

        .product-card .product-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            background: #e8eee7;
            flex: 1;
        }

        .product-card .product-info {
            padding: 12px 15px 15px;
            text-align: center;
            flex-shrink: 0;
        }

        .product-card .product-info .product-price {
            font-size: 1rem;
            font-weight: 600;
            color: var(--primary);
        }

        .carousel-btn {
            position: absolute;
            top: 0;
            height: 100%;
            transform: none;
            background: transparent;
            border: none;
            border-radius: 0;
            width: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: none;
            transition: all var(--transition);
            z-index: 10;
            font-size: 1.3rem;
            color: var(--text-dark);
            text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.6);
        }

        @media (hover: hover) and (pointer: fine) {
            .carousel-btn:hover {
                background: var(--white);
                color: var(--primary);
            }
        }

        .carousel-btn.prev {
            left: 0;
        }

        .carousel-btn.next {
            right: 0;
        }

        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 20px;
        }

        .carousel-dots button {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: none;
            background: rgba(16, 20, 19, 0.15);
            cursor: pointer;
            transition: all var(--transition);
            padding: 0;
        }

        .carousel-dots button.active {
            background: var(--primary);
            width: 30px;
            border-radius: 5px;
        }

        .products-actions {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 25px;
            flex-wrap: wrap;
        }

        /* ===== СО₂ ===== */
        .co2-block {
            background: linear-gradient(135deg, #1a2a2a, var(--black));
            border-radius: 20px;
            padding: 50px 40px;
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
            margin-top: 30px;
        }

        .co2-content h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 10px;
        }

        .co2-content h2 span {
            color: var(--accent);
        }

        .co2-content p {
            font-size: 1.1rem;
            opacity: 0.8;
            margin-bottom: 20px;
        }

        .co2-content .btn {
            background: var(--accent);
            color: var(--text-dark);
        }

        .co2-content .btn:hover {
            box-shadow: 0 8px 30px rgba(135, 255, 50, 0.3);
        }

        .co2-images {
            display: flex;
            gap: 15px;
            flex-shrink: 0;
        }

        .co2-images .co2-image {
            width: 200px;
            height: 150px;
            border-radius: var(--radius);
            overflow: hidden;
            background: #2a3a3a;
            flex-shrink: 0;
        }

        .co2-images .co2-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* ===== ОТЗЫВЫ — КАРУСЕЛЬ (3 сверху + 2 снизу) ===== */
        .reviews-carousel-wrapper {
            position: relative;
            margin-top: 15px;
            overflow: hidden;
        }

        .reviews-carousel {
            display: flex;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .review-slide {
            min-width: 100%;
            max-width: 100%;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            overflow: hidden;
            margin: 0 auto;
        }

        .review-top {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            width: 100%;
            max-width: 900px;
        }

        .review-bottom {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
        }

        .review-card {
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            border: 1px solid rgba(16, 20, 19, 0.06);
            transition: all var(--transition);
            cursor: pointer;
            aspect-ratio: 4 / 3;
            background: #f5f5f5;
            display: block;
            width: 100%;
            max-width: 100%;
            position: relative;
        }

        .review-card:hover {
            transform: scale(1.03);
            box-shadow: var(--shadow-hover);
            z-index: 2;
        }

        .review-card img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            background: #e8eee7;
            display: block;
        }

        .reviews-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 20px;
        }

        .reviews-dots button {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: none;
            background: rgba(16, 20, 19, 0.15);
            cursor: pointer;
            transition: all var(--transition);
            padding: 0;
        }

        .reviews-dots button.active {
            background: var(--primary);
            width: 30px;
            border-radius: 5px;
        }

        .reviews-carousel-btn {
            position: absolute;
            top: 0;
            height: 100%;
            transform: none;
            background: transparent;
            border: none;
            border-radius: 0;
            width: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: none;
            transition: all var(--transition);
            z-index: 10;
            font-size: 1.3rem;
            color: var(--text-dark);
            text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.6);
        }

        @media (hover: hover) and (pointer: fine) {
            .reviews-carousel-btn:hover {
                background: var(--white);
                color: var(--primary);
            }
        }

        .reviews-carousel-btn.prev {
            left: 0;
        }

        .reviews-carousel-btn.next {
            right: 0;
        }

        /* На мобильных отзывы — это в основном скрины переписки/Авито
           (высокие, портретные), а не альбомные фото. Фиксированное
           aspect-ratio 4/3 сжимало их в мелкую полоску и заставляло
           зумить, а листание внутри самого фото путали с переключением
           карточки. Здесь высота идёт за реальными пропорциями фото —
           видно сразу целиком, обрезки нет. */
        @media (max-width: 768px) {
            .review-card {
                aspect-ratio: auto;
                max-height: 78vh;
            }

            .review-card img {
                width: 100%;
                height: auto;
                max-height: 78vh;
                object-fit: contain;
            }
        }

        /* ===== ПОРТФОЛИО (3-2-3-2) ===== */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 30px;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        .portfolio-item {
            border-radius: var(--radius);
            overflow: hidden;
            background: #f5f5f5;
            box-shadow: var(--shadow);
            transition: all var(--transition);
            cursor: pointer;
            position: relative;
        }

        .portfolio-item:hover {
            transform: scale(1.03);
            box-shadow: var(--shadow-hover);
            z-index: 2;
        }

        .portfolio-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Ряд 1: 3 фото 1:1 */
        .portfolio-item:nth-child(1),
        .portfolio-item:nth-child(2),
        .portfolio-item:nth-child(3) {
            aspect-ratio: 1 / 1;
            grid-column: span 1;
        }

        /* Ряд 2: 2 фото 4:3, покрупнее, по центру */
        .portfolio-item:nth-child(4) {
            aspect-ratio: 4 / 3;
            grid-column: 1 / 2;
        }
        .portfolio-item:nth-child(5) {
            aspect-ratio: 4 / 3;
            grid-column: 2 / 3;
        }

        /* Ряд 3: 3 фото 1:1 */
        .portfolio-item:nth-child(6),
        .portfolio-item:nth-child(7),
        .portfolio-item:nth-child(8) {
            aspect-ratio: 1 / 1;
            grid-column: span 1;
        }

        /* Ряд 4: 2 фото 4:3, покрупнее, по центру */
        .portfolio-item:nth-child(9) {
            aspect-ratio: 4 / 3;
            grid-column: 1 / 2;
        }
        .portfolio-item:nth-child(10) {
            aspect-ratio: 4 / 3;
            grid-column: 2 / 3;
        }

        /* ===== LIGHTBOX ===== */
        .lightbox-overlay {
            position: fixed;
            inset: 0;
            z-index: 9999;
            background: rgba(0, 0, 0, 0.92);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            backdrop-filter: blur(8px);
            cursor: pointer;
        }

        .lightbox-overlay.active {
            display: flex;
        }

        .lightbox-content {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
            cursor: default;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-content img {
            max-width: 90vw;
            max-height: 85vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
        }

        .lightbox-close {
            position: fixed;
            top: 25px;
            right: 35px;
            font-size: 2.5rem;
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all var(--transition);
            z-index: 10000;
            background: none;
            border: none;
            font-family: inherit;
            line-height: 1;
        }

        .lightbox-close:hover {
            color: var(--white);
            transform: rotate(90deg);
        }

        .lightbox-nav {
            /* Привязаны к .lightbox-content (то есть к самому фото), а не
               к экрану — иначе область клика "next" растягивалась на всю
               высоту вьюпорта и наезжала на крестик закрытия в углу. */
            position: absolute;
            top: 0;
            height: 100%;
            width: 90px;
            background: transparent;
            border: none;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all var(--transition);
            color: rgba(255, 255, 255, 0.75);
            font-size: 2rem;
            text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
            backdrop-filter: none;
            z-index: 10001;
        }

        .lightbox-nav.prev {
            left: 0;
        }

        .lightbox-nav.next {
            right: 0;
        }

        .lightbox-nav:hover {
            background: rgba(255, 255, 255, 0.08);
            color: var(--white);
        }

        .lightbox-counter {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
            font-weight: 400;
            z-index: 10000;
            background: rgba(0, 0, 0, 0.5);
            padding: 6px 18px;
            border-radius: 20px;
            backdrop-filter: blur(4px);
        }

        /* На мобильных/планшетах стрелки переходят на само фото —
           места сбоку от фото уже не хватает. Фона нет — виден только
           значок стрелки (с тенью для контраста на любом фото), но
           область нажатия остаётся широкой на всю высоту фото. */
        @media (max-width: 900px) {
            .lightbox-nav {
                position: absolute;
                width: 70px;
                background: transparent;
                font-size: 1.6rem;
            }

            .lightbox-nav.prev {
                left: 0;
            }

            .lightbox-nav.next {
                right: 0;
            }

            .lightbox-nav:hover {
                background: transparent;
            }

            .lightbox-close {
                top: 15px;
                right: 20px;
                font-size: 2rem;
            }
        }

        /* ===== ЭКСПЕРИМЕНТ ===== */
        .experiment-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }

        .experiment-column h4 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 15px;
            text-align: center;
        }

        .experiment-column .experiment-photos {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .experiment-photo-item {
            margin: 0;
        }

        .experiment-photo-item img {
            border-radius: 12px;
            aspect-ratio: 4/3;
            object-fit: cover;
            background: #f5f5f5;
            box-shadow: var(--shadow);
            transition: all var(--transition);
            cursor: pointer;
            width: 100%;
            display: block;
        }

        .experiment-photo-item img:hover {
            transform: scale(1.02);
            box-shadow: var(--shadow-hover);
        }

        .experiment-photo-item figcaption {
            text-align: center;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-medium);
            margin-top: 6px;
        }

        .clients-count {
            text-align: center;
            margin-top: 30px;
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary);
        }

        .clients-count span {
            font-size: 2.5rem;
            color: var(--accent-dark);
        }

        /* ===== УСЛУГИ ===== */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 30px;
        }

        .service-card {
            background: var(--white);
            border-radius: var(--radius);
            padding: 25px 20px;
            text-align: center;
            box-shadow: var(--shadow);
            border: 1px solid rgba(16, 20, 19, 0.06);
            transition: all var(--transition);
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .service-card .service-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .service-card h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .service-card p {
            font-size: 0.85rem;
            color: var(--text-light);
        }

        /* ===== БЛОГ ===== */
        .blog-placeholder {
            text-align: center;
            padding: 20px 0;
        }

        /* ===== CTA ===== */
        .cta-final {
            background: linear-gradient(135deg, var(--primary-dark), var(--black));
            border-radius: 20px;
            padding: 60px 40px;
            text-align: center;
            color: var(--white);
            margin-top: 20px;
        }

        .cta-final h2 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 15px;
        }

        .cta-final h2 span {
            color: var(--accent);
        }

        .cta-final p {
            font-size: 1.1rem;
            opacity: 0.8;
            max-width: 600px;
            margin: 0 auto 25px;
        }

        .cta-final .btn {
            background: var(--accent);
            color: var(--text-dark);
            font-size: 1.1rem;
        }

        .cta-final .btn:hover {
            box-shadow: 0 8px 40px rgba(135, 255, 50, 0.3);
        }

        .cta-socials {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        .cta-socials a {
            display: flex;
            align-items: center;
            gap: 8px;
            color: rgba(255, 255, 255, 0.6);
            transition: color var(--transition);
            font-size: 0.95rem;
        }

        .cta-socials a:hover {
            color: var(--white);
        }

        .cta-socials a i {
            font-size: 1.5rem;
        }

        /* ===== ПОДВАЛ ===== */
        .footer {
            padding: 40px 0 20px;
            border-top: 1px solid rgba(16, 20, 19, 0.06);
            margin-top: 40px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-text {
            font-size: 0.85rem;
            color: var(--text-light);
        }

        .footer-links {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .footer-links a {
            font-size: 0.85rem;
            color: var(--text-light);
            transition: color var(--transition);
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        /* ===== АДАПТИВ ===== */
        @media (max-width: 1024px) {
            .hero-grid {
                gap: 30px;
            }
            .hero h1 {
                font-size: 2.5rem;
            }
            .advantages-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .calc-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .product-card {
                min-width: calc(100% / 3 - 14px);
                max-width: calc(100% / 3 - 14px);
            }
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .co2-images .co2-image {
                width: 160px;
                height: 120px;
            }
            .portfolio-grid {
                max-width: 100%;
                gap: 15px;
            }
            .review-top {
                max-width: 100%;
            }
            .review-bottom {
                max-width: 100%;
            }
        }

        @media (max-width: 880px) {
            :root {
                --header-height: 64px;
            }
            body {
                padding: 12px;
                padding-top: calc(var(--header-height) + 20px);
            }
            .header-wrapper {
                padding: 8px 12px 0 12px;
            }
            .header {
                padding: 0 14px;
                height: var(--header-height);
                border-radius: 12px;
            }
            .header-wrapper.scrolled .header {
                height: calc(var(--header-height) - 8px);
            }
            .header-logo-text {
                font-size: 0.95rem;
            }
            .header-logo-icon {
                width: 30px;
                height: 30px;
                font-size: 15px;
            }
            .header-cart-btn {
                padding: 8px 10px;
                margin-left: 4px;
            }
            .header-cart-label {
                display: none;
            }
            .header-cart-btn i {
                font-size: 1.15rem;
            }

            .header-nav {
                display: none;
                flex-direction: column;
                position: fixed;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                width: 100vw;
                height: 100vh;
                height: 100dvh;
                background: var(--white);
                padding: 70px 30px 30px;
                gap: 2px;
                z-index: 60;
                align-items: stretch;
                overflow-y: auto;
                justify-content: flex-start;
                transform: translateX(100%);
                transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            }
            .header-nav.open {
                display: flex;
                transform: translateX(0);
            }
            .header-nav a {
                font-size: 1.1rem;
                padding: 14px 18px;
                border-radius: 10px;
                justify-content: flex-start;
                white-space: normal;
                border: none;
                color: var(--text-dark);
            }
            .header-nav a:hover {
                background: rgba(16, 20, 19, 0.05);
            }
            .header-nav a.active {
                background: rgba(44, 120, 115, 0.08);
                color: var(--primary);
            }
            .header-nav a i {
                width: 28px;
                text-align: center;
                font-size: 1.1rem;
                opacity: 0.6;
            }
            .burger {
                display: flex;
            }
            body.menu-open {
                overflow: hidden;
            }

            .hero-grid {
                grid-template-columns: 1fr;
            }
            .hero h1 {
                font-size: 2.2rem;
            }
            .hero-slider {
                aspect-ratio: 16/10;
            }
            .hero-stats {
                flex-wrap: wrap;
                gap: 15px;
            }
            .section {
                padding: 40px 0;
            }
            .section-title {
                font-size: 2rem;
            }
            .calc-highlight {
                padding: 30px 20px;
            }
            .calc-grid {
                grid-template-columns: 1fr 1fr;
            }
            .product-card {
                min-width: calc(100% / 2 - 10px);
                max-width: calc(100% / 2 - 10px);
            }
            .products-actions {
                flex-direction: column;
                align-items: center;
            }
            .co2-block {
                flex-direction: column;
                text-align: center;
                padding: 30px 20px;
            }
            .co2-images .co2-image {
                width: 140px;
                height: 105px;
            }
            .services-grid {
                grid-template-columns: 1fr 1fr;
            }
            .experiment-grid {
                grid-template-columns: 1fr 1fr;
                gap: 14px;
            }
            .cta-final {
                padding: 40px 20px;
            }
            .cta-final h2 {
                font-size: 2rem;
            }
            .footer-content {
                flex-direction: column;
                text-align: center;
            }

            .portfolio-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 12px;
            }
            .portfolio-item:nth-child(4),
            .portfolio-item:nth-child(5),
            .portfolio-item:nth-child(9),
            .portfolio-item:nth-child(10) {
                grid-column: span 1;
            }

            .review-top {
                grid-template-columns: repeat(2, 1fr);
            }
            .review-bottom {
                grid-template-columns: repeat(2, 1fr);
                max-width: 100%;
            }
        }

        @media (max-width: 480px) {
            :root {
                --header-height: 56px;
            }
            body {
                padding: 8px;
                padding-top: calc(var(--header-height) + 14px);
            }
            .header-wrapper {
                padding: 6px 6px 0 6px;
            }
            .header-logo-text {
                font-size: 0.8rem;
            }
            .header-logo-icon {
                width: 28px;
                height: 28px;
                font-size: 13px;
                border-radius: 7px;
            }
            .header {
                padding: 0 10px;
                border-radius: 10px;
                height: var(--header-height);
            }
            .hero h1 {
                font-size: 1.8rem;
            }
            .hero p {
                font-size: 1rem;
            }
            .hero-badge {
                font-size: 0.9rem;
                padding: 8px 16px;
            }
            .hero-buttons {
                flex-direction: column;
                width: 100%;
            }
            .hero-buttons .btn {
                width: 100%;
                justify-content: center;
            }
            .advantages-grid {
                grid-template-columns: 1fr;
            }
            .calc-grid {
                grid-template-columns: 1fr;
            }
            .calc-card.featured {
                grid-column: span 1;
            }
            .product-card {
                min-width: calc(100% - 10px);
                max-width: calc(100% - 10px);
            }
            .services-grid {
                grid-template-columns: 1fr;
            }
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .portfolio-item:nth-child(4),
            .portfolio-item:nth-child(5),
            .portfolio-item:nth-child(9),
            .portfolio-item:nth-child(10) {
                grid-column: span 1;
            }
            .review-top {
                grid-template-columns: 1fr 1fr;
            }
            .review-bottom {
                grid-template-columns: 1fr 1fr;
                max-width: 100%;
            }
            .cta-socials {
                flex-wrap: wrap;
                gap: 15px;
            }
            .cta-final h2 {
                font-size: 1.6rem;
            }
            .container {
                padding: 0 12px;
            }
            .hero-stats-item {
                font-size: 0.8rem;
            }
            .advantage-card {
                min-height: 200px;
            }
            .advantage-author {
                min-height: 200px;
            }
            .header-nav {
                padding: 60px 16px 20px;
            }
            .header-nav a {
                font-size: 1rem;
                padding: 12px 14px;
            }
            .burger span {
                width: 22px;
                height: 2.5px;
            }
            .burger {
                padding: 6px;
                gap: 4px;
            }
            .co2-images .co2-image {
                width: 120px;
                height: 90px;
            }
            .co2-images {
                gap: 10px;
            }
            .reviews-carousel-btn {
                display: none !important;
            }
            .products-carousel-btn {
                display: none !important;
            }
        }

        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

/* ===== FAQ (частые вопросы) ===== */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(16, 20, 19, 0.08);
    border-radius: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    font-family: inherit;
}

.faq-question i {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 24px 22px;
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .faq-question {
        padding: 16px 18px;
        font-size: 0.98rem;
    }

    .faq-item.open .faq-answer {
        padding: 0 18px 18px;
    }
}

/* ===== Карусель видео VK (главная, "Полезные материалы") ===== */
.video-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 40px 0 30px;
}

.video-carousel {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.video-carousel::-webkit-scrollbar {
    height: 6px;
}

.video-carousel::-webkit-scrollbar-thumb {
    background: rgba(16, 20, 19, 0.15);
    border-radius: 4px;
}

.video-carousel-item {
    position: relative;
    flex: 0 0 calc(50% - 10px);
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-carousel-item iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.video-expand-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: none;
    background: rgba(16, 20, 19, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.video-expand-btn:hover {
    background: rgba(16, 20, 19, 0.85);
}

.video-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.video-modal-overlay.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-modal-close {
    position: absolute;
    top: -46px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.video-carousel-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--text-dark);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.video-carousel-arrow:hover {
    background: var(--accent);
}

@media (max-width: 700px) {
    .video-carousel-item {
        flex: 0 0 88%;
    }

    .video-carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .video-modal-overlay {
        padding: 12px;
    }

    .video-modal-close {
        top: -38px;
        font-size: 1.6rem;
    }
}

/* ===== Единый подвал (как на calculator.html / index.html) ===== */
.footer-note {
    text-align: center;
    padding: 25px;
    color: var(--text-medium);
    font-size: 0.95rem;
    border-top: 1px solid rgba(16, 20, 19, 0.1);
    background: rgba(16, 20, 19, 0.02);
    font-weight: 500;
}

.contacts-footer {
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid rgba(16, 20, 19, 0.1);
}

.contacts-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
}

.contact-label {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-value {
    color: var(--text-medium);
    font-weight: 500;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contacts-container {
        flex-direction: column;
        gap: 15px;
    }

    .contact-item {
        text-align: left;
    }
}

/* ============================================================ */
/* ===== ЕДИНАЯ СИСТЕМА КАРУСЕЛЕЙ (hero / ассортимент / отзывы) ===== */
/* Один слайд активен за раз (через opacity), без наложения слайдов, */
/* большие широкие стрелки на всю высоту фото, свайп с мобильных.   */
/* ============================================================ */

.photo-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.photo-carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    cursor: pointer;
    touch-action: pan-y;
}

.photo-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.photo-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.photo-carousel-arrow {
    position: absolute;
    top: 0;
    height: 100%;
    width: 15%;
    min-width: 46px;
    max-width: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(16,20,19,0.18), rgba(16,20,19,0));
    border: none;
    cursor: pointer;
    z-index: 5;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.85);
    transition: background 0.2s ease, color 0.2s ease;
    touch-action: manipulation;
}

.photo-carousel-arrow.right {
    right: 0;
    background: linear-gradient(-90deg, rgba(16,20,19,0.18), rgba(16,20,19,0));
}

.photo-carousel-arrow:hover {
    background: rgba(16, 20, 19, 0.4);
    color: #fff;
}

.photo-carousel-counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    background: rgba(16, 20, 19, 0.55);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    pointer-events: none;
}

.photo-carousel-caption {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* Кнопка "Купить"/"Хочу такую же красоту" поверх фото в лайтбоксе */
.lightbox-cta {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    background: linear-gradient(135deg, #87FF32 0%, #2ecc71 100%);
    color: var(--text-dark);
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    transition: transform 0.2s ease;
}

.lightbox-cta:hover {
    transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 600px) {
    .photo-carousel-arrow {
        width: 20%;
        min-width: 38px;
    }

    .lightbox-cta {
        font-size: 0.9rem;
        padding: 10px 18px;
        bottom: 16px;
    }
}

/* ===== Кнопки в CTA-блоке (расчёт + купить удобрения) ===== */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.cta-buttons .btn {
    flex: 1 1 260px;
    max-width: 320px;
    justify-content: center;
    text-align: center;
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        max-width: none;
        /* flex-direction здесь column, поэтому "flex: 1 1 260px" (задумано
           как ширина в горизонтальной раскладке) начинает трактоваться как
           260px ВЫСОТЫ — отсюда огромные квадратные кнопки. Возвращаем
           обычную высоту по контенту. */
        flex: 0 0 auto;
    }
}

.hero-media {
    min-width: 0;
}
