/* =========================================================
   KB7 CORPORATION
   CONTACT PAGE
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

.club-home {

    background: #f7f4ed;

}


.club-home main {

    width: 100%;

    overflow: hidden;

}


.club-home *,
.club-home *::before,
.club-home *::after {

    box-sizing: border-box;

}



/* =========================================================
   HERO
========================================================= */

.kb7-contact-hero {

    position: relative;

    min-height: 445px;

    background: #061b33;

    overflow: hidden;

    display: flex;

    align-items: center;

}


/* Keep content above decoration */

.kb7-contact-hero .container {

    position: relative;

    z-index: 3;

}


/* =========================================================
   HERO CONTENT
========================================================= */

.kb7-contact-content {

    padding-top: 5px;

    padding-bottom: 20px;

}


/* =========================================================
   EYEBROW
========================================================= */

.kb7-contact-eyebrow {

    margin-bottom: 20px;

    color: #d39b3f;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

}


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

.kb7-contact-content h1 {

    margin: 0;

    max-width: 760px;

    color: #ffffff;

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

    font-size: 68px;

    font-weight: 400;

    line-height: 1.04;

    letter-spacing: -3px;

}


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

.kb7-contact-content p {

    max-width: 570px;

    margin-top: 53px;

    margin-bottom: 0;

    color: #d8e0e9;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.65;

}



/* =========================================================
   HERO DIAGONAL LINE
========================================================= */

.kb7-contact-line {

    position: absolute;

    z-index: 1;

    top: -280px;

    right: 10%;

    width: 1px;

    height: 900px;

    background: rgba(255, 255, 255, .14);

    transform:
        rotate(-45deg)
        scaleY(0);

    transform-origin: center;

    opacity: 0;

    animation:
        kb7ContactLine
        1.3s
        cubic-bezier(.2, .7, .2, 1)
        .05s
        forwards;

}


@keyframes kb7ContactLine {

    from {

        opacity: 0;

        transform:
            rotate(-45deg)
            scaleY(0);

    }

    to {

        opacity: 1;

        transform:
            rotate(-45deg)
            scaleY(1);

    }

}



/* =========================================================
   HERO GOLD GLOW
========================================================= */

.kb7-contact-glow {

    position: absolute;

    top: -260px;

    right: -100px;

    width: 600px;

    height: 600px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(211, 155, 63, .07) 0%,
            rgba(211, 155, 63, 0) 70%
        );

    pointer-events: none;

    opacity: 0;

    animation:
        kb7ContactGlow
        1.8s
        ease
        .25s
        forwards;

}


@keyframes kb7ContactGlow {

    from {

        opacity: 0;

        transform: scale(.85);

    }

    to {

        opacity: 1;

        transform: scale(1);

    }

}



/* =========================================================
   HERO CONTENT ANIMATION
========================================================= */

.kb7-hero-reveal {

    opacity: 0;

    transform:
        translateY(28px);

    animation:
        kb7ContactReveal
        .9s
        cubic-bezier(.2, .7, .2, 1)
        forwards;

}


