@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/static/fonts/manrope-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/static/fonts/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Onest";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/static/fonts/onest-cyrillic-500.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Onest";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/static/fonts/onest-latin-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #f6f1ea;
    --surface: #fffdfa;
    --surface-muted: #ebe3da;
    --image-bg: #fff;
    --ink: #28231f;
    --muted: #756c63;
    --line: #ded3c7;
    --brand: #e24a2a;
    --brand-dark: #c83d22;
    --accent: #e24a2a;
    --link: #6a4a3a;
    --shadow: 0 18px 48px rgba(34, 33, 31, 0.12);
    --radius: 0;
    --container: 1180px;
    --section-space: clamp(2rem, 4vw, 3.5rem);
    --section-space-tight: clamp(1.25rem, 2.5vw, 2rem);
    --body-font: "Manrope", "Helvetica Neue", Arial, sans-serif;
    --heading-font: Arial, sans-serif;
    --category-font: "Onest", "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body-font);
    line-height: 1.55;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.sr-only,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 20;
    width: auto;
    height: auto;
    clip: auto;
    padding: 0.75rem 1rem;
    background: var(--ink);
    color: white;
    border-radius: var(--radius);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(100% - 32px, var(--container));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    height: 40px;
    width: auto;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    color: var(--ink);
    font-size: 0.95rem;
}

.primary-nav a {
    text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--brand);
}

.primary-nav .header-phone {
    padding-left: 1.1rem;
    border-left: 1px solid var(--line);
    color: var(--ink);
    font-weight: 700;
    white-space: nowrap;
}

.primary-nav .header-phone:hover,
.primary-nav .header-phone:focus-visible {
    color: var(--brand);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero {
    min-height: clamp(560px, calc(100vh - 74px), 760px);
    display: flex;
    align-items: flex-end;
    padding:
        clamp(4rem, 8vw, 7rem)
        max(24px, calc((100vw - var(--container)) / 2));

    color: white;

    background:
        linear-gradient(
            90deg,
            rgba(20, 16, 13, 0.78) 0%,
            rgba(20, 16, 13, 0.60) 28%,
            rgba(20, 16, 13, 0.24) 55%,
            rgba(20, 16, 13, 0.04) 100%
        ),
        var(--hero-image) center / cover no-repeat;
}

.hero-content {
    width: min(680px, 100%);
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #f0c58e;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.14;
}

.hero h1 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.hero p:not(.eyebrow) {
    max-width: 620px;
    margin: 1.3rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--heading-font);
    font-weight: 700;
    text-decoration: none;
}

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

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--brand-dark);
}

.button-secondary {
    background: var(--surface);
    border-color: var(--line);
    color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: var(--brand);
    color: var(--brand);
}

.section,
.product-layout {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.section {
    padding: var(--section-space) 0;
}

.section + .section,
.page-hero + .section {
    padding-top: var(--section-space-tight);
}

.section-heading {
    margin-bottom: 1.6rem;
}

.catalog-overview {
    padding-top: clamp(2rem, 4vw, 3.25rem);
    padding-bottom: var(--section-space-tight);
}

.section-heading h2,
.compact-hero h1,
.product-summary h1 {
    font-size: clamp(1.5rem, 2.0vw, 2.0rem);
}

.category-grid,
.product-grid {
    display: grid;
    gap: 1rem;
}

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

.category-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--image-bg);
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 60% 0 0;
    background: linear-gradient(180deg, rgba(34, 33, 31, 0), rgba(34, 33, 31, 0.78));
    pointer-events: none;
}

.category-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    opacity: 1.0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-card span {
    position: absolute;
    left: 1.15rem;
    right: 1.15rem;
    bottom: 1.35rem;
    z-index: 1;
    font-family: var(--category-font);
    font-size: clamp(1.35rem, 1.7vw, 1.7rem);
    font-weight: 500;
    line-height: 1.08;
    text-align: left;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

.category-card:hover img,
.category-card:focus-visible img {
    transform: scale(1.05);
    opacity: 0.9;
}

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

.product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--image-bg);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.04);
}

.product-card-body {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    padding: 1rem;
}

.product-category {
    margin: 0 0 0.45rem;
    color: var(--link);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-card h3 {
    font-size: 1.08rem;
    font-weight: 600;
}

.product-card h3 a {
    text-decoration: none;
}

.product-card h3 a:hover {
    color: var(--brand);
}

.visit-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 90px;
}

