:root {
    --bg-dark: #161A20;
    --bg-dark-soft: #202630;
    --bg-light: #F4F6F8;

    --text-dark: #171B21;
    --text-light: #FFFFFF;
    --text-muted: #6D7580;

    --accent: #246BFD;
    --accent-hover: #1852CA;

    --border: #D8DDE4;

    --container: 1280px;

    --header-height: 86px;
}


/* Reset */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background: var(--bg-light);

    color: var(--text-dark);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;
}


img {
    display: block;

    max-width: 100%;
}


a {
    color: inherit;

    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


/* Layout */

.container {
    width:
        min(calc(100% - 48px),
            var(--container));

    margin-inline: auto;
}


/* Header */

.site-header {
    position: sticky;
    top: 0;

    z-index: 1000;

    background: var(--bg-dark);

    color: var(--text-light);

    border-bottom:
        1px solid rgba(255, 255, 255, .06);
}


.header-inner {
    min-height: var(--header-height);

    display: flex;

    align-items: center;

    gap: 42px;
}


.site-logo {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-right: auto;
}


.site-logo-mark {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    background: var(--accent);

    font-size: 15px;

    font-weight: 800;

    letter-spacing: .05em;
}


.site-logo-text {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.site-logo-text strong {
    font-size: 14px;

    line-height: 1;

    letter-spacing: .08em;
}


.site-logo-text small {
    color: #8F98A5;

    font-size: 10px;

    letter-spacing: .15em;
}


.main-nav {
    height: var(--header-height);

    display: flex;
    align-items: center;

    gap: 30px;
}


.main-nav a {
    color: #D8DCE2;

    font-size: 14px;

    transition:
        color .2s ease;
}


.main-nav a:hover {
    color: var(--accent) !important;
}


.language-switch {
    display: flex;

    gap: 10px;

    font-size: 13px;
}


.language-switch a {
    color: #8F98A5;
}


.language-switch span {
    color: #FFFFFF;
}

/* Active navigation */

.main-nav a.is-active {
    color: var(--accent);
}


.mobile-nav a.is-active {
    color: var(--accent);
}


.language-switch .is-active {
    color: var(--accent);

    font-weight: 700;
}


/* Mobile language switch */

.mobile-language-switch {
    display: flex;

    align-items: center;

    gap: 18px;

    padding-top: 20px;
    margin-top: 10px;

    border-top:
        1px solid rgba(255, 255, 255, .08);

    font-size: 13px;

    font-weight: 700;
}


.mobile-language-switch a {
    padding: 0;

    border: 0;

    color: #8F98A5;
}


.mobile-language-switch a:hover {
    color: #FFFFFF;
}


.mobile-language-switch .is-active {
    color: var(--accent);
}

/* Mobile menu */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 10px;

    border:
        1px solid #343A43;

    background: transparent;

    cursor: pointer;
}



.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: #FFFFFF;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform:
        translateY(7px) rotate(45deg);
}


.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}


.menu-toggle.is-active span:nth-child(3) {
    transform:
        translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;

    background: var(--bg-dark-soft);

    border-top: 1px solid #303640;
}


.mobile-nav-inner {
    display: flex;

    flex-direction: column;

    padding-top: 16px;
    padding-bottom: 20px;
}


.mobile-nav a {
    padding: 12px 0;

    color: #FFFFFF;

    border-bottom:
        1px solid rgba(255, 255, 255, .08);
}

.mobile-nav a:hover {
    color: var(--accent);
}


@media (max-width: 980px) {

    .main-nav {
        display: none;
    }


    .menu-toggle {
        display: block;
    }


    .mobile-nav.is-open {
        display: block;
    }

}


@media (min-width: 981px) {

    .mobile-nav {
        display: none !important;
    }


    .menu-toggle {
        display: none;
    }

}

.mobile-language-switch {
    display: flex;

    gap: 14px;

    padding-top: 18px;
    margin-top: 8px;

    font-size: 13px;

    border-top:
        1px solid rgba(255, 255, 255, .08);
}


