/* =========================================================
   KB7 GROUP - HERO SECTION
   Bootstrap compatible
   ========================================================= */


/* ---------------------------------------------------------
   SHARED PAGE ALIGNMENT
   --------------------------------------------------------- */

.club-home .kb7-hero > .container,
.club-home .kb7-portfolio > .container,
.club-home .kb7-cta-section > .container {
    width: 100%;
    max-width: none;
    padding-left: var(--kb7-page-gutter);
    padding-right: var(--kb7-page-gutter);
}


/* ---------------------------------------------------------
   HERO WRAPPER
   --------------------------------------------------------- */

.kb7-hero {
    position: relative;
    min-height: 720px;
    height: calc(100vh - 78px);

    overflow: hidden;

    background: #071b31;

    display: flex;
    align-items: center;
}


/* ---------------------------------------------------------
   VIDEO BACKGROUND
   --------------------------------------------------------- */

.kb7-hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

    overflow: hidden;
}

.kb7-hero-video video {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0.78;

    filter:
        saturate(0.9)
        contrast(1)
        brightness(1);

    transform: scale(1.04);

    animation: kb7VideoZoom 18s ease-in-out infinite alternate;
}


/* ---------------------------------------------------------
   VIDEO ZOOM ANIMATION
   --------------------------------------------------------- */

@keyframes kb7VideoZoom {

    0% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1.10);
    }

}


/* ---------------------------------------------------------
   MAIN DARK OVERLAY
   --------------------------------------------------------- */

.kb7-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(7, 27, 49, 0.88) 0%,
            rgba(7, 27, 49, 0.72) 38%,
            rgba(7, 27, 49, 0.38) 65%,
            rgba(7, 27, 49, 0.18) 100%
        );

    pointer-events: none;
}


/* ---------------------------------------------------------
   DIAGONAL DESIGN
   --------------------------------------------------------- */

.kb7-hero-diagonal {
    position: absolute;

    top: 0;
    right: 0;

    width: 48%;
    height: 100%;

    z-index: 2;

    background: rgba(22, 48, 78, 0.55);

    clip-path: polygon(
        32% 0,
        100% 0,
        100% 100%,
        0% 100%
    );

    pointer-events: none;
}


/* ---------------------------------------------------------
   HERO CONTENT
   --------------------------------------------------------- */

.kb7-hero-content {
    position: relative;

    z-index: 5;

    padding-top: 60px;
    padding-bottom: 60px;
}


/* ---------------------------------------------------------
   SMALL LABEL
   --------------------------------------------------------- */

.kb7-hero-eyebrow {
    margin-bottom: 24px;

    color: #c9a052;

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

    letter-spacing: 3px;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   MAIN TITLE
   --------------------------------------------------------- */

.kb7-hero-title {
    margin: 0;

    max-width: 1000px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(
        64px,
        6.2vw,
        112px
    );

    font-weight: 400;

    line-height: 0.92;

    letter-spacing: -4px;

    color: #ffffff;
}


/* First line */

.kb7-hero-title .hero-title-white {
    display: block;

    color: #ffffff;
}


/* Second line */

.kb7-hero-title .hero-title-gold {
    display: block;

    color: #e2c477;
}


/* ---------------------------------------------------------
   HERO DESCRIPTION
   --------------------------------------------------------- */

.kb7-hero-description {
    max-width: 700px;

    margin-top: 58px;
    margin-bottom: 34px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 19px;
    font-weight: 400;

    line-height: 1.7;
}


/* ---------------------------------------------------------
   BUTTON WRAPPER
   --------------------------------------------------------- */

.kb7-hero-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 70px;
}


/* ---------------------------------------------------------
   PRIMARY BUTTON
   --------------------------------------------------------- */

.kb7-btn-primary {
    display: inline-flex;

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

    min-height: 56px;

    padding: 0 30px;

    background: #c9a052;

    border: 1px solid #c9a052;

    color: #071b31;

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

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.kb7-btn-primary:hover {
    background: #e2c477;

    border-color: #e2c477;

    color: #071b31;

    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   SECONDARY BUTTON
   --------------------------------------------------------- */

.kb7-btn-secondary {
    display: inline-flex;

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

    min-height: 56px;

    padding: 0 30px;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.45);

    color: #ffffff;

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

    text-decoration: none;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.kb7-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);

    border-color: #ffffff;

    color: #ffffff;

    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   HERO STATS
   --------------------------------------------------------- */

.kb7-hero-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 50px;

    margin-top: 10px;
}


.kb7-hero-meta-item {
    color: rgba(255, 255, 255, 0.78);

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

    letter-spacing: 2px;

    text-transform: uppercase;

    white-space: nowrap;
}


/* ---------------------------------------------------------
   DECORATIVE LARGE 7
   --------------------------------------------------------- */

.kb7-hero-seven {
    position: absolute;

    z-index: 3;

    right: 5%;
    top: 50%;

    transform: translateY(-50%);

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(
        350px,
        35vw,
        700px
    );

    font-weight: 400;

    line-height: 0.8;

    color: rgba(255, 255, 255, 0.055);

    pointer-events: none;

    user-select: none;
}


/* ---------------------------------------------------------
   GOLD DIAGONAL LINE
   --------------------------------------------------------- */

.kb7-hero-line {
    position: absolute;

    z-index: 4;

    right: 11%;
    bottom: 8%;

    width: 260px;
    height: 1px;

    background: #c9a052;

    transform: rotate(-45deg);

    transform-origin: right center;

    opacity: 0.9;
}


/* ---------------------------------------------------------
   SUBTLE HERO GLOW
   --------------------------------------------------------- */

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

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(255, 255, 255, 0.035),
            transparent 40%
        );
}


/* ---------------------------------------------------------
   OPTIONAL VIDEO LIGHT EFFECT
   --------------------------------------------------------- */