.visit-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
}

.visit-layout--text {
    grid-template-columns: minmax(0, 620px);
}

.visit-details {
    min-width: 0;
    display: grid;
    justify-items: start;
    gap: 1.25rem;
}

.visit-address {
    font-size: 1.25rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.visit-details p {
    margin: 0;
}

.visit-entrance {
    border-left: 3px solid var(--accent);
    padding-left: 0.85rem;
    font-weight: 700;
}

.visit-directions,
.visit-hours p {
    white-space: pre-line;
}

.visit-hours h3 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.visit-help {
    padding-top: 0.25rem;
}

.visit-help p,
.visit-photo figcaption {
    color: var(--muted);
    font-size: 0.95rem;
}

.visit-phone {
    display: inline-block;
    padding: 0.6rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
}

.visit-phone:hover,
.visit-phone:focus-visible {
    color: var(--brand-dark);
}

.visit-photo {
    min-width: 0;
    margin: 0;
}

.company-info {
    width: 100%;
    min-width: 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    overflow-wrap: anywhere;
    scroll-margin-top: 100px;
}

.company-info > p,
.company-info > a {
    display: block;
    margin-bottom: 0.65rem;
}

.company-name {
    color: var(--ink);
    font-weight: 600;
}

.company-details summary {
    padding: 0.75rem 0;
    cursor: pointer;
    color: var(--ink);
    font-weight: 600;
}

.company-details summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.company-details dl {
    margin: 0.5rem 0 0;
}

.company-details dt {
    margin-top: 1rem;
    font-weight: 600;
}

.company-details dd {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.visit-photo img {
    width: 100%;
    height: auto;
}

.visit-photo figcaption {
    margin-top: 0.65rem;
}

.page-hero {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: clamp(2.8rem, 7vw, 5rem) 0 1rem;
}

.compact-hero p:last-child {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.08rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.4rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.breadcrumbs a {
    color: var(--brand);
    text-decoration: none;
}

.empty-state {
    max-width: 620px;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.product-layout {
    padding: clamp(2rem, 5vw, 4rem) 0 0;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.gallery-main {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--image-bg);
    aspect-ratio: 4 / 3;
}

.gallery-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--image-bg);
}

.gallery-image.active {
    display: block;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.thumb {
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: var(--radius);
    background: var(--image-bg);
    cursor: pointer;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb.active {
    border-color: var(--brand);
}

.product-summary {
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.product-summary h1 {
    margin-bottom: 1rem;
}

.lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.product-section {
    margin-top: 1.7rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}

.product-section h2 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.product-section p {
    margin: 0;
    color: var(--muted);
}

.spec-list {
    margin: 0;
}

.spec-list div {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
}

.spec-list div:last-child {
    border-bottom: 0;
}

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

.spec-list dd {
    margin: 0;
    font-weight: 700;
}

.site-footer {
    margin-top: clamp(2rem, 6vw, 4rem);
    background: #24211d;
    color: white;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 2rem;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 3rem 0;
}

.footer-inner h2 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-inner p,
.footer-inner a,
.footer-inner span {
    color: rgba(255, 255, 255, 0.74);
}

.footer-inner ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-inner li {
    margin-bottom: 0.45rem;
}

.footer-inner a {
    text-decoration: none;
}

.footer-inner a:hover {
    color: white;
}

.footer-about img {
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

address {
    display: grid;
    gap: 0.45rem;
    font-style: normal;
}

.footer-bottom {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1020px) {
    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail,
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .visit-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 82px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.6rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    .primary-nav.open {
        display: flex;
    }

    .primary-nav a {
        padding: 0.85rem;
        border-radius: 0;
    }

    .primary-nav .header-phone {
        padding-left: 0.85rem;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .primary-nav a:hover,
    .primary-nav a:focus-visible {
        background: var(--surface-muted);
    }

    .hero {
        min-height: 78vh;
        padding-top: 5rem;
    }

    .hero h1 {
        max-width: 11ch;
    }
}

@media (max-width: 620px) {
    .header-inner,
    .section,
    .product-layout,
    .page-hero,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 24px, var(--container));
    }

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .category-card,
    .category-card img {
        min-height: 220px;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-summary {
        padding: 1rem;
    }

    .spec-list div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}