.mobile-language-switch a {
    color: #8F98A5;
}


.mobile-language-switch span {
    color: #FFFFFF;

    font-weight: 700;
}

/* Catalog mega menu */

.nav-item {
    position: relative;
}


.nav-item--products {
    height: 100%;

    display: flex;
    align-items: center;
}


.nav-item--products>.nav-link {
    height: 100%;

    display: flex;
    align-items: center;

    cursor: pointer;
}

.nav-link {
    display: flex;

    align-items: center;

    gap: 6px;
}


.nav-link__chevron {
    position: relative;

    top: -1px;

    color: #7F8996;

    font-size: 12px;

    transition:
        transform .2s ease;
}


.nav-item--products.is-open .catalog-menu,
.nav-item--products:focus-within .catalog-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-item--products.is-open .nav-link__chevron,
.nav-item--products:focus-within .nav-link__chevron {
    transform: rotate(180deg);
}

.catalog-menu {
    position: fixed;

    top: var(--header-height);
    left: 0;
    right: 0;

    padding: 36px 0 0;

    background: var(--bg-dark-soft);

    border-top:
        1px solid rgba(255, 255, 255, .06);

    border-bottom:
        1px solid rgba(255, 255, 255, .08);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .18s ease,
        visibility .18s ease;
}

.catalog-menu__inner {
    width:
        min(calc(100% - 48px),
            var(--container));

    margin-inline: auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 50px;

    padding-bottom: 36px;
}


.catalog-menu__column {
    min-width: 0;
}


.catalog-menu__category {
    display: block;

    margin-bottom: 20px;

    color: var(--accent);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.catalog-menu__category:hover {
    color: var(--accent);
}

.catalog-menu__category.is-active {
    color: var(--accent);
}


.catalog-menu__items a.is-active {
    color: var(--accent);
    font-weight: 700;
}

.catalog-menu__items {
    display: flex;
    flex-direction: column;

    gap: 0;
}


.catalog-menu__items a {
    padding: 7px 0;

    color: #D1D6DD;

    font-size: 15px;

    transition:
        color .2s ease,
        transform .2s ease;
}


.catalog-menu__items a:hover {
    color: #FFFFFF;

    transform: translateX(4px);
}

.catalog-menu__items a.is-active {
    position: relative;

    color: #FFFFFF;
    font-weight: 700;
}


.catalog-menu__items a.is-active::before {
    content: "";

    position: absolute;

    left: -14px;
    top: 50%;

    width: 6px;
    height: 6px;

    background: var(--accent);

    transform: translateY(-50%);
}

.catalog-menu__footer {
    padding:
        18px max(24px,
            calc((100vw - var(--container)) / 2));

    background: #181D24;

    border-top:
        1px solid rgba(255, 255, 255, .06);
}


.catalog-menu__footer a {
    color: var(--accent);

    font-size: 13px;

    font-weight: 700;
}

.catalog-menu__footer a:hover {
    color: var(--accent-hover) !important;

}

@media (max-width: 980px) {

    .catalog-menu {
        display: none;
    }

}

/* Footer */

.site-footer {
    margin-top: 100px;

    padding-top: 64px;

    background: var(--bg-dark);

    color: var(--text-light);
}


.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 50px;
}


.footer-logo {
    margin-bottom: 16px;

    font-size: 18px;

    font-weight: 700;
}


.footer-brand p {
    max-width: 360px;

    color: #929AA6;

    line-height: 1.7;
}


.footer-title {
    margin-bottom: 20px;

    color: #FFFFFF;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .08em;
}


.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}


.footer-column a {
    color: #929AA6;

    font-size: 14px;
}


.footer-column a:hover {
    color: #FFFFFF;
}


.footer-bottom {
    margin-top: 56px;

    padding:
        24px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid rgba(255, 255, 255, .08);

    color: #737C88;

    font-size: 13px;
}


/* Responsive */

@media (max-width: 980px) {

    .main-nav {
        display: none;
    }


    .menu-toggle {
        display: block;
    }


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

}