.kb7-hero-video::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 27, 49, 0.15),
            transparent 55%
        );

    pointer-events: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199.98px) {

    .kb7-hero {
        min-height: 680px;
    }

    .kb7-hero-title {
        font-size: clamp(
            58px,
            7vw,
            90px
        );

        letter-spacing: -3px;
    }

    .kb7-hero-description {
        max-width: 620px;

        margin-top: 48px;

        font-size: 18px;
    }

    .kb7-hero-buttons {
        margin-bottom: 55px;
    }

    .kb7-hero-meta {
        gap: 30px;
    }

    .kb7-hero-seven {
        right: 1%;

        font-size: 480px;
    }

    .kb7-hero-line {
        right: 7%;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 991.98px) {

    .kb7-hero {
        min-height: 650px;

        height: auto;
    }

    .kb7-hero-content {
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .kb7-hero-title {
        max-width: 800px;

        font-size: clamp(
            54px,
            8vw,
            80px
        );
    }

    .kb7-hero-description {
        max-width: 600px;

        margin-top: 42px;
    }

    .kb7-hero-buttons {
        margin-bottom: 50px;
    }

    .kb7-hero-seven {
        right: -4%;

        opacity: 0.7;

        font-size: 400px;
    }

    .kb7-hero-diagonal {
        width: 55%;

        opacity: 0.8;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .kb7-hero {
        min-height: 720px;

        height: auto;

        align-items: center;
    }


    /* ---------------------------------------------
       VIDEO
       --------------------------------------------- */

    .kb7-hero-video {
        opacity: 0.75;
    }

    .kb7-hero-video video {
        object-position: center;

        opacity: 0.8;

        filter:
            saturate(0.9)
            brightness(1.05)
            contrast(1);

        transform: scale(1.08);
    }


    /* ---------------------------------------------
       MOBILE OVERLAY
       --------------------------------------------- */

    .kb7-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(7, 27, 49, 0.78) 0%,
                rgba(7, 27, 49, 0.55) 50%,
                rgba(7, 27, 49, 0.82) 100%
            );
    }


    /* ---------------------------------------------
       DIAGONAL
       --------------------------------------------- */

    .kb7-hero-diagonal {
        width: 100%;
        height: 55%;

        top: auto;
        bottom: 0;

        clip-path: polygon(
            30% 0,
            100% 0,
            100% 100%,
            0 100%
        );

        background: rgba(22, 48, 78, 0.35);
    }


    /* ---------------------------------------------
       CONTENT
       --------------------------------------------- */

    .kb7-hero-content {
        padding-top: 100px;
        padding-bottom: 70px;
    }


    /* ---------------------------------------------
       EYEBROW
       --------------------------------------------- */

    .kb7-hero-eyebrow {
        margin-bottom: 20px;

        font-size: 10px;

        letter-spacing: 2.5px;
    }


    /* ---------------------------------------------
       TITLE
       --------------------------------------------- */

    .kb7-hero-title {
        font-size: clamp(
            48px,
            13vw,
            68px
        );

        line-height: 0.94;

        letter-spacing: -2.5px;
    }


    /* ---------------------------------------------
       DESCRIPTION
       --------------------------------------------- */

    .kb7-hero-description {
        max-width: 100%;

        margin-top: 38px;
        margin-bottom: 30px;

        font-size: 16px;

        line-height: 1.65;

        color: rgba(255, 255, 255, 0.88);
    }


    /* ---------------------------------------------
       BUTTONS
       --------------------------------------------- */

    .kb7-hero-buttons {
        flex-direction: column;

        align-items: stretch;

        gap: 12px;

        margin-bottom: 45px;
    }

    .kb7-btn-primary,
    .kb7-btn-secondary {
        width: 100%;

        min-height: 54px;

        padding: 0 22px;
    }


    /* ---------------------------------------------
       META
       --------------------------------------------- */

    .kb7-hero-meta {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }

    .kb7-hero-meta-item {
        font-size: 10px;

        letter-spacing: 1.5px;
    }


    /* ---------------------------------------------
       DECORATIVE 7
       --------------------------------------------- */

    .kb7-hero-seven {
        top: 30%;

        right: -10%;

        font-size: 280px;

        opacity: 0.45;
    }


    /* ---------------------------------------------
       GOLD LINE
       --------------------------------------------- */

    .kb7-hero-line {
        right: -2%;

        bottom: 11%;

        width: 160px;

        opacity: 0.6;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .kb7-hero {
        min-height: 680px;
    }

    .kb7-hero-content {
        padding-top: 90px;
        padding-bottom: 60px;
    }

    .kb7-hero-title {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .kb7-hero-description {
        font-size: 15px;

        line-height: 1.6;
    }

    .kb7-hero-seven {
        right: -15%;

        font-size: 230px;
    }

    .kb7-hero-line {
        width: 130px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 375px) {

    .kb7-hero-title {
        font-size: 42px;
    }

    .kb7-hero-description {
        font-size: 14px;
    }

    .kb7-hero-meta-item {
        font-size: 9px;
    }

}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .kb7-hero-video video {
        animation: none;

        transform: scale(1.04);
    }

    .kb7-btn-primary,
    .kb7-btn-secondary {
        transition: none;
    }

}

/* =========================================================
   HERO TEXT ANIMATIONS / EFFECTS
   ========================================================= */

/* Initial hidden state */
.kb7-hero-eyebrow,
.kb7-hero-title,
.kb7-hero-description,
.kb7-hero-buttons,
.kb7-hero-meta {
    opacity: 0;
}


/* Eyebrow */
.kb7-hero-eyebrow {
    animation: kb7HeroFadeUp 0.9s ease forwards;
    animation-delay: 0.2s;
}


/* Main heading */
.kb7-hero-title {
    animation: kb7HeroTitleReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.35s;
}


/* Description */
.kb7-hero-description {
    animation: kb7HeroFadeUp 0.9s ease forwards;
    animation-delay: 0.65s;
}


/* Buttons */
.kb7-hero-buttons {
    animation: kb7HeroFadeUp 0.9s ease forwards;
    animation-delay: 0.85s;
}


/* Meta information */
.kb7-hero-meta {
    animation: kb7HeroFadeUp 0.9s ease forwards;
    animation-delay: 1.05s;
}


/* =========================================================
   FADE + SLIDE UP
   ========================================================= */

@keyframes kb7HeroFadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   TITLE REVEAL
   ========================================================= */

@keyframes kb7HeroTitleReveal {

    from {
        opacity: 0;
        transform: translateY(45px);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }

}


/* =========================================================
   GOLD TITLE EFFECT
   ========================================================= */

.kb7-hero-title .hero-title-gold {
    display: block;

    color: #e2c477;

    transition:
        color 0.4s ease,
        text-shadow 0.4s ease;
}


/* Subtle premium glow on hover */
.kb7-hero-title:hover .hero-title-gold {
    color: #ebd18b;

    text-shadow:
        0 0 20px rgba(226, 196, 119, 0.12);
}


/* =========================================================
   BUTTON HOVER EFFECT
   ========================================================= */

.kb7-btn-primary,
.kb7-btn-secondary {
    position: relative;
    overflow: hidden;
}


.kb7-btn-primary::before,
.kb7-btn-secondary::before {
    content: "";

    position: absolute;

    top: 0;
    left: -110%;

    width: 100%;
    height: 100%;

    background: rgba(255, 255, 255, 0.12);

    transform: skewX(-20deg);

    transition: left 0.5s ease;
}


.kb7-btn-primary:hover::before,
.kb7-btn-secondary:hover::before {
    left: 110%;
}


.kb7-btn-primary,
.kb7-btn-secondary {
    isolation: isolate;
}


.kb7-btn-primary > *,
.kb7-btn-secondary > * {
    position: relative;
    z-index: 2;
}


/* =========================================================
   META HOVER
   ========================================================= */

.kb7-hero-meta-item {
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.kb7-hero-meta-item:hover {
    color: #e2c477;

    transform: translateY(-2px);
}


/* =========================================================
   EYEBROW GOLD SHIMMER
   ========================================================= */

.kb7-hero-eyebrow {
    position: relative;

    display: inline-block;

    color: #c9a052;
}


.kb7-hero-eyebrow::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: #c9a052;

    animation: kb7EyebrowLine 0.8s ease forwards;
    animation-delay: 0.9s;
}


@keyframes kb7EyebrowLine {

    from {
        width: 0;
    }

    to {
        width: 100%;
    }

}


/* =========================================================
   DECORATIVE 7 ANIMATION
   ========================================================= */

.kb7-hero-seven {
    animation:
        kb7SevenReveal 1.8s ease forwards,
        kb7SevenFloat 8s ease-in-out 1.8s infinite alternate;
}


@keyframes kb7SevenReveal {

    from {
        opacity: 0;
        transform:
            translateY(-50%)
            translateX(50px);
    }

    to {
        opacity: 1;
        transform:
            translateY(-50%)
            translateX(0);
    }

}


@keyframes kb7SevenFloat {

    from {
        transform:
            translateY(-50%)
            translateX(0);
    }

    to {
        transform:
            translateY(calc(-50% - 12px))
            translateX(-5px);
    }

}


/* =========================================================
   GOLD DIAGONAL LINE ANIMATION
   ========================================================= */

.kb7-hero-line {
    transform-origin: right center;

    animation: kb7GoldLine 1.2s ease forwards;
    animation-delay: 1.1s;

    transform:
        rotate(-45deg)
        scaleX(0);
}


@keyframes kb7GoldLine {

    from {
        opacity: 0;
        transform:
            rotate(-45deg)
            scaleX(0);
    }

    to {
        opacity: 0.9;
        transform:
            rotate(-45deg)
            scaleX(1);
    }

}


/* =========================================================
   MOBILE ANIMATION ADJUSTMENT
   ========================================================= */

@media (max-width: 767.98px) {

    .kb7-hero-title {
        animation-duration: 1s;
    }

    .kb7-hero-description {
        animation-delay: 0.55s;
    }

    .kb7-hero-buttons {
        animation-delay: 0.75s;
    }

    .kb7-hero-meta {
        animation-delay: 0.9s;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .kb7-hero-eyebrow,
    .kb7-hero-title,
    .kb7-hero-description,
    .kb7-hero-buttons,
    .kb7-hero-meta {
        opacity: 1;

        animation: none;

        transform: none;

        filter: none;
    }

    .kb7-hero-seven,
    .kb7-hero-line {
        animation: none;
    }

}

/* ==========================================
   KB7 GROUP SECTION
========================================== */

.kb7-group-section {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
}


/* ==========================================
   CONTAINER
========================================== */

.kb7-group-container {

    /*
       Large side spacing to match
       the screenshot.
    */

    padding-left: var(--kb7-page-gutter);
    padding-right: var(--kb7-page-gutter);

    padding-top: 105px;
    padding-bottom: 110px;
}


/* ==========================================
   LEFT COLUMN
========================================== */

.kb7-group-label {

    margin-bottom: 22px;

    color: var(--kb7-gold);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

    /* SCROLL ANIMATION */
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

    transition-delay: 0.05s;
}


/* ==========================================
   MAIN TITLE
========================================== */

.kb7-group-title {

    margin: 0;

    max-width: 500px;

    color: var(--kb7-navy);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: clamp(
        55px,
        5vw,
        78px
    );

    font-weight: 500;

    line-height: 0.93;

    letter-spacing: -3px;

    /* SCROLL ANIMATION */
    opacity: 0;
    transform: translateY(45px);

    transition:
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);

    transition-delay: 0.15s;
}


/* ==========================================
   RIGHT CONTENT
========================================== */

.kb7-group-content {

    max-width: 680px;

    margin-left: auto;
}


/* ==========================================
   LARGE INTRO TEXT
========================================== */

.kb7-group-intro {

    margin: 30px 0 0;

    color: var(--kb7-navy);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: clamp(
        25px,
        2vw,
        32px
    );

    font-weight: 400;

    line-height: 1.42;

    letter-spacing: -0.5px;

    /* SCROLL ANIMATION */
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;

    transition-delay: 0.3s;
}


/* ==========================================
   GOLD DIVIDER
========================================== */

.kb7-group-divider {

    width: 73px;

    height: 3px;

    margin-top: 34px;

    margin-bottom: 29px;

    background: var(--kb7-gold);

    /* SCROLL ANIMATION */

    opacity: 0;

    transform: scaleX(0);

    transform-origin: left center;

    transition:
        opacity 0.5s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);

    transition-delay: 0.55s;
}


/* ==========================================
   DESCRIPTION
========================================== */

.kb7-group-description {

    max-width: 630px;

    margin: 0;

    color: #63748A;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 14px;

    font-weight: 400;

    line-height: 1.8;

    /* SCROLL ANIMATION */
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;

    transition-delay: 0.7s;
}


/* ==========================================
   SCROLL ACTIVE STATE
========================================== */

/*
   JavaScript adds this class when the
   section enters the viewport.
*/

.kb7-group-section.kb7-scroll-active
.kb7-group-label {

    opacity: 1;

    transform: translateY(0);
}


.kb7-group-section.kb7-scroll-active
.kb7-group-title {

    opacity: 1;

    transform: translateY(0);
}


.kb7-group-section.kb7-scroll-active
.kb7-group-intro {

    opacity: 1;

    transform: translateY(0);
}


.kb7-group-section.kb7-scroll-active
.kb7-group-divider {

    opacity: 1;

    transform: scaleX(1);
}


.kb7-group-section.kb7-scroll-active
.kb7-group-description {

    opacity: 1;

    transform: translateY(0);
}


/* ==========================================
   LARGE DESKTOP
========================================== */

@media (min-width: 1400px) {

    .kb7-group-container {

        padding-left: 11vw;
        padding-right: 11vw;

        padding-top: 110px;
        padding-bottom: 115px;
    }

}


/* ==========================================
   EXTRA LARGE DESKTOP
========================================== */

@media (min-width: 1800px) {

    .kb7-group-container {

        padding-left: 13vw;
        padding-right: 13vw;
    }

}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991.98px) {

    .kb7-group-container {

        padding-left: var(--kb7-page-gutter);
        padding-right: var(--kb7-page-gutter);

        padding-top: 80px;
        padding-bottom: 85px;
    }


    .kb7-group-title {

        margin-bottom: 55px;

        font-size: 65px;
    }


    .kb7-group-content {

        margin-left: 0;

        max-width: 700px;
    }


    .kb7-group-intro {

        margin-top: 0;

        font-size: 27px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767.98px) {

    .kb7-group-container {

        padding-left: var(--kb7-page-gutter);
        padding-right: var(--kb7-page-gutter);

        padding-top: 70px;
        padding-bottom: 70px;
    }


    .kb7-group-label {

        font-size: 10px;

        letter-spacing: 2px;

        margin-bottom: 18px;

        transform: translateY(25px);
    }


    .kb7-group-title {

        margin-bottom: 45px;

        font-size: clamp(
            48px,
            13vw,
            65px
        );

        line-height: 0.98;

        letter-spacing: -2px;

        transform: translateY(30px);
    }


    .kb7-group-intro {

        font-size: 23px;

        line-height: 1.45;

        transform: translateY(25px);
    }


    .kb7-group-divider {

        width: 65px;

        margin-top: 28px;

        margin-bottom: 25px;
    }


    .kb7-group-description {

        font-size: 14px;

        line-height: 1.75;

        transform: translateY(25px);
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .kb7-group-container {

        padding-left: 20px;
        padding-right: 20px;
    }


    .kb7-group-title {

        font-size: 45px;
    }


    .kb7-group-intro {

        font-size: 21px;
    }

}


/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .kb7-group-section .kb7-group-label,
    .kb7-group-section .kb7-group-title,
    .kb7-group-section .kb7-group-intro,
    .kb7-group-section .kb7-group-divider,
    .kb7-group-section .kb7-group-description {

        opacity: 1;

        transform: none;

        transition: none;
    }

}

/* =========================================================
   KB7 PORTFOLIO
   ========================================================= */

.kb7-portfolio {
    padding: 110px 0 90px;
    background: #f7f5ef;
    overflow: hidden;
}


/* =========================================================
   HEADING
   ========================================================= */

.kb7-portfolio-heading {
    margin-bottom: 45px;
    margin-left: 0;
    margin-right: 0;
}

.kb7-eyebrow {
    display: block;

    margin-bottom: 14px;

    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 600;

    color: #c8953d;
}

.kb7-portfolio-heading h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(45px, 5vw, 70px);

    font-weight: 400;

    line-height: 1;

    color: #08233d;
}


/* =========================================================
   GRID
   ========================================================= */

.kb7-portfolio-grid {
    display: grid;

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

    border-top: 1px solid #cfcac0;
    border-left: 1px solid #cfcac0;
}


/* =========================================================
   CARD
   ========================================================= */

.kb7-portfolio-card {
    position: relative;

    min-height: 230px;

    padding: 28px 25px;

    background: #fff;

    border-right: 1px solid #cfcac0;
    border-bottom: 1px solid #cfcac0;

    cursor: pointer;

    overflow: hidden;

    transition:
        transform 0.55s cubic-bezier(.22,1,.36,1),
        box-shadow 0.55s ease,
        background-color 0.4s ease;
}


/* Gold top line */

.kb7-portfolio-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    background: #c8953d;

    transition:
        width 0.65s cubic-bezier(.22,1,.36,1);
}


