/* =========================================================
   PURPLE LIGHT TOUCH FOUNDATION
   CONTACT PAGE
   Architectural Editorial Design
========================================================= */


/* =========================================================
   PAGE VARIABLES
========================================================= */

.contact-page {

    --contact-purple: #59256f;
    --contact-purple-dark: #421b55;
    --contact-purple-deep: #211044;

    --contact-gold: #d4af37;
    --contact-gold-light: #e5c75b;

    --contact-cream: #faf7fc;
    --contact-white: #ffffff;

    --contact-text: #2e2038;
    --contact-muted: #756b83;

    --contact-border: #e4d9e8;

    overflow-x: hidden;
}


/* =========================================================
   HERO
   DISTINCT SPLIT / GEOMETRIC DESIGN
========================================================= */

.contact-hero {

    position: relative;

    min-height: 720px;

    display: grid;

    grid-template-columns: 47% 53%;

    overflow: hidden;

    background: var(--contact-purple-deep);
}


/* ---------------------------------------------------------
   LEFT SIDE
--------------------------------------------------------- */

.contact-hero-copy {

    position: relative;

    z-index: 3;

    display: flex;

    align-items: flex-end;

    padding:
        160px
        70px
        135px
        max(40px, calc((100vw - 1240px) / 2));

    background:
        linear-gradient(
            145deg,
            #211044 0%,
            #32145c 65%,
            #421b55 100%
        );

    color: var(--contact-white);
}

.contact-hero-copy::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 1px;
    height: 100%;

    background:
        linear-gradient(
            transparent,
            rgba(212,175,55,.5),
            transparent
        );
}

.contact-hero-inner {

    max-width: 610px;

    position: relative;
}


/* ---------------------------------------------------------
   GOLD VERTICAL LINE
--------------------------------------------------------- */

.contact-hero-inner::before {

    content: "";

    position: absolute;

    left: -28px;
    top: 4px;

    width: 2px;
    height: 80px;

    background: var(--contact-gold);
}


.contact-kicker {

    display: block;

    margin-bottom: 23px;

    color: var(--contact-gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.contact-hero h1 {

    margin-bottom: 28px;

    color: var(--contact-white);

    font-family: var(--heading-font);

    font-size: clamp(58px, 6vw, 91px);

    line-height: .91;

    font-weight: 600;

    letter-spacing: -2px;
}

.contact-hero h1 span {

    display: block;

    color: var(--contact-gold);
}


.contact-hero-inner > p {

    max-width: 520px;

    margin-bottom: 32px;

    color: rgba(255,255,255,.72);

    font-size: 15px;

    line-height: 1.85;
}


.contact-hero-line {

    width: 100%;

    height: 1px;

    margin-bottom: 22px;

    background:
        linear-gradient(
            90deg,
            rgba(212,175,55,.65),
            transparent
        );
}


.contact-hero-note {

    display: flex;

    align-items: center;

    gap: 13px;
}


.contact-hero-note > span {

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(212,175,55,.5);

    border-radius: 50%;

    color: var(--contact-gold);

    font-size: 12px;
}


.contact-hero-note p {

    max-width: 420px;

    color: rgba(255,255,255,.55);

    font-size: 11px;

    line-height: 1.6;
}


/* ---------------------------------------------------------
   RIGHT IMAGE
--------------------------------------------------------- */

.contact-hero-image {

    position: relative;

    min-height: 720px;

    overflow: hidden;
}

.contact-hero-image::before {

    content: "";

    position: absolute;

    left: -2px;
    top: 0;

    z-index: 2;

    width: 120px;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--contact-purple-deep),
            transparent
        );

    clip-path: polygon(
        0 0,
        100% 0,
        35% 100%,
        0 100%
    );
}

.contact-hero-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    animation:
        contactHeroImage 1.2s ease both;
}


.contact-image-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(33,16,68,.08),
            rgba(33,16,68,.42)
        );
}