@media (max-width: 640px) {

    .container {
        width:
            min(calc(100% - 32px),
                var(--container));
    }


    .site-logo-text strong {
        font-size: 12px;
    }


    .language-switch {
        display: none;
    }


    .footer-grid {
        grid-template-columns: 1fr;
    }


    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;
    }

}

/* Common */

.section {
    padding: 110px 0;
}


.eyebrow {
    margin-bottom: 20px;

    color: var(--accent);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .16em;

    text-transform: uppercase;
}


.eyebrow-light {
    color: #8DAFFF;
}


.section-heading {
    max-width: 760px;

    margin-bottom: 48px;
}


.section-heading h2,
.supply-preview h2,
.company-preview h2,
.cta-section h2 {
    margin: 0;

    font-size: clamp(36px,
            2vw,
            72px);

    line-height: 1.05;

    letter-spacing: -.04em;
}


.section-lead {
    margin-top: 0;

    color: var(--text-muted);

    font-size: 19px;

    line-height: 1.75;
}


.button {
    min-height: 50px;

    padding: 0 24px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 1px solid transparent;

    font-size: 14px;

    font-weight: 700;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}


.button-primary {
    background: var(--accent);

    color: #FFFFFF;
}


.button-primary:hover {
    background: var(--accent-hover);
}


.button-secondary {
    border-color: #434A54;

    color: #FFFFFF;
}


.button-secondary:hover {
    border-color: #FFFFFF;
}


.text-link {
    display: inline-block;

    margin-top: 18px;

    color: var(--accent);

    font-weight: 700;
}


/* Hero */

.hero {
    background: var(--bg-dark);

    color: #FFFFFF;
}


.hero-grid {
    min-height:
        calc(100vh - var(--header-height));

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr) minmax(360px, .75fr);

    align-items: stretch;
}


.hero-content {
    padding:
        110px 80px 110px 0;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.hero h1 {
    max-width: 850px;

    margin:
        0 0 32px;

    font-size:
        clamp(64px,
            3vw,
            126px);

    line-height: .87;

    letter-spacing: -.07em;

    text-transform: uppercase;
}


.hero h1 span {
    display: block;

    color: var(--accent);
}


.hero-lead {
    max-width: 680px;

    margin:
        0 0 40px;

    color: #A7AFBA;

    font-size: 21px;

    line-height: 1.65;
}


.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


.hero-visual {
    position: relative;

    min-height: 620px;

    overflow: hidden;

    padding: 44px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    background:
        linear-gradient(145deg,
            #246BFD 0%,
            #1A4BAE 100%);
}

/* 
.hero-visual::before {
    content: "";

    position: absolute;

    top: 5%;
    right: 7%;

    width: 420px;
    height: 420px;

    border:
        1px solid rgba(255, 255, 255, .22);

    border-radius: 50%;
}


.hero-visual::after {
    content: "";

    position: absolute;

    right: 15%;
    bottom: 8%;

    width: 220px;
    height: 220px;

    border:
        1px solid rgba(255, 255, 255, .18);

    transform: rotate(45deg);
} */


.hero-visual__label,
/* .hero-visual__number, */
.hero-visual__text {
    position: relative;

    z-index: 2;
}


.hero-visual__label {
    font-size: 11px;

    font-weight: 700;

    letter-spacing: .18em;
}


/* .hero-visual__number {
    align-self: flex-end;

    font-size: 18px;
} */


.hero-visual__text {
    font-size:
        clamp(24px,
            3vw,
            32px);

    line-height: .95;

    font-weight: 700;

    letter-spacing: -.04em;
}

.hero-visual__art {
    position: absolute;
    z-index: 1;
    top: 10%;
    right: 25%;
    width: 100%;
    height: auto;
    /* opacity: .45; */
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-visual__art {
        top: 2%;
        right: 25%;
        width: 100%;
        /* opacity: .25; */
    }
}

/* Directions */

.directions {
    background: #FFFFFF;
}


.direction-grid {
    border-top: 1px solid var(--border);
}


.direction-card {
    min-height: 180px;

    display: grid;

    grid-template-columns:
        100px 1fr auto;

    gap: 30px;

    align-items: center;

    border-bottom:
        1px solid var(--border);

    transition:
        background .2s ease,
        padding .2s ease;
}


.direction-card:hover {
    padding:
        0 24px;

    background:
        var(--bg-light);
}


.direction-card__number {
    color: var(--accent);

    font-size: 13px;

    font-weight: 700;
}


.direction-card h3 {
    margin:
        0 0 10px;

    font-size: 30px;

    letter-spacing: -.03em;
}


.direction-card p {
    max-width: 600px;

    margin: 0;

    color: var(--text-muted);
}


.direction-card__arrow {
    color: var(--accent);

    font-size: 28px;
}


/* Supply */

.supply-preview {
    background: var(--bg-light);
}


.supply-preview__grid,
.company-preview__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) minmax(0, 1fr);

    gap: 80px;

    align-items: start;
}