/* Number */

.kb7-card-number {
    display: block;

    font-size: 10px;

    letter-spacing: 2px;

    color: #c8953d;

    transition:
        transform 0.45s ease;
}


/* Content */

.kb7-card-content {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 27px;

    transition:
        transform 0.5s cubic-bezier(.22,1,.36,1);
}

.kb7-card-content h3 {
    margin: 0 0 12px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 21px;

    font-weight: 400;

    color: #08233d;
}

.kb7-card-content p {
    max-width: 390px;

    margin: 0;

    font-size: 13px;

    line-height: 1.65;

    color: #234c74;
}


/* Arrow */

.kb7-card-arrow {
    position: absolute;

    right: 25px;
    bottom: 25px;

    font-size: 17px;

    color: #c8953d;

    transition:
        transform 0.4s cubic-bezier(.22,1,.36,1);
}


/* =========================================================
   HOVER
   ========================================================= */

.kb7-portfolio-card:hover {
    z-index: 3;

    transform: translateY(-7px) scale(1.015);

    background: #fff;

    box-shadow:
        0 25px 55px rgba(8, 35, 61, 0.12);
}

.kb7-portfolio-card:hover::before {
    width: 42%;
}

.kb7-portfolio-card:hover .kb7-card-number {
    transform: translateX(5px);
}

