:root {
    --red: #ed1c24;
    --deep-red: #b5121b;
    --charcoal: #2b2b2b;
    --text: #55565a;
    --muted: #f4f6f8;
    --border: #e2e6ea;
    --soft-red: #fff1f2;
    --blue: #1f5e9c;
    --white: #fff;
    --shadow: 0 18px 45px rgba(28, 38, 56, .08);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--charcoal); line-height: 1.15; margin: 0 0 16px; letter-spacing: 0; }
h1 { font-size: clamp(2.2rem, 6vw, 4.75rem); max-width: 920px; }
h2 { font-size: clamp(1.35rem, 3vw, 2.15rem); }
p { margin: 0 0 16px; }

.top-shell {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}
.brand-row {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 20px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.utility {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    min-height: 30px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    font-size: .85rem;
}
.brand {
    width: min(138px, 36vw);
    margin: 0 auto;
}
.brand img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.main-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 0 16px 10px;
}
.main-menu a, .menu-toggle {
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--charcoal);
    font-weight: 700;
}
.main-menu a:hover, .main-menu a:focus { background: var(--soft-red); color: var(--deep-red); }
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 240px;
    display: none;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: grid; }
.menu-toggle { display: none; margin: 0 auto 12px; border: 1px solid var(--border); background: var(--white); }

.hero-slider {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 20px 58px;
}
.hero-slide {
    min-height: calc(100vh - 168px);
    display: none;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, .9fr);
    gap: 42px;
    align-items: center;
}
.hero-slide.active {
    display: grid;
}
.hero-copy p { font-size: 1.15rem; max-width: 720px; }
.hero-art {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
    background: linear-gradient(180deg, #fff, #fafbfc);
    box-shadow: var(--shadow);
}
.hero-art img { width: 100%; max-height: 470px; object-fit: contain; }
.hero-dots {
    position: absolute;
    left: 20px;
    bottom: 28px;
    display: flex;
    gap: 10px;
}
.hero-dots button {
    width: 38px;
    height: 6px;
    border: 0;
    border-radius: 99px;
    background: var(--border);
    cursor: pointer;
}
.hero-dots button.active { background: var(--red); }
.eyebrow {
    display: inline-flex;
    color: var(--red);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .8rem;
    margin-bottom: 12px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-weight: 800;
}
.primary { background: var(--red); border-color: var(--red); color: var(--white); }
.primary:hover { background: var(--deep-red); border-color: var(--deep-red); }
.ghost { background: var(--white); color: var(--charcoal); }

.section, .page-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 20px;
}
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(115deg, rgba(255,241,242,.92), rgba(255,255,255,.78) 42%, rgba(244,246,248,.96)),
        var(--white);
    border-bottom: 1px solid var(--border);
}
.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}
.page-hero::before {
    width: 420px;
    height: 420px;
    right: max(24px, calc((100vw - 1180px) / 2));
    top: -126px;
    border: 1px solid rgba(237, 28, 36, .22);
    box-shadow:
        inset 0 0 0 38px rgba(255, 255, 255, .58),
        inset 0 0 0 39px rgba(31, 94, 156, .16),
        inset 0 0 0 112px rgba(255, 255, 255, .34),
        inset 0 0 0 113px rgba(237, 28, 36, .12);
    animation: hero-ring-spin 22s linear infinite;
}
.page-hero::after {
    width: 260px;
    height: 260px;
    right: max(184px, calc((100vw - 1180px) / 2 + 190px));
    bottom: -112px;
    border: 28px double rgba(31, 94, 156, .18);
    animation: hero-ring-drift 12s ease-in-out infinite alternate;
}
.page-hero > * {
    position: relative;
    z-index: 1;
}
.page-hero p { max-width: 820px; font-size: 1.08rem; }

@keyframes hero-ring-spin {
    from { transform: rotate(0deg) translate3d(0, 0, 0); }
    to { transform: rotate(360deg) translate3d(0, 0, 0); }
}

@keyframes hero-ring-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-24px, -14px, 0) scale(1.05); }
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: start;
}
.metric, .card, .contact-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    padding: 24px;
    box-shadow: 0 10px 28px rgba(28, 38, 56, .05);
}
.metric strong { display: block; color: var(--red); font-size: 2.2rem; line-height: 1; margin-bottom: 8px; }
.card img { height: 120px; width: 100%; object-fit: contain; margin-bottom: 18px; }
.compact h2 { font-size: 1.25rem; }
.value-list { display: flex; flex-wrap: wrap; gap: 10px; }
.value-list span, .tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border-radius: 999px;
    padding: 5px 12px;
    background: var(--muted);
    color: var(--charcoal);
    font-weight: 700;
    font-size: .9rem;
}
.filter-bar {
    display: grid;
    grid-template-columns: 1fr minmax(190px, 260px) auto;
    gap: 10px;
    margin-bottom: 26px;
}
input, select, textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    min-height: 46px;
    font: inherit;
}
.product-card .card-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.product-card .card-actions a { color: var(--blue); font-weight: 800; }
.pagination { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.pagination a {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
}
.pagination .active { background: var(--charcoal); color: var(--white); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; }
th { background: var(--muted); color: var(--charcoal); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-item strong, .contact-item span { display: block; }
.legal { max-width: 920px; }
.empty { padding: 22px; border: 1px dashed var(--border); border-radius: 8px; background: var(--muted); }
.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    margin: 40px auto 0;
    padding: 34px 20px;
    border-top: 1px solid var(--border);
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; }

@media (max-width: 820px) {
    .brand-row {
        padding-bottom: 4px;
        flex-direction: column;
        gap: 6px;
    }
    .utility {
        position: static;
        transform: none;
    }
    .brand { width: min(124px, 42vw); }
    .menu-toggle { display: flex; }
    .main-menu { display: none; flex-direction: column; align-items: stretch; }
    .main-menu.open { display: flex; }
    .has-dropdown .dropdown { position: static; box-shadow: none; margin: 0 12px 8px; }
    .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: grid; }
    .hero-slide, .split, .grid-3, .contact-grid { grid-template-columns: 1fr; }
    .hero-slide { min-height: auto; }
    .hero-slider { padding-top: 24px; padding-bottom: 66px; }
    .hero-dots { bottom: 30px; }
    .page-hero { min-height: 300px; }
    .page-hero::before {
        width: 300px;
        height: 300px;
        right: -120px;
        top: -70px;
    }
    .page-hero::after {
        width: 190px;
        height: 190px;
        right: 74px;
        bottom: -92px;
    }
    .filter-bar { grid-template-columns: 1fr; }
    .site-footer { flex-direction: column; }
    .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero::before,
    .page-hero::after {
        animation: none;
    }
}