.supply-steps {
    margin-top: 70px;

    display: grid;

    grid-template-columns:
        repeat(4,
            minmax(0, 1fr));

    border-top:
        1px solid var(--border);
}


.supply-step {
    min-height: 240px;

    padding:
        28px 28px 28px 0;

    border-right:
        1px solid var(--border);
}


.supply-step:last-child {
    border-right: 0;
}


.supply-step span {
    display: block;

    margin-bottom: 70px;

    color: var(--accent);

    font-size: 12px;

    font-weight: 700;
}


.supply-step strong {
    display: block;

    margin-bottom: 12px;

    font-size: 21px;
}


.supply-step p {
    max-width: 230px;

    margin: 0;

    color: var(--text-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* Catalog preview */

.categories-preview {
    background: #FFFFFF;
}


.product-group-grid {
    display: grid;

    grid-template-columns:
        repeat(2,
            minmax(0, 1fr));

    border:
        1px solid var(--border);

    border-bottom: 0;
}


.product-group-card {
    min-height: 220px;

    padding: 32px;

    display: flex;

    flex-direction: column;

    border-right:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    transition:
        background .2s ease,
        color .2s ease;
}


.product-group-card:nth-child(2n) {
    border-right: 0;
}


.product-group-card:hover {
    background: var(--bg-dark);

    color: #FFFFFF;
}


.product-group-card__category {
    margin-bottom: auto;

    color: var(--text-muted);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.product-group-card h3 {
    margin:
        48px 0 22px;

    font-size: 28px;

    line-height: 1.1;

    letter-spacing: -.03em;
}


.product-group-card span {
    color: var(--accent);

    font-size: 14px;

    font-weight: 700;
}


/* Company */

.company-preview {
    background: var(--bg-light);
}


/* CTA */

.cta-section {
    padding: 100px 0;

    background: var(--bg-dark);

    color: #FFFFFF;
}


.cta-section__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr) minmax(0, .8fr);

    gap: 80px;

    align-items: end;
}


.cta-section p {
    max-width: 540px;

    margin:
        0 0 30px;

    color: #A7AFBA;

    font-size: 18px;

    line-height: 1.7;
}


/* Responsive */

@media (max-width: 980px) {

    .hero-grid {
        grid-template-columns: 1fr;
    }


    .hero-content {
        padding-right: 0;
    }


    .hero-visual {
        min-height: 620px;
    }


    .supply-preview__grid,
    .company-preview__grid,
    .cta-section__grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


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


    .supply-step:nth-child(2) {
        border-right: 0;
    }

}


@media (max-width: 640px) {

    .section {
        padding: 80px 0;
    }


    .hero-content {
        padding:
            80px 0;
    }


    .hero h1 {
        font-size: 46px;
    }


    .hero-lead {
        font-size: 18px;
    }


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


    .hero-actions .button {
        width: 100%;
    }


    .direction-card {
        grid-template-columns:
            46px 1fr;

        min-height: 160px;
    }


    .direction-card__arrow {
        display: none;
    }


    .direction-card h3 {
        font-size: 24px;
    }


    .supply-steps {
        grid-template-columns: 1fr;
    }


    .supply-step {
        border-right: 0;

        border-bottom:
            1px solid var(--border);
    }


    .supply-step span {
        margin-bottom: 36px;
    }


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


    .product-group-card,
    .product-group-card:nth-child(2n) {
        border-right: 0;
    }

}

/* Back to top */

.to-top {
    position: fixed;

    right: 28px;
    bottom: 28px;

    z-index: 900;

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    border: 0;

    background: var(--accent);

    color: #FFFFFF;

    font-size: 22px;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(12px);

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease,
        background .2s ease;
}


.to-top:hover {
    background: var(--accent-hover);
}


.to-top.is-visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

@media (max-width: 640px) {

    .to-top {
        right: 16px;
        bottom: 16px;

        width: 44px;
        height: 44px;
    }

}

/* Page hero */

.page-hero {
    padding:
        90px 0;

    background:
        var(--bg-dark);

    color:
        #FFFFFF;
}


.page-hero__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr) minmax(0, .8fr);

    gap:
        80px;

    align-items:
        end;
}


