/* Generated by scripts/build-theme-css.mjs. Do not edit directly. */

/* Source: contact-map-real.css */
.contact-map {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: #e8e5df;
    border: 1px solid var(--line);
    border-radius: 20px;
    isolation: isolate;
}

.contact-map::before,
.contact-map::after {
    display: none;
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(.72) contrast(.96);
}

.contact-map .map-label {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    width: min(340px, calc(100% - 48px));
    padding: 22px;
    color: var(--black);
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(24, 25, 27, .1);
    border-radius: 14px;
    box-shadow: 0 18px 55px rgba(24, 25, 27, .15);
    backdrop-filter: blur(14px);
}

.map-label-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #72757a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.map-label-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
}

.contact-map .map-label strong {
    display: block;
    max-width: 260px;
    margin-bottom: 18px;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.map-route-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
    font-size: 13px;
    font-weight: 700;
}

.map-route-link span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #fff;
    background: var(--red);
    border-radius: 50%;
}

.map-route-link:hover {
    color: var(--red);
}

@media (max-width: 700px) {
    .contact-map {
        min-height: 450px;
        border-radius: 16px;
    }

    .contact-map .map-label {
        left: 14px;
        bottom: 14px;
        width: calc(100% - 28px);
        padding: 18px;
    }

    .contact-map .map-label strong {
        margin-bottom: 14px;
        font-size: 20px;
    }
}

/* Source: gates-section.css */
.gates-story {
    background: #fff;
}

.gates-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(38px, 6vw, 82px);
    align-items: stretch;
}

.gates-story-visual {
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(0deg, rgba(16, 19, 18, .62), rgba(16, 19, 18, .04) 64%),
        url('../img/garage-story-4x5.png') center / cover no-repeat;
    overflow: hidden;
}

.gates-story-visual::before {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: inherit;
    content: '';
    pointer-events: none;
}

.gates-story-code {
    position: absolute;
    top: 26px;
    left: 26px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    background: rgba(32, 33, 36, .48);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
}

.gates-story-code::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    content: '';
}

.gates-story-caption {
    position: absolute;
    right: 26px;
    bottom: 26px;
    left: 26px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
}

.gates-story-caption strong,
.gates-story-caption span {
    display: block;
}

.gates-story-caption strong {
    max-width: 420px;
    font-size: clamp(21px, 2.6vw, 34px);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.gates-story-caption span {
    color: rgba(255, 255, 255, .64);
    font-size: 10px;
    text-align: right;
}

.gates-story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
}

.gates-story-content h2 {
    margin: 0;
    font-size: clamp(42px, 5.3vw, 74px);
    font-weight: 600;
    letter-spacing: -.065em;
    line-height: .94;
}

.gates-story-lead {
    max-width: 590px;
    margin: 28px 0 34px;
    color: var(--muted);
    font-size: 16px;
}

.gate-types {
    border-top: 1px solid var(--line);
}

.gate-type {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 92px;
    border-bottom: 1px solid var(--line);
    transition: padding .2s ease, color .2s ease;
}

.gate-type:hover {
    padding-left: 8px;
    color: var(--accent);
}

.gate-type-index {
    color: #b5b5b5;
    font-size: 10px;
    font-weight: 800;
}

.gate-type strong,
.gate-type small {
    display: block;
}

.gate-type strong {
    color: var(--ink);
    font-size: 15px;
    letter-spacing: -.02em;
}

.gate-type small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.gate-type-arrow {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--canvas);
    color: var(--ink);
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.gate-type:hover .gate-type-arrow {
    background: var(--accent);
    color: #fff;
    transform: translateX(3px);
}

.gates-story-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 34px;
}

.gates-story-note {
    max-width: 245px;
    color: var(--muted);
    font-size: 10px;
}

