:root {
    --bg: #f5f3ee;
    --surface: #ffffff;
    --surface-soft: #fbfaf7;
    --ink: #171717;
    --muted: #68645f;
    --line: rgba(23, 23, 23, 0.1);
    --accent: #111827;
    --accent-soft: #ece7dd;
    --gold: #c39b55;
    --success: #217a4b;
    --danger: #a83b3b;
    --shadow: 0 24px 80px rgba(17, 24, 39, 0.10);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 0%, rgba(195, 155, 85, 0.18), transparent 28rem),
        radial-gradient(circle at 92% 10%, rgba(17, 24, 39, 0.08), transparent 30rem),
        var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 0;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 45px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: var(--accent);
    color: #fff;
    font-weight: 850;
    letter-spacing: -0.08em;
}

.brand strong {
    display: block;
    font-size: 16px;
    letter-spacing: -0.03em;
}

.brand small {
    display: block;
    margin-top: -2px;
    color: var(--muted);
    font-size: 12px;
}

.header-nav {
    display: flex;
    gap: 6px;
}

.header-nav a {
    padding: 11px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    transition: 0.2s ease;
}

.header-nav a:hover {
    background: var(--accent);
    color: #fff;
}

.section-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 26px;
    padding: 74px 0 34px;
    align-items: stretch;
}

.hero-content,
.hero-panel,
.intro-strip,
.order-card,
.product-hero-card,
.detail-card,
.error-page {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-content {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    padding: clamp(34px, 5vw, 70px);
    border-radius: var(--radius-xl);
}

.hero-content::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -120px;
    width: 330px;
    height: 330px;
    border-radius: 80px;
    background: linear-gradient(135deg, rgba(195, 155, 85, 0.22), rgba(17, 24, 39, 0.05));
    transform: rotate(18deg);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 820px;
    margin: 20px 0 22px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.92;
    letter-spacing: -0.075em;
}

h2 {
    margin: 10px 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    letter-spacing: -0.055em;
}

h3 {
    margin: 14px 0 8px;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.hero-content p,
.intro-strip p,
.order-card p,
.lead {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions,
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.18);
}

.button-light {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
}

.hero-panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-xl);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 155px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(236, 231, 221, 0.46));
}

.hero-stat strong {
    font-size: 54px;
    line-height: 1;
    letter-spacing: -0.07em;
}

.hero-stat span {
    color: var(--muted);
    font-weight: 700;
}

.intro-strip,
.order-card {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    margin-top: 28px;
    padding: 28px;
    border-radius: var(--radius-lg);
}

.catalog-section {
    padding: 72px 0 30px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 50px rgba(17, 24, 39, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 75px rgba(17, 24, 39, 0.14);
}

.product-image-link {
    display: block;
    padding: 14px 14px 0;
}

.product-image {
    width: 100%;
    aspect-ratio: 1.15 / 1;
    object-fit: cover;
    border-radius: 24px;
    background: var(--accent-soft);
}

.product-card-body {
    padding: 18px;
}

.product-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.pill,
.stock,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.pill {
    background: #f2eadb;
    color: #745629;
}

.stock {
    background: rgba(33, 122, 75, 0.10);
    color: var(--success);
}

.stock-low {
    background: rgba(168, 59, 59, 0.10);
    color: var(--danger);
}

.product-card p {
    min-height: 74px;
    margin-bottom: 18px;
    color: var(--muted);
}

.product-bottom,
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.product-bottom strong,
.price-row strong {
    font-size: 24px;
    letter-spacing: -0.055em;
}

.card-link {
    font-weight: 850;
    color: var(--accent);
}

.order-card {
    margin-bottom: 58px;
}

.order-steps {
    display: grid;
    gap: 10px;
    min-width: 280px;
}

.order-steps span {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.05);
    font-weight: 750;
}

.product-page {
    padding: 54px 0 24px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--muted);
    font-weight: 800;
}

.product-hero-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    padding: 22px;
    border-radius: var(--radius-xl);
}

.product-visual {
    min-height: 520px;
    border-radius: 28px;
    background: linear-gradient(145deg, #eee8de, #ffffff);
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 12px;
    padding: 14px;
}

.gallery-item {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 22px;
    background: var(--surface-soft);
    box-shadow: 0 16px 46px rgba(17, 24, 39, 0.10);
}

.gallery-item-main {
    grid-column: 1 / -1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1.22 / 1;
    object-fit: cover;
}

.product-info {
    padding: clamp(14px, 3vw, 38px) clamp(8px, 2vw, 24px);
}

.product-info h1 {
    margin-bottom: 20px;
    font-size: clamp(44px, 6vw, 76px);
}

.price-row {
    margin: 28px 0;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface-soft);
}

.price-row span {
    color: var(--muted);
    font-weight: 800;
}

.cta-box {
    padding: 24px;
    border-radius: 24px;
    background: var(--accent);
    color: #fff;
}

.cta-box h2 {
    font-size: 30px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.76);
}

.cta-box .button-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.cta-box .button-primary {
    background: #fff;
    color: var(--accent);
}

.details-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
    padding-bottom: 56px;
}

.detail-card {
    padding: 28px;
    border-radius: var(--radius-lg);
}

.detail-card-wide {
    grid-column: 1 / -1;
}

.spec-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
}

.spec-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.spec-list dt {
    color: var(--muted);
    font-weight: 750;
}

.spec-list dd {
    margin: 0;
    text-align: right;
    font-weight: 850;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag-list span {
    min-height: 42px;
    padding: 10px 14px;
    background: #f2eadb;
    color: #745629;
    font-size: 14px;
}

.include-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.include-list li {
    position: relative;
    padding: 16px 18px 16px 44px;
    border-radius: 18px;
    background: var(--surface-soft);
    font-weight: 750;
}

.include-list li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    color: var(--success);
    font-weight: 900;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 22px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: #111827;
    color: #fff;
}

.site-footer p {
    max-width: 640px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.68);
}

.footer-contacts {
    display: grid;
    gap: 10px;
    align-content: center;
    min-width: 300px;
}

.footer-contacts a {
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 750;
}

.error-page {
    margin-top: 64px;
    margin-bottom: 64px;
    padding: 44px;
    border-radius: var(--radius-xl);
}

@media (max-width: 960px) {
    .hero,
    .product-hero-card,
    .details-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-content {
        min-height: auto;
    }

    .product-visual {
        min-height: auto;
        padding: 18px;
    }
}

@media (max-width: 680px) {
    .site-header,
    .intro-strip,
    .order-card,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-nav {
        width: 100%;
    }

    .header-nav a {
        flex: 1;
        text-align: center;
    }

    .product-grid,
    .product-gallery,
    .include-list {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 44px;
    }

    .hero {
        padding-top: 34px;
    }

    .hero-content,
    .detail-card,
    .product-hero-card,
    .site-footer {
        padding: 20px;
    }
}


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