.page-kicker {
    margin-bottom:
        18px;

    color: var(--accent);

    font-size:
        13px;

    text-transform:
        uppercase;

    letter-spacing:
        .12em;
}


.page-hero h1 {
    margin: 0 0 32px;
    font-size: clamp(64px, 3vw, 126px);
    line-height: 1;
    letter-spacing: -.07em;
    text-transform: uppercase;
}

.page-hero h1 span {

    display: block;
    color: var(--accent);
}

.page-lead {
    margin:
        0;

    color:
        #A7AFBA;

    font-size:
        19px;

    line-height:
        1.75;
}


/* Product detail */

.product-detail-grid {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr) 320px;

    gap:
        80px;

    align-items:
        start;
}


.product-detail-main h2 {
    margin:
        0 0 24px;

    font-size:
        clamp(36px,
            5vw,
            58px);

    line-height:
        1.05;

    letter-spacing:
        -.04em;
}


.product-detail-aside {
    padding:
        28px;

    background:
        #FFFFFF;

    border:
        1px solid var(--border);

    display:
        flex;

    flex-direction:
        column;

    gap:
        18px;
}


.product-detail-aside__label {
    color:
        var(--text-muted);

    font-size:
        11px;

    text-transform:
        uppercase;

    letter-spacing:
        .12em;
}


.product-detail-aside strong {
    font-size:
        20px;
}


.product-detail-aside .button {
    margin-top:
        14px;
}


@media (max-width: 900px) {

    .page-hero__grid,
    .product-detail-grid {
        grid-template-columns:
            1fr;

        gap:
            40px;
    }

}

/* Catalog page */

.catalog-page {
    background: #FFFFFF;
}


.catalog-page__list {
    border-top:
        1px solid var(--border);
}


.catalog-category {
    min-height: 300px;

    padding:
        42px 0;

    display: grid;

    grid-template-columns:
        80px minmax(0, 1fr) 180px;

    gap: 40px;

    border-bottom:
        1px solid var(--border);
}


.catalog-category__number {
    padding-top: 7px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .12em;
}


.catalog-category__content {
    max-width: 760px;
}


.catalog-category__title {
    display: inline-block;
}


.catalog-category__title h2 {
    margin:
        0 0 18px;

    font-size:
        clamp(32px,
            3vw,
            46px);

    line-height: 1.05;

    letter-spacing: -.035em;
}


.catalog-category__title:hover h2 {
    color: var(--accent);
}


.catalog-category__description {
    max-width: 620px;

    margin:
        0 0 30px;

    color: var(--text-muted);

    font-size: 17px;

    line-height: 1.7;
}


.catalog-category__items {
    display: flex;

    flex-wrap: wrap;

    gap:
        8px 24px;
}


.catalog-category__items a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--text-dark);

    font-size: 14px;

    font-weight: 600;
}


.catalog-category__items a span {
    color: var(--accent);
}


