/* =========================================================
   CONTACT PAGE
========================================================= */


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

.contact-hero {
    position: relative;
}


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

.contact-hero__eyebrow {
    display: inline-block;

    margin-bottom: 1.5rem;

    color: #C9A227;

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.contact-hero .hero__content {
    max-width: 700px;
}

.contact-hero .hero__content p {
    max-width: 580px;
}


/* =========================================================
   CONTACT VISUAL
========================================================= */

.contact-hero__visual {
    position: relative;

    width: min(42vw, 570px);

    min-height: 500px;

    display: flex;

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

    transition:
        transform 0.5s ease;
}

@media (max-width: 600px) {
    .contact-hero__visual {
        display: none;
    }
}


/* =========================================================
   MAIN CONTACT CARD
========================================================= */

.contact-card {
    position: relative;

    width: min(100%, 440px);

    background: #FFFFFF;

    border-radius: 26px;

    box-shadow:
        0 30px 80px rgba(11, 27, 51, 0.16);

    overflow: hidden;

    transform: rotate(2deg);

    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}

.contact-hero__visual:hover .contact-card {
    transform:
        rotate(0deg)
        translateY(-8px);

    box-shadow:
        0 40px 100px rgba(11, 27, 51, 0.22),
        0 0 30px rgba(201, 162, 39, 0.12);
}


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

.contact-card__top {
    height: 52px;

    display: flex;

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

    padding: 0 20px;

    background: #0B1B33;

    box-sizing: border-box;
}

.contact-card__status {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #FFFFFF;

    font-size: 0.75rem;
    font-weight: 700;
}

.contact-card__status span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #C9A227;

    box-shadow:
        0 0 10px rgba(201, 162, 39, 0.6);
}

.contact-card__dots {
    display: flex;

    gap: 6px;
}

.contact-card__dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.35);
}


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

.contact-card__body {
    padding: 2.25rem;
}

.contact-card__label {
    display: block;

    margin-bottom: 0.7rem;

    color: #C9A227;

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}

.contact-card__body h2 {
    margin: 0 0 1.8rem;

    color: #0B1B33;

    font-size: 2.5rem;

    line-height: 1;

    letter-spacing: -0.04em;

    font-weight: 800;
}


/* =========================================================
   FORM PREVIEW FIELDS
========================================================= */

.contact-card__field {
    display: flex;

    flex-direction: column;

    gap: 0.35rem;

    padding: 0.85rem 1rem;

    margin-bottom: 0.7rem;

    border: 1px solid rgba(11, 27, 51, 0.1);

    border-radius: 12px;

    background: #F8F5EE;

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

.contact-card__field:hover {
    transform: translateX(4px);

    border-color: rgba(201, 162, 39, 0.5);

    background: #FFFDF8;
}

.contact-card__field span {
    color: #888888;

    font-size: 0.65rem;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}

.contact-card__field strong {
    color: #0B1B33;

    font-size: 0.85rem;

    font-weight: 600;
}

.contact-card__field--message {
    min-height: 65px;
}


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

.contact-card__send {
    display: flex;

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

    margin-top: 1.1rem;

    padding: 0.95rem 1.2rem;

    border-radius: 12px;

    background: #0B1B33;

    color: #FFFFFF;

    font-size: 0.85rem;
    font-weight: 800;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;

    cursor: default;
}

.contact-card__send span {
    color: #C9A227;

    font-size: 1.1rem;

    transition:
        transform 0.3s ease;
}

.contact-card__send:hover {
    transform: translateY(-2px);

    background: #132A4A;

    box-shadow:
        0 10px 25px rgba(11, 27, 51, 0.2);
}

.contact-card__send:hover span {
    transform: translateX(4px);
}


/* =========================================================
   FLOATING ELEMENTS
========================================================= */

.contact-float {
    position: absolute;

    display: flex;

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

    border-radius: 18px;

    background: #FFFFFF;

    color: #0B1B33;

    box-shadow:
        0 15px 35px rgba(11, 27, 51, 0.14);

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}

.contact-float span {
    display: block;

    line-height: 1;
}


/* Email */

.contact-float--email {
    top: 65px;
    left: 0;

    width: 64px;
    height: 64px;

    color: #C9A227;

    font-size: 1.4rem;

    transform: rotate(-8deg);
}


/* Chat */

.contact-float--chat {
    right: -5px;
    bottom: 85px;

    width: 78px;
    height: 52px;

    border-radius: 16px;

    font-size: 0.9rem;

    letter-spacing: 3px;

    transform: rotate(7deg);
}


/* Spark */

.contact-float--spark {
    right: 45px;
    top: 20px;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #C9A227;

    color: #0B1B33;

    font-size: 1rem;

    transform: rotate(10deg);
}


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

.contact-hero__visual:hover .contact-float--email {
    transform:
        translate(-8px, -10px)
        rotate(-14deg);

    box-shadow:
        0 20px 40px rgba(11, 27, 51, 0.18);
}

.contact-hero__visual:hover .contact-float--chat {
    transform:
        translate(8px, 8px)
        rotate(12deg);

    box-shadow:
        0 20px 40px rgba(11, 27, 51, 0.18);
}

.contact-hero__visual:hover .contact-float--spark {
    transform:
        translate(5px, -8px)
        rotate(18deg);

    box-shadow:
        0 15px 35px rgba(201, 162, 39, 0.25);
}


/* =========================================================
   CONTACT HERO BACKGROUND DETAILS
========================================================= */

.contact-hero::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    right: 4%;
    top: -120px;

    border-radius: 50%;

    background: #C9A227;

    opacity: 0.1;

    filter: blur(55px);

    pointer-events: none;
}

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

    position: absolute;

    width: 260px;
    height: 260px;

    left: 40%;
    bottom: -160px;

    border-radius: 50%;

    background: #0B1B33;

    opacity: 0.06;

    filter: blur(50px);

    pointer-events: none;
}


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

