@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #E8ECF0;
    --surface: #FFFFFF;
    --surface-secondary: #E9EEF2;
    --text-main: #1F2A33;
    --text-secondary: #5B6872;
    --dark-bg: #24313A;
    --border: #D7DEE4;
    --accent: #C9782A;
    --accent-hover: #B56C25;
    --steel: #607D8B;
    --card-radius: 20px;
    --card-shadow: 0 10px 30px rgba(31, 42, 51, 0.06);
    --card-border: 1px solid var(--border);
    --section-padding: 100px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    background-image:
        linear-gradient(to right, rgba(31,42,51,0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(31,42,51,0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.025em;
    margin-bottom: 24px;
    line-height: 1.1;
}

/* ===== HEADER ===== */
.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 28px;
}

.header__brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    flex-shrink: 0;
}

.header__logo {
    width: 44px;
    height: 64px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.header__brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.header__brand-name {
    font-size: 15px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0;
}

.header__brand-tagline {
    font-size: 11px;
    line-height: 1.35;
    font-weight: 500;
    color: var(--text-secondary);
    max-width: 180px;
}

.header__nav {
    position: relative;
    flex-shrink: 0;
}

.header__menu {
    display: flex;
    gap: 22px;
    flex-wrap: nowrap;
}

.header__menu a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.25s ease;
    position: relative;
    padding: 6px 0;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.header__menu a:hover {
    color: var(--text-main);
}

.header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    background: #24313A;
    padding: 10px 22px;
    border: 1px solid #24313A;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    border-radius: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}

.header__cta:hover {
    background: #1A242C;
    border-color: #1A242C;
    box-shadow: 0 6px 20px rgba(31, 42, 51, 0.22);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.25s ease;
}

.header__burger:hover {
    background: var(--surface-secondary);
}

.header__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    transition: 0.25s ease;
    border-radius: 2px;
}

.header__burger--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger--active span:nth-child(2) {
    opacity: 0;
}

.header__burger--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.header__nav .header__menu--open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 24px 40px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    box-shadow: 0 8px 24px rgba(31, 42, 51, 0.08);
    z-index: 99;
    animation: slideDown 0.25s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
    color: var(--text-main);
    background: var(--surface-secondary);
    border-color: var(--text-main);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.theme-toggle__icon {
    width: 18px;
    height: 18px;
}

.theme-toggle__icon--dark { display: none; }
html[data-theme="dark"] .theme-toggle__icon--light { display: none; }
html[data-theme="dark"] .theme-toggle__icon--dark { display: block; }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HERO ===== */
.hero {
    padding: 64px 0 88px;
    position: relative;
}

.hero__inner {
    display: grid;
    grid-template-columns: 46% 54%;
    gap: 40px;
    align-items: center;
    min-height: 560px;
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 640px;
}

.hero__eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5B6872;
    margin-bottom: 16px;
}

.hero__title {
    font-size: 64px;
    line-height: 0.98;
    font-weight: 800;
    color: #1F2A33;
    max-width: 620px;
    margin: 0 0 20px 0;
    word-wrap: break-word;
    hyphens: auto;
}

.hero__accent-line {
    width: 56px;
    height: 3px;
    background: #C9782A;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero__lead {
    font-size: 19px;
    line-height: 1.65;
    color: #5B6872;
    max-width: 560px;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero__cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero__btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #FFFFFF;
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 16px 24px;
    min-height: 52px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 24px rgba(201, 120, 42, 0.25);
}

.hero__btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(201, 120, 42, 0.35);
    transform: translateY(-2px);
}

.hero__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 120, 42, 0.06);
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 16px 24px;
    min-height: 52px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero__btn-secondary:hover {
    background: var(--accent);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Visual composition */
.hero__visual {
    position: relative;
}

.hero__visual-bg {
    background: #E9EEF2;
    border-radius: 28px;
    position: absolute;
    top: 24px;
    left: -24px;
    width: 72%;
    height: 78%;
    z-index: 0;
}

.hero__visual-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.85fr;
    grid-template-rows: 240px 240px;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.hero__card {
    border-radius: 24px;
    overflow: hidden;
    background: #DCE6EE;
    border: 1px solid #D7DEE4;
    box-shadow: 0 18px 40px rgba(31, 42, 51, 0.10);
}

.hero__card--main {
    grid-row: span 2;
}

.hero__card--top,
.hero__card--bottom {
    border-radius: 20px;
    background: #E9EEF2;
}

.hero__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Legacy hero__btn for catalog/product pages — dark CTA like main page */
.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    background: #24313A;
    padding: 14px 34px;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    border-radius: 12px;
    letter-spacing: 0.02em;
}

.hero__btn:hover {
    background: #1A242C;
    box-shadow: 0 6px 20px rgba(31, 42, 51, 0.22);
    transform: translateY(-2px);
}

.catalog__cta .hero__btn {
    display: inline-flex;
}

/* ===== CATALOG ===== */
.catalog {
    padding: var(--section-padding) 0;
    position: relative;
}

.catalog .section-title {
    font-size: 40px;
    line-height: 1.08;
    margin-bottom: 20px;
}

.catalog__intro {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 32px;
    font-weight: 400;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.catalog__card {
    background: #F5F7F9;
    border: 1px solid #E2E8ED;
    border-radius: 20px;
    padding: 24px 22px 22px;
    min-height: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(31, 42, 51, 0.04);
    z-index: 1;
    text-decoration: none;
    color: inherit;
    display: block;
}

.catalog__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(31, 42, 51, 0.08);
    border-color: #C7D1D9;
    background: #FFFFFF;
}

.catalog__card--primary {
    grid-column: span 2;
    min-height: 240px;
}

.catalog__card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog__card-meta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7B8791;
    margin-bottom: 14px;
}

.catalog__card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    line-height: 1.2;
    transition: color 0.25s ease;
}

.catalog__card:hover .catalog__card-title {
    color: var(--text-main);
}

.catalog__card--primary .catalog__card-title {
    font-size: 24px;
    line-height: 1.15;
}

.catalog__card--primary .catalog__card-meta {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.catalog__card-bottom {
    margin-top: auto;
}

.catalog__card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.catalog__chip {
    display: inline-flex;
    align-items: center;
    background: #EEF2F5;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--text-secondary);
}

.catalog__card-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ===== TRAVERSES ===== */
.traverses {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.traverses__inner {
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

.traverses .section-title {
    color: var(--text-main);
}

.traverses__desc {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 56px;
    max-width: 720px;
    font-weight: 400;
}

.traverses__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.traverses__feature {
    position: relative;
    padding: 28px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.traverses__feature-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 14px;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.06em;
}

.traverses__icon {
    width: 28px;
    height: 28px;
    color: var(--steel);
    margin-bottom: 12px;
}

.traverses__feature h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
    line-height: 1.35;
}

.traverses__feature p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 400;
}

.traverses__image-wrap {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.traverses__image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.traverses__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    position: relative;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.services__item {
    padding: 32px;
    border: var(--card-border);
    background: var(--surface);
    border-radius: var(--card-radius);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    box-shadow: var(--card-shadow);
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    text-decoration: none;
    color: inherit;
}

.services__item:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 38px rgba(201, 120, 42, 0.12);
    transform: translateY(-4px);
}

.services__item:hover .services__icon {
    background: var(--accent);
    color: #FFFFFF;
}

.services__meta {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--steel);
    margin-bottom: 16px;
    line-height: 1;
}

.services__body {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex-grow: 1;
    position: relative;
}