.catalog-category__items a:hover {
    color: var(--accent);
}


.catalog-category__action {
    display: flex;

    align-items: flex-end;

    justify-content: flex-end;
}


@media (max-width: 980px) {

    .catalog-category {
        grid-template-columns:
            54px minmax(0, 1fr);

        gap: 24px;
    }


    .catalog-category__action {
        grid-column: 2;

        justify-content: flex-start;
    }

}


@media (max-width: 640px) {

    .catalog-category {
        min-height: 0;

        padding:
            32px 0;

        grid-template-columns:
            1fr;

        gap: 12px;
    }


    .catalog-category__number,
    .catalog-category__action {
        grid-column: auto;
    }


    .catalog-category__title h2 {
        font-size: 30px;
    }


    .catalog-category__description {
        font-size: 16px;
    }


    .catalog-category__items {
        flex-direction: column;

        gap: 0;
    }


    .catalog-category__items a {
        padding:
            7px 0;
    }

}

/* --------------------------------------------------
   Pre-footer info
-------------------------------------------------- */

.prefooter-info {
    background: var(--bg-light);

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}


.prefooter-info__grid {
    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 48px;

    align-items: start;
}


.prefooter-info__intro h2 {
    margin:
        0 0 20px;

    max-width: 14ch;

    font-size:
        clamp(28px,
            3vw,
            40px);

    line-height: 1.08;

    letter-spacing: -.035em;
}


.prefooter-info__facts {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.prefooter-info__item {
    min-height: 110px;

    padding:
        22px 24px;

    border:
        1px solid var(--border);

    background: #FFFFFF;
}


.prefooter-info__item span {
    display: block;

    margin-bottom: 10px;

    color: var(--accent);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.prefooter-info__item strong {
    display: block;

    color: var(--text-dark);

    font-size: 18px;

    line-height: 1.45;

    letter-spacing: -.02em;
}

.prefooter-info__item strong a {
    color: inherit;
    text-decoration: none;
}


.prefooter-info__item strong a:hover {
    color: var(--accent);
}



@media (max-width: 980px) {

    .prefooter-info__grid {
        grid-template-columns: 1fr;
    }


    .prefooter-info__facts {
        grid-template-columns: 1fr;
    }

}

/* --------------------------------------------------
   Product media
-------------------------------------------------- */

.product-media {
    padding:
        64px 0 0;

    background:
        var(--bg-light);
}


.product-media__frame {
    overflow: hidden;

    background: #FFFFFF;

    border:
        1px solid var(--border);
}


.product-media__frame img {
    width: 100%;
    height: auto;

    display: block;
}


/* --------------------------------------------------
   Product types
-------------------------------------------------- */

.product-types {
    background: #FFFFFF;
}


.product-types__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    border-top:
        1px solid var(--border);

    border-left:
        1px solid var(--border);
}


.product-type-card {
    min-height: 230px;

    padding: 30px;

    display: grid;

    grid-template-columns:
        46px minmax(0, 1fr);

    gap: 22px;

    border-right:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}


.product-type-card__number {
    padding-top: 4px;

    color: var(--accent);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .12em;
}


.product-type-card h3 {
    margin:
        0 0 14px;

    font-size: 24px;

    line-height: 1.15;

    letter-spacing: -.025em;
}


.product-type-card p {
    max-width: 480px;

    margin: 0;

    color: var(--text-muted);

    font-size: 15px;

    line-height: 1.7;
}


@media (max-width: 760px) {

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


    .product-type-card {
        min-height: 0;
    }

}

/* ==========================================================================
   Product cards
   ========================================================================== */

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


.product-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    background: #fff;

    border: 1px solid var(--border);
}


.product-card__media {
    aspect-ratio: 4 / 3;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: var(--bg-light);

    border-bottom: 1px solid var(--border);

    overflow: hidden;
}


.product-card__media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


.product-card__body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 28px;
}


.product-card__manufacturer {
    margin-bottom: 14px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: var(--accent);
}


