/* UNIFIED STYLES v1.0 - Металл Гиб */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --brand-dark: #121417;
    --brand-gold: #b5905d;
    --brand-gold-bright: #d4b483;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
}

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

html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography System */
h1 { font-size: 2.5rem; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 2rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
h5 { font-size: 1rem; font-weight: 600; line-height: 1.5; }

@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.75rem; }
}

p { margin-bottom: 1rem; }

/* Container System - WIDER for commercial pages */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-wide,
    .container-content,
    .container-article {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-wide,
    .container-content,
    .container-article {
        padding: 0 2rem;
    }
}

/* Section Spacing */
.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Gold Gradient */
.gold-gradient {
    background: linear-gradient(135deg, var(--brand-gold-bright) 0%, var(--brand-gold) 100%);
}

/* Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--brand-gold-bright) 0%, var(--brand-gold) 100%);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 30px rgba(181, 144, 93, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid var(--brand-dark);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--brand-dark);
    color: white;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Hero Pattern */
.hero-dark {
    background-color: var(--brand-dark);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b5905d' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Grid Systems */
.grid-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .grid-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-products {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Gallery Grid */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .grid-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Price Table */
.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.price-table th {
    background: #f3f4f6;
    font-weight: 700;
}

.price-table tr:hover {
    background: #f9fafb;
}

/* FAQ Accordion */
details.faq-item {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 0.75rem;
}

details.faq-item summary {
    padding: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--brand-gold);
    transition: transform 0.2s;
}

details.faq-item[open] summary::after {
    transform: rotate(45deg);
}

details.faq-item .faq-content {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary);
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 1rem 0;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--brand-gold);
}

.breadcrumbs span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

/* CTA Block */
.cta-block {
    background: var(--brand-dark);
    color: white;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-block {
        padding: 4rem 3rem;
    }
}

.cta-block h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-block p {
    color: #9ca3af;
    margin-bottom: 2rem;
}

/* Image aspect ratios */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

/* Object fit */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loading lazy images */
img[loading="lazy"] {
    background: #f3f4f6;
}

/* Scroll margin for anchors */
[id] {
    scroll-margin-top: 6rem;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}