@media (max-width: 980px) {
    .gates-story-grid {
        grid-template-columns: 1fr;
    }

    .gates-story-visual {
        min-height: 520px;
    }

    .gates-story-content {
        padding-bottom: 0;
    }
}

@media (max-width: 620px) {
    .gates-story-visual {
        min-height: 380px;
        background-position: 67% center;
    }

    .gates-story-code {
        top: 18px;
        left: 18px;
    }

    .gates-story-caption {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .gates-story-caption span {
        display: none;
    }

    .gates-story-content h2 {
        font-size: clamp(40px, 12vw, 57px);
    }

    .gates-story-lead {
        margin: 22px 0 28px;
        font-size: 14px;
    }

    .gate-type {
        grid-template-columns: 32px 1fr auto;
    }

    .gates-story-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gates-story-actions .btn {
        width: 100%;
    }

    .gates-story-note {
        max-width: none;
        text-align: center;
    }
}

/* Source: gates-image.css */
.gates-story-visual {
    min-height: 0;
    aspect-ratio: 4 / 5;
    background:
        linear-gradient(0deg, rgba(16, 19, 18, .58), rgba(16, 19, 18, .02) 62%),
        var(--story-list-image, url('../img/garage-story-4x5.png')) center / cover no-repeat;
}

@media (max-width: 980px) {
    .gates-story-visual {
        min-height: 0;
    }
}

@media (max-width: 620px) {
    .gates-story-visual {
        min-height: 0;
        background-position: center;
    }
}

/* Source: gate-static-list.css */
.gate-type {
    cursor: default;
}

.gate-type:hover {
    padding-left: 0;
    color: inherit;
}

.gate-type:hover strong {
    color: var(--ink);
}

.gates-story-actions .btn {
    text-align: center;
}

/* Source: gate-product-links.css */
.gate-type[href] {
    position: relative;
    padding-right: 2px;
    cursor: pointer;
}

.gate-type[href]:hover {
    padding-left: 8px;
    color: var(--accent);
}

.gate-type[href]:hover strong {
    color: var(--accent);
}

.gate-type[href]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.gate-type[href] .gate-type-arrow {
    font-size: 15px;
}

/* Source: gates-layout-fix.css */
.gates-story-grid {
    align-items: start;
}

.gates-story-grid > *,
.gates-story-content {
    min-width: 0;
}

.gates-story-visual {
    width: 100%;
    max-width: 100%;
    align-self: start;
}

.gates-story-actions {
    min-width: 0;
}

.gates-story-actions .btn {
    max-width: 100%;
    height: auto;
    min-height: 52px;
    white-space: normal;
    line-height: 1.25;
}

@media (max-width: 980px) {
    .gates-story-visual {
        width: min(100%, 600px);
        margin-inline: auto;
    }
}

@media (max-width: 620px) {
    .gates-story-visual {
        width: 100%;
    }
}

/* Source: automation-brands.css */
.automation-brands-section {
    background: #f2f2f2;
}

.automation-brands-grid {
    display: grid;
    grid-template-columns: repeat(var(--logo-showcase-count, 4), minmax(0, 1fr));
    gap: 16px;
}

.automation-brand-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}

.automation-brand-index {
    color: #a4a4a4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.automation-brand-logo {
    min-height: 150px;
    display: grid;
    place-items: center;
    margin: 18px 0 20px;
    border-radius: 18px;
    background: #f7f7f7;
}

.automation-brand-logo img {
    width: min(190px, 82%);
    max-height: 72px;
    object-fit: contain;
}

.automation-brand-card h3 {
    margin: auto 0 8px;
    font-size: 22px;
    letter-spacing: -.035em;
}

.automation-brand-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.automation-brands-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 26px;
    padding: 30px 34px;
    border-radius: 24px;
    background: var(--ink);
    color: #fff;
}

.automation-brands-cta strong,
.automation-brands-cta span {
    display: block;
}

.automation-brands-cta strong {
    font-size: clamp(22px, 2.5vw, 34px);
    letter-spacing: -.04em;
}