.product-card__title {
    margin: 0;

    font-size: 24px;
    line-height: 1.15;

    color: var(--text-dark);
}


.product-card__model {
    margin-top: 10px;

    font-size: 15px;
    font-weight: 700;

    color: var(--text-muted);
}


.product-card__description {
    margin: 20px 0 0;

    line-height: 1.65;

    color: var(--text-muted);
}


.product-card__action {
    margin-top: auto;
    padding-top: 28px;
}


.product-card__request {
    display: inline-flex;
    align-items: center;
}


@media (max-width: 980px) {

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

}


@media (max-width: 640px) {

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


    .product-card__body {
        padding: 24px;
    }


    .product-card__title {
        font-size: 22px;
    }

}

/* ==========================================================================
   Catalog item hero
   ========================================================================== */

.page-hero__item-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) minmax(380px, 0.9fr);

    align-items: center;

    gap: 72px;
}


.page-hero__item-content {
    min-width: 0;
}


.page-hero__item-content .page-lead {
    margin-top: 28px;

    max-width: 720px;
}


.page-hero__item-media {
    min-width: 0;
}


.page-hero__item-frame {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 420px;

    padding: 32px;

    overflow: hidden;
}


.page-hero__item-frame img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 460px;

    object-fit: contain;
}


/* ==========================================================================
   Quick subitem navigation
   ========================================================================== */

.page-hero__subitems {
    margin-top: 36px;
}


.page-hero__subitems-label {
    margin-bottom: 14px;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: var(--text-muted);
}


.page-hero__subitems-list {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


.page-hero__subitems-list a {
    display: inline-flex;
    align-items: center;

    min-height: 38px;

    padding: 8px 13px;

    border: 1px solid var(--border);

    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;

    color: var(--bg-light);

    text-decoration: none;

    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease;
}


.page-hero__subitems-list a:hover {
    border-color: var(--accent);

    color: var(--accent);
}


/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1050px) {

    .page-hero__item-grid {
        grid-template-columns:
            minmax(0, 1fr) minmax(300px, 0.8fr);

        gap: 44px;
    }


    .page-hero__item-frame {
        min-height: 340px;

        padding: 20px;
    }

}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 760px) {

    .page-hero__item-grid {
        grid-template-columns: 1fr;

        gap: 36px;
    }


    .page-hero__item-media {
        order: 2;
    }


    .page-hero__item-frame {
        min-height: auto;

        padding: 0;
    }


    .page-hero__item-frame img {
        max-height: none;
    }


    .page-hero__subitems {
        margin-top: 28px;
    }


    .page-hero__subitems-list {
        gap: 6px;
    }


    .page-hero__subitems-list a {
        font-size: 12px;

        padding: 7px 10px;
    }

}

/* ==========================================================================
   Pre-footer followed by footer
   ========================================================================== */

main:has(> .prefooter-info:last-child)+.site-footer {
    margin-top: 0;
}


/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-hero h1 {
    font-size: clamp(46px, 5vw, 82px);
    text-transform: none;
    letter-spacing: -.05em;
}

.legal-section {
    background: #FFFFFF;
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 820px);
    gap: 80px;
    align-items: start;
}

.legal-nav {
    position: sticky;
    top: calc(var(--header-height) + 28px);

    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 24px;

    border: 1px solid var(--border);
    background: var(--bg-light);
}