.services__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--accent);
    background: var(--bg-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services__icon svg,
.services__arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.services__text {
    flex-grow: 1;
    min-width: 0;
    padding-left: 4px;
}

.services__text::before {
    content: "";
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    opacity: 0.25;
}

.services__arrow {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 18px;
    height: 18px;
    color: #7B8791;
    opacity: 0.55;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.services__item:hover .services__arrow {
    opacity: 0.95;
    transform: translateX(2px);
}

.services__item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.services__item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 400;
}

.services__image-wrap {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.services__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

/* ===== SERVICES PAGE (Монтаж) ===== */
.services-page {
    padding: var(--section-padding) 0;
}

.services-page__header {
    margin-bottom: 48px;
}

.services-page__back {
    display: inline-block;
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.services-page__back:hover {
    color: var(--text-main);
}

.services-page__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.services-page__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 720px;
}

.services-page__intro {
    margin-bottom: 32px;
    max-width: 860px;
    background: var(--surface);
    border: var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 28px;
}

.services-page__intro p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.services-page__intro p:last-child {
    margin-bottom: 0;
}

.services-page__section {
    margin-bottom: 32px;
    background: var(--surface);
    border: var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 28px;
}

.services-page__section:last-child {
    margin-bottom: 0;
}

.services-page__section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
    margin-bottom: 28px;
}

.services-page__list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 20px;
}

.services-page__list li {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
}

.services-page__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-main);
    opacity: 0.3;
}

.services-page__list li strong {
    color: var(--text-main);
    font-weight: 600;
}

.services-page__steps {
    list-style: none;
    padding: 0;
    counter-reset: step;
    display: grid;
    gap: 28px;
}

.services-page__steps li {
    counter-increment: step;
    padding-left: 60px;
    position: relative;
}

.services-page__steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.services-page__steps li h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.services-page__steps li p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-page__advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.services-page__advantage {
    padding: 28px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(31, 42, 51, 0.06);
}

.services-page__advantage-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.services-page__advantage-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== SERVICES PAGE LINK STYLES ===== */
a.services__item {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.services__item:hover {
    text-decoration: none;
}

/* ===== SERVICES PAGE RESPONSIVE ===== */
@media (max-width: 768px) {
    .services-page {
        padding: 60px 0 80px;
    }

    .services-page__title {
        font-size: 26px;
    }

    .services-page__subtitle {
        font-size: 16px;
    }

    .services-page__intro {
        margin-bottom: 40px;
    }

    .services-page__section {
        margin-bottom: 40px;
    }

    .services-page__section-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .services-page__list li {
        font-size: 15px;
    }

    .services-page__steps li {
        padding-left: 52px;
    }

    .services-page__steps li::before {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .services-page__steps li h3 {
        font-size: 16px;
    }

    .services-page__steps li p {
        font-size: 14px;
    }

    .services-page__advantages {
        grid-template-columns: 1fr;
    }

    .services-page__advantage {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .services-page__title {
        font-size: 22px;
    }

    .services-page__steps li {
        padding-left: 44px;
    }

    .services-page__steps li::before {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* ===== PRODUCTION ===== */
.production {
    padding: 100px 0;
    position: relative;
}

.production__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.production__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.production__list li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-left: 36px;
    position: relative;
    font-weight: 400;
    transition: color 0.25s ease, padding-left 0.2s ease;
}

.production__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 0 3px rgba(201, 120, 42, 0.15);
}

.production__list li:hover {
    color: var(--text-main);
    padding-left: 42px;
}

.production__list li:hover::before {
    background: var(--accent-hover);
}

.production__equipment {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.production__equipment-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.production__equipment-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.production__equipment-list li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.production__equipment-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
}

.production__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.production__visual:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(31, 42, 51, 0.10);
    border-color: #C7D1D9;
}

.production__image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    display: block;
}

.production__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 0 0 20px 20px;
}

@media (max-width: 768px) {
    .production__caption {
        padding: 12px 16px;
        background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
        font-size: 12px;
    }
}

.production__extra {
    margin-top: 28px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.production__extra-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.production__extra-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.production__extra-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 0 0 20px 20px;
}

@media (max-width: 768px) {
    .production__extra-caption {
        padding: 10px 14px;
        background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
        font-size: 11px;
    }
}

/* ===== DOCUMENTS ===== */
.documents {
    padding: 100px 0;
    position: relative;
}

.documents__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.documents__item {
    padding: 32px;
    border: var(--card-border);
    background: var(--surface);
    border-radius: var(--card-radius);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    text-decoration: none;
    color: inherit;
}

.documents__item:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 38px rgba(201, 120, 42, 0.12);
    transform: translateY(-4px);
}

.documents__item:hover .documents__icon {
    background: var(--accent);
    color: #FFFFFF;
}

.documents__item:hover .documents__arrow {
    opacity: 0.95;
    transform: translateX(2px);
}

.documents__meta {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--steel);
    margin-bottom: 16px;
    line-height: 1;
}

.documents__body {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex-grow: 1;
    position: relative;
}

.documents__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--accent);
    background: var(--bg-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.documents__icon svg,
.documents__arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.documents__text {
    flex-grow: 1;
    min-width: 0;
    padding-left: 4px;
}

.documents__text::before {
    content: "";
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    opacity: 0.25;
}

@media (max-width: 768px) {
    .documents__text::before {
        display: none;
    }
}

.documents__arrow {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 18px;
    height: 18px;
    color: #7B8791;
    opacity: 0.55;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.documents__item:hover .documents__arrow {
    opacity: 0.95;
    transform: translateX(2px);
}

.documents__item h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.documents__item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    padding: var(--section-padding) 0;
    position: relative;
}

.about__inner {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 32px;
    align-items: center;
}

.about__meta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7B8791;
    margin-bottom: 14px;
}

.about__title {
    font-size: 40px;
    line-height: 1.08;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 18px;
}

.about__lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 22px;
    max-width: 560px;
}

.about__list {
    display: grid;
    gap: 10px;
}

.about__list-item {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.about__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 120, 42, 0.15);
    flex-shrink: 0;
    margin-top: 8px;
}

.about__divider {
    display: none;
}

.about__accent-line {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 999px;
    margin-bottom: 20px;
}

.about__visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 130px;
    gap: 16px;
}

.about__card {
    border-radius: var(--card-radius);
    overflow: hidden;
    border: var(--card-border);
    background: var(--surface);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(201, 120, 42, 0.12);
    border-color: var(--accent);
}

.about__card--main {
    grid-column: 1 / -1;
}

.about__card--small {
    border-radius: var(--card-radius);
    background: var(--surface);
}

.about__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== CONTACTS ===== */
.contacts {
    padding: var(--section-padding) 0;
    position: relative;
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.contacts__card {
    background: var(--surface);
    border: var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 32px;
}

.contacts__card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contacts__card-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.contacts__card-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7B8791;
    margin-bottom: 4px;
}

.contacts__card-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    line-height: 1.6;
    word-break: normal;
    overflow-wrap: normal;
    line-break: auto;
}

.contacts__card-value:hover {
    color: var(--text-main);
}

.contacts__card-sub {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    text-decoration: none;
    word-break: normal;
    overflow-wrap: normal;
    line-break: auto;
}

.contacts__card-item:nth-child(2) .contacts__card-value {
    white-space: nowrap;
    font-size: 14px;
}

.contacts__card-sub:hover {
    color: var(--text-main);
}

.contacts__form-wrap {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--card-radius);
    border: var(--card-border);
    box-shadow: var(--card-shadow);
}

.contacts__form-wrap h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.contacts__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contacts__form label {
    display: flex;
    flex-direction: column;
}

.contacts__form input,
.contacts__form textarea {
    font-family: inherit;
    font-size: 15px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-main);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    border-radius: 12px;
    font-weight: 400;
}

.contacts__form input:focus,
.contacts__form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 120, 42, 0.12);
    background: var(--surface);
}

.contacts__form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.contacts__form button {
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 36px;
    background: var(--accent);
    color: #FFFFFF;
    border: 1px solid var(--accent);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    align-self: flex-start;
    border-radius: 12px;
    letter-spacing: 0.02em;
}

.contacts__form button:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(201, 120, 42, 0.35);
    transform: translateY(-2px);
}

/* ===== CONSENT CHECKBOX ===== */
.contacts__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    cursor: pointer;
}

.contacts__consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.contacts__consent a {
    color: var(--accent);
    text-decoration: underline;
}

.contacts__consent a:hover {
    color: var(--accent-hover);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.82);
    padding: 56px 0 36px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 999px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.footer__col-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.56);
    margin-bottom: 10px;
}