@keyframes kb7ContactReveal {

    from {

        opacity: 0;

        transform:
            translateY(28px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


.kb7-hero-delay-1 {

    animation-delay: .15s;

}


.kb7-hero-delay-2 {

    animation-delay: .32s;

}


.kb7-hero-delay-3 {

    animation-delay: .52s;

}



/* =========================================================
   MAIN CONTACT SECTION
========================================================= */

.kb7-contact-section {

    padding-top: 105px;

    padding-bottom: 115px;

    background: #f7f4ed;

    color: #10233f;

}



/* =========================================================
   LEFT SIDE
========================================================= */

.kb7-contact-left {

    height: 100%;

    padding-right: 20px;

}



/* =========================================================
   CONTACT EYEBROW
========================================================= */

.kb7-contact-form-eyebrow {

    margin-bottom: 18px;

    color: #c9933b;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

}



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

.kb7-contact-left h2 {

    margin: 0;

    color: #0a1c34;

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

    font-size: 56px;

    font-weight: 400;

    line-height: 1.02;

    letter-spacing: -2.5px;

}



/* =========================================================
   INTRO
========================================================= */

.kb7-contact-intro {

    max-width: 450px;

    margin-top: 30px;

    margin-bottom: 38px;

    color: #536176;

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

    font-size: 16px;

    line-height: 1.7;

}



/* =========================================================
   CONTACT DETAILS
========================================================= */

.kb7-contact-details {

    display: grid;

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

    gap: 25px 25px;

    margin-bottom: 35px;

}


.kb7-contact-detail {

    padding-top: 16px;

    border-top:
        1px solid #d7d2c8;

}


.kb7-contact-detail span {

    display: block;

    margin-bottom: 7px;

    color: #c9933b;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 1.7px;

    text-transform: uppercase;

}


.kb7-contact-detail a,
.kb7-contact-detail p {

    display: block;

    margin: 0;

    color: #0b294a;

    font-size: 13px;

    line-height: 1.5;

    text-decoration: none;

}


.kb7-contact-detail a {

    transition:
        color .25s ease;

}


.kb7-contact-detail a:hover {

    color: #c9933b;

}



/* =========================================================
   MAP
========================================================= */

.kb7-contact-map {

    position: relative;

    width: 100%;

    height: 245px;

    overflow: hidden;

    border:
        1px solid #d5d0c6;

    background: #e8e5dd;

}


.kb7-contact-map iframe {

    display: block;

    width: 100%;

    height: 100%;

    border: 0;

    filter:
        grayscale(100%)
        contrast(.9);

    transition:
        filter .5s ease,
        transform .7s ease;

}


.kb7-contact-map:hover iframe {

    filter:
        grayscale(15%)
        contrast(.95);

    transform:
        scale(1.02);

}



/* =========================================================
   MAP LABEL
========================================================= */

.kb7-map-overlay {

    position: absolute;

    left: 20px;

    bottom: 20px;

    min-width: 165px;

    padding: 13px 16px;

    background:
        rgba(6, 27, 51, .94);

    border-left:
        2px solid #d5a447;

    color: #ffffff;

}


.kb7-map-overlay span {

    display: block;

    margin-bottom: 4px;

    color: #d5a447;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 2px;

}


.kb7-map-overlay strong {

    color: #ffffff;

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

    font-size: 15px;

    font-weight: 400;

}



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

.kb7-contact-form-card {

    height: 100%;

    padding: 48px 50px;

    background: #ffffff;

    border:
        1px solid #ddd9d0;

    box-shadow:
        0 20px 60px
        rgba(6, 27, 51, .055);

}



/* =========================================================
   FORM HEADER
========================================================= */

.kb7-form-header {

    margin-bottom: 35px;

    padding-bottom: 27px;

    border-bottom:
        1px solid #e1ddd5;

}


.kb7-form-header > span {

    display: block;

    margin-bottom: 11px;

    color: #b58224;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 3px;

}


.kb7-form-header h3 {

    margin: 0 0 12px;

    color: #061b33;

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

    font-size: 39px;

    font-weight: 400;

    line-height: 1.05;

}


.kb7-form-header p {

    max-width: none;

    white-space: nowrap;

    margin: 0;

    color: #687386;

    font-size: 14px;

    line-height: 1.65;

}



/* =========================================================
   FORM
========================================================= */

.kb7-contact-form {

    width: 100%;

}


.kb7-form-group {

    margin-bottom: 19px;

}



/* =========================================================
   LABEL
========================================================= */

.kb7-form-group label {

    display: block;

    margin-bottom: 8px;

    color: #071b34;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .3px;

}



/* =========================================================
   INPUT / SELECT / TEXTAREA
========================================================= */

.kb7-form-group input,
.kb7-form-group select,
.kb7-form-group textarea {

    display: block;

    width: 100%;

    border:
        1px solid #d6dce2;

    border-radius: 0;

    background: #ffffff;

    color: #071b34;

    font-family:
        Arial,
        sans-serif;

    font-size: 14px;

    outline: none;

    box-shadow: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;

}


.kb7-form-group input,
.kb7-form-group select {

    height: 48px;

    padding:
        0 13px;

}

.kb7-form-group select {
    appearance: auto;
    -webkit-appearance: menulist;
    padding-right: 32px;
}


.kb7-form-group textarea {

    min-height: 145px;

    padding: 13px;

    resize: vertical;

}


.kb7-form-group input::placeholder,
.kb7-form-group textarea::placeholder {

    color: #9ba3ad;

}



/* =========================================================
   FOCUS
========================================================= */

.kb7-form-group input:focus,
.kb7-form-group select:focus,
.kb7-form-group textarea:focus {

    border-color: #b58224;

    outline: none;

    box-shadow:
        0 0 0 2px
        rgba(181, 130, 36, .08);

}



/* =========================================================
   SUBMIT
========================================================= */

.kb7-submit-wrapper {

    margin-top: 3px;

}


.kb7-contact-submit {

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 32px;

    min-width: 175px;

    height: 48px;

    padding:
        0 19px;

    border:
        1px solid #d2a653;

    border-radius: 0;

    background: #d2a653;

    color: #071a30;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;

}


.kb7-submit-arrow {

    font-size: 18px;

    line-height: 1;

    transition:
        transform .3s ease;

}


.kb7-contact-submit:hover {

    background: #061b33;

    border-color: #061b33;

    color: #ffffff;

    transform:
        translateY(-2px);

}


.kb7-contact-submit:hover
.kb7-submit-arrow {

    transform:
        translateX(5px);

}



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

@media (max-width: 991.98px) {


    /* HERO */

    .kb7-contact-hero {

        min-height: 480px;

    }


    .kb7-contact-content h1 {

        font-size: 56px;

        letter-spacing: -2px;

    }


    .kb7-contact-content p {

        margin-top: 40px;

    }


    .kb7-contact-line {

        right: -5%;

    }



    /* CONTACT */

    .kb7-contact-section {

        padding-top: 75px;

        padding-bottom: 85px;

    }


    .kb7-contact-left {

        padding-right: 0;

    }


    .kb7-contact-left h2 {

        font-size: 50px;

    }


    .kb7-contact-form-card {

        padding: 40px;

    }

}



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

@media (max-width: 767.98px) {


    /* HERO */

    .kb7-contact-hero {

        min-height: 520px;

    }


    .kb7-contact-content {

        padding-left: 15px;

        padding-right: 15px;

    }


    .kb7-contact-eyebrow {

        font-size: 9px;

        letter-spacing: 1.7px;

    }


    .kb7-contact-content h1 {

        font-size: 44px;

        line-height: 1.05;

        letter-spacing: -1.5px;

    }


    .kb7-contact-content p {

        margin-top: 35px;

        font-size: 15px;

        line-height: 1.6;

    }


    .kb7-contact-line {

        right: -25%;

    }



    /* CONTACT */

    .kb7-contact-section {

        padding-top: 60px;

        padding-bottom: 65px;

    }


    .kb7-contact-left {

        margin-bottom: 15px;

    }


    .kb7-contact-left h2 {

        font-size: 44px;

        letter-spacing: -1.5px;

    }


    .kb7-contact-intro {

        margin-top: 24px;

    }


    .kb7-contact-details {

        grid-template-columns: 1fr;

        gap: 20px;

        margin-bottom: 30px;

    }


    .kb7-contact-map {

        height: 250px;

    }


    .kb7-contact-form-card {

        padding: 30px 22px;

    }


    .kb7-form-header {

        margin-bottom: 28px;

        padding-bottom: 23px;

    }


    .kb7-form-header h3 {

        font-size: 32px;

    }


    .kb7-contact-submit {

        width: 100%;

    }

}



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

@media (max-width: 480px) {


    .kb7-contact-content h1 {

        font-size: 39px;

    }


    .kb7-contact-left h2 {

        font-size: 40px;

    }


    .kb7-contact-form-card {

        padding:
            28px 18px;

    }


    .kb7-map-overlay {

        left: 12px;

        bottom: 12px;

    }

}



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

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


    .kb7-hero-reveal,
    .kb7-contact-line,
    .kb7-contact-glow {

        animation: none !important;

        opacity: 1 !important;

        transform: none !important;

    }


    .kb7-contact-map iframe,
    .kb7-contact-submit {

        transition: none !important;

    }

}

/* =========================================================
   HERO ANIMATION
========================================================= */


/* =========================================================
   HERO CONTENT
========================================================= */

.kb7-hero-reveal {

    opacity: 0;

    transform:
        translateY(35px);

    animation:
        kb7HeroReveal
        1s
        cubic-bezier(.16, 1, .3, 1)
        forwards;

}


@keyframes kb7HeroReveal {

    0% {

        opacity: 0;

        transform:
            translateY(35px);

    }

    100% {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   EYEBROW
========================================================= */

.kb7-hero-delay-1 {

    animation-delay: .15s;

}



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

.kb7-hero-delay-2 {

    animation-delay: .35s;

}



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

.kb7-hero-delay-3 {

    animation-delay: .58s;

}



/* =========================================================
   DIAGONAL LINE
========================================================= */

.kb7-contact-line {

    position: absolute;

    top: -280px;

    right: 10%;

    width: 1px;

    height: 900px;

    background:
        rgba(255, 255, 255, .16);

    z-index: 1;

    transform:
        rotate(-45deg)
        scaleY(0);

    transform-origin:
        center center;

    opacity: 0;

    animation:
        kb7LineDraw
        1.4s
        cubic-bezier(.16, 1, .3, 1)
        .05s
        forwards;

}


@keyframes kb7LineDraw {

    0% {

        opacity: 0;

        transform:
            rotate(-45deg)
            scaleY(0);

    }

    40% {

        opacity: 1;

    }

    100% {

        opacity: 1;

        transform:
            rotate(-45deg)
            scaleY(1);

    }

}



/* =========================================================
   GOLD LIGHT
========================================================= */

.kb7-contact-glow {

    position: absolute;

    top: -250px;

    right: -120px;

    width: 650px;

    height: 650px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(211,155,63,.09) 0%,
            rgba(211,155,63,.04) 30%,
            rgba(211,155,63,0) 70%
        );

    pointer-events: none;

    opacity: 0;

    transform:
        scale(.75);

    animation:
        kb7GlowReveal
        2s
        cubic-bezier(.16, 1, .3, 1)
        .2s
        forwards;

}


@keyframes kb7GlowReveal {

    0% {

        opacity: 0;

        transform:
            scale(.75)
            translate(50px, -20px);

    }

    100% {

        opacity: 1;

        transform:
            scale(1)
            translate(0, 0);

    }

}



/* =========================================================
   SUBTLE HERO BACKGROUND MOVEMENT
========================================================= */

.kb7-contact-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            115deg,
            transparent 20%,
            rgba(255,255,255,.025) 45%,
            transparent 65%
        );

    transform:
        translateX(-100%);

    animation:
        kb7HeroSweep
        2.2s
        cubic-bezier(.16, 1, .3, 1)
        .15s
        forwards;

    pointer-events: none;

    z-index: 2;

}


@keyframes kb7HeroSweep {

    0% {

        transform:
            translateX(-100%);

    }

    100% {

        transform:
            translateX(100%);

    }

}



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

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

    .kb7-hero-reveal,
    .kb7-contact-line,
    .kb7-contact-glow,
    .kb7-contact-hero::after {

        animation: none !important;

        opacity: 1 !important;

        transform: none !important;

    }

}

@media (max-width: 767.98px) {
    .kb7-form-header p {
        white-space: normal;
    }
}