@media (max-width: 1025px) {

    .contact-hero__visual {
        width: min(90vw, 570px);

        min-height: 430px;
    }

}


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

@media (max-width: 600px) {

    .contact-hero__visual {
        width: 100%;

        max-width: 340px;

        min-height: 350px;
    }

    .contact-card {
        width: 100%;

        border-radius: 20px;
    }

    .contact-card__top {
        height: 42px;

        padding: 0 14px;
    }

    .contact-card__body {
        padding: 1.4rem;
    }

    .contact-card__body h2 {
        font-size: 2rem;

        margin-bottom: 1.25rem;
    }

    .contact-card__field {
        padding: 0.7rem 0.8rem;
    }

    .contact-float--email {
        left: -5px;
        top: 40px;

        width: 50px;
        height: 50px;
    }

    .contact-float--chat {
        right: -5px;
        bottom: 55px;

        width: 62px;
        height: 44px;
    }

    .contact-float--spark {
        right: 25px;
        top: 5px;

        width: 34px;
        height: 34px;
    }

    .contact-hero::before,
    .contact-hero::after {
        display: none;
    }

}

/* =========================================================
   CONTACT FORM SECTION
========================================================= */

.contact-form-section {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: clamp(3rem, 7vw, 8rem);

    padding: 8rem clamp(1.5rem, 8vw, 8rem);

    background: #F2EBDD;

    box-sizing: border-box;
}


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

.contact-form__intro {
    align-self: center;

    max-width: 560px;
}

.contact-form__eyebrow {
    display: inline-block;

    margin-bottom: 1.5rem;

    color: #C9A227;

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.contact-form__intro h2 {
    margin: 0;

    color: #0B1B33;

    font-size: clamp(2.8rem, 5vw, 5rem);

    line-height: 1.03;

    letter-spacing: -0.045em;

    font-weight: 800;
}

.contact-form__intro h2 span {
    color: #C9A227;
}

.contact-form__intro > p {
    max-width: 500px;

    margin: 1.8rem 0 0;

    color: #4A4A4A;

    font-size: 1rem;

    line-height: 1.7;
}


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

.contact-form__details {
    display: flex;

    flex-direction: column;

    gap: 1rem;

    margin-top: 2.5rem;
}

.contact-form__detail {
    display: flex;

    align-items: center;

    gap: 1rem;
}

.contact-form__detail-icon {
    flex-shrink: 0;

    width: 44px;
    height: 44px;

    display: flex;

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

    border-radius: 12px;

    background: #0B1B33;

    color: #C9A227;

    font-size: 1rem;
    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(11, 27, 51, 0.12);
}

.contact-form__detail div {
    display: flex;

    flex-direction: column;

    gap: 0.2rem;
}

.contact-form__detail strong {
    color: #0B1B33;

    font-size: 0.9rem;
    font-weight: 800;
}

.contact-form__detail div span {
    color: #666666;

    font-size: 0.8rem;

    line-height: 1.4;
}


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

.contact-form__wrapper {
    width: 100%;

    max-width: 700px;

    justify-self: end;

    padding: clamp(1.5rem, 3vw, 3rem);

    background: #FFFFFF;

    border: 2px solid rgba(201, 162, 39, 0.45);

    border-radius: 26px;

    box-shadow:
        0 25px 70px rgba(11, 27, 51, 0.1);

    box-sizing: border-box;
}


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

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 1.25rem;
}

.contact-form__row {
    display: grid;

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

    gap: 1rem;
}

.contact-form__field {
    display: flex;

    flex-direction: column;

    gap: 0.55rem;
}

.contact-form__field label {
    color: #0B1B33;

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 0.02em;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
    width: 100%;

    padding: 0.95rem 1rem;

    border: 1px solid rgba(11, 27, 51, 0.12);

    border-radius: 12px;

    background: #F8F5EE;

    color: #0B1B33;

    font-family: inherit;

    font-size: 0.9rem;

    line-height: 1.5;

    outline: none;

    box-sizing: border-box;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
    color: #999999;
}