.contact-image-caption {

    position: absolute;

    right: 45px;
    bottom: 45px;

    z-index: 4;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    text-align: right;
}

.contact-image-caption span {

    margin-bottom: 5px;

    color: var(--contact-gold);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.contact-image-caption strong {

    color: var(--contact-white);

    font-family: var(--heading-font);

    font-size: 31px;

    font-weight: 600;
}


/* ---------------------------------------------------------
   GOLD DECORATION
--------------------------------------------------------- */

.contact-gold-mark {

    position: absolute;

    right: 36px;
    top: 170px;

    z-index: 5;

    display: flex;

    flex-direction: column;

    gap: 8px;
}

.contact-gold-mark span {

    display: block;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--contact-gold);
}

.contact-gold-mark span:nth-child(2) {

    width: 12px;
    height: 12px;

    margin-left: -3px;
}

@keyframes contactHeroImage {

    from {

        opacity: 0;

        transform: scale(1.07);
    }

    to {

        opacity: 1;

        transform: scale(1);
    }
}


/* =========================================================
   SHARED EYEBROW
========================================================= */

.contact-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 17px;

    color: var(--contact-gold);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}

.contact-eyebrow::before {

    content: "";

    width: 27px;
    height: 1px;

    background: currentColor;
}


/* =========================================================
   INFORMATION
========================================================= */

.contact-information {

    padding: 115px 0 105px;

    background: var(--contact-white);
}

.contact-information-heading {

    margin-bottom: 52px;
}

.contact-information-heading h2 {

    max-width: 700px;

    color: var(--contact-purple-dark);

    font-size: clamp(43px, 5vw, 67px);
}

.contact-information-heading h2 em {

    color: var(--contact-purple);

    font-weight: 500;
}