.kb7-portfolio-card:hover .kb7-card-content {
    transform: translateY(-5px);
}

.kb7-portfolio-card:hover .kb7-card-arrow {
    transform: translate(6px, -6px);
}


/* =========================================================
   ACTIVE AUTOMATIC CARD
   ========================================================= */

.kb7-portfolio-card.kb7-auto-active {
    z-index: 5;

    transform:
        translateY(-8px)
        scale(1.018);

    box-shadow:
        0 30px 70px rgba(8, 35, 61, 0.15);
}

.kb7-portfolio-card.kb7-auto-active::before {
    width: 100%;
}

.kb7-portfolio-card.kb7-auto-active .kb7-card-arrow {
    transform: translate(6px, -6px);
}


/* =========================================================
   BUTTON
   ========================================================= */

.kb7-portfolio-button {
    margin-top: 25px;
}

.kb7-view-portfolio {
    display: inline-flex;

    padding: 15px 23px;

    background: #cda04b;

    color: #000;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.kb7-view-portfolio:hover {
    background: #b98a38;

    color: #000;

    transform: translateY(-3px);
}


/* =========================================================
   MODAL
   ========================================================= */

.kb7-portfolio-modal {
    position: fixed;

    inset: 0;

    z-index: 9999;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}


/* Active */

.kb7-portfolio-modal.kb7-modal-active {
    visibility: visible;

    opacity: 1;

    pointer-events: auto;
}


/* =========================================================
   BACKDROP
   ========================================================= */

.kb7-modal-overlay {
    position: absolute;

    inset: 0;

    background:
        rgba(5, 18, 30, 0.78);

    backdrop-filter: blur(12px);

    opacity: 0;

    transition:
        opacity 0.7s ease;
}

.kb7-modal-active .kb7-modal-overlay {
    opacity: 1;
}


/* =========================================================
   MODAL WRAPPER
   ========================================================= */

