 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #f8fafc;
            color: #0f172a;
            line-height: 1.5;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 32px;
        }

        /* Типография как на metalwell.ru */
        h1 {
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -0.02em;
            margin-bottom: 1.5rem;
        }

        h2 {
            font-size: 2.5rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 1rem;
        }

        h3 {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
        }

        .section-subhead {
            font-size: 1.125rem;
            color: #475569;
            max-width: 800px;
            margin-bottom: 3rem;
            border-left: 4px solid #3b7c5e;
            padding-left: 1.5rem;
        }

        /* Шапка */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 0;
            border-bottom: 1px solid #e2e8f0;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: #0f3b2c;
        }
        .logo span {
            color: #b07d44;
            font-weight: 400;
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            font-weight: 500;
            color: #334155;
        }
        .nav-links a {
            text-decoration: none;
            color: inherit;
            transition: color 0.2s;
        }
        .nav-links a:hover {
            color: #0f3b2c;
        }

        .contact-header {
            background-color: #0f3b2c;
            color: white;
            padding: 0.5rem 1.25rem;
            border-radius: 40px;
            font-weight: 500;
            font-size: 0.95rem;
        }
        .contact-header a{
            color: white;
        }

        /* Герой */
        .hero {
            padding: 3rem 0 4rem 0;
            background: linear-gradient(to right, #f8fafc, #ffffff);
        }
        .hero .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }
        .hero p {
            font-size: 1.25rem;
            color: #334155;
            margin-bottom: 2rem;
        }
        .hero-stats {
            display: flex;
            gap: 2rem;
            margin-top: 2rem;
        }
        .stat-item {
            font-weight: 600;
        }
        .stat-number {
            font-size: 1.8rem;
            color: #0f3b2c;
            display: block;
            line-height: 1.2;
        }
        .hero-image {
            background-color: #d9e2db;
            border-radius: 24px;
            height: 400px;
            background-image: url('https://placehold.co/800x600/2a4d3e/white?text=Дом+и+баня+под+ключ');
            background-size: cover;
            background-position: center;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
        }

        /* Кнопки */
        .btn {
            display: inline-block;
            background-color: #0f3b2c;
            color: white;
            font-weight: 600;
            padding: 0.9rem 2rem;
            border-radius: 40px;
            text-decoration: none;
            transition: all 0.2s;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        .btn-outline {
            background-color: transparent;
            color: #0f3b2c;
            border: 2px solid #0f3b2c;
            margin-left: 1rem;
        }
        .btn-outline:hover {
            background-color: #0f3b2c;
            color: white;
        }
        .btn:hover {
            background-color: #1b5e44;
        }

        /* Секция с карточками */
        .section-cards {
            padding: 5rem 0;
            background-color: white;
        }
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        .product-card {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.04);
            transition: transform 0.3s, box-shadow 0.3s;
            border: 1px solid #eef2f6;
            display: flex;
            flex-direction: column;
        }
        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 25px 30px -12px rgba(0,50,30,0.15);
        }
        
        /* ===== СЛАЙДЕР ВНУТРИ КАРТОЧКИ ===== */
        .card-slider-container {
            position: relative;
            width: 100%;
            background: #f0f3f0;
        }
        .card-main-slider {
            position: relative;
            width: 100%;
            height: 260px;
            overflow: hidden;
        }
        .card-slider-images {
            display: flex;
            transition: transform 0.3s ease;
            height: 100%;
        }
        .card-slider-images img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            flex-shrink: 0;
            cursor: pointer; /* чтобы показать, что можно увеличить */
        }
        .card-slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            background: rgba(255,255,255,0.85);
            border: none;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #0f3b2c;
            transition: 0.2s;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .card-slider-btn:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }
        .card-slider-btn.prev {
            left: 10px;
        }
        .card-slider-btn.next {
            right: 10px;
        }
        /* Превьюшки под слайдером */
        .card-slider-thumbnails {
            display: flex;
            gap: 8px;
            padding: 12px 16px;
            background: #f9fbf9;
            border-top: 1px solid #e2e8f0;
            overflow-x: auto;
            scrollbar-width: thin;
        }
        .card-slider-thumbnails img {
            width: 70px;
            height: 50px;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            opacity: 0.7;
            transition: 0.2s;
            border: 2px solid transparent;
            flex-shrink: 0;
        }
        .card-slider-thumbnails img:hover {
            opacity: 1;
        }
        .card-slider-thumbnails img.active-thumb {
            opacity: 1;
            border-color: #0f3b2c;
        }

        .card-content {
            padding: 1.75rem;
            flex: 1;
        }
        .card-title {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .card-desc {
            list-style: none;
            margin: 1.25rem 0;
            color: #334155;
        }
        .card-desc li {
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .card-desc i {
            color: #3b7c5e;
            width: 20px;
        }
        .price {
            font-size: 1.8rem;
            font-weight: 700;
            color: #0f3b2c;
            margin: 1rem 0 0.5rem;
        }
        .price small {
            font-size: 1rem;
            font-weight: 400;
            color: #64748b;
        }

        /* ===== ЛАЙТБОКС (полноэкранная галерея) ===== */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }
        .lightbox.active {
            display: flex;
        }
        .lightbox-content {
            position: relative;
            width: 90%;
            max-width: 1200px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .lightbox-main-image {
            width: 100%;
            max-height: 70vh;
            object-fit: contain;
            border-radius: 8px;
        }
        .lightbox-close {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 2.5rem;
            cursor: pointer;
            background: transparent;
            border: none;
            padding: 10px;
        }
        .lightbox-close:hover {
            color: #ccc;
        }
        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            pointer-events: none;
        }
        .lightbox-nav button {
            pointer-events: auto;
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            font-size: 2.5rem;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.2s;
        }
        .lightbox-nav button:hover {
            background: rgba(255,255,255,0.4);
        }
        .lightbox-thumbnails {
            display: flex;
            gap: 12px;
            margin-top: 20px;
            padding: 10px;
            background: rgba(255,255,255,0.1);
            border-radius: 12px;
            overflow-x: auto;
            max-width: 100%;
        }
        .lightbox-thumbnails img {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: 6px;
            cursor: pointer;
            opacity: 0.6;
            transition: 0.2s;
            border: 2px solid transparent;
        }
        .lightbox-thumbnails img:hover {
            opacity: 0.9;
        }
        .lightbox-thumbnails img.active-lb-thumb {
            opacity: 1;
            border-color: #eab676;
        }

        /* Баннер с субсидией */
        .subsidy-banner {
            background: #1e2f2a;
            color: white;
            padding: 3rem;
            margin: 2rem 0;
            border-radius: 32px;
            background-image: radial-gradient(circle at 70% 30%, #3b6b54, #1a2f26);
        }
        .subsidy-banner .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 2rem;
        }
        .subsidy-text h3 {
            font-size: 2.2rem;
            margin-bottom: 0.5rem;
        }
        .subsidy-text p {
            opacity: 0.9;
            max-width: 600px;
        }
        .subsidy-btn {
            background-color: #eab676;
            color: #1e2f2a;
            font-weight: 700;
        }

 
        /* Видео-лайтбокс */
        .video-lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 2001;
            justify-content: center;
            align-items: center;
        }
        .video-lightbox.active {
            display: flex;
        }
        .video-container {
            position: relative;
            width: 90%;
            max-width: 1000px;
            background: #000;
            border-radius: 16px;
            overflow: hidden;
        }
        .video-container iframe {
            width: 100%;
            height: 560px;
            border: none;
            display: block;
        }
        .video-close {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 2.5rem;
            cursor: pointer;
            background: transparent;
            border: none;
            padding: 10px;
            z-index: 10;
        }
        .video-close:hover {
            color: #ccc;
        }

        /* Видео блоки */
        .video-section {
            padding: 4rem 0;
        }
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        .video-item {
            border-radius: 24px;
            overflow: hidden;
            background: #e2e8f0;
            aspect-ratio: 16/9;
            background-size: cover;
            background-position: center;
            position: relative;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: transform 0.2s;
        }
        .video-item:hover {
            transform: scale(1.02);
        }
        .video-item .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(255,255,255,0.9);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #0f3b2c;
            font-size: 1.8rem;
            cursor: pointer;
            transition: 0.2s;
        }
        .video-item .play-icon:hover {
            background: white;
            transform: translate(-50%, -50%) scale(1.1);
        }

        /* Укладка плитки — отдельный блок */
        .tile-showcase {
            background-color: #f1f5f1;
            border-radius: 40px;
            padding: 3rem
        }
        .tile-showcase h2 {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .tile-types {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin: 2rem 0;
        }
        .tile-type {
            background: white;
            border-radius: 100px;
            padding: 0.5rem 1.5rem;
            font-weight: 500;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        }

        /* Футер */
        .footer {
            background: #0b1f18;
            color: #adb5bd;
            padding: 3rem 0;
            margin-top: 5rem;
        }
        .footer .container {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 2rem;
			justify-content: space-around;
        }
        .footer-logo {
            font-size: 2rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1rem;
        }
        .footer a {
            color: #ced4da;
            text-decoration: none;
        }
        .footer a:hover {
            color: white;
        }

        .text-center { text-align: center; }
        .mt-4 { margin-top: 2rem; }

        @media (max-width: 768px) {
            h1 { font-size: 2.5rem; }
            .hero .container { grid-template-columns: 1fr; }
            .navbar { flex-direction: column; gap: 1rem; }
            .nav-links { flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
            .footer .container { grid-template-columns: 1fr; }
            .card-grid { grid-template-columns: 1fr; }
			.video-container iframe { height: 300px; }
        }