:root {
    color-scheme: dark;

    /* Fluent Typography Stack */
    --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
    --font-text: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;

    /* Mica/Acrylic System */
    --mica-bg: rgba(35, 35, 35, 0.7);
    --mica-blur: blur(25px) saturate(190%);
    --mica-border: 1px solid rgba(255, 255, 255, 0.1);
    --mica-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);

    /* Element States */
    --nav-bg: rgba(255, 255, 255, 0.04);
    --nav-border: 1px solid rgba(255, 255, 255, 0.05);
    --nav-hover-bg: rgba(255, 255, 255, 0.12);
    --nav-hover-border: 1px solid rgba(255, 255, 255, 0.15);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
}

body {
    margin: 0;
    background-color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}

.nav-container {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 99%;
    max-width: 1200px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    border-radius: 14px;
    background: var(--mica-bg);
    backdrop-filter: var(--mica-blur);
    -webkit-backdrop-filter: var(--mica-blur);
    border: var(--mica-border);
    box-shadow: var(--mica-shadow);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 15px;
}

#navbar-elem {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-text);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    background: var(--nav-bg);
    border: var(--nav-border);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar-elem:hover {
    background: var(--nav-hover-bg);
    border: var(--nav-hover-border);
    color: var(--text-primary);
    transform: translateY(-1px);
}

#navbar-logo {
    color: var(--text-primary);
    padding: 0 4px;
    letter-spacing: -0.5px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
    width: 64px;
    height: 64px;
}

#navbar-logo:hover {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .nav-container {
        width: 92%;
        max-width: 400px; 
        top: 15px;
        padding: 10px 16px;
        height: auto;
        max-height: 54px;
    }

    .navbar {
        gap: 12px;
        justify-content: center;
    }

    #navbar-logo {
        width: 48px;
        height: 48px;
        padding: 0 12px;
    }

    #navbar-elem {
        font-size: 15px;
        padding: 8px 16px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 480px) {
    .nav-container {
        width: calc(100% - 30px);
        padding: 6px 10px;
        max-height: 48px;
    }

    .navbar {
        gap: 8px;
    }

    #navbar-logo {
        width: 40px;
        height: 40px;
        padding: 0 8px;
    }

    #navbar-elem {
        font-size: 14px;
        padding: 6px 12px;
        letter-spacing: -0.2px;
    }
}

/* Hero-блок (Верхняя плашка с картинкой) */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?q=80&w=1000') no-repeat center/cover;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 8px 15px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Общий контейнер для секций */
section, footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

h2 {
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

/* Описание */
.description p {
    margin-bottom: 15px;
}

/* Сетка подробностей */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.detail-item strong {
    color: var(--text-muted);
    display: block;
    font-size: 0.85rem;
}

/* Прайс-лист */
.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table tr {
    border-bottom: 1px dotted #ccc;
}

.price-table td {
    padding: 12px 0;
}

.price-table td:last-child {
    text-align: right;
    font-weight: bold;
}

/* Футер и кнопки */
.contact-section {
    text-align: center;
    background: var(--bg-light);
    max-width: 100%;
}

.cta-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-primary:hover { opacity: 0.8; }
.btn-secondary:hover { background: #f0f7ff; }

/* Адаптивность для мобилок */
@media (max-width: 600px) {
    .navbar { gap: 15px; }
    .hero-section h1 { font-size: 1.8rem; }
    .cta-buttons { flex-direction: column; }
}