.kb7-modal-wrapper {
    position: absolute;

    top: 50%;
    left: 50%;

    width: min(1200px, calc(100% - 80px));

    transform:
        translate(-50%, -50%)
        scale(0.72);

    opacity: 0;

    transition:
        transform 0.75s cubic-bezier(.16,1,.3,1),
        opacity 0.45s ease;
}

.kb7-modal-active .kb7-modal-wrapper {
    transform:
        translate(-50%, -50%)
        scale(1);

    opacity: 1;
}


/* =========================================================
   CLOSE
   ========================================================= */

.kb7-modal-close {
    position: absolute;

    top: -45px;
    right: 0;

    border: 0;

    background: transparent;

    color: #fff;

    font-size: 30px;

    font-weight: 200;

    cursor: pointer;

    z-index: 5;

    transition:
        transform 0.3s ease;
}

.kb7-modal-close:hover {
    transform: rotate(90deg);
}


/* =========================================================
   COUNTER
   ========================================================= */

.kb7-modal-counter {
    position: absolute;

    top: -40px;
    left: 0;

    display: flex;

    gap: 7px;

    font-size: 11px;

    letter-spacing: 2px;

    color: #fff;
}

.kb7-current-number {
    color: #d4a858;
}


/* =========================================================
   MODAL INNER
   ========================================================= */

.kb7-modal-inner {
    display: grid;

    grid-template-columns: 42% 58%;

    min-height: 570px;

    background: #f7f5ef;

    overflow: hidden;

    box-shadow:
        0 40px 100px rgba(0,0,0,.4);
}


/* =========================================================
   MODAL INFO
   ========================================================= */

.kb7-modal-info {
    padding: 65px 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.kb7-modal-label {
    margin-bottom: 20px;

    font-size: 10px;

    letter-spacing: 4px;

    color: #c8953d;
}

.kb7-modal-title {
    margin: 0 0 25px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.05;

    font-weight: 400;

    color: #08233d;
}

.kb7-modal-description {
    max-width: 470px;

    margin-bottom: 35px;

    font-size: 15px;

    line-height: 1.75;

    color: #234c74;
}


/* =========================================================
   SERVICES
   ========================================================= */

.kb7-key-services > span {
    display: block;

    margin-bottom: 15px;

    font-size: 10px;

    letter-spacing: 3px;

    color: #c8953d;
}

.kb7-key-services ul {
    list-style: none;

    padding: 0;

    margin: 0 0 30px;
}

.kb7-key-services li {
    position: relative;

    padding-left: 25px;

    margin-bottom: 9px;

    font-size: 13px;

    color: #173d61;
}

.kb7-key-services li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 12px;
    height: 1px;

    background: #c8953d;
}


/* =========================================================
   EXPLORE BUTTON
   ========================================================= */

.kb7-explore-business {
    display: inline-flex;

    align-items: center;

    gap: 25px;

    width: fit-content;

    padding: 14px 20px;

    background: #cda04b;

    color: #000;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    transition:
        gap 0.3s ease,
        background 0.3s ease;
}

.kb7-explore-business:hover {
    gap: 35px;

    background: #b98a38;

    color: #000;
}


/* =========================================================
   IMAGE
   ========================================================= */

.kb7-modal-image {
    position: relative;

    overflow: hidden;

    background: #111;
}

.kb7-modal-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.12);

    opacity: 0;

    transition:
        transform 1.4s cubic-bezier(.16,1,.3,1),
        opacity 0.8s ease;
}

.kb7-modal-active .kb7-modal-image img {
    transform: scale(1);

    opacity: 1;
}

.kb7-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8,35,61,.2),
            transparent 50%
        );
}


/* =========================================================
   PROGRESS
   ========================================================= */

.kb7-modal-progress {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 20px;
}

.kb7-progress-number {
    font-size: 10px;

    letter-spacing: 2px;

    color: rgba(255,255,255,.45);

    transition:
        color .3s ease;
}

.kb7-progress-number.active {
    color: #d4a858;
}

.kb7-progress-line {
    width: 20px;

    height: 1px;

    background: rgba(255,255,255,.2);
}


/* =========================================================
   INLINE PORTFOLIO CAROUSEL
   ========================================================= */

.kb7-portfolio-grid,
.kb7-portfolio-modal,
.kb7-modal-progress {
    display: none !important;
}

.kb7-portfolio-carousel {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: none;
    isolation: isolate;
}

.kb7-carousel-backdrop {
    display: none;
}

.kb7-portfolio {
    position: relative;
    isolation: isolate;
    background: #061525;
    transition: background-color 0.5s ease;
}

.kb7-portfolio .kb7-portfolio-heading h2 {
    color: #ffffff;
}

/* Let the homepage navbar share the portfolio section's background. */
.club-home .kb7-main-navbar.kb7-navbar-dark {
    background-color: #061b33 !important;
    background-image:
        linear-gradient(
            rgba(4, 17, 29, 0.9),
            rgba(4, 17, 29, 0.9)
        ),
        var(--kb7-carousel-image, none) !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 0;
    box-shadow: none;
}

.kb7-portfolio::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--kb7-carousel-image);
    background-position: center;
    background-size: cover;
    filter: blur(32px);
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.6s ease, background-image 0.7s ease;
}

.kb7-portfolio.kb7-portfolio-active {
    background-image:
        linear-gradient(
            rgba(4, 17, 29, 0.9),
            rgba(4, 17, 29, 0.9)
        ),
        var(--kb7-carousel-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.kb7-portfolio.kb7-portfolio-active::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(4, 17, 29, 0.7);
}

.kb7-portfolio.kb7-portfolio-active::before {
    opacity: 0.62;
}

.kb7-portfolio.kb7-portfolio-active .kb7-portfolio-heading h2 {
    color: #ffffff;
}

/* Keep the section fill clean; the image blur remains inside the carousel. */
.kb7-portfolio::before,
.kb7-portfolio.kb7-portfolio-active::after {
    display: none;
}

.kb7-portfolio > .container {
    position: relative;
    z-index: 1;
}

.kb7-carousel-backdrop,
.kb7-carousel-backdrop::after {
    position: absolute;
    inset: -35px;
}

.kb7-carousel-backdrop {
    z-index: 0;
    background-image: var(--kb7-carousel-image);
    background-color: #071b31;
    background-position: center;
    background-size: cover;
    filter: blur(28px);
    transform: scale(1.12);
    transition: background-image 0.7s ease;
}

.kb7-carousel-backdrop::after {
    content: "";
    background: rgba(4, 17, 29, 0.52);
}

.kb7-carousel-frame {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 620px;
    padding: 54px 7% 125px;
}

.kb7-carousel-image {
    width: min(100%, 1060px);
    height: 490px;
    object-fit: cover;
    border: 0;
    outline: 0;
    box-shadow: none;
    animation: kb7CarouselImageIn 0.8s cubic-bezier(.2,.7,.2,1);
}

@keyframes kb7CarouselImageIn {
    from { opacity: 0; transform: scale(1.04); }
    to { opacity: 1; transform: scale(1); }
}

.kb7-carousel-shade {
    position: absolute;
    inset: 54px 7% 125px;
    background: linear-gradient(180deg, transparent 42%, rgba(4,17,29,.82));
    pointer-events: none;
}

.kb7-carousel-details {
    position: absolute;
    left: 11%;
    right: 11%;
    bottom: 145px;
    color: #fff;
}

.kb7-carousel-label {
    color: #d4a858;
    font-size: 10px;
    letter-spacing: 4px;
}

.kb7-carousel-counter {
    float: right;
    color: rgba(255,255,255,.65);
    font-size: 11px;
    letter-spacing: 2px;
}

.kb7-carousel-current {
    color: #d4a858;
}

.kb7-carousel-title {
    max-width: 650px;
    margin: 13px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.05;
}

.kb7-carousel-description {
    max-width: 540px;
    margin: 0 0 16px;
    color: #d8e0e9;
    font-size: 14px;
    line-height: 1.6;
}

.kb7-carousel-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #fff;
    font-size: 11px;
}