.automation-brands-cta span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .6);
    font-size: 11px;
}

@media (max-width: 980px) {
    .automation-brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .automation-brands-grid {
        grid-template-columns: 1fr;
    }

    .automation-brand-card {
        min-height: 300px;
    }

    .automation-brands-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .automation-brands-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* Source: automation-brands-clickable.css */
a.automation-brand-card {
    position: relative;
    min-height: 300px;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a.automation-brand-card::after {
    position: absolute;
    right: 26px;
    bottom: 24px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    content: "↗";
    font-size: 15px;
}

a.automation-brand-card:hover {
    border-color: rgba(217, 28, 30, .45);
    box-shadow: 0 18px 45px rgba(32, 33, 36, .1);
    transform: translateY(-4px);
}

a.automation-brand-card h3 {
    margin: auto 52px 0 0;
}

.automation-catalog-card .product-media img {
    width: min(220px, 76%);
    height: auto;
    max-height: 100px;
    padding: 0;
}

.automation-catalog-card .product-media {
    display: grid;
    place-items: center;
}

@media (prefers-reduced-motion: reduce) {
    a.automation-brand-card {
        transition: none;
    }
}

/* Source: mega-menu.css */
@media (min-width: 1081px) {
    .header-inner {
        position: relative;
    }

    .nav-catalog--mega {
        position: static;
    }

    .nav-catalog[open] > summary {
        color: var(--accent-deep);
    }

    .nav-catalog[open] > summary::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .nav-catalog--mega > .mega-menu {
        display: block;
        z-index: 120;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        width: 100%;
        padding: 34px 38px 38px;
        border: 1px solid rgba(23, 25, 28, .07);
        border-radius: 8px;
        box-shadow: 0 24px 60px rgba(23, 25, 28, .14);
        transform: none;
    }

    .nav-catalog--dropdown > .mega-menu {
        width: min(420px, calc(100vw - 48px));
        grid-template-columns: 1fr;
    }
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 34px 42px;
}

.mega-menu-group {
    min-width: 0;
}

.mega-menu-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.mega-menu-heading:hover,
.mega-menu-heading:focus-visible,
.mega-menu-links a:hover,
.mega-menu-links a:focus-visible {
    color: var(--accent-deep);
}

.mega-menu-icon {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    color: var(--accent-deep);
}

.mega-menu-icon img,
.mega-menu-icon svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.mega-menu-links {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.mega-menu-links a {
    width: fit-content;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.35;
}

.mega-menu-group > p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 1240px) and (min-width: 1081px) {
    .mega-menu-grid {
        gap: 28px;
    }
}

@media (max-width: 1080px) {
    .mobile-nav-subgroup {
        border-bottom: 1px solid #eeeeec;
    }

    .mobile-nav-subgroup > summary {
        min-height: 48px;
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr) 18px;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        font-size: 14px;
        font-weight: 750;
        list-style: none;
        cursor: pointer;
    }

    .mobile-nav-subgroup > summary::-webkit-details-marker {
        display: none;
    }

    .mobile-nav-subgroup > summary img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .mobile-nav-subgroup > summary svg {
        width: 18px;
        height: 18px;
        transition: transform 160ms ease;
    }

    .mobile-nav-subgroup[open] > summary svg {
        transform: rotate(180deg);
    }

    .mobile-nav-subgroup-links {
        display: grid;
        padding: 0 0 10px 34px;
    }

    .mobile-nav-subgroup-links a {
        padding: 8px 0;
        border: 0;
        color: var(--ink-soft);
        font-size: 13px;
    }

    .mobile-nav-subgroup-links .mobile-nav-group-all {
        color: var(--accent-deep);
        font-weight: 750;
    }

    .mobile-nav-children > a {
        grid-template-columns: 24px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
    }

    .mobile-nav-children > a > img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }
}
