:root {
    --red: #bf1e2e;
    --dark: #313133;
    --text: #4b4b4b;
    --muted: #f3f3f3;
    --white: #ffffff;
    --max: 960px;
    --shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    background: var(--white);
}

body.nav-open,
body.gallery-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.1);
}

.site-header__inner {
    width: min(var(--max), calc(100% - 40px));
    min-height: 92px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-logo {
    flex: 0 0 auto;
}

.site-logo img,
.custom-logo {
    width: 181px;
    height: auto;
}

.primary-nav__list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav li {
    position: relative;
}

.primary-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 15px;
    color: #525252;
    font-weight: 700;
    letter-spacing: 0;
}

.primary-nav .menu-item-has-children > a::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 8px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    order: 2;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 6px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--red);
    transition: transform 180ms ease;
}

.primary-nav li:hover > a::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current-menu-ancestor > a::after {
    transform: scaleX(1);
}

.primary-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #fafafa;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 160ms ease;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-nav .sub-menu a {
    min-height: 0;
    padding: 11px 18px;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background:
        linear-gradient(var(--dark), var(--dark)) center 14px / 22px 2px no-repeat,
        linear-gradient(var(--dark), var(--dark)) center 21px / 22px 2px no-repeat,
        linear-gradient(var(--dark), var(--dark)) center 28px / 22px 2px no-repeat,
        rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(49, 49, 51, 0.18);
    cursor: pointer;
    z-index: 80;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: var(--dark);
}

.hero,
.page-hero {
    position: relative;
    isolation: isolate;
    min-height: 560px;
    display: grid;
    align-items: center;
    color: var(--white);
    background: center / cover no-repeat var(--hero-bg);
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.35);
}

.hero__content {
    text-align: center;
    padding: 110px 0 88px;
}

.hero h1 {
    max-width: 920px;
    margin: 0 auto 22px;
    color: var(--white);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 36px;
    line-height: 1.12;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.hero__text {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.hero__text a {
    color: var(--white);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.page-hero {
    min-height: 265px;
    text-align: center;
    background: linear-gradient(90deg, #bf1e2e 0%, #6b000c 100%);
}

.page-hero h1 {
    margin: 0;
    font-family: Montserrat, Arial, sans-serif;
    color: var(--white);
    font-size: 48px;
    line-height: 1.15;
}

.section {
    padding: 48px 0;
}

.section--muted {
    background: var(--muted);
}

.section--dark {
    background: var(--dark);
    color: var(--white);
}

.section-title,
.rte h1,
.rte h2,
.split h2,
.contact-layout h2,
.suppliers h2 {
    margin: 0 0 24px;
    color: var(--text);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 24px;
    line-height: 1.25;
}

.section-title--center {
    text-align: center;
}

.rte p {
    margin: 0 0 16px;
}

.rte ul,
.rte ol {
    padding-left: 24px;
}

.rte strong {
    font-weight: 800;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

.split--image-right .split__media {
    order: 2;
}

.split__media {
    margin: 0;
}

.split__media img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 610px;
    margin: 0 auto;
    height: auto;
}

.button,
.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border: 0;
    border-radius: 0;
    background: var(--red);
    color: var(--white);
    font-weight: 800;
    cursor: pointer;
}

.button:hover,
.wpcf7-submit:hover {
    background: var(--red);
    color: var(--white);
}

.wpcf7-submit {
    min-width: 118px;
    color: var(--white);
    opacity: 1;
    transition: background-color 160ms ease, color 160ms ease;
}

.wpcf7-submit:hover,
.wpcf7-submit:focus-visible {
    color: var(--white) !important;
    -webkit-text-fill-color: var(--white);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34);
}

.button--light {
    background: var(--white);
    color: var(--red);
}

.facebook-icon-link {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin: 22px auto 0;
    background: center / contain no-repeat;
}

.feature-band {
    padding: 44px 0;
    background: var(--red);
    color: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature {
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
    font-weight: 800;
}

.feature__icon {
    width: 60px;
    height: 60px;
}

.feature__icon svg,
.feature__icon svg * {
    fill: #ffffff !important;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 34px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.product-tile {
    display: grid;
    justify-items: center;
    gap: 18px;
    min-height: 170px;
    padding: 18px;
    color: #111111;
    text-align: center;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.product-tile:hover .product-tile__icon {
    transform: scale(0.94);
}

.product-tile__icon {
    width: 100px;
    height: 100px;
    transition: transform 180ms ease;
}

.suppliers {
    text-align: center;
}

.logo-strip {
    overflow: hidden;
    margin-top: 24px;
}

.logo-strip__track {
    display: flex;
    width: max-content;
    gap: 18px;
    animation: siluma-logo-marquee 34s linear infinite;
}

.logo-strip:hover .logo-strip__track {
    animation-play-state: paused;
}

.logo-strip__item {
    width: 210px;
    min-height: 112px;
    flex: 0 0 210px;
    display: grid;
    place-items: center;
    padding: 18px;
    background: var(--white);
}

@keyframes siluma-logo-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 9px));
    }
}