.contact-information-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.contact-info-card {

    position: relative;

    min-height: 190px;

    display: grid;

    grid-template-columns: 58px 1fr 25px;

    align-items: center;

    gap: 18px;

    padding: 30px;

    border: 1px solid var(--contact-border);

    background: var(--contact-white);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.contact-info-card:hover {

    transform: translateY(-6px);

    border-color: rgba(89,37,111,.3);

    box-shadow:
        0 20px 45px rgba(55,25,75,.10);
}


.contact-info-icon {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(89,37,111,.08);

    color: var(--contact-purple);

    font-size: 19px;

    transition:
        background .3s ease,
        color .3s ease;
}

.contact-info-card:hover
.contact-info-icon {

    background: var(--contact-purple);

    color: var(--contact-gold);
}


.contact-info-card span {

    display: block;

    margin-bottom: 6px;

    color: var(--contact-gold);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.contact-info-card h3 {

    margin-bottom: 5px;

    color: var(--contact-purple-dark);

    font-family: var(--body-font);

    font-size: 15px;

    font-weight: 700;

    overflow-wrap: anywhere;
}

.contact-info-card p {

    color: var(--contact-muted);

    font-size: 11px;

    line-height: 1.5;
}


.contact-info-arrow {

    align-self: center;

    color: rgba(89,37,111,.35);

    font-size: 11px;

    transition:
        color .3s ease,
        transform .3s ease;
}

.contact-info-card:hover
.contact-info-arrow {

    color: var(--contact-gold);

    transform: translate(3px,-3px);
}


/* =========================================================
   CONTACT FORM SECTION
========================================================= */

.contact-form-section {

    padding: 125px 0;

    background:
        linear-gradient(
            180deg,
            #faf7fc 0%,
            #f4edf7 100%
        );
}


.contact-form-layout {

    display: grid;

    grid-template-columns: .75fr 1.25fr;

    gap: 80px;

    align-items: start;
}


/* ---------------------------------------------------------
   FORM INTRO
--------------------------------------------------------- */

.contact-form-intro {

    position: sticky;

    top: 120px;

    padding-top: 25px;
}

.contact-form-intro h2 {

    max-width: 480px;

    margin-bottom: 23px;

    color: var(--contact-purple-dark);

    font-size: clamp(48px, 5vw, 68px);
}

.contact-form-intro h2 em {

    color: var(--contact-purple);

    font-weight: 500;
}

.contact-form-intro > p {

    max-width: 480px;

    color: var(--contact-muted);

    font-size: 15px;

    line-height: 1.9;
}


.contact-form-decoration {

    position: relative;

    height: 100px;

    margin: 25px 0;
}

.contact-form-decoration span {

    position: absolute;

    border: 1px solid rgba(89,37,111,.16);

    border-radius: 50%;
}

.contact-form-decoration span:first-child {

    width: 90px;
    height: 90px;

    left: 0;
    top: 0;
}

.contact-form-decoration span:last-child {

    width: 58px;
    height: 58px;

    left: 42px;
    top: 17px;

    border-color: rgba(212,175,55,.45);
}


.contact-response-note {

    display: flex;

    gap: 13px;

    padding-top: 20px;

    border-top: 1px solid var(--contact-border);
}

.contact-response-note > i {

    color: var(--contact-gold);

    margin-top: 4px;
}

.contact-response-note strong {

    display: block;

    margin-bottom: 4px;

    color: var(--contact-purple-dark);

    font-size: 12px;
}

.contact-response-note p {

    color: var(--contact-muted);

    font-size: 11px;
}


/* ---------------------------------------------------------
   FORM CARD
--------------------------------------------------------- */

.contact-form-card {

    position: relative;

    padding: 48px;

    background: var(--contact-white);

    border: 1px solid var(--contact-border);

    box-shadow:
        0 30px 70px rgba(55,25,75,.08);
}

.contact-form-card::before {

    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 80px;
    height: 80px;

    border-top: 3px solid var(--contact-gold);
    border-right: 3px solid var(--contact-gold);
}


.contact-form-title {

    margin-bottom: 35px;
}

.contact-form-title span {

    display: block;

    margin-bottom: 7px;

    color: var(--contact-gold);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.contact-form-title h3 {

    color: var(--contact-purple-dark);

    font-size: 33px;
}


/* ---------------------------------------------------------
   FIELDS
--------------------------------------------------------- */

.contact-form {

    display: grid;

    gap: 22px;
}

.contact-form-row {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 18px;
}

.contact-field {

    display: flex;

    flex-direction: column;

    gap: 8px;
}

.contact-field label {

    color: var(--contact-purple-dark);

    font-size: 11px;
    font-weight: 700;
}

.contact-field label span {

    color: #a33e3e;
}

.contact-field input,
.contact-field select,
.contact-field textarea {

    width: 100%;

    border: 1px solid #ddd3e2;

    border-radius: 0;

    background: #fdfbfd;

    color: var(--contact-text);

    font-family: var(--body-font);

    font-size: 13px;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.contact-field input,
.contact-field select {

    height: 53px;

    padding: 0 15px;
}

.contact-field textarea {

    min-height: 155px;

    padding: 14px 15px;

    resize: vertical;

    line-height: 1.7;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {

    color: #a59ca9;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {

    border-color: var(--contact-purple);

    background: var(--contact-white);

    box-shadow:
        0 0 0 3px rgba(89,37,111,.07);
}


/* =========================================================
   CONSENT
========================================================= */

.contact-consent {

    display: flex;

    align-items: flex-start;

    gap: 11px;

    cursor: pointer;
}

.contact-consent input {

    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.contact-checkbox {

    flex: 0 0 19px;

    width: 19px;
    height: 19px;

    margin-top: 1px;

    border: 1px solid #cdbfd3;

    background: var(--contact-white);

    transition:
        background .2s ease,
        border-color .2s ease;
}

.contact-consent input:checked
+ .contact-checkbox {

    border-color: var(--contact-purple);

    background: var(--contact-purple);
}

.contact-consent input:checked
+ .contact-checkbox::after {

    content: "✓";

    display: flex;

    align-items: center;
    justify-content: center;

    height: 100%;

    color: var(--contact-white);

    font-size: 11px;
    font-weight: 700;
}

.contact-consent input:focus-visible
+ .contact-checkbox {

    outline: 3px solid rgba(212,175,55,.35);

    outline-offset: 2px;
}

.contact-consent > span:last-child {

    color: var(--contact-muted);

    font-size: 10px;

    line-height: 1.65;
}


/* =========================================================
   SUBMIT
========================================================= */

.contact-submit {

    min-height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    border: 0;

    background: var(--contact-purple);

    color: var(--contact-white);

    font-family: var(--body-font);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.contact-submit:hover {

    transform: translateY(-2px);

    background: var(--contact-purple-dark);

    box-shadow:
        0 14px 30px rgba(89,37,111,.18);
}

.contact-submit i {

    color: var(--contact-gold);

    transition: transform .3s ease;
}

.contact-submit:hover i {

    transform: translateX(5px);
}


/* =========================================================
   FORM MESSAGE
========================================================= */

.contact-form-message {

    display: none;

    padding: 13px 15px;

    font-size: 12px;

    line-height: 1.6;
}

.contact-form-message.success {

    display: block;

    border: 1px solid #c8e4d1;

    background: #eff9f2;

    color: #28613d;
}

.contact-form-message.error {

    display: block;

    border: 1px solid #efcaca;

    background: #fff2f2;

    color: #8a3535;
}


/* =========================================================
   REASONS
========================================================= */

.contact-reasons {

    padding: 120px 0;

    background: var(--contact-white);
}

.contact-reasons-heading {

    max-width: 780px;

    margin-bottom: 60px;
}

.contact-reasons-heading h2 {

    color: var(--contact-purple-dark);

    font-size: clamp(42px,5vw,66px);
}

.contact-reasons-heading h2 em {

    color: var(--contact-purple);

    font-weight: 500;
}


.contact-reasons-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 18px;
}

.contact-reason {

    position: relative;

    min-height: 310px;

    padding: 32px 28px;

    border-top: 2px solid var(--contact-purple);

    background: #fcfafc;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.contact-reason:hover {

    transform: translateY(-6px);

    box-shadow:
        0 20px 40px rgba(55,25,75,.08);
}

.reason-number {

    position: absolute;

    top: 22px;
    right: 24px;

    color: rgba(89,37,111,.13);

    font-family: var(--heading-font);

    font-size: 23px;
}

.reason-icon {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 35px;

    background: var(--contact-purple);

    color: var(--contact-gold);

    font-size: 18px;
}

.contact-reason h3 {

    margin-bottom: 13px;

    color: var(--contact-purple-dark);

    font-size: 25px;
}

.contact-reason p {

    color: var(--contact-muted);

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   CTA
========================================================= */

.contact-cta {

    padding: 0 0 110px;

    background: var(--contact-white);
}


.contact-cta-inner {

    position: relative;

    min-height: 390px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 70px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #211044,
            #59256f
        );

    text-align: center;
}


.contact-cta-inner::before {

    content: "";

    position: absolute;

    inset: 20px;

    border: 1px solid rgba(212,175,55,.25);
}


.contact-cta-content {

    position: relative;

    z-index: 3;

    max-width: 760px;
}

.contact-cta-content .contact-eyebrow {

    justify-content: center;
}

.contact-cta-content .contact-eyebrow::before {

    display: none;
}

.contact-cta-content h2 {

    margin-bottom: 18px;

    color: var(--contact-white);

    font-size: clamp(44px,5vw,67px);
}

.contact-cta-content h2 em {

    color: var(--contact-gold);

    font-weight: 500;
}

.contact-cta-content p {

    max-width: 580px;

    margin: 0 auto 30px;

    color: rgba(255,255,255,.72);

    font-size: 14px;

    line-height: 1.8;
}


.contact-cta-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 15px 25px;

    background: var(--contact-gold);

    color: var(--contact-purple-deep);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;

    transition:
        transform .3s ease,
        background .3s ease;
}

.contact-cta-button:hover {

    transform: translateY(-3px);

    background: var(--contact-gold-light);
}

.contact-cta-button i {

    transition: transform .3s ease;
}

.contact-cta-button:hover i {

    transform: translateX(5px);
}


/* ---------------------------------------------------------
   CTA SHAPES
--------------------------------------------------------- */

.contact-cta-shape {

    position: absolute;

    border: 1px solid rgba(212,175,55,.15);

    border-radius: 50%;
}

.shape-one {

    width: 330px;
    height: 330px;

    left: -170px;
    top: -180px;
}

.shape-two {

    width: 450px;
    height: 450px;

    right: -250px;
    bottom: -250px;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal-contact {

    opacity: 0;

    transform: translateY(32px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.contact-visible {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .contact-hero {

        grid-template-columns: 50% 50%;
    }

    .contact-hero-copy {

        padding-left: 45px;
        padding-right: 35px;
    }

    .contact-information-grid {

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .contact-info-card {

        min-height: 145px;
    }

    .contact-form-layout {

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .contact-form-intro {

        position: static;

        max-width: 700px;
    }

    .contact-reasons-grid {

        grid-template-columns:
            repeat(2,1fr);
    }

}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 900px) {

    .contact-hero {

        grid-template-columns: 1fr;

        min-height: auto;
    }

    .contact-hero-copy {

        min-height: 610px;

        padding:
            170px
            45px
            110px;
    }

    .contact-hero-image {

        min-height: 500px;
    }

    .contact-hero-image::before {

        display: none;
    }

    .contact-gold-mark {

        display: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .contact-hero-copy {

        min-height: 610px;

        padding:
            150px
            25px
            90px;
    }

    .contact-hero-inner::before {

        left: -15px;

        height: 60px;
    }

    .contact-hero h1 {

        font-size: clamp(54px, 15vw, 75px);

        letter-spacing: -1px;
    }

    .contact-hero-inner > p {

        font-size: 14px;
    }

    .contact-hero-image {

        min-height: 420px;
    }

    .contact-image-caption {

        right: 25px;
        bottom: 25px;
    }

    .contact-information,
    .contact-form-section,
    .contact-reasons {

        padding: 85px 0;
    }

    .contact-information-heading h2,
    .contact-form-intro h2,
    .contact-reasons-heading h2 {

        font-size: 43px;
    }

    .contact-info-card {

        grid-template-columns: 52px 1fr 18px;

        gap: 13px;

        padding: 24px;

        min-height: 135px;
    }

    .contact-info-icon {

        width: 52px;
        height: 52px;
    }

    .contact-info-card h3 {

        font-size: 13px;
    }

    .contact-form-card {

        padding: 32px 23px;
    }

    .contact-form-row {

        grid-template-columns: 1fr;

        gap: 22px;
    }

    .contact-form-title h3 {

        font-size: 29px;
    }

    .contact-reasons-grid {

        grid-template-columns: 1fr;
    }

    .contact-reason {

        min-height: 270px;
    }

    .contact-cta {

        padding-bottom: 75px;
    }

    .contact-cta-inner {

        min-height: 390px;

        padding: 60px 25px;
    }

    .contact-cta-inner::before {

        inset: 12px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .contact-hero-copy {

        padding-left: 22px;
        padding-right: 22px;
    }

    .contact-hero h1 {

        font-size: 53px;
    }

    .contact-info-card {

        grid-template-columns: 45px 1fr;

    }

    .contact-info-arrow {

        display: none;
    }

    .contact-form-card {

        padding: 28px 18px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

        scroll-behavior: auto !important;
    }

    .reveal-contact {

        opacity: 1;

        transform: none;
    }

}