.legal-nav__title {
    margin-bottom: 8px;

    color: var(--text-muted);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.legal-nav a {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.legal-nav a:hover {
    color: var(--accent);
}

.legal-content {
    min-width: 0;
}

.legal-content__section+.legal-content__section {
    margin-top: 52px;
    padding-top: 52px;
    border-top: 1px solid var(--border);
}

.legal-content h2 {
    margin: 0 0 22px;

    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.legal-content p,
.legal-content li {
    color: #404750;
    font-size: 16px;
    line-height: 1.8;
}

.legal-content p {
    margin: 0 0 18px;
}

.legal-content ul {
    margin: 18px 0 0;
    padding-left: 22px;
}

.legal-content li+li {
    margin-top: 8px;
}

.legal-content__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .legal-nav {
        position: static;
    }
}


/* ==========================================================================
   404
   ========================================================================== */

.error-page__grid {
    min-height: 520px;

    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 80px;
    align-items: center;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

@media (max-width: 760px) {
    .error-page__grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 36px;
    }
}


/* ==========================================================================
   Universal request form
   ========================================================================== */

body.request-modal-open {
    overflow: hidden;
}

.request-modal {
    position: fixed;
    inset: 0;

    z-index: 3000;

    display: grid;
    place-items: center;

    padding: 24px;
}

.request-modal[hidden] {
    display: none;
}

.request-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(10, 13, 18, .78);
    backdrop-filter: blur(4px);
}

.request-modal__dialog {
    position: relative;
    z-index: 1;

    width: min(100%, 820px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;

    padding: 42px;

    background: #FFFFFF;
    border: 1px solid var(--border);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.request-modal__close {
    position: absolute;
    top: 16px;
    right: 18px;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    color: var(--text-muted);

    font-size: 32px;
    line-height: 1;

    cursor: pointer;
}

.request-modal__close:hover {
    color: var(--text-dark);
}

.request-modal__header {
    padding-right: 44px;
}

.request-modal__header h2 {
    margin: 0;

    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.request-modal__header p {
    max-width: 650px;
    margin: 18px 0 0;

    color: var(--text-muted);
    line-height: 1.7;
}

.request-modal__context {
    margin-top: 28px;
    padding: 18px 20px;

    border-left: 3px solid var(--accent);
    background: var(--bg-light);
}

.request-modal__context span {
    display: block;
    margin-bottom: 4px;

    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.request-modal__context strong {
    font-size: 17px;
    line-height: 1.4;
}

.request-form {
    margin-top: 30px;
}

.request-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.request-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.request-form__field--full {
    grid-column: 1 / -1;
}

.request-form__field>span {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
}

.request-form__field input,
.request-form__field textarea {
    width: 100%;

    border: 1px solid var(--border);
    border-radius: 0;
    outline: none;

    background: #FFFFFF;
    color: var(--text-dark);

    transition: border-color .2s ease, box-shadow .2s ease;
}

.request-form__field input {
    min-height: 50px;
    padding: 0 14px;
}

.request-form__field textarea {
    min-height: 140px;
    padding: 14px;
    resize: vertical;
}

.request-form__field input:focus,
.request-form__field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(36, 107, 253, .1);
}

.request-form__contact-note {
    margin: 14px 0 0;

    color: var(--text-muted);
    font-size: 13px;
}

.request-form__consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;

    margin-top: 24px;

    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.request-form__consent input {
    width: 16px;
    height: 16px;
    margin: 3px 0 0;

    accent-color: var(--accent);
}

.request-form__consent a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.request-form__status {
    min-height: 24px;
    margin-top: 20px;

    font-size: 14px;
    font-weight: 650;
}

.request-form__status.is-error {
    color: #B42318;
}

.request-form__status.is-success {
    color: #16794C;
}

.request-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 18px;
}

.button-ghost {
    border-color: var(--border);
    background: transparent;
    color: var(--text-dark);
}

.button-ghost:hover {
    border-color: var(--text-dark);
}

.request-form__actions button[disabled] {
    opacity: .55;
    cursor: wait;
}

.request-form__honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 640px) {
    .request-modal {
        padding: 0;
        align-items: end;
    }

    .request-modal__dialog {
        width: 100%;
        max-height: 94vh;
        padding: 32px 20px 24px;
    }

    .request-form__grid {
        grid-template-columns: 1fr;
    }

    .request-form__field--full {
        grid-column: auto;
    }

    .request-form__actions {
        flex-direction: column;
    }

    .request-form__actions .button {
        width: 100%;
    }
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.footer-legal a {
    color: #737C88;
}

.footer-legal a:hover {
    color: #FFFFFF;
}

@media (max-width: 640px) {
    .footer-legal {
        justify-content: flex-start;
    }
}