.logo-strip img {
    max-height: 78px;
    width: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-grid figure {
    margin: 0;
    overflow: hidden;
    background: var(--muted);
}

.gallery-grid__button {
    display: block;
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: zoom-in;
}

.gallery-grid img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    transition: transform 180ms ease;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 54px 76px;
    background: rgba(0, 0, 0, 0.86);
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox__stage {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.gallery-lightbox__image {
    max-width: min(1100px, 100%);
    max-height: calc(100vh - 120px);
    object-fit: contain;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
    cursor: pointer;
    user-select: none;
}

.gallery-lightbox__close,
.gallery-lightbox__prev,
.gallery-lightbox__next {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.gallery-lightbox__close {
    top: 20px;
    right: 20px;
}

.gallery-lightbox__prev {
    left: 20px;
}

.gallery-lightbox__next {
    right: 20px;
}

.gallery-lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0;
}

.gallery-grid figure:hover img {
    transform: scale(1.04);
}

.cta-form {
    padding: 54px 0;
    background: var(--white);
    color: var(--text);
}

.cta-form__inner,
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 42px;
    align-items: start;
}

.cta-form h2,
.cta-form .rte,
.cta-form .rte h2 {
    color: var(--text);
}

.form-shell,
.contact-form {
    padding: 28px;
    border: 1px solid rgba(190, 30, 45, 0.32);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.contact-card {
    padding-right: 20px;
}

.contact-card a:not(.button),
.site-footer a {
    text-decoration: underline;
}

.contact-facebook {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-top: 12px;
    text-decoration: none !important;
}

.contact-facebook img {
    display: block;
    width: 50px;
    height: 50px;
}

.wpcf7 form {
    display: grid;
    gap: 14px;
}

.wpcf7 p {
    margin: 0;
}

.wpcf7 label {
    display: grid;
    gap: 4px;
    font-weight: 700;
}

.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 0;
    border: 0;
    border-bottom: 2px solid var(--red);
    border-radius: 0;
    background: transparent;
    color: inherit;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #9b9b9b;
    opacity: 1;
}

.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

.guarantee {
    padding: 38px 0;
    background: var(--red);
    color: var(--white);
    text-align: center;
    font-size: 18px;
    font-weight: 800;
}

.site-footer {
    background: #333333;
    color: var(--white);
}

.map-section {
    position: relative;
    min-height: 360px;
    background: #e5e3df;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

.map-section__link {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    padding: 10px 16px;
    background: #ffffff;
    color: var(--red);
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.site-footer__inner {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.site-footer p {
    margin: 5px 0;
}

.footer-social {
    display: inline-flex;
    margin-top: 12px;
}

.site-footer__bottom {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 13px;
}

@media (max-width: 900px) {
    .site-header__inner {
        min-height: 78px;
    }

    .nav-toggle {
        display: block !important;
        position: fixed;
        top: 17px;
        right: 16px;
        transform: none;
    }

    .primary-nav {
        position: fixed;
        inset: 78px 0 0;
        padding: 20px;
        background: var(--white);
        transform: translateX(100%);
        transition: transform 200ms ease;
        overflow-y: auto;
    }

    body.nav-open .primary-nav {
        transform: translateX(0);
    }

    .primary-nav__list {
        display: block;
    }

    .primary-nav a {
        justify-content: space-between;
        min-height: 48px;
        padding: 8px 0;
    }

    .primary-nav .menu-item-has-children > a::before {
        margin-left: auto;
    }

    .primary-nav a::after {
        display: none;
    }

    .primary-nav .sub-menu {
        position: static;
        min-width: 0;
        padding: 0 0 0 18px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

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

    .hero__text {
        font-size: 20px;
    }

    .split,
    .cta-form__inner,
    .contact-layout,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .split--image-right .split__media {
        order: initial;
    }

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

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

@media (max-width: 560px) {
    .container,
    .site-header__inner,
    .site-footer__inner {
        width: min(100% - 28px, var(--max));
    }

    .site-logo img,
    .custom-logo {
        width: 150px;
    }

    .hero {
        min-height: 520px;
    }

    .hero__content {
        padding: 82px 0 62px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 28px;
    }

    .hero__text {
        font-size: 17px;
        line-height: 1.35;
    }

    .page-hero {
        min-height: 210px;
    }

    .section {
        padding: 38px 0;
    }

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

    .product-tile {
        min-height: 142px;
        font-size: 20px;
    }

    .gallery-grid img {
        height: 230px;
    }

    .gallery-lightbox {
        padding: 54px 18px;
    }

    .gallery-lightbox__prev,
    .gallery-lightbox__next {
        bottom: 20px;
        top: auto;
    }
}
