/* Explain: Layout utilities for containers, header, sections, and footer structure. */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.15rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .93);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--accent-color), #b8860b);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.02em;
}

.brand-gold { color: var(--accent-color); }

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    object-fit: contain;
}

.main-nav { display: none; }

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 1.55rem;
    }
}

.main-nav a {
    position: relative;
    padding: .35rem 0;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color .2s;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active { color: var(--text-color); }

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: var(--accent-color);
    transition: width .25s;
}

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

@media (min-width: 1024px) {
    .menu-button { display: none !important; }
}

.mobile-menu { display: none; }

.mobile-menu.open {
    display: block;
    animation: slideDown .25s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: .25rem 1.15rem 1.15rem;
}

.mobile-menu a {
    padding: .85rem .25rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-color);
}

.mobile-menu a:last-child { border-bottom: 0; }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #fdf6e3 0%, #ffffff 55%, #f8fafc 100%);
    color: var(--text-color);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8, 42, 37, .92) 0%, rgba(8, 42, 37, .66) 42%, rgba(8, 42, 37, .18) 100%);
}

.hero-inner {
    position: relative;
    padding: 4.5rem 0 4rem;
    text-align: left;
}

.hero-stats {
    margin-top: 2.75rem;
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat { display: flex; flex-direction: column; }

.hero-stat strong {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--accent-color);
}

.hero-stat span {
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #94a3b8;
}

/* Sections */
.catalog-section { padding: 3.5rem 0; }

.catalog-section.surface-bg { background: var(--surface-color); }

.section-head {
    max-width: 620px;
    margin-bottom: 2.25rem;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head p {
    margin-top: .75rem;
    color: var(--text-muted);
}

.category-strip { padding: 3.5rem 0 1.5rem; }

.strip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

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

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

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

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

.support-section {
    padding: 4rem 0;
    background: var(--surface-color);
}

.support-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .support-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 3.5rem 0 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
}