.footer__brand-name {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.footer__text {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.footer__link {
    font-size: 14px;
    line-height: 1.65;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer__link:hover {
    color: var(--accent);
}

.footer__bottom {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.52);
}

/* ===== INNER PAGE FOOTER ===== */
.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__name {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
}

.footer__tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.56);
}

.footer__nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer__nav a:hover {
    color: var(--accent);
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.footer__contacts a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer__contacts a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .footer__top {
        flex-direction: column;
        gap: 24px;
    }
    .footer__nav {
        gap: 16px;
    }
    .footer__contacts {
        align-items: flex-start;
    }
}

/* ===== PRODUCTS (carousel & leaders grid) ===== */
.products {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border: var(--card-border);
    border-radius: var(--card-radius);
    padding: 20px;
    min-height: 220px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
    position: relative;
    box-shadow: var(--card-shadow);
    z-index: 1;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    border-color: var(--accent);
    background: #F8FAFB;
    box-shadow: 0 12px 32px rgba(201, 120, 42, 0.12);
    transform: translateY(-3px);
}

.product-card__image {
    padding: 32px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    transition: background 0.3s ease;
    position: relative;
}

.product-card__image img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.product-card:hover .product-card__image {
    background: #F0F3F6;
}

.product-card__placeholder {
    width: 60px;
    height: 60px;
}

.product-card__placeholder svg {
    width: 100%;
    height: auto;
}

.product-card__body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.product-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
    line-height: 1.3;
    transition: color 0.25s ease;
    margin: 0;
}

.product-card__sku {
    font-size: 11px;
    font-weight: 500;
    color: #9AA7B2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.product-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    flex-grow: 1;
    font-weight: 400;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__meta {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.product-card__meta-item {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}
.product-card__meta-item strong {
    color: var(--text-main);
    font-weight: 600;
}

.product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.product-card__price {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    position: relative;
    padding-left: 14px;
}
.product-card__price::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.8;
}

.product-card__price-request {
    font-size: 14px;
    font-weight: 500;
    color: #9AA7B2;
    font-style: italic;
    white-space: nowrap;
    position: relative;
    padding-left: 14px;
}
.product-card__price-request::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9AA7B2;
    opacity: 0.6;
}

.product-card__link {
    font-size: 13px;
    font-weight: 500;
    color: #7B8791;
    white-space: nowrap;
    transition: color 0.2s ease;
    padding: 4px 0;
}
.product-card:hover .product-card__link {
    color: var(--accent);
}



/* ===== CATALOG PAGE ===== */
.catalog-page {
    padding: 100px 0;
    background: transparent;
    min-height: 70vh;
    position: relative;
}

.breadcrumbs {
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs a {
    color: #7B8791;
    transition: color 0.25s ease;
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--text-main);
}

.breadcrumbs span {
    color: var(--text-main);
    font-weight: 500;
}

.catalog__back {
    margin-top: 60px;
    padding-top: 32px;
}

.catalog__back .hero__link {
    font-size: 15px;
    font-weight: 500;
    color: #5B6872;
    transition: color 0.25s ease;
}

.catalog__back .hero__link:hover {
    color: var(--text-main);
}

/* Catalog page: extended-nomenclature note */
.catalog__more {
    margin-top: 48px;
    padding: 24px 28px;
    background: var(--surface);
    border: var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

.catalog__more p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.catalog__more p:last-child {
    margin-bottom: 0;
}

.catalog__more-link {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--border);
    transition: color 0.2s, text-decoration-color 0.2s;
}

.catalog__more-link:hover {
    color: #1A2530;
    text-decoration-color: #1A2530;
}

/* Full assortment block */
.assortment {
    margin-top: 56px;
}

.assortment__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.assortment__intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 800px;
}

.assortment__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: var(--card-border);
    border-radius: var(--card-radius);
    background: var(--surface);
    box-shadow: var(--card-shadow);
}

.assortment__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.assortment__table th {
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.assortment__table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
    vertical-align: middle;
}

.assortment__table tr:last-child td {
    border-bottom: none;
}

.assortment__row--hidden {
    display: none;
}

.assortment__name {
    font-weight: 500;
}

.assortment__price {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.assortment__price-na {
    color: var(--text-secondary);
    font-size: 13px;
}

.assortment__action {
    text-align: right;
    white-space: nowrap;
}

.assortment__link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--border);
    transition: color 0.2s, text-decoration-color 0.2s;
}

.assortment__link:hover {
    color: #1A2530;
    text-decoration-color: #1A2530;
}

.assortment__link--disabled {
    color: var(--text-secondary);
    text-decoration: none;
    cursor: default;
}

.assortment__toggle {
    display: block;
    margin: 16px auto 0;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    background: var(--surface);
    border: var(--card-border);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.assortment__toggle:hover {
    background: var(--bg-secondary);
    box-shadow: 0 2px 8px rgba(31, 42, 51, 0.06);
}

/* CTA block */
.assortment__cta {
    margin-top: 48px;
}

.assortment__cta-inner {
    padding: 32px;
    background: #24313A;
    border-radius: var(--card-radius);
    color: #FFFFFF;
}

.assortment__cta-inner h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.assortment__cta-inner p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    max-width: 600px;
}

.assortment__cta-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #24313A;
    background: #FFFFFF;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.assortment__cta-btn:hover {
    background: #F0F2F4;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .assortment__title {
        font-size: 20px;
    }

    .assortment__table th,
    .assortment__table td {
        padding: 10px 14px;
        font-size: 13px;
    }

    .assortment__cta-inner {
        padding: 24px 20px;
    }

    .assortment__cta-inner h3 {
        font-size: 18px;
    }
}

/* Dark theme */
html[data-theme="dark"] .assortment__table-wrap {
    background: var(--surface);
    border-color: var(--border);
}

html[data-theme="dark"] .assortment__table th {
    background: var(--bg-secondary);
    border-color: var(--border);
}

html[data-theme="dark"] .assortment__table td {
    border-color: var(--border);
}

html[data-theme="dark"] .assortment__toggle {
    background: var(--surface);
    border-color: var(--border);
}

html[data-theme="dark"] .assortment__toggle:hover {
    background: var(--bg-secondary);
}

html[data-theme="dark"] .assortment__cta-inner {
    background: #1A242C;
}

/* Catalog page: info block */
.catalog__info {
    margin-top: 40px;
    max-width: 800px;
    background: var(--surface);
    border: var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 28px;
}

.catalog__info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

.catalog__info p:last-child {
    margin-bottom: 0;
}

/* Catalog page: placeholder (no products yet) */
.catalog__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 20px;
    text-align: center;
    background: var(--surface);
    border-radius: 20px;
    border: 1px dashed var(--border);
    margin-top: 48px;
}

.catalog__placeholder-icon {
    width: 40px;
    height: 40px;
    color: var(--border);
    margin-bottom: 16px;
}

.catalog__placeholder p {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Catalog page: CTA block */
.catalog__cta {
    margin-top: 48px;
    text-align: center;
}

/* Catalog page: subcategory sections */
.catalog__subcategory {
    margin-top: 48px;
    padding-top: 32px;
}

.catalog__subcategory h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.catalog__subcategory p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Catalog page: subcategory link cards */
.catalog__subcategories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 48px;
}

.catalog__subcategory-link {
    display: block;
    background: #F5F7F9;
    border: 1px solid #E2E8ED;
    border-radius: var(--card-radius);
    padding: 24px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 12px rgba(31, 42, 51, 0.04);
    position: relative;
    overflow: hidden;
}

.catalog__subcategory-link:hover {
    border-color: #D0D8E0;
    background: #F8FAFB;
    box-shadow: 0 8px 20px rgba(31, 42, 51, 0.06);
    transform: translateY(-3px);
}

.catalog__subcategory-link h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.catalog__subcategory-link p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
}

/* ===== PRODUCT PAGE ===== */
.product-page__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
}

/* Product page: flat content card — collapse nested card effect */
.catalog__info:has(.product-page__specs) {
    padding: 24px;
}

.catalog__info:has(.product-page__specs) .product-page__specs {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0 0 20px;
}

