/* -------------------------------------------------------------------------
 * Section: landing
 * ------------------------------------------------------------------------- */

.ket-partnerrequests-hero{
    padding: clamp(110px, 14vw, 220px) 0 clamp(90px, 10vw, 160px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: var(--km-surface-alt, #f7f9fb);
    background:
    var(--ket-partnerrequests-hero-image, url(../images/business_image.jpg));
    background-size: cover;
    background-position: center 15%;
    overflow: hidden;
    background-repeat: no-repeat;
    position: relative;
}

.ket-partnerrequests-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.8) 25%,
        rgba(0, 0, 0, 0.45) 65%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.ket-partnerrequests-container {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
    display: flex;
    justify-content: center;
}

.ket-partnerrequests-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #dcd8d8;
    font-size: clamp(1.6rem, 3.8vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
    opacity: 1;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
    text-align: center;
    transform: translateY(clamp(60px, 8vw, 125px));
}

@media (max-width: 768px) {
    .ket-partnerrequests-hero {
        padding: 120px 0 70px;
        background-position: center 38%;
    }

    .ket-partnerrequests-hero::after {
        height: 60%;
    }

    .ket-partnerrequests-hero h1 {
        transform: translateY(clamp(25px, 4vw, 55px));
        font-size: clamp(1.4rem, 9vw, 2.3rem);
        line-height: 1.08;
        letter-spacing: -0.035em;
    }
}

@media (max-width: 480px) {
    .ket-partnerrequests-hero {
        padding: 205px 0 145px;
    }

    .ket-partnerrequests-hero h1 {
        transform: translateY(clamp(82px, 10vw, 128px));
        font-size: clamp(1.6rem, 3.8vw, 3.5rem);
        line-height: 1.1;
        letter-spacing: -0.025em;
    }
}

/* -------------------------------------------------------------------------
 * Section: intro
 * ------------------------------------------------------------------------- */

 .ket-intro {
    padding: clamp(25px, 4vw, 60px) 16px clamp(5px, 2vw, 5px);
}

.ket-collaborate-container {
    width: min(1280px, calc(100% - 24px));
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 5vw, 80px);

    padding-bottom: clamp(16px, 2vw, 28px);
    border-bottom: 1px solid #140d9c;
}

.ket-logo {
    margin: 0;
    flex: 0 0 auto;
    line-height: 0;
}

.ket-home-landing__logo {
    display: block;
    width: clamp(250px, 20vw, 350px);
    height: auto;
    object-fit: contain;
}

#ket-collaborate-title {
    margin: 0;
    max-width: 650px;

    font-size: clamp(1.1rem, 5vw, 1.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 700;
}

#ket-collaborate-text {
    width: min(1280px, calc(100% - 32px));
    margin: clamp(24px, 3vw, 45px) auto 0;

    font-size: clamp(0.78rem, 3vw, 0.9rem);
    line-height: 1.45;
    font-weight: 400;
    text-align: center;
}


@media (max-width: 768px) {
    .ket-collaborate-container {
        flex-direction: column;
        gap: 18px;
        text-align: center;
        padding-bottom: 22px;
    }

    .ket-intro .ket-home-landing__logo {
        width: clamp(150px, 45vw, 220px);
    }

    #ket-collaborate-title {
        max-width: 100%;
        font-size: clamp(1.0rem, 5vw, 1.5rem);
        line-height: 1.12;
        text-align: center;
    }

    #ket-collaborate-text {
        width: min(100% - 28px, 720px);
        margin-top: 18px;

        font-size: clamp(0.78rem, 3vw, 0.9rem);
        line-height: 1.45;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ket-intro {
        padding: 28px 16px 8px;
    }

    .ket-intro .ket-home-landing__logo {
        width: clamp(120px, 48vw, 170px);
    }

    .ket-collaborate-container {
        gap: 14px;
    }

    #ket-collaborate-title {
        font-size: clamp(0.8rem, 8vw, 1.15rem);
        letter-spacing: -0.03em;
    }

    #ket-collaborate-text {
        margin-top: 16px;

        font-size: 0.7rem;
        line-height: 1.42;
    }
}

/* -------------------------------------------------------------------------
 * Section: video
 * ------------------------------------------------------------------------- */

.ket-video {
    padding: clamp(50px, 7vw, 110px) 16px;
    background: #ffffff;
}

.ket-video-container {
    width: min(1280px, calc(100% - 24px));
    margin-inline: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#ket-video-title {
    max-width: 1280px;
    margin: 0 0 clamp(28px, 4vw, 56px);

    color: #111827;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.35;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
}

.ket-video-card {
    width: min(680px, 100%);
    margin-inline: auto;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ket-video-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    background: #d9dce2;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.18);
}

.ket-video-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ket-video-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(255, 255, 255, 0.03) 40%,
        rgba(0, 0, 0, 0.12) 100%
    );
}

.ket-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 92px;
    height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ket-video-card__play::before {
    content: "";
    display: block;
    margin-left: 6px;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 26px solid #4b5563;
}

