* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #222;
    background: #0d0d0d;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ШАПКА — СТЕКЛО ===== */
header {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 42px;
    width: auto;
}

.logo-text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    margin: 0 18px;
    font-size: 15px;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a227;
    transition: 0.3s;
}

nav a:hover {
    color: #c9a227;
}

nav a:hover::after {
    width: 100%;
}

.phone {
    color: #c9a227;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 8px 18px;
    border: 1px solid #c9a227;
    transition: 0.3s;
}

.phone:hover {
    background: #c9a227;
    color: #111;
}

/* ===== ГЛАВНЫЙ ЭКРАН ===== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('images/gold.jpg') center/cover;
    color: #fff;
    text-align: center;
    padding: 160px 20px;
    border-bottom: 1px solid #1f1f1f;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: 300;
}

.slogan {
    font-size: 24px;
    margin-bottom: 15px;
    color: #c9a227;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.sub {
    font-size: 16px;
    margin-bottom: 45px;
    color: #ccc;
}

.btn {
    display: inline-block;
    background: #c9a227;
    color: #111;
    padding: 18px 55px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.3s;
    border: 1px solid #c9a227;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: #c9a227;
}

/* ===== О КОМПАНИИ ===== */
.about {
    padding: 120px 0;
    background: #0d0d0d;
    border-bottom: 1px solid #1f1f1f;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-label {
    display: inline-block;
    color: #c9a227;
    letter-spacing: 4px;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-left: 2px solid #c9a227;
    padding-left: 12px;
}

.about-text h2 {
    text-align: left;
    font-size: 38px;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #fff;
    letter-spacing: 1px;
    font-weight: 300;
}

.about-text p {
    color: #aaa;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: auto;
    border: 1px solid #1f1f1f;
    transition: 0.4s;
}

.about-image img:hover {
    border-color: #c9a227;
}

/* ===== ОБЩИЕ ЗАГОЛОВКИ ===== */
h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: 1px;
    font-weight: 300;
}

.section-sub {
    text-align: center;
    color: #888;
    margin-bottom: 60px;
    font-size: 16px;
    letter-spacing: 1px;
}

/* ===== ХАРАКТЕРИСТИКИ ===== */
.features {
    padding: 120px 0;
    background: #0d0d0d;
    border-bottom: 1px solid #1f1f1f;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature {
    background: #141414;
    border: 1px solid #1f1f1f;
    padding: 50px 30px;
    text-align: center;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #c9a227;
    transform: scaleX(0);
    transition: 0.4s ease;
}

.feature:hover {
    border-color: #c9a227;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 25px;
    color: #c9a227;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.feature p {
    color: #aaa;
    font-size: 15px;
}

/* ===== ГАЛЕРЕЯ — 4 В РЯД ===== */
.gallery {
    padding: 120px 0;
    background: #0d0d0d;
    border-bottom: 1px solid #1f1f1f;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    background: #141414;
    border: 1px solid #1f1f1f;
    padding: 15px;
    transition: 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    border-color: #c9a227;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 550px;
    object-fit: contain;
    background: #0a0a0a;
    display: block;
}

.gallery-cta {
    text-align: center;
    margin-top: 60px;
}

/* ===== ФОТО В ИНТЕРЬЕРЕ ===== */
.interior {
    padding: 120px 0;
    background: #0a0a0a;
    border-bottom: 1px solid #1f1f1f;
}

.interior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.interior-item {
    background: #141414;
    border: 1px solid #1f1f1f;
    overflow: hidden;
    transition: 0.4s ease;
}

.interior-item:hover {
    border-color: #c9a227;
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.interior-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}

.interior-item:hover img {
    transform: scale(1.05);
}

.interior-caption {
    padding: 25px;
    background: #141414;
}

.interior-caption h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.interior-caption p {
    color: #888;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages {
    padding: 120px 0;
    background: #0a0a0a;
    border-bottom: 1px solid #1f1f1f;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.adv-card {
    background: #141414;
    border: 1px solid #1f1f1f;
    padding: 35px 30px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: 0.4s ease;
}

.adv-card:hover {
    border-color: #c9a227;
    background: #1a1a1a;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.adv-num {
    font-size: 32px;
    font-weight: bold;
    color: #c9a227;
    line-height: 1;
    min-width: 60px;
    font-family: 'Courier New', monospace;
    opacity: 0.8;
}

.adv-card p {
    color: #ddd;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* ===== КОНТАКТЫ ===== */
.contacts {
    padding: 120px 0;
    background: #0d0d0d;
    color: #fff;
    text-align: center;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 35px 20px;
    background: #141414;
    border: 1px solid #1f1f1f;
    text-decoration: none;
    color: #fff;
    transition: 0.4s;
}

.contact-item:hover {
    border-color: #c9a227;
    color: #c9a227;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.contact-icon {
    font-size: 28px;
}

.contact-item span:last-child {
    font-size: 16px;
    letter-spacing: 1px;
}

/* ===== ПОДВАЛ ===== */
footer {
    background: #000;
    color: #666;
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    border-top: 1px solid #1f1f1f;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 45px;
    width: auto;
    opacity: 0.8;
}

/* ===== СТРАНИЦА КАТАЛОГА ===== */
.page-header {
    padding: 100px 0 60px;
    background: #0d0d0d;
    text-align: center;
    border-bottom: 1px solid #1f1f1f;
}

.page-header h1 {
    font-size: 48px;
    color: #fff;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.page-header p {
    color: #888;
    font-size: 16px;
    letter-spacing: 1px;
}

.catalog-section {
    padding: 80px 0 120px;
    background: #0d0d0d;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: #141414;
    border: 1px solid #1f1f1f;
    cursor: pointer;
    transition: 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: #c9a227;
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.product-image {
    width: 100%;
    height: 450px;
    background: #0a0a0a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-info h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0;
}

.product-info p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

.product-price {
    color: #c9a227;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #141414;
    border: 1px solid #c9a227;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: #c9a227;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-image {
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 500px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: contain;
}

.modal-info {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-info h2 {
    text-align: left;
    font-size: 34px;
    color: #fff;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0 0 10px;
}

.modal-info > p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 10px;
}

.modal-specs {
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

.spec-row span:first-child {
    color: #888;
    letter-spacing: 1px;
}

.spec-row span:last-child {
    color: #fff;
    font-weight: 500;
}

.modal-price {
    color: #c9a227;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 10px;
}

.modal-btn {
    text-align: center;
    margin-top: 10px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-text h2 {
        font-size: 30px;
    }
    .modal-body {
        grid-template-columns: 1fr;
    }
    .modal-image {
        min-height: 300px;
        padding: 20px;
    }
    .modal-image img {
        max-height: 400px;
    }
    .modal-info {
        padding: 40px 25px;
    }
    .modal-info h2 {
        font-size: 26px;
    }
    .interior-item img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    nav { display: none; }
    .header-inner { justify-content: center; }
    .logo-text { font-size: 14px; letter-spacing: 2px; }
    h2 { font-size: 28px; }
    .features-grid, .advantages-grid, .contacts-grid { grid-template-columns: 1fr; }
    .gallery-item img { height: 400px; }
    .hero { padding: 100px 20px; }
    .slogan { font-size: 18px; letter-spacing: 2px; }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .product-image {
        height: 350px;
    }
    .page-header h1 {
        font-size: 32px;
    }
}