.catalog__info:has(.product-page__specs) .product-page__desc {
    border-top: 1px solid var(--border);
    margin-top: 0;
    padding-top: 20px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.spec-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7B8791;
}
.spec-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
}
@media (max-width: 480px) {
    .product-page__specs {
        grid-template-columns: 1fr;
    }
}

.product-page__desc {
    margin-top: 28px;
    padding-top: 20px;
}
.product-page__desc h2 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.product-page__desc p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.product-page__image {
    max-width: 500px;
    aspect-ratio: 4 / 3;
    margin: 0 auto 24px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.product-page__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}
.product-page__media {
    max-width: 500px;
    margin: 0 auto 24px;
}
.product-page__thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.product-page__thumbnail {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 4px;
    cursor: pointer;
    transition: border-color 0.15s ease, opacity 0.15s ease;
    display: block;
}
.product-page__thumbnail:hover {
    border-color: #2C5F7C;
}
.product-page__thumbnail.is-active {
    border-color: #2C5F7C;
    border-width: 2px;
}
.product-page__thumbnail.is-hidden {
    display: none;
}
.product-page__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #EDF2F7;
}
.product-page__image--placeholder svg {
    width: 120px;
    height: 120px;
    color: #CBD5E1;
}

.product-page__docs {
    border-top: 1px solid var(--border);
    margin-top: 0;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ===== PRODUCT PAGE: two-column layout, passport specs, kicker ===== */
.product-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    align-items: start;
    margin-top: 8px;
    margin-bottom: 8px;
}

.product-page__gallery {
    position: sticky;
    top: 96px;
    min-width: 0;
}

.product-page__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 4px;
}

.product-page__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-page__kicker {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #7B8791;
    line-height: 1;
}

.product-page__title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0;
}

/* "Passport" specs card — structured grid with row dividers */
.product-page__passport {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    overflow: hidden;
    margin-top: 4px;
}

.product-page__passport .spec-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 22px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.product-page__passport .spec-item:nth-child(2n) {
    border-right: none;
}

.product-page__passport .spec-item:nth-last-child(-n+2):nth-child(n+2):nth-last-child(2) {
    border-bottom: none;
}

/* odd count: last item spans full width on its own row */
.product-page__passport .spec-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: none;
}

.product-page__passport .spec-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    line-height: 1.2;
}

.product-page__passport .spec-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.4;
    letter-spacing: -0.005em;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Passport group headers for visual grouping of specs */
.product-page__passport .spec-group {
    grid-column: 1 / -1;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    padding: 14px 22px 8px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
    background: var(--surface);
}

.product-page__application {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.product-page__application-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7B8791;
    line-height: 1.5;
    flex-shrink: 0;
}

.product-page__application-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.product-page__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 520px;
    margin-top: 4px;
}

.product-page__cta-row .hero__btn {
    min-width: 220px;
    flex: 1 1 220px;
    padding: 14px 20px;
}

.product-page__cta-row .hero__btn--primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.product-page__cta-row .hero__btn--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.product-page__cta-row .hero__btn--secondary {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-main);
}
.product-page__cta-row .hero__btn--secondary:hover {
    background: var(--surface-secondary);
    border-color: var(--accent);
}

/* Gallery tweaks: more breathing room, subtle elevation */
.product-page__layout .product-page__media {
    max-width: none;
    margin: 0;
}

.product-page__layout .product-page__image {
    max-width: none;
    margin: 0 0 12px;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    background: #fff;
    aspect-ratio: 4 / 3;
    box-shadow: 0 1px 2px rgba(15, 23, 32, 0.04);
}

.product-page__layout .product-page__image--placeholder {
    background: #F1F5F9;
}

.product-page__layout .product-page__thumbnails {
    margin-top: 4px;
    gap: 8px;
}

.product-page__layout .product-page__thumbnail {
    border-radius: 8px;
}

/* Below-the-fold sections (description / docs) */
.product-page__section {
    max-width: 880px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.product-page__section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #7B8791;
    margin: 0 0 14px;
    line-height: 1;
}

.product-page__section-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
    max-width: 64ch;
}

.product-page__section--docs {
    margin-top: 40px;
    padding-top: 24px;
}

.product-page__section--docs .product-page__docs {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
    gap: 12px;
}

/* Mobile: collapse to single column */
@media (max-width: 900px) {
    .product-page__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .product-page__gallery {
        position: static;
    }
    .product-page__title {
        font-size: 28px;
    }
    .product-page__passport {
        grid-template-columns: 1fr;
    }
    .product-page__passport .spec-item {
        border-right: none;
    }
    .product-page__passport .spec-item:nth-child(2n) {
        border-right: none;
    }
    .product-page__passport .spec-item:last-child:nth-child(odd) {
        grid-column: 1;
    }
    .product-page__layout .product-page__image {
        padding: 24px;
    }
    .product-page__cta-row .hero__btn {
        width: 100%;
        min-width: 0;
    }
}

/* Dark theme overrides for the new product-page elements */
html[data-theme="dark"] .product-page__kicker {
    color: #7B8D9A;
}
html[data-theme="dark"] .product-page__title {
    color: #E8EEF2;
}
html[data-theme="dark"] .product-page__passport {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .product-page__passport .spec-item {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .product-page__passport .spec-label {
    color: #7B8D9A;
}
html[data-theme="dark"] .product-page__passport .spec-value {
    color: #E8EEF2;
}
html[data-theme="dark"] .product-page__passport .spec-group {
    background: #1E2A33;
    border-top-color: rgba(255, 255, 255, 0.08);
    color: var(--accent);
}
html[data-theme="dark"] .product-page__application {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .product-page__application-label {
    color: #7B8D9A;
}
html[data-theme="dark"] .product-page__application-text {
    color: #9AA8B4;
}
html[data-theme="dark"] .product-page__layout .product-page__image {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.10);
    padding: 24px;
}
html[data-theme="dark"] .product-page__layout .product-page__image--placeholder {
    background: #24313A;
}
html[data-theme="dark"] .product-page__section {
    border-top-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .product-page__cta-row .hero__btn--primary {
    background: var(--accent);
    border-color: var(--accent);
}
html[data-theme="dark"] .product-page__cta-row .hero__btn--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}
html[data-theme="dark"] .product-page__cta-row .hero__btn--secondary {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.10);
    color: #E8EEF2;
}
html[data-theme="dark"] .product-page__cta-row .hero__btn--secondary:hover {
    background: #24313A;
    border-color: var(--accent);
}
html[data-theme="dark"] .product-page__section-title {
    color: #7B8D9A;
}
html[data-theme="dark"] .product-page__section-text {
    color: #9AA8B4;
}
html[data-theme="dark"] .product-page__section--docs {
    border-top-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .product-page__section--docs .product-page__docs {
    border-top: none;
}

/* Download block */
.catalog__download {
    margin-top: 40px;
    padding: 28px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: border-color 0.25s ease, box-shadow 0.3s ease;
}

.catalog__download:hover {
    border-color: #BCC6CE;
    box-shadow: 0 12px 32px rgba(31, 42, 51, 0.08);
}

.catalog__download-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: #24313A;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog__download-icon svg {
    width: 22px;
    height: 22px;
    color: var(--surface);
}

.catalog__download-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.catalog__download-text p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.catalog__download-link {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    background: #24313A;
    padding: 9px 18px;
    border-radius: 12px;
    letter-spacing: 0.02em;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.catalog__download-link:hover {
    background: #1A242C;
    box-shadow: 0 6px 20px rgba(31, 42, 51, 0.22);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .catalog__download {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .catalog__download-link {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
}

/* ===== CAROUSEL (leaders on main page) ===== */
/* Override JS-injected carousel styles */
.carousel-container {
    position: relative;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 24px;
    width: 100%;
    will-change: transform;
}

.carousel-track .product-card {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: calc((100% - 72px) / 4);
}

.carousel-container .carousel-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
    box-shadow: none;
}

.carousel-container .carousel-btn:hover {
    border-color: #C7D1D9;
    color: var(--text-main);
    background: var(--surface);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-track .product-card__footer {
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* Carousel navigation buttons: hidden on mobile where scroll is native. */
@media (max-width: 768px) {
    .carousel-container .carousel-btn {
        display: none;
    }
}

/* Leaders block spacing & typography */
.leaders {
    margin-top: 80px;
}

.leaders__desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 32px;
}

/* Leaders card styling (scoped to main page) */
#leaders-grid .product-card {
    border-radius: 18px;
    min-height: 250px;
}

#leaders-grid a.product-card,
#category-grid a.product-card {
    text-decoration: none;
    color: inherit;
    display: flex;
}

#leaders-grid .product-card:hover {
    border-color: #C7D1D9;
}

#leaders-grid .product-card__body {
    padding: 18px;
    gap: 0;
}