.ket-video-card:hover,
.ket-video-card:focus {
    transform: translateY(-2px);
}

.ket-video-card:hover .ket-video-card__play,
.ket-video-card:focus .ket-video-card__play {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.3);
}

/* -------------------------------------------------------------------------
 * Video modal
 * ------------------------------------------------------------------------- */

.ket-video-modal[hidden] {
    display: none;
}

.ket-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px 16px;
    background: rgba(0, 0, 0, 0.72);
    box-sizing: border-box;
}

.ket-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.ket-video-modal__dialog {
    position: relative;
    z-index: 2;

    width: min(1100px, calc(100vw - 32px));
    max-width: 100%;
}

.ket-video-modal__close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 3;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;

    font-size: 30px;
    line-height: 1;
    cursor: pointer;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ket-video-modal__frame-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;

    max-height: calc(100vh - 64px);
    overflow: hidden;
    border-radius: 14px;
    background: #000000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.ket-video-modal__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .ket-video-modal {
        padding: 12px;
        align-items: center;
        justify-content: center;
    }

    .ket-video-modal__dialog {
        width: calc(100vw - 24px);
        max-width: 100%;
    }

    .ket-video-modal__frame-wrap {
        max-height: calc(100vh - 32px);
        border-radius: 10px;
    }

    .ket-video-modal__close {
        top: -10px;
        right: -2px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .ket-video-card {
        cursor: default;
    }

    .ket-video-card__play {
        opacity: 0.65;
    }
}

/* -------------------------------------------------------------------------
 * Section: benefits table
 * ------------------------------------------------------------------------- */

.ket-partnerrequests-benefits {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.ket-partnerrequests-benefit-row {
    width: 100%;
    background: #ffffff;
}

.ket-partnerrequests-benefit-row:nth-child(odd) {
    background: #f4f4f6;
}

.ket-partnerrequests-benefit-inner {
    width: min(1290px, calc(100% - 32px));
    margin-inline: auto;

    display: grid;
    grid-template-columns: 42px 240px minmax(0, 1fr);
    column-gap: 28px;
    align-items: center;

    min-height: 88px;
    padding: 26px 0;
    box-sizing: border-box;
}

.ket-partnerrequests-benefit-icon {
    width: 42px;
    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #00bff3;
    font-size: 32px;
    line-height: 1;
}

.ket-partnerrequests-benefit-title {
    margin: 0;

    color: #303030;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.ket-partnerrequests-benefit-text {
    margin: 0;

    color: #444444;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
}

.ket-partnerrequests-benefit-text strong {
    color: #303030;
    font-weight: 700;
}

@media (max-width: 900px) {
    .ket-partnerrequests-benefit-inner {
        grid-template-columns: 42px minmax(0, 1fr);
        row-gap: 8px;
        column-gap: 20px;
        padding: 24px 0;
    }

    .ket-partnerrequests-benefit-title {
        align-self: center;
    }

    .ket-partnerrequests-benefit-text {
        grid-column: 2;
    }
}

@media (max-width: 560px) {
    .ket-partnerrequests-benefit-inner {
        grid-template-columns: 1fr;
        row-gap: 12px;
        padding: 28px 0;
    }

    .ket-partnerrequests-benefit-icon,
    .ket-partnerrequests-benefit-title,
    .ket-partnerrequests-benefit-text {
        grid-column: 1;
    }

    .ket-partnerrequests-benefit-icon {
        justify-content: flex-start;
    }
}

/* -------------------------------------------------------------------------
 * Section: browse
 * ------------------------------------------------------------------------- */

.ket-browse {
    width: 100%;
    padding: 44px 16px 34px;
    background: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

#ket-browse-text {
    margin: 0;

    color: #303030;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    line-height: 1.35;
}

.ket-browse-button {
    margin-top: 40px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.ket-browse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-width: 265px;
    min-height: 47px;
    padding: 12px 28px;

    background: #005e86;
    color: #ffffff;

    border-radius: 999px;
    border: 0;

    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;

    transition:
        background 0.2s ease-in-out,
        transform 0.2s ease-in-out;
}

.ket-browse-btn:hover,
.ket-browse-btn:focus {
    background: #0073aa;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.ket-browse-btn i {
    color: #ffffff;
    font-size: 17px;
    line-height: 1;
}


.ket-browse__image-wrap {
    position: relative;
    display: block;

    width: 100vw;
    max-width: none;

    height: 45vh;
    min-height: 280px;
    max-height: 400px;

    margin: 40px calc(50% - 50vw) 0;

    overflow: hidden;
    line-height: 0;
}

.ket-browse__image-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 45%;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0) 100%
    );

    pointer-events: none;
    z-index: 2;
}

.ket-browse__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 60%;

    border-radius: 0;
}


@media (max-width: 600px) {
    .ket-browse {
        padding: 36px 16px 30px;
    }

    .ket-browse-button {
        margin-top: 28px;
    }

    .ket-browse-btn {
        width: 100%;
        max-width: 320px;
        min-width: 0;
        font-size: 16px;
    }
}