.kb7-carousel-services span::before {
    content: "—";
    margin-right: 7px;
    color: #d4a858;
}

.kb7-carousel-services span::before {
    display: none;
}

.kb7-carousel-services span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.kb7-carousel-services i {
    color: #d4a858;
    font-size: 12px;
    line-height: 1;
}

.kb7-carousel-controls {
    position: absolute;
    right: 0;
    bottom: 54px;
    left: 7%;
    display: flex;
    align-items: center;
    gap: 18px;
}

.kb7-carousel-controls button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.kb7-carousel-controls button:hover {
    color: #d4a858;
}

.kb7-carousel-progress {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #d4a858 var(--kb7-carousel-progress, 16.66%), rgba(255,255,255,.35) var(--kb7-carousel-progress, 16.66%));
}

@media (max-width: 767.98px) {
    .kb7-portfolio-carousel,
    .kb7-carousel-frame {
        min-height: 560px;
    }

    .kb7-carousel-frame {
        padding: 30px 20px 110px;
    }

    .kb7-carousel-image {
        height: 420px;
    }

    .kb7-carousel-shade {
        inset: 30px 20px 110px;
    }

    .kb7-carousel-details {
        right: 30px;
        bottom: 130px;
        left: 30px;
    }

    .kb7-carousel-controls {
        right: 30px;
        bottom: 40px;
        left: 30px;
    }
}

/* Keep the homepage portfolio carousel as a full-screen section. */
.club-home .kb7-portfolio {
    height: calc(100vh - 82px);
    min-height: calc(100vh - 82px);
    padding-top: 90px;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 82px;
}

.club-home .kb7-portfolio > .container {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.club-home .kb7-portfolio-heading {
    flex: 0 0 auto;
}

.club-home .kb7-portfolio-carousel {
    flex: 1 1 auto;
    min-height: 0;
}

.club-home .kb7-carousel-frame {
    width: calc(100% - (2 * clamp(20px, 3vw, 38px)));
    height: 100%;
    min-height: 0;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 991.98px) {
    .club-home .kb7-portfolio {
        height: calc(100vh - 72px);
        min-height: calc(100vh - 72px);
        scroll-margin-top: 72px;
    }
}

/* =========================================================
   CAROUSEL DETAIL PANEL LAYOUT
========================================================= */

.kb7-carousel-frame {
    display: block;
    min-height: 620px;
    padding: 30px 7% 105px;
    border: 0;
    box-shadow: none;
}

.kb7-carousel-image {
    position: absolute;
    top: 30px;
    right: -7%;
    left: 36%;
    width: auto;
    height: 490px;
    z-index: 1;
}

.kb7-carousel-shade {
    top: 30px;
    right: -7%;
    bottom: auto;
    left: 36%;
    width: auto;
    height: 490px;
    z-index: 2;
}

.kb7-carousel-details {
    top: 30px;
    right: auto;
    bottom: auto;
    left: 0;
    width: 36%;
    height: 490px;
    z-index: 3;
    padding: 58px 40px 35px;
    background: #f7f5ef;
    color: #08233d;
    border: 0;
    box-shadow: none;
}

.kb7-carousel-label {
    color: #c8953d;
}

.kb7-carousel-counter {
    position: absolute;
    top: 18px;
    left: 40px;
    float: none;
    color: #6c7780;
    font-size: 9px;
}

.kb7-carousel-current {
    color: #b58224;
}

.kb7-carousel-title {
    max-width: 330px;
    margin: 16px 0 22px;
    color: #08233d;
    font-size: clamp(31px, 3.2vw, 48px);
}

.kb7-carousel-description {
    max-width: 340px;
    margin-bottom: 25px;
    color: #234c74;
    font-size: 12px;
}

.kb7-carousel-services {
    display: grid;
    gap: 7px;
    color: #234c74;
    font-size: 10px;
}

.kb7-carousel-services span::before {
    color: #c8953d;
}

.kb7-carousel-explore {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 140px;
    margin-top: 24px;
    padding: 10px 12px;
    background: #d4a447;
    color: #000;
    font-size: 9px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease, gap 0.3s ease;
}

.kb7-carousel-explore > span:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: #5b9bd5;
    color: #ffffff;
    font-size: 7px;
    line-height: 1;
}

.kb7-carousel-explore:hover {
    gap: 16px;
    background: #c49335;
    color: #000;
}

.kb7-carousel-controls {
    right: 0;
    bottom: 60px;
    left: 0;
    z-index: 4;
}

@media (max-width: 767.98px) {
    .kb7-portfolio-heading {
        margin-right: 0;
        margin-left: 0;
    }

    .kb7-carousel-frame {
        min-height: 720px;
        padding: 20px;
    }

    .kb7-carousel-image {
        top: 245px;
        right: 20px;
        left: 20px;
        width: calc(100% - 40px);
        height: 390px;
    }

    .kb7-carousel-shade {
        top: 245px;
        right: 20px;
        left: 20px;
        width: calc(100% - 40px);
        height: 390px;
    }

    .kb7-carousel-details {
        top: 20px;
        left: 20px;
        width: calc(100% - 40px);
        height: 250px;
        padding: 42px 25px 20px;
    }

    .kb7-carousel-counter {
        top: 14px;
        left: 25px;
    }

    .kb7-carousel-title {
        margin: 10px 0 12px;
        font-size: 34px;
    }

    .kb7-carousel-description {
        margin-bottom: 12px;
    }

    .kb7-carousel-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .kb7-carousel-controls {
        right: 20px;
        bottom: 35px;
        left: 20px;
    }
}