/* Homepage leaders carousel-only rhythm (does not affect /catalog/leaders.html) */
#leaders-grid .carousel-track .product-card {
    min-height: 220px;
}

#leaders-grid .carousel-track .product-card__body {
    padding: 22px 18px 16px 18px;
}

#leaders-grid .product-card__sku {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7B8791;
    margin-bottom: 12px;
}

#leaders-grid .product-card__title {
    font-size: 19px;
    line-height: 1.24;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

#leaders-grid .product-card__desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex-grow: 0;
}

#leaders-grid .product-card__footer {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    margin-top: auto;
    padding-top: 0;
    border-top: none;
}

#leaders-grid .product-card__price {
    font-size: 13px;
    font-weight: 500;
    color: #7B8791;
    text-align: center;
}

#leaders-grid .product-card__link {
    text-align: center;
    margin-left: 0;
}

.products__show-more {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0 20px;
}

.products__show-more .hero__btn {
    background: #24313A;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    min-height: 42px;
    padding: 12px 18px;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.products__show-more .hero__btn:hover {
    background: #1A242C;
    box-shadow: 0 6px 20px rgba(31, 42, 51, 0.22);
    transform: translateY(-2px);
}

#leaders-grid .product-card:hover .product-card__title {
    color: var(--text-main);
}

/* ===== ANIMATIONS ===== */

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.slide-up {
    animation: slideUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation delays for sequential appearance */
.catalog__card:nth-child(1) { animation-delay: 0.1s; }
.catalog__card:nth-child(2) { animation-delay: 0.15s; }
.catalog__card:nth-child(3) { animation-delay: 0.2s; }
.catalog__card:nth-child(4) { animation-delay: 0.25s; }
.catalog__card:nth-child(5) { animation-delay: 0.3s; }
.catalog__card:nth-child(6) { animation-delay: 0.35s; }
.catalog__card:nth-child(7) { animation-delay: 0.4s; }
.catalog__card:nth-child(8) { animation-delay: 0.45s; }
.catalog__card:nth-child(9) { animation-delay: 0.5s; }

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.15s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.25s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .slide-up {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .catalog__card,
    .product-card,
    .services__item,
    .documents__item {
        transition: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .catalog__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .catalog__card--primary {
        grid-column: span 2;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
    }

    .hero__title {
        font-size: 52px;
    }

    .hero__lead {
        font-size: 18px;
    }

    .hero__visual-grid {
        grid-template-rows: 220px 220px;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header__menu {
        display: none;
    }

    .header__inner {
        gap: 6px;
    }

    .header__logo {
        width: 36px;
        height: 52px;
    }

    .header__brand {
        gap: 10px;
    }

    .header__brand-name {
        font-size: 14px;
    }

    .header__brand-tagline {
        font-size: 10px;
        max-width: 150px;
    }

    .header__burger {
        display: flex;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .theme-toggle__icon {
        width: 16px;
        height: 16px;
    }

    .hero {
        padding: 40px 0 56px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
    }

    .hero__title {
        font-size: 42px;
        line-height: 1.02;
    }

    .hero__lead {
        font-size: 17px;
    }

    .hero__visual-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero__card {
        height: 220px;
    }

    .hero__card--main {
        grid-row: span 1;
    }

    .hero__visual-bg {
        display: none;
    }

    .catalog {
        padding: 72px 0;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .catalog__card--primary {
        grid-column: span 1;
    }

    .catalog__card {
        min-height: 190px;
        padding: 24px;
    }

    .catalog__card-title {
        font-size: 18px;
    }

    .catalog__card--primary .catalog__card-title {
        font-size: 22px;
    }

    .catalog__card-desc {
        font-size: 14px;
    }

    .catalog-page {
        padding: 72px 0;
    }

    .catalog__subcategories {
        margin-bottom: 32px;
    }

    .traverses {
        padding: 72px 0;
    }

    .traverses__features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .traverses__feature {
        padding: 24px;
    }

    .services {
        padding: 72px 0;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .production {
        padding: 72px 0;
    }

    .production__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .production__text {
        order: 2;
    }

    .production__visual {
        order: 1;
    }

    .documents {
        padding: 72px 0;
    }

    .documents__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contacts {
        padding: 72px 0;
    }

    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contacts__card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacts__form-wrap {
        padding: 28px;
    }

    .footer {
        padding: 44px 0 28px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .products__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card__footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .carousel-container .carousel-track .product-card {
        flex: 0 0 calc(50vw - 48px);
        min-width: calc(50vw - 48px);
        scroll-snap-align: start;
    }
    .carousel-container .carousel-track {
        display: flex;
        gap: 16px;
        width: max-content;
        transform: none !important;
    }
    .carousel-container .carousel-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x;
    }
    .carousel-container .carousel-viewport::-webkit-scrollbar {
        display: none;
    }
    .carousel-container .carousel-btn {
        display: none;
    }

    #leaders-grid .product-card {
        min-height: 180px;
    }

    #leaders-grid .product-card__body {
        padding: 14px;
    }

    #leaders-grid .product-card__title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    #leaders-grid .product-card__desc {
        font-size: 12px;
        margin-bottom: 10px;
    }

    /* Disable transforms on mobile for performance */
    .catalog__card:hover,
    .product-card:hover,
    .traverses__feature:hover,
    .services__item:hover,
    .documents__item:hover,
    .catalog__subcategory-link:hover {
        transform: none;
    }
}

/* ===== Mobile (< 480px) ===== */
@media (max-width: 480px) {
    html,
    body {
        overflow-x: hidden;
    }

    /*
     * Carousel: hide buttons, use native scroll-snap for touch
     * JS transform is inactive at ≤768px; user scrolls by swipe
     */
    .carousel-container .carousel-btn {
        display: none;
    }

    .carousel-container .carousel-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        box-sizing: border-box;
        padding: 0 12px;
        touch-action: pan-x;
    }

    .carousel-container .carousel-viewport::-webkit-scrollbar {
        display: none;
    }

    .carousel-container .carousel-track {
        display: flex;
        gap: 12px;
        width: max-content;
        transform: none !important;
    }

    .carousel-container .carousel-track .product-card {
        scroll-snap-align: start;
        flex: 0 0 calc(100vw - 56px);
        min-width: calc(100vw - 56px);
    }

    /* Hero: hide visual composition on mobile (reduces visual noise) */
    .hero__visual {
        display: none;
    }

    /* Reduce secondary images on mobile */
    .traverses__image-wrap {
        display: none;
    }

    .services__image-wrap {
        display: none;
    }

    .production__extra {
        display: none;
    }

    .about__visual {
        display: none;
    }

    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .header__inner {
        gap: 6px;
    }

    .header__logo {
        width: 32px;
        height: 46px;
    }

    .header__brand-name {
        font-size: 13px;
    }

    .header__brand-tagline {
        display: none;
    }

    .header__nav {
        display: contents;
    }

    .header__cta {
        padding: 6px 10px;
        font-size: 12px;
    }

    .header__burger {
        padding: 6px;
    }

    .header__nav .header__menu--open {
        padding: 20px 16px;
    }

    .hero__eyebrow {
        font-size: 12px;
    }

    .hero__title {
        font-size: 36px;
        line-height: 1.02;
        margin-bottom: 18px;
    }

    .hero__lead {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero__cta-row {
        flex-direction: column;
        gap: 10px;
    }

    .hero__btn-primary,
    .hero__btn-secondary {
        width: 100%;
    }

    .hero__visual-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero__card {
        height: 180px;
    }

    .hero__card--main {
        grid-row: span 1;
    }

    .hero__visual-bg {
        display: none;
    }

    .hero__btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 14px;
    }

    .catalog__subcategories {
        margin-bottom: 24px;
    }

    .catalog {
        padding: 56px 0;
    }

    .catalog__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

.catalog__card {
    padding: 28px 28px 20px;
    background: var(--surface);
    border: var(--card-border);
    background: var(--surface);
    border-radius: var(--card-radius);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 1;
}

    .catalog__card-title {
        font-size: 17px;
        line-height: 1.3;
    }

    .catalog__card--primary .catalog__card-title {
        font-size: 20px;
    }

    .catalog__card-chips {
        gap: 6px;
    }

    .catalog__chip {
        font-size: 11px;
        padding: 5px 10px;
    }

    .catalog-page {
        padding: 56px 0;
    }

    .traverses {
        padding: 56px 0;
    }

    .traverses__feature {
        padding: 20px;
    }

    .services {
        padding: 56px 0;
    }

    .services__item {
        padding: 24px;
    }

    .production {
        padding: 56px 0;
    }

    .production__grid {
        gap: 28px;
    }

    .documents {
        padding: 56px 0;
    }

.documents__item {
    padding: 28px;
    background: var(--surface);
    border: var(--card-border);
    background: var(--surface);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 1;
}

    .contacts {
        padding: 56px 0 64px;
    }

    .contacts__grid {
        gap: 24px;
    }

    .contacts__card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contacts__card-item:nth-child(2) .contacts__card-value {
        white-space: normal;
    }

    .contacts__form-wrap {
        padding: 20px;
    }

    .contacts__form textarea {
        min-height: 100px;
    }

    .contacts__form button {
        width: 100%;
        align-self: stretch;
        padding: 14px 24px;
        font-size: 14px;
    }

    .footer {
        padding: 36px 0 24px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer__bottom {
        font-size: 12px;
    }

    #leaders-grid .product-card {
        min-height: 200px;
    }

    #leaders-grid .product-card__body {
        padding: 10px 12px;
    }

    #leaders-grid .product-card__title {
        font-size: 15px;
        margin-bottom: 4px;
    }

    #leaders-grid .product-card__desc {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .products__show-more {
        padding-top: 16px;
        padding-bottom: 8px;
    }

    .products__show-more .hero__btn {
        display: inline-flex;
        width: auto;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== LEADERS ON MOBILE: hide entire block ===== */
@media (max-width: 768px) {
    .leaders {
        display: none;
    }
}




/* ===== MANUAL DARK THEME (html[data-theme="dark"]) ===== */

/* Dark mode CSS variable overrides */
html[data-theme="dark"] {
    --bg-primary: #1A2128;
    --surface: #1E2A33;
    --surface-secondary: #24313A;
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #E8EEF2;
    --text-secondary: #9AA8B4;
    --accent: #C9782A;
    --accent-hover: #D4882E;
    --steel: #7B8D9A;
    --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    --card-border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] body {
    background-color: #1A2128;
    background-image: none;
    color: #B0BEC5;
}

html[data-theme="dark"] .header {
    background: #1E2A33;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .header__brand-name {
    color: #E8EEF2;
}

html[data-theme="dark"] .header__brand-tagline {
    color: #8899A6;
}

html[data-theme="dark"] .header__cta {
    background: #2C3E4A;
    color: #E8EEF2;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .header__burger {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .header__burger span {
    background: #E8EEF2;
}

html[data-theme="dark"] .header__burger--active span {
    background: #E8EEF2;
}

html[data-theme="dark"] .hero__eyebrow {
    color: #8899A6;
}

html[data-theme="dark"] .hero__title {
    color: #E8EEF2;
}

html[data-theme="dark"] .hero__accent-line {
    background: #D4882E;
}

html[data-theme="dark"] .hero__lead {
    color: #9AA8B4;
}

html[data-theme="dark"] .hero__btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 10px 24px rgba(201, 120, 42, 0.35);
}

