/* Global */
.kxc-section__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 30px;
}

.kxc-banner {
    position: relative;
}

.kxc-banner__link {
    color: white;
    text-decoration: none;
    display: block;
    &:hover,
    &:focus {
        color: white;
        text-decoration: none;
    }
}

.kxc-banner__link[href=""] {
    pointer-events: none;
}

.kxc-banner__figure--overlay:after {
    content: '';
    background-image: linear-gradient(to right, transparent, #202020);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.kxc-banner__image {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.kxc-banner__figure--overlay .kxc-banner__image {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
}

.kxc-banner__content {
    position: relative;
}

.kxc-banner__title {
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    padding-bottom: 12px;

    &:after {
        content: '';
        position: absolute;
        width: 24px;
        height: 3px;
        background: var(--kxl-accent-color);
        bottom: 0;
        left: 0;
    }
}

.kxc-banner__description {
    margin: 16px 0 0;
    font-size: 16px;
    text-wrap: pretty;
}

.kxc-banner__button {
    margin-top: 40px;
}

.kxc-section__grid:before,
.kxc-section__grid:after {
    display: none;
}

.kxc-banner__arrow-down {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    margin: 0;
    padding: 12px;
    color: white;
    cursor: pointer;

    * {
        pointer-events: none;
    }
}

/* Hero */
.kxc-banner--hero {
    min-height: 364px;
}

.kxc-banner--hero .kxc-banner__link {
    padding-block: 50px;
}

.kxc-banner--hero .kxc-banner__content {
    padding-inline: 80px;
    width: fit-content;
    margin-left: auto;
}

.kxc-banner--hero .kxc-banner__title {
    font-size: 36px;
    padding-bottom: 20px;
    &:after {
        width: 100px;
        height: 5px;
    }
}

.kxc-banner--hero .kxc-banner__description {
    margin: 24px 0 0;
    max-width: 420px;
}

.kxc-banner--hero .kxc-banner__button {
    margin-top: 64px;
}

@media (max-width: 991px) {
    .kxc-banner--hero {
        text-align: center;
        min-height: unset;
    }

    .kxc-banner--hero .kxc-banner__content {
        margin-inline: auto;
        padding-inline: 0;
    }

    .kxc-banner--hero .kxc-banner__title {
        &::after {
            right: 0;
            margin-inline: auto;
        }
    }

    .kxc-banner--hero .kxc-banner__description {
        display: none;
    }

    .kxc-banner--hero .kxc-banner__button {
        margin-top: 20px;
    }
}

/* Page Hero */
.kxc-banner--page-hero {
    min-height: 364px;
    display: flex;
    align-items: center;
}

.kxc-banner--page-hero .kxc-banner__container {
    padding-block: 50px;
    text-align: center;
}

.kxc-banner--page-hero .kxc-banner__title {
    font-size: 36px;
    padding-bottom: 20px;
    color: white;

    &:after {
        width: 100px;
        height: 5px;
        margin-inline: auto;
        left: 0;
        right: 0;
    }
}

.kxc-banner--page-hero .kxc-banner__description {
    margin: 24px 0 0;
    max-width: 420px;
    margin-inline: auto;
    color: white;
}

@media (max-width: 991px) {
    .kxc-banner--page-hero {
        min-height: unset;
    }

    .kxc-banner--page-hero .kxc-banner__description {
        display: none;
    }
}

/* Banner 1 */
.kxc-section--banner-1 {
    padding-block: 24px;
    background-color: var(--kxl-accent-color);
    position: relative;
}
.kxc-section--banner-1 .kxc-section__decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.kxc-section--banner-1 .kxc-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.kxc-banner--1 {
    min-height: 254px;
    border-radius: 20px;
    overflow: hidden;
}
.kxc-banner--1 .kxc-banner__link {
    padding: 24px 40px;
    height: 100%;
}
.kxc-banner--1 .kxc-banner__figure--overlay::after {
    background-image: none;
    background: #202020;
    opacity: 0.7;
}
.kxc-banner--1 .kxc-banner__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}
.kxc-banner--1 .kxc-banner__title:after {
    width: 54px;
}
.kxc-banner--1 .kxc-banner__description {
    flex-grow: 1;
}
@media (max-width: 991px) {
    .kxc-banner--1 {
        min-height: unset;
    }
    .kxc-section--banner-1 .kxc-section__grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .kxc-banner--1 .kxc-banner__description {
        display: none;
    }
    .kxc-banner__button {
        margin-top: 20px;
    }
}