.contact-form__field input:hover,
.contact-form__field select:hover,
.contact-form__field textarea:hover {
    border-color: rgba(11, 27, 51, 0.25);
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    border-color: #C9A227;

    background: #FFFFFF;

    box-shadow:
        0 0 0 3px rgba(201, 162, 39, 0.12);
}


/* =========================================================
   SELECT
========================================================= */

.contact-form__field select {
    cursor: pointer;

    appearance: auto;
}


/* =========================================================
   TEXTAREA
========================================================= */

.contact-form__field textarea {
    min-height: 150px;

    resize: vertical;
}


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

.contact-form__submit {
    width: 100%;

    display: flex;

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

    gap: 1rem;

    margin-top: 0.5rem;

    padding: 1rem 1.3rem;

    border: none;

    border-radius: 14px;

    background: #0B1B33;

    color: #FFFFFF;

    font-family: inherit;

    font-size: 0.95rem;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(11, 27, 51, 0.16);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-form__submit span {
    color: #C9A227;

    font-size: 1.2rem;

    transition:
        transform 0.3s ease;
}

.contact-form__submit:hover {
    transform: translateY(-3px);

    background: #132A4A;

    box-shadow:
        0 18px 35px rgba(11, 27, 51, 0.25);
}

.contact-form__submit:hover span {
    transform: translateX(5px);
}

.contact-form__submit:active {
    transform: translateY(-1px) scale(0.99);
}


/* =========================================================
   NOTE
========================================================= */

.contact-form__note {
    margin: 0.25rem 0 0;

    color: #888888;

    font-size: 0.72rem;

    line-height: 1.5;

    text-align: center;
}


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

@media (max-width: 1000px) {

    .contact-form-section {
        grid-template-columns: 1fr;

        gap: 4rem;

        padding: 6rem 2.5rem;
    }

    .contact-form__intro {
        max-width: 700px;

        margin: 0 auto;

        text-align: center;
    }

    .contact-form__intro > p {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-form__details {
        align-items: center;
    }

    .contact-form__wrapper {
        width: 100%;

        max-width: 700px;

        justify-self: center;
    }

}


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

@media (max-width: 600px) {

    .contact-form-section {
        gap: 3rem;

        padding: 5rem 1rem;
    }

    .contact-form__intro {
        text-align: center;
    }

    .contact-form__eyebrow {
        margin-bottom: 1.1rem;

        font-size: 0.7rem;
    }

    .contact-form__intro h2 {
        font-size: clamp(2.4rem, 11vw, 3.2rem);
    }

    .contact-form__intro > p {
        margin-top: 1.25rem;

        font-size: 0.92rem;

        line-height: 1.6;
    }

    .contact-form__details {
        margin-top: 2rem;

        align-items: stretch;
    }

    .contact-form__detail {
        text-align: left;
    }

    .contact-form__detail-icon {
        width: 40px;
        height: 40px;
    }

    .contact-form__wrapper {
        padding: 1.25rem;

        border-radius: 20px;
    }

    .contact-form {
        gap: 1rem;
    }

    .contact-form__row {
        grid-template-columns: 1fr;

        gap: 1rem;
    }

    .contact-form__field input,
    .contact-form__field select,
    .contact-form__field textarea {
        padding: 0.9rem;

        font-size: 0.9rem;
    }

    .contact-form__field textarea {
        min-height: 130px;
    }

    .contact-form__submit {
        padding: 0.95rem 1.1rem;
    }

}

/* ========================================
   CONTACT FORM SUCCESS
======================================== */

.contact-form__success {
    min-height: 420px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 40px;
}

.contact-form__success-icon {
    width: 64px;
    height: 64px;

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

    margin-bottom: 24px;

    border: 2px solid #C9A227;
    border-radius: 50%;

    color: #C9A227;
    font-size: 28px;
    font-weight: 600;
}

.contact-form__success h3 {
    margin: 0 0 12px;

    font-size: 32px;
    color: #0B1B33;
}

.contact-form__success p {
    max-width: 480px;
    margin: 0;

    color: #555;
    line-height: 1.7;
}

/* ========================================
   CONTACT FORM HONEYPOT
======================================== */

.contact-form__honeypot {
    position: absolute;
    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}

/* ========================================
   CONTACT FORM ERROR
======================================== */

.contact-form__error {
    margin-bottom: 24px;
    padding: 20px 22px;

    border: 1px solid #C9A227;
    border-radius: 14px;

    background: #fff;

    text-align: center;
}

.contact-form__error-icon {
    width: 34px;
    height: 34px;

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

    margin: 0 auto 12px;

    border: 2px solid #C9A227;
    border-radius: 50%;

    color: #C9A227;
    font-weight: 700;
}

.contact-form__error h3 {
    margin: 0 0 6px;

    color: #0B1B33;
    font-size: 20px;
}

.contact-form__error p {
    margin: 0;

    color: #555;
    line-height: 1.5;
}