html[data-theme="dark"] .hero__btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(201, 120, 42, 0.45);
}

html[data-theme="dark"] .hero__btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

html[data-theme="dark"] .hero__btn-secondary:hover {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

html[data-theme="dark"] .hero__card {
    background: #24313A;
    border-color: rgba(255, 255, 255, 0.06);
}

    .hero__card--top,
html[data-theme="dark"] .hero__card--bottom {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .section-title {
    color: #E8EEF2;
}

html[data-theme="dark"] .catalog__intro {
    color: #9AA8B4;
}

html[data-theme="dark"] .catalog__card {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .catalog__card:hover {
    background: #1A2530;
    border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .catalog__card:hover .catalog__card-title {
    color: #FFFFFF;
}

html[data-theme="dark"] .catalog__subcategory-link {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
}

html[data-theme="dark"] .catalog__subcategory-link h3 {
    color: #E8EEF2;
}

html[data-theme="dark"] .catalog__subcategory-link p {
    color: #8899A6;
}

html[data-theme="dark"] .catalog__card-meta {
    color: #7B8D9A;
}

html[data-theme="dark"] .catalog__card-title {
    color: #E8EEF2;
}

html[data-theme="dark"] .catalog__card-desc {
    color: #9AA8B4;
}

html[data-theme="dark"] .catalog__chip {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    color: #9AA8B4;
}

html[data-theme="dark"] .leaders__desc {
    color: #9AA8B4;
}

html[data-theme="dark"] #leaders-grid .product-card {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] #leaders-grid .product-card__sku {
    color: #7B8D9A;
}

html[data-theme="dark"] #leaders-grid .product-card__title {
    color: #E8EEF2;
}

html[data-theme="dark"] #leaders-grid .product-card__desc {
    color: #9AA8B4;
}

html[data-theme="dark"] #leaders-grid .product-card__price {
    color: #7B8D9A;
}

html[data-theme="dark"] .carousel-container .carousel-btn {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.10);
    color: #B0BEC5;
}

html[data-theme="dark"] .carousel-container .carousel-btn:hover {
    background: #24313A;
    border-color: rgba(255, 255, 255, 0.18);
    color: #E8EEF2;
}

html[data-theme="dark"] .products__show-more .hero__btn {
    background: #2C3E4A;
    color: #E8EEF2;
}

html[data-theme="dark"] .traverses__desc {
    color: #9AA8B4;
}

html[data-theme="dark"] .traverses__feature {
    background: transparent;
    border: none;
    box-shadow: none;
}

html[data-theme="dark"] .traverses__feature h4 {
    color: #E8EEF2;
}

html[data-theme="dark"] .traverses__feature p {
    color: #9AA8B4;
}

html[data-theme="dark"] .traverses__feature-num {
    color: #D4882E;
}

html[data-theme="dark"] .traverses__icon {
    color: #7B8D9A;
}

html[data-theme="dark"] .services__item {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .services__item h3 {
    color: #E8EEF2;
}

html[data-theme="dark"] .services__item p {
    color: #9AA8B4;
}

html[data-theme="dark"] .services__meta {
    color: #7B8D9A;
}

html[data-theme="dark"] .services__icon {
    color: #7B8D9A;
}

html[data-theme="dark"] .services__arrow {
    color: #7B8D9A;
}

html[data-theme="dark"] .services__item:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 38px rgba(201, 120, 42, 0.2);
}

html[data-theme="dark"] .services__item:hover .services__icon {
    background: var(--accent);
    color: #FFFFFF;
}

html[data-theme="dark"] .services__icon {
    background: #24313A;
    color: var(--accent);
}

html[data-theme="dark"] .production__list li {
    color: #B0BEC5;
}

html[data-theme="dark"] .production__list li::before {
    background: #7B8D9A;
}

html[data-theme="dark"] .production__list li:hover {
    color: #E8EEF2;
}