/* Steps */
.kxc-section--steps {
    padding: 50px 0;
}
.kxc-section--steps .kxc-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.kxc-banner--steps .kxc-banner__figure {
    margin-bottom: 16px;
}

.kxc-banner--steps .kxc-banner__image {
    aspect-ratio: 16/9;
    border-radius: 20px;
    transition: .2s;

    &:hover {
        transform: scale(1.1);
    }
}

.kxc-banner--steps .kxc-banner__title {
    font-size: 20px;
}
.kxc-section--products {
    padding: 24px 0 64px;
}
@media (max-width: 991px) {
    .kxc-section--steps .kxc-section__grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Banner 2 */
.kxc-banner--2 {
    background: #202020;
}
.kxc-banner--2 .kxc-banner__title {
    font-size: 36px;
    padding-bottom: 20px;
    &:after {
        width: 100px;
        height: 5px;
    }
}
.kxc-banner--2 .kxc-banner__description {
    margin: 40px 0 0;
    max-width: 540px;
}

@media (min-width: 992px) {
    .kxc-banner--2 .kxc-banner__link {
        display: grid;
        grid-template-columns: 1fr 2fr;
        min-height: 320px;
    }

    .kxc-banner--2 .kxc-banner__figure {
        position: relative;
    }

    .kxc-banner--2 .kxc-banner__image {
        width: calc(100% + (100vw - 1110px) / 2);
        height: 100%;
        max-width: 1920px;
        position: absolute;
        top: 0;
        left: calc((100vw - 1110px) / -2);
        transition: .5s ease;
    }

    .kxc-section--banner-2 .kxc-banner--2:nth-child(odd) .kxc-banner__image {
        transform: translateX(100px);
    }

    .kxc-section--banner-2 .kxc-banner--2:nth-child(even) .kxc-banner__image {
        transform: translateX(-100px);
    }

    .kxc-banner--2 .kxc-banner__image.is-active {
        opacity: 1;
        transform: translateX(0);
    }

    .kxc-banner--2 .kxc-banner__content {
        padding: 60px 50px;
        align-content: center;
    }

    .kxc-section--banner-2 .kxc-banner--2:nth-child(odd) .kxc-banner__link {
        grid-template-columns: 2fr 1fr;
    }

    .kxc-section--banner-2 .kxc-banner--2:nth-child(odd) .kxc-banner__image {
        left: unset;
        right: calc((100vw - 1110px) / -2);
    }

    .kxc-section--banner-2 .kxc-banner--2:nth-child(odd) .kxc-banner__figure {
        order: 1;
    }

    .kxc-section--banner-2 .kxc-banner--2:nth-child(odd) .kxc-banner__content {
        padding-left: 0;
    }

    .kxc-section--banner-2 .kxc-banner--2:nth-child(even) .kxc-banner__content {
        padding-right: 0;
    }
}
@media (max-width: 991px) {
    .kxc-banner--2 {
        padding: 24px 0;
    }
    .kxc-banner--2 .kxc-banner__link {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .kxc-banner--2 .kxc-banner__figure {
        order: 2;
    }
    .kxc-banner--2 .kxc-banner__image {
        position: relative;
        height: 224px;
        object-fit: cover;
        width: 100%;
        inset: unset;
    }
    .kxc-banner--2 .kxc-banner__content {
        padding: 0;
    }
    .kxc-banner--2 .kxc-banner__title {
        text-align: center;
        &::after {
            left: 0;
            right: 0;
            margin-inline: auto;
        }
    }
    .kxc-banner--2 .kxc-banner__description {
        margin-inline: auto;
        text-align: center;
    }
}

/* Banner 4 */
.kxc-section--banner-4 {
    position: relative;
}

.kxc-section--banner-4 .kxc-section__decor {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 200px;
    object-fit: none;
    object-position: center;
}

.kxc-section--banner-4 .kxc-section__decor--left {
    left: 0;
    transform: rotate(360deg);
}

.kxc-section--banner-4 .kxc-section__decor--right {
    right: 0;
}

.kxc-banner--4 .kxc-banner__image {
    height: 480px;
}

.kxc-banner--4 .kxc-banner__title {
    font-size: 36px;
    margin: 0 0 24px;
    padding: 0;
    text-align: center;
    &:after {
        display: none;
    }
}

.kxc-banner--4 .kxc-banner__inner {
    padding: 48px 16px;
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
    position: relative;
    background-color: white;
}

.kxc-banner--4 .kxc-banner__content {
    overflow: hidden;
}

.kxc-banner--4 .kxc-banner__content p {
    margin-bottom: 24px;
}

.kxc-banner--4 .kxc-banner__content .kxc-lead {
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
}

@media (max-width: 767px) {
    .kxc-banner--4 .kxc-banner__image {
        height: 240px;
    }

    .kxc-banner--4 .kxc-banner__content {
        margin: 60px 0;
    }

    .kxc-section--banner-4 .kxc-section__decor--left,
    .kxc-section--banner-4 .kxc-section__decor--right {
        top: -60px;
    }
}

/* Banner CTA */
.kxc-banner--cta {
    background-color: #202020;
}
.kxc-banner--cta .kxc-banner__title {
    font-size: 36px;
    padding-bottom: 20px;
    &:after {
        width: 100px;
        height: 5px;
    }
}
@media (min-width: 992px) {
    .kxc-banner--cta .kxc-banner__link {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 48px;
        min-height: 420px;
    }
    .kxc-banner--cta .kxc-banner__content {
        align-self: center;
    }
    .kxc-banner--cta .kxc-banner__figure {
        position: relative;
    }
    .kxc-banner--cta .kxc-banner__image {
        width: calc(100% + (100vw - 1110px) / 2);
        height: 100%;
        max-width: 1920px;
        position: absolute;
        top: 0;
        right: calc((100vw - 1110px) / -2);
    }
    .kxc-banner--cta .kxc-banner__description {
        margin: 32px 0 0;
    }
    .kxc-banner--cta .kxc-banner__button {
        margin-top: 48px;
    }
}
@media (max-width: 991px) {
    .kxc-banner--cta {
        padding-top: 32px;
    }
    .kxc-banner--cta .kxc-banner__description {
        display: none;
    }
    .kxc-banner--cta .kxc-banner__button {
        margin-top: 20px;
    }
    .kxc-banner--cta .kxc-banner__title::after {
        left: 0;
        right: 0;
        margin-inline: auto;
    }
    .kxc-banner--cta .kxc-banner__content {
        text-align: center;
        margin-bottom: 40px;
    }
}

/* Main Products */
.kxc-section--products .kxl-products {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 991px) {
    .kxc-section--products .kxl-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Featured Products */
.kxc-section--featured-products {
    padding: 50px 0;
}
.kxc-section--featured-products .kxc-section__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
@media (max-width: 991px) {
    .kxc-section--featured-products .kxc-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Video 1 */
.kxc-section--video-1 {
    position: relative;
    aspect-ratio: 21/9;
    overflow: hidden;
    margin-bottom: -80px;
}

.kxc-section--video-1 iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Video 2 */
.kxc-section--video-2 {
    padding: 50px 0 80px;
}

.kxc-video--2 {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}

.kxc-section--video-2 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
}

.kxc-section--video-2 .container {
    max-width: 900px;
}

.kxc-section--video-2 .kxc-section__title {
    font-size: 36px;
    margin: 0 0 16px;
    padding: 0;
    text-align: left;
    &:after {
        display: none;
    }
}

/* Main Products (Inner Pages) */
@media (min-width: 992px) {
    .kx-landing-page-inner .kxc-section--featured-products .kxc-section__grid {
        grid-template-columns: repeat(auto-fit, 250px);
        justify-content: center;
    }
}

/* Tabs (Inner Pages) */
.kxc-section-nav {
    background: #202020;
    padding: 64px 0 32px;
}

.kxc-section-nav .kxc-section__title {
    color: white;
}

.kxc-nav {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    display: none;

    &.is-visible {
        display: flex;
    }
}

.kxc-nav__link {
    color: white;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;

    &:hover {
        color: white;
        text-decoration: none;
    }

    &.is-active {
        color: var(--kxl-accent-color);
        text-decoration: underline;
    }
}

.kxc-panel {
    display: none;

    &.is-active {
        display: block;
    }
}

.kxc-panel__inner:nth-child(odd) {
    background: #202020;
}

.kxc-panel__inner:nth-child(even) {
    background: #2F2F2F;
}

/* Panel 1 */
.kxc-panel__inner--1 {
    padding-block: 32px 64px;

    img {
        max-width: 800px;
        width: 100% !important;
        height: auto !important;
        margin-inline: auto;
    }

    p {
        margin: 0;
    }
}

/* Panel 2 */
.kxc-panel__inner--2 {
    padding: 64px 0;

    .kxc-panel__grid {
        display: grid;
        gap: 2rem;
    }

    img {
        max-width: 420px !important;
        width: 100% !important;
        height: auto !important;
    }

    .kxc-panel__content {
        display: grid;
        gap: 12px;
        justify-self: center;
    }

    dl {
        margin: 0;
        color: white;
        display: flex;
        gap: 20px;
    }

    dd {
        margin: 0;
        font-weight: 600;
    }

    dt {
        font-weight: 400;
        width: 160px;
    }

    @media (min-width: 991px) {
        .kxc-panel__grid {
            justify-content: center;
        }
    }

    @media (min-width: 992px) {
        .kxc-panel__grid {
            grid-template-columns: 1fr 1fr;
            align-items: center;
            justify-content: space-between;
        }
    }
}

/* Panel 3 */
.kxc-panel__inner--3 {
    padding: 64px 0;

    .kxc-panel__grid {
        display: grid;
        gap: 2rem;
    }

    img {
        max-width: 540px !important;
        width: 100% !important;
        height: auto !important;
        margin-inline: auto;
    }

    .kxc-panel__content {
        color: white;
    }

    h2 {
        font-size: 48px;
        line-height: 1.1;
        color: white;
        margin: 0 0 24px;
        position: relative;
        padding-bottom: 12px;

        &:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 5px;
            background: var(--kxl-accent-color);
            bottom: 0;
            left: 0;
        }
    }

    @media (min-width: 768px) {
        .kxc-panel__grid {
            grid-template-columns: 1fr 3fr;
        }

        img {
            max-width: 100%;
        }
    }
}

/* USP */
.kxc-section--usp {
    background: #2F2F2F;
    padding: 60px 0;
}

.kxc-section--usp .kxc-section__grid {
    display: grid;
    gap: 24px;
}

.kxc-usp__image {
    display: inline-block;
    margin-bottom: 16px;
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    object-position: left;
}

.kxc-usp__title {
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
    text-transform: uppercase;
    color: white;
    margin: 0;
}

.kxc-usp__description {
    font-size: 14px;
    line-height: 1.4;
    margin: 8px 0 0;
    color: white;
}

@media (min-width: 992px) {
    .kxc-section--usp .kxc-section__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}