/* =========================================================
   MODAL CONTENT REVEAL
   ========================================================= */

.kb7-modal-info > * {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .65s ease,
        transform .65s cubic-bezier(.22,1,.36,1);
}

.kb7-modal-active .kb7-modal-info > * {
    opacity: 1;

    transform: translateY(0);
}

.kb7-modal-active .kb7-modal-info > *:nth-child(1) {
    transition-delay: .25s;
}

.kb7-modal-active .kb7-modal-info > *:nth-child(2) {
    transition-delay: .35s;
}

.kb7-modal-active .kb7-modal-info > *:nth-child(3) {
    transition-delay: .45s;
}

.kb7-modal-active .kb7-modal-info > *:nth-child(4) {
    transition-delay: .55s;
}

.kb7-modal-active .kb7-modal-info > *:nth-child(5) {
    transition-delay: .65s;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .kb7-portfolio {
        padding: 80px 0;
    }

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

    .kb7-modal-inner {
        grid-template-columns: 1fr;

        max-height: 80vh;

        overflow-y: auto;
    }

    .kb7-modal-image {
        min-height: 350px;

        order: -1;
    }

    .kb7-modal-info {
        padding: 45px;
    }

}


@media (max-width: 575px) {

    .kb7-portfolio {
        padding: 65px 0;
    }

    .kb7-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .kb7-portfolio-heading h2 {
        font-size: 43px;
    }

    .kb7-portfolio-card {
        min-height: 210px;
    }

    .kb7-modal-wrapper {
        width: calc(100% - 30px);
    }

    .kb7-modal-inner {
        min-height: auto;
    }

    .kb7-modal-info {
        padding: 35px 25px;
    }

    .kb7-modal-title {
        font-size: 38px;
    }

    .kb7-modal-image {
        min-height: 250px;
    }

    .kb7-modal-close {
        top: -42px;
    }

}




/* ==========================================
   WHAT CONNECTS US
========================================== */

.kb7-connect-section {

    width: 100%;

    background: #f7f5ef;

    overflow: hidden;
}


/* ==========================================
   CONTAINER
========================================== */

.kb7-connect-container {
    max-width: none;

    margin: 0;

    padding-top: 76px;

    padding-bottom: 76px;

    padding-left: var(--kb7-page-gutter);

    padding-right: var(--kb7-page-gutter);
}


/* ==========================================
   HEADING
========================================== */

.kb7-connect-heading {
    margin-bottom: 28px;
}


.kb7-connect-label {

    display: block;

    margin-bottom: 18px;

    color: #c9a052;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;

    line-height: 1;
}


.kb7-connect-heading h2 {

    margin: 0;

    color: #08233d;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: clamp(36px, 4vw, 52px);

    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -2px;
}


/* ==========================================
   VALUES GRID
========================================== */

.kb7-connect-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}


/* ==========================================
   VALUE ITEM
========================================== */

.kb7-connect-item {
    min-height: 90px;
    padding: 17px 16px 15px;
    border-top: 5px solid #d4a447;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(8, 35, 61, 0.08);
}


/* Add spacing between columns */

.kb7-connect-grid > div:not(:first-child) {
    padding-left: 0;
}


/* ==========================================
   VALUE TITLE
========================================== */

.kb7-connect-item h3 {
    margin: 0 0 6px;
    color: #08233d;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.3;
}


/* ==========================================
   VALUE DESCRIPTION
========================================== */

.kb7-connect-item p {

    max-width: 100%;

    margin: 0;

    color: #234c74;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 400;

    line-height: 1.35;
}

.kb7-connect-grid > div {
    width: auto;
    padding-right: 0;
    padding-left: 0;
}


/* ==========================================
   LARGE DESKTOP
========================================== */

@media (min-width: 1400px) {

    .kb7-connect-container {

        max-width: none;

        padding-left: var(--kb7-page-gutter);

        padding-right: var(--kb7-page-gutter);

        padding-top: 90px;

        padding-bottom: 95px;
    }

}


/* ==========================================
   VERY LARGE DESKTOP
========================================== */

@media (min-width: 1800px) {

    .kb7-connect-container {

        max-width: none;
    }

}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991.98px) {

    .kb7-connect-container {

        padding: 75px var(--kb7-page-gutter);
    }


    .kb7-connect-heading {

        margin-bottom: 40px;
    }


    .kb7-connect-heading h2 {

        font-size: 50px;
    }


    .kb7-connect-item {

        padding-right: 20px;
    }


    .kb7-connect-grid > div:not(:first-child) {

        padding-left: 20px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767.98px) {

    .kb7-connect-container {

        padding: 65px 25px;
    }


    .kb7-connect-heading {

        margin-bottom: 40px;
    }


    .kb7-connect-label {

        font-size: 9px;

        letter-spacing: 2.5px;
    }


    .kb7-connect-heading h2 {

        font-size: 42px;

        line-height: 1;

        letter-spacing: -1.5px;
    }


    .kb7-connect-item {

        min-height: auto;

        padding-top: 25px;

        padding-right: 0;

        padding-bottom: 28px;
    }


    .kb7-connect-grid > div:not(:first-child) {

        padding-left: 0;
    }


    .kb7-connect-item h3 {

        margin-bottom: 12px;

        font-size: 13px;
    }


    .kb7-connect-item p {

        max-width: 100%;

        font-size: 13px;

        line-height: 1.65;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .kb7-connect-container {

        padding-left: 20px;

        padding-right: 20px;
    }


    .kb7-connect-heading h2 {

        font-size: 38px;
    }

}


/* ==========================================
   CTA SECTION
========================================== */

.kb7-cta-section {

    position: relative;

    width: 100%;

    overflow: hidden;

    background: #071b31;

    padding-top: 58px;

    padding-bottom: 58px;

}


.kb7-cta-section::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 0;

    background:
        linear-gradient(
            110deg,
            rgba(7, 27, 49, 0.82) 0%,
            rgba(18, 34, 55, 0.5) 42%,
            rgba(54, 67, 91, 0.34) 100%
        ),
        radial-gradient(
            ellipse at 74% 45%,
            rgba(174, 187, 207, 0.56) 0%,
            rgba(28, 45, 68, 0) 58%
        ),
        linear-gradient(
            108deg,
            rgba(30, 44, 65, 0.52) 0 25%,
            rgba(173, 181, 195, 0.32) 25.3% 41%,
            rgba(12, 30, 51, 0.2) 41.3% 100%
        );

    pointer-events: none;
}


.kb7-cta-section::after {

    content: "7";

    position: absolute;

    top: 50%;
    right: 7%;

    z-index: 1;

    color: rgba(255, 255, 255, 0.055);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(180px, 28vw, 520px);
    font-weight: 400;
    line-height: 0.8;

    transform: translateY(-50%);

    pointer-events: none;
    user-select: none;
}


/* ==========================================
   CTA BOX
========================================== */

.kb7-cta-box {

    position: relative;

    z-index: 2;

    width: 68vw;
    max-width: 1168px;
    margin: 0 auto;

    background: #071b31;

    padding: clamp(20px, 2.8vw, 54px) clamp(18px, 2.7vw, 52px);

}


/* ==========================================
   CTA TITLE
========================================== */

.kb7-cta-title {

    margin: 0;

    color: #ffffff;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: clamp(18px, 2.6vw, 50px);

    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -2px;
}


/* ==========================================
   BUTTON AREA
========================================== */

.kb7-cta-action {

    display: flex;

    justify-content: flex-end;

    align-items: center;

}


/* ==========================================
   CTA BUTTON
========================================== */

.kb7-cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: clamp(16px, 2.2vw, 42px);

    padding: 0 clamp(8px, 1.15vw, 22px);

    background: #c9a052;

    border: 1px solid #c9a052;

    color: #071b31;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: clamp(5px, 0.63vw, 12px);

    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

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


.kb7-cta-button:hover {

    background: #ffffff;

    border-color: #ffffff;

    color: #071b31;

}


/* ==========================================
   LARGE DESKTOP
========================================== */

@media (min-width: 1200px) {

    .kb7-cta-section {

        padding-top: 75px;

        padding-bottom: 75px;
    }


    .kb7-cta-box {

        padding: 55px 52px;
    }


    .kb7-cta-title {

        font-size: 50px;
    }

}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991.98px) {

    .kb7-cta-section {

        padding-top: 43px;

        padding-bottom: 43px;
    }


    .kb7-cta-box {

        padding: 20px 18px;
    }


    .kb7-cta-title {

        font-size: clamp(18px, 2.6vw, 30px);
    }


    .kb7-cta-action {

        justify-content: flex-end;

        margin-top: 0;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767.98px) {

    .kb7-cta-section {

        padding-top: 35px;

        padding-bottom: 35px;
    }


    .kb7-cta-box {

        padding: 18px 16px;
    }


    .kb7-cta-title {

        font-size: 18px;

        line-height: 1.05;

        letter-spacing: -1.2px;
    }


    .kb7-cta-action {

        margin-top: 0;
    }


    .kb7-cta-button {

        min-height: 16px;

        padding-left: 8px;

        padding-right: 8px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .kb7-cta-box {

        padding: 16px 14px;
    }


    .kb7-cta-title {

        font-size: 17px;
    }

}

/* =========================================================
   HOMEPAGE PORTFOLIO VIEWER
   Compact centered split-panel presentation.
========================================================= */

.club-home .kb7-portfolio {
    padding-top: 28px;
    padding-bottom: 20px;
}

.club-home .kb7-portfolio-heading {
    display: none;
}

.club-home .kb7-portfolio > .container {
    padding-right: 0;
    padding-left: 0;
}

.club-home .kb7-portfolio-carousel {
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
}

.club-home .kb7-carousel-frame {
    width: min(100%, 1200px);
    height: clamp(360px, 62vh, 520px);
    min-height: 0;
    margin: 0 auto;
    padding: 0;
}

.club-home .kb7-carousel-image,
.club-home .kb7-carousel-shade {
    top: 0;
    right: 0;
    bottom: auto;
    left: 42%;
    width: auto;
    height: 100%;
}

.club-home .kb7-carousel-image {
    object-fit: cover;
}

.club-home .kb7-carousel-shade {
    background: linear-gradient(180deg, transparent 45%, rgba(4, 17, 29, .2));
}

.club-home .kb7-carousel-details {
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    width: 42%;
    height: 100%;
    padding: 44px 36px 34px;
    background: #f7f5ef;
    color: #08233d;
}

.club-home .kb7-carousel-counter {
    top: 14px;
    left: 36px;
    float: none;
    color: #75808b;
    font-size: 9px;
}

.club-home .kb7-carousel-title {
    max-width: 360px;
    margin: 16px 0 20px;
    color: #08233d;
    font-size: clamp(32px, 3.3vw, 50px);
    line-height: 1.08;
}

.club-home .kb7-carousel-description {
    max-width: 360px;
    margin-bottom: 25px;
    color: #234c74;
    font-size: 11px;
}

.club-home .kb7-carousel-services {
    display: grid;
    gap: 9px;
    color: #234c74;
    font-size: 10px;
}

.club-home .kb7-carousel-services i {
    color: #b58224;
}

.club-home .kb7-carousel-explore {
    min-height: 34px;
    margin-top: 22px;
    padding: 0 16px;
    background: #d5a447;
    color: #08233d;
    font-size: 9px;
}

.club-home .kb7-carousel-controls {
    display: none;
}

.club-home .kb7-carousel-close {
    position: absolute;
    top: -24px;
    right: 4px;
    z-index: 6;
    border: 0;
    padding: 0;
    background: transparent;
    color: rgba(255, 255, 255, .82);
    font-size: 20px;
    line-height: 1;
}

.club-home .kb7-carousel-pagination {
    position: absolute;
    right: 0;
    bottom: -28px;
    left: 0;
    z-index: 6;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.club-home .kb7-carousel-page {
    position: relative;
    border: 0;
    padding: 0 0 4px;
    background: transparent;
    color: rgba(255, 255, 255, .38);
    font-size: 8px;
    letter-spacing: 1px;
}

.club-home .kb7-carousel-page::before {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(100% + 5px);
    width: 10px;
    height: 1px;
    background: rgba(255, 255, 255, .32);
}

.club-home .kb7-carousel-page.active {
    color: #d5a447;
}

@media (max-width: 767.98px) {
    .club-home .kb7-carousel-frame {
        width: calc(100% - 24px);
        height: 540px;
    }

    .club-home .kb7-carousel-image,
    .club-home .kb7-carousel-shade {
        top: 48%;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 52%;
    }

    .club-home .kb7-carousel-details {
        width: 100%;
        height: 52%;
        padding: 36px 25px 20px;
    }

    .club-home .kb7-carousel-counter {
        left: 25px;
    }

    .club-home .kb7-carousel-title {
        margin-top: 12px;
        font-size: 34px;
    }

    .club-home .kb7-carousel-description {
        margin-bottom: 14px;
    }

    .club-home .kb7-carousel-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}