html[data-theme="dark"] .documents__item {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .documents__item h3 {
    color: #E8EEF2;
}

html[data-theme="dark"] .documents__item p {
    color: #9AA8B4;
}

html[data-theme="dark"] .documents__meta {
    color: #7B8D9A;
}

html[data-theme="dark"] .documents__icon {
    color: var(--accent);
    background: #24313A;
}

html[data-theme="dark"] .documents__item:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 38px rgba(201, 120, 42, 0.2);
    background: #24313A;
}

html[data-theme="dark"] .documents__item:hover .documents__icon {
    background: var(--accent);
    color: #FFFFFF;
}

html[data-theme="dark"] .documents__arrow {
    color: #7B8D9A;
}

html[data-theme="dark"] .about__meta {
    color: #7B8D9A;
}

html[data-theme="dark"] .about__title {
    color: #E8EEF2;
}

html[data-theme="dark"] .about__lead {
    color: #9AA8B4;
}

html[data-theme="dark"] .about__list-item {
    color: #E8EEF2;
}

html[data-theme="dark"] .about__dot {
    background: #7B8D9A;
}

html[data-theme="dark"] .about__card {
    background: #24313A;
    border-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .about__card--small {
    background: #1E2A33;
}

html[data-theme="dark"] .contacts__card {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .contacts__card-label {
    color: #7B8D9A;
}

html[data-theme="dark"] .contacts__card-value {
    color: #E8EEF2;
}

html[data-theme="dark"] .contacts__card-sub {
    color: #9AA8B4;
}

html[data-theme="dark"] .contacts__form-wrap {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .contacts__form-wrap h3 {
    color: #E8EEF2;
}

html[data-theme="dark"] .contacts__form input,
html[data-theme="dark"] .contacts__form textarea {
    background: #1A2128;
    border-color: rgba(255, 255, 255, 0.10);
    color: #E8EEF2;
}

html[data-theme="dark"] .contacts__form input:focus,
html[data-theme="dark"] .contacts__form textarea:focus {
    border-color: #D4882E;
    background: #1E2A33;
}

html[data-theme="dark"] .contacts__form button {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 10px 24px rgba(201, 120, 42, 0.35);
}

html[data-theme="dark"] .contacts__form button:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(201, 120, 42, 0.45);
}

html[data-theme="dark"] .contacts__consent {
    color: rgba(255, 255, 255, 0.5);
}

html[data-theme="dark"] .footer__col-title {
    color: rgba(255, 255, 255, 0.45);
}

html[data-theme="dark"] .footer__text {
    color: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .footer__link:hover {
    color: var(--accent);
}

html[data-theme="dark"] .footer::before {
    background: var(--accent);
}

html[data-theme="dark"] .footer__bottom {
    color: rgba(255, 255, 255, 0.40);
    border-top-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .header__nav .header__menu--open {
    background: #1E2A33;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .header__nav .header__menu--open a {
    color: #E8EEF2;
}

html[data-theme="dark"] .header__nav a {
    color: #E8EEF2;
}

html[data-theme="dark"] .header__nav a:hover {
    color: #FFFFFF;
}

/* --- New dark mode overrides for refined blocks --- */
html[data-theme="dark"] .documents__text::before {
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    opacity: 0.25;
}

html[data-theme="dark"] .production__list li::before {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 120, 42, 0.15);
}

html[data-theme="dark"] .production__list li:hover::before {
    background: var(--accent-hover);
}

html[data-theme="dark"] .production__caption {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
}

html[data-theme="dark"] .production__extra-caption {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
}

html[data-theme="dark"] .about__divider {
    background: var(--accent);
}

html[data-theme="dark"] .about__card:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 38px rgba(201, 120, 42, 0.2);
}

html[data-theme="dark"] .about__dot {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 120, 42, 0.15);
}

html[data-theme="dark"] .footer__link:hover {
    color: var(--accent);
}

html[data-theme="dark"] .footer::before {
    background: var(--accent);
}

html[data-theme="dark"] .footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .services-page__title {
    color: #E8EEF2;
}

html[data-theme="dark"] .services-page__subtitle {
    color: #9AA8B4;
}

html[data-theme="dark"] .services-page__intro p {
    color: #9AA8B4;
}

html[data-theme="dark"] .services-page__section-title {
    color: #E8EEF2;
}

html[data-theme="dark"] .services-page__list li {
    color: #9AA8B4;
}

html[data-theme="dark"] .services-page__list li::before {
    background: #9AA8B4;
    opacity: 0.4;
}

html[data-theme="dark"] .services-page__list li strong {
    color: #E8EEF2;
}

html[data-theme="dark"] .services-page__steps li::before {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.12);
    color: #E8EEF2;
}

html[data-theme="dark"] .services-page__steps li h3 {
    color: #E8EEF2;
}

html[data-theme="dark"] .services-page__steps li p {
    color: #9AA8B4;
}

html[data-theme="dark"] .services-page__advantage {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .services-page__advantage-title {
    color: #E8EEF2;
}

html[data-theme="dark"] .services-page__advantage-desc {
    color: #9AA8B4;
}

html[data-theme="dark"] .services-page__intro,
html[data-theme="dark"] .services-page__section {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* ===== MISSING PAGE-SPECIFIC DARK-MODE OVERRIDES ===== */

/* --- Product cards (generic — covers catalog category grids, not only leaders) --- */
html[data-theme="dark"] #category-grid .product-card,
html[data-theme="dark"] .products__grid .product-card {
    background-color: #1E2A33;
    background-image: none;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] #category-grid .product-card:hover,
html[data-theme="dark"] .products__grid .product-card:hover {
    background-color: #24313A;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.14);
}
html[data-theme="dark"] .product-card:hover {
    border-color: var(--accent);
    background: #24313A;
    box-shadow: 0 12px 32px rgba(201, 120, 42, 0.25);
    transform: translateY(-3px);
}
html[data-theme="dark"] .product-card__image {
    background: #1A2128;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .product-card:hover .product-card__image {
    background: #24313A;
}
html[data-theme="dark"] .product-card:hover .product-card__title {
    color: #FFFFFF;
}
html[data-theme="dark"] .product-card__title {
    color: #E8EEF2;
}
html[data-theme="dark"] .product-card__sku {
    color: #8899A6;
}
html[data-theme="dark"] .product-card__desc {
    color: #9AA8B4;
}
html[data-theme="dark"] .product-card__meta-item {
    color: #9AA8B4;
}
html[data-theme="dark"] .product-card__meta-item strong {
    color: #E8EEF2;
}
html[data-theme="dark"] .product-card__footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .product-card__price {
    color: #E8EEF2;
}
html[data-theme="dark"] .product-card__price::before {
    background: var(--accent);
}
html[data-theme="dark"] .product-card__price-request {
    color: #8899A6;
}
html[data-theme="dark"] .product-card__price-request::before {
    background: #8899A6;
}
html[data-theme="dark"] .product-card__link {
    color: #7B8D9A;
}
html[data-theme="dark"] .product-card:hover .product-card__link {
    color: var(--accent);
}

/* --- Carousel btn hover (hardcoded light border fix) --- */
html[data-theme="dark"] .carousel-container .carousel-btn:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

/* --- Catalog page: breadcrumbs, back, more, info, placeholder, subcategory --- */
html[data-theme="dark"] .catalog-page {
    background: transparent;
}
html[data-theme="dark"] .breadcrumbs {
    color: #9AA8B4;
}
html[data-theme="dark"] .breadcrumbs a {
    color: #8899A6;
}
html[data-theme="dark"] .breadcrumbs a:hover {
    color: #E8EEF2;
}
html[data-theme="dark"] .breadcrumbs span {
    color: #E8EEF2;
}
html[data-theme="dark"] .catalog__back .hero__link {
    color: #9AA8B4;
}
html[data-theme="dark"] .catalog__back .hero__link:hover {
    color: #E8EEF2;
}
html[data-theme="dark"] .catalog__more {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .catalog__more p {
    color: #9AA8B4;
}
html[data-theme="dark"] .catalog__more-link {
    color: #E8EEF2;
    text-decoration-color: rgba(255, 255, 255, 0.18);
}
html[data-theme="dark"] .catalog__more-link:hover {
    color: #FFFFFF;
    text-decoration-color: #FFFFFF;
}
html[data-theme="dark"] .catalog__info {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .catalog__info p {
    color: #9AA8B4;
}
html[data-theme="dark"] .catalog__placeholder {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.18);
}
html[data-theme="dark"] .catalog__placeholder-icon {
    color: rgba(255, 255, 255, 0.18);
}
html[data-theme="dark"] .catalog__placeholder p {
    color: #9AA8B4;
}
html[data-theme="dark"] .catalog__subcategory h3 {
    color: #E8EEF2;
}
html[data-theme="dark"] .catalog__subcategory p {
    color: #9AA8B4;
}
html[data-theme="dark"] .catalog__subcategory-link {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
}
html[data-theme="dark"] .catalog__subcategory-link:hover {
    background: #24313A;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.30);
}
html[data-theme="dark"] .catalog__subcategory-link h3 {
    color: #E8EEF2;
}
html[data-theme="dark"] .catalog__subcategory-link p {
    color: #8899A6;
}

/* --- Product page: specs, desc, image, docs, spec labels --- */
html[data-theme="dark"] .product-page__specs {
    background: #24313A;
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .product-page__desc h2 {
    color: #E8EEF2;
}
html[data-theme="dark"] .product-page__desc p {
    color: #9AA8B4;
}
html[data-theme="dark"] .product-page__image {
    border-color: rgba(255, 255, 255, 0.10);
    background: #1E2A33;
}
html[data-theme="dark"] .product-page__thumbnail {
    border-color: rgba(255, 255, 255, 0.10);
    background: #1E2A33;
}
html[data-theme="dark"] .product-page__thumbnail:hover,
html[data-theme="dark"] .product-page__thumbnail.is-active {
    border-color: #6BA4C7;
}
html[data-theme="dark"] .product-page__image--placeholder {
    background: #1E2A33;
}
html[data-theme="dark"] .product-page__image--placeholder svg {
    color: rgba(255, 255, 255, 0.20);
}
html[data-theme="dark"] .product-page__docs {
    border-top-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .spec-label {
    color: #7B8D9A;
}
html[data-theme="dark"] .spec-value {
    color: #E8EEF2;
}

/* --- Download blocks --- */
html[data-theme="dark"] .catalog__download {
    background: #24313A;
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .catalog__download:hover {
    border-color: rgba(255, 255, 255, 0.18);
}
html[data-theme="dark"] .catalog__download-text h4 {
    color: #E8EEF2;
}
html[data-theme="dark"] .catalog__download-text p {
    color: #9AA8B4;
}

/* --- Requisites page --- */
html[data-theme="dark"] .requisites__back {
    color: #9AA8B4;
}
html[data-theme="dark"] .requisites__back:hover {
    color: #E8EEF2;
}
html[data-theme="dark"] .requisites__title {
    color: #E8EEF2;
}
html[data-theme="dark"] .requisites__card {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .requisites__row {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .requisites__row dt {
    color: #8899A6;
}
html[data-theme="dark"] .requisites__row dd {
    color: #E8EEF2;
}
html[data-theme="dark"] .requisites__row dd a {
    color: #E8EEF2;
    border-bottom-color: rgba(255, 255, 255, 0.18);
}

/* --- Policy page --- */
html[data-theme="dark"] .policy-page__back {
    color: #9AA8B4;
}
html[data-theme="dark"] .policy-page__back:hover {
    color: #E8EEF2;
}
html[data-theme="dark"] .policy-page__title {
    color: #E8EEF2;
}
html[data-theme="dark"] .policy-page__content h2 {
    color: #E8EEF2;
}
html[data-theme="dark"] .policy-page__content p,
html[data-theme="dark"] .policy-page__content li {
    color: #9AA8B4;
}
html[data-theme="dark"] .policy-page__content strong {
    color: #E8EEF2;
}

/* --- Documents page --- */
html[data-theme="dark"] .documents__back {
    color: #9AA8B4;
}
html[data-theme="dark"] .documents__back:hover {
    color: #E8EEF2;
}
html[data-theme="dark"] .documents__page-title {
    color: #E8EEF2;
}
html[data-theme="dark"] .documents__page-content {
    background: #1E2A33;
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .documents__placeholder {
    color: #9AA8B4;
}
html[data-theme="dark"] .documents__intro {
    color: #9AA8B4;
}
html[data-theme="dark"] .documents__file-link {
    color: #E8EEF2;
    border-bottom-color: rgba(255, 255, 255, 0.10);
}
html[data-theme="dark"] .documents__file-link:hover {
    color: #D4882E;
}
html[data-theme="dark"] .documents__file-link::after {
    color: #9AA8B4;
}
html[data-theme="dark"] .documents__file-link:hover::after {
    color: #D4882E;
}





/* ===== REQUISITES PAGE ===== */
.requisites {
    padding: 80px 0 100px;
}

.requisites__header {
    margin-bottom: 40px;
}

.requisites__back {
    display: inline-block;
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.requisites__back:hover {
    color: var(--text-main);
}

.requisites__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.requisites__card {
    padding: 40px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(31, 42, 51, 0.06);
}

.requisites__list {
    display: grid;
    gap: 24px;
}

.requisites__row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    align-items: baseline;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.requisites__row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.requisites__row dt {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.requisites__row dd {
    font-size: 16px;
    color: var(--text-main);
    margin: 0;
}

.requisites__row dd a {
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.requisites__row dd a:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

/* ===== POLICY PAGE ===== */
.policy-page {
    padding: 80px 0 100px;
}

.policy-page__header {
    margin-bottom: 40px;
}

.policy-page__back {
    display: inline-block;
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.policy-page__back:hover {
    color: var(--text-main);
}

.policy-page__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.policy-page__date {
    font-size: 14px;
    color: var(--text-secondary);
}

.policy-page__content {
    max-width: 780px;
}

.policy-page__content h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    margin: 32px 0 12px;
}

.policy-page__content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.policy-page__content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.policy-page__content li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.policy-page__content a {
    color: var(--accent);
    text-decoration: underline;
}

.policy-page__content a:hover {
    color: var(--accent-hover);
}

.policy-page__content strong {
    color: var(--text-main);
    font-weight: 600;
}

/* ===== DOCUMENTS PAGE ===== */
.documents__page {
    padding: 80px 0 100px;
}

.documents__page-header {
    margin-bottom: 40px;
}

.documents__back {
    display: inline-block;
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.documents__back:hover {
    color: var(--text-main);
}

.documents__page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.documents__page-content {
    padding: 60px 40px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 20px;
    text-align: center;
}

.documents__placeholder {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== DOCUMENTS FILE LIST ===== */
.documents__page-content--list {
    text-align: left;
}
.documents__intro {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 32px;
}
.documents__files {
    display: flex;
    flex-direction: column;
}
.documents__file-link {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s ease;
}
.documents__file-link:last-child {
    border-bottom: none;
}
.documents__file-link:hover {
    color: var(--accent);
}
.documents__file-link::after {
    content: " →";
    color: var(--text-secondary);
    font-weight: 400;
    transition: color 0.2s ease;
}
.documents__file-link:hover::after {
    color: var(--accent);
}

/* ===== DOCUMENTS LINK STYLES ===== */
a.documents__item {
    text-decoration: none;
    color: inherit;
}

a.documents__item:hover {
    text-decoration: none;
}

/* ===== REQUISITES MOBILE ===== */
@media (max-width: 768px) {
    .requisites {
        padding: 60px 0 80px;
    }

    .requisites__title {
        font-size: 26px;
    }

    .requisites__card {
        padding: 24px;
    }

    .requisites__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .requisites__row dt {
        font-size: 14px;
    }

    .requisites__row dd {
        font-size: 15px;
    }

    .documents__page {
        padding: 60px 0 80px;
    }

    .documents__page-title {
        font-size: 26px;
    }

    .documents__page-content {
        padding: 40px 24px;
    }

    .documents__placeholder {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .requisites__title {
        font-size: 22px;
    }

    .requisites__card {
        padding: 20px;
    }

    .documents__page-title {
        font-size: 22px;
    }

    .documents__page-content {
        padding: 32px 20px;
    }
}

