/*
 * ============================================================
 * BLOODMOON GRID
 * Contact
 * ============================================================
 *
 * Version : 2026-09-08 15:22
 */


.contact-page {
    min-height: 70vh;
    background:
        linear-gradient(
            180deg,
            #f7f8fa 0%,
            #ffffff 34%,
            #f8f8f6 100%
        );
}


.contact-container {
    width: min(
        1160px,
        calc(100% - 40px)
    );
    margin: 0 auto;
}


/* ============================================================
   HERO
============================================================ */

.contact-hero {
    padding: 58px 0 52px;
    border-bottom: 1px solid #eadedb;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(158, 29, 55, 0.08),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fff1ee 58%,
            #f8f8f7 100%
        );
}


.contact-kicker,
.contact-card-kicker {
    display: inline-block;
    margin-bottom: 9px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9e1d37;
}


.contact-hero h1 {
    margin: 0;
    font-size: clamp(
        2.2rem,
        4vw,
        3.5rem
    );
    line-height: 1.03;
    color: #202632;
}


.contact-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    font-size: 1.04rem;
    line-height: 1.7;
    color: #697181;
}


/* ============================================================
   LAYOUT
============================================================ */

.contact-section {
    padding: 38px 0 64px;
}


.contact-layout {
    display: grid;
    grid-template-columns:
        minmax(
            0,
            1fr
        )
        330px;
    align-items: start;
    gap: 24px;
}


/* ============================================================
   FORM CARD
============================================================ */

.contact-form-card {
    padding: 30px;
    border: 1px solid #e6dfdc;
    border-radius: 22px;
    background: #fbfaf8;
    box-shadow:
        0 15px 38px
        rgba(
            28,
            34,
            46,
            0.055
        );
}


.contact-card-heading {
    margin-bottom: 24px;
}


.contact-card-heading h2 {
    margin: 0;
    font-size: 1.55rem;
    color: #242a37;
}


.contact-card-heading p {
    margin: 9px 0 0;
    line-height: 1.6;
    color: #737b89;
}


/* ============================================================
   SIGNED-IN IDENTITY
============================================================ */

.contact-signed-in {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 22px;
    padding: 13px 15px;
    border: 1px solid #f0dad5;
    border-radius: 13px;
    background: #fff1ee;
}


.contact-signed-in-dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #35805c;
    box-shadow:
        0 0 0 4px
        rgba(
            53,
            128,
            92,
            0.12
        );
}


.contact-signed-in strong,
.contact-signed-in span {
    display: block;
}


.contact-signed-in strong {
    margin-bottom: 2px;
    font-size: 0.8rem;
    color: #383e4a;
}


.contact-signed-in span {
    font-size: 0.82rem;
    color: #777e8b;
}


/* ============================================================
   ALERTS
============================================================ */

.contact-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.55;
}


.contact-alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}


.contact-alert-success {
    border: 1px solid #cfe8da;
    background: #eff9f3;
    color: #256444;
}


.contact-alert-error {
    border: 1px solid #ebcfd4;
    background: #fff4f6;
    color: #8f273b;
}


.contact-alert-warning {
    border: 1px solid #eadbb9;
    background: #fff9ea;
    color: #796028;
}


/* ============================================================
   FORM
============================================================ */

.contact-form {
    position: relative;
}


.contact-form-row {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );
    gap: 16px;
}


.contact-field {
    margin-bottom: 18px;
}


.contact-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.79rem;
    font-weight: 800;
    color: #343a47;
}


.contact-field label span {
    color: #9e1d37;
}


.contact-field input,
.contact-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dfe2e7;
    border-radius: 11px;
    background: #ffffff;
    padding: 11px 12px;
    font: inherit;
    font-size: 0.9rem;
    color: #303642;
    outline: none;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}


.contact-field input {
    min-height: 44px;
}


.contact-field textarea {
    resize: vertical;
    min-height: 175px;
    line-height: 1.55;
}


.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #c98794;
    box-shadow:
        0 0 0 3px
        rgba(
            158,
            29,
            55,
            0.09
        );
}


.contact-field input.contact-readonly {
    border-color: #eadedb;
    background: #f6f1ef;
    color: #656c78;
    cursor: default;
}


.contact-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #8a919d;
}


.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


.contact-captcha-wrap {
    margin: 5px 0 20px;
}



.contact-field .contact-optional {
    margin-left: 6px;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9a9fa8;
}


.contact-file-field {
    padding: 10px;
    border: 1px dashed #d8dce2;
    border-radius: 11px;
    background: #ffffff;
}


.contact-file-field input[type="file"] {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.82rem;
    color: #636b79;
}


.contact-file-field input[type="file"]:focus {
    border: 0;
    box-shadow: none;
}


.contact-file-field input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 8px 11px;
    border: 1px solid #d8dce2;
    border-radius: 9px;
    background: #fff1ee;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    color: #7f2438;
    cursor: pointer;
}


.contact-file-field input[type="file"]::file-selector-button:hover {
    border-color: #c98794;
    background: #fde8e3;
}


/* ============================================================
   SUBMIT
============================================================ */

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 10px 20px;
    border: 0;
    border-radius: 11px;
    background: #9e1d37;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    transition:
        background 160ms ease,
        transform 160ms ease;
}


.contact-submit:hover:not(:disabled) {
    background: #86182e;
    transform: translateY(-1px);
}


.contact-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


.contact-privacy-note {
    margin: 14px 0 0;
    font-size: 0.73rem;
    line-height: 1.55;
    color: #8a919d;
}


.contact-privacy-note a {
    font-weight: 700;
    color: #9e1d37;
}


/* ============================================================
   INFO COLUMN
============================================================ */

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.contact-info-card {
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow:
        0 10px 28px
        rgba(
            28,
            34,
            46,
            0.045
        );
}


.contact-info-card-soft {
    border-color: #f0dad5;
    background: #fff1ee;
}


.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 11px;
    background: #f7efed;
    font-size: 1rem;
    font-weight: 900;
    color: #9e1d37;
}


.contact-info-card h2 {
    margin: 0;
    font-size: 1rem;
    color: #292f3b;
}


.contact-info-card p {
    margin: 9px 0 12px;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #777f8e;
}


.contact-info-card a {
    font-size: 0.8rem;
    font-weight: 800;
    color: #9e1d37;
    text-decoration: none;
    overflow-wrap: anywhere;
}


.contact-info-card a:hover {
    text-decoration: underline;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 850px) {

    .contact-layout {
        grid-template-columns: 1fr;
    }


    .contact-info-column {
        display: grid;
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );
    }


    .contact-info-card-soft {
        grid-column: 1 / -1;
    }

}


@media (max-width: 580px) {

    .contact-container {
        width: min(
            100% - 28px,
            1160px
        );
    }


    .contact-hero {
        padding: 42px 0 38px;
    }


    .contact-section {
        padding: 26px 0 46px;
    }


    .contact-form-card {
        padding: 22px 18px;
        border-radius: 17px;
    }


    .contact-form-row,
    .contact-info-column {
        grid-template-columns: 1fr;
    }


    .contact-info-card-soft {
        grid-column: auto;
    }

}
