
/* =========================================================
   MAYZAY CONTACT PAGE
   File: stylesheet/contact.css

   Design: Premium Cream, Navy & Warm Gold
   Shared stylesheet: stylesheet/index.css

   Preserves existing contact-page class names.
   ========================================================= */


/* =========================================================
   1. CONTACT PAGE FOUNDATION
   ========================================================= */

.contact-hero,
.contact-main,
.contact-bottom {
    position: relative;
    isolation: isolate;
}

.contact-hero *,
.contact-main *,
.contact-bottom * {
    box-sizing: border-box;
}

.contact-hero {
    padding: clamp(64px, 8vw, 100px) 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 88% 16%,
            rgba(195, 138, 67, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(55, 104, 245, 0.045),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--paper, #f8f4eb) 0%,
            var(--wash, #f1eadf) 54%,
            #fbf9f4 100%
        );
}

.contact-main {
    padding-top: clamp(64px, 8vw, 96px);
    padding-bottom: clamp(72px, 8vw, 104px);
    background: #fbf9f4;
}

.contact-hero .container,
.contact-main .container,
.contact-bottom .container {
    width: min(100% - 48px, 1180px);
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   2. SHARED EYEBROW LABELS
   ========================================================= */

.contact-hero .eyebrow,
.contact-main .eyebrow,
.contact-bottom .eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--orange, #b9813c);
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.5;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.contact-hero .eyebrow-dot,
.contact-main .eyebrow-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--orange, #c38a43);
    box-shadow: 0 0 0 4px rgba(195, 138, 67, 0.12);
}

.contact-bottom .eyebrow-light {
    color: #e8c995;
}


/* =========================================================
   3. HERO LAYOUT
   ========================================================= */

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
    align-items: center;
    gap: clamp(38px, 6vw, 78px);
}

.contact-hero-copy {
    min-width: 0;
    max-width: 650px;
}

.contact-hero-copy h1 {
    max-width: 690px;
    margin: 23px 0 20px;
    color: var(--navy, #182333);
    font-family: var(--serif, "Playfair Display", Georgia, serif);
    font-size: clamp(2.55rem, 5.2vw, 4.35rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.8px;
    text-wrap: balance;
}

.contact-hero-copy h1 span {
    display: block;
    margin-top: 5px;
    color: var(--blue, #3768f5);
}

.contact-hero-copy > p {
    max-width: 570px;
    margin: 0;
    color: var(--muted, #706b62);
    font-size: 1rem;
    line-height: 1.9;
}


/* =========================================================
   4. HERO TRUST POINTS
   ========================================================= */

.contact-trust-points {
    display: grid;
    gap: 14px;
    margin-top: 29px;
}

.contact-trust-points > div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-soft, #29384b);
    font-size: 0.91rem;
    line-height: 1.65;
}

.contact-check {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    border: 1px solid rgba(66, 141, 112, 0.2);
    border-radius: 50%;
    background: #e9efe5;
    color: var(--green, #428d70);
    font-size: 0.8rem;
    font-weight: 800;
}


/* =========================================================
   5. HERO INFORMATION CARD
   ========================================================= */

.contact-hero-card {
    position: relative;
    min-width: 0;
    padding: clamp(27px, 3.5vw, 39px);
    overflow: hidden;
    border: 1px solid rgba(229, 220, 205, 0.95);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(195, 138, 67, 0.10),
            transparent 42%
        ),
        linear-gradient(145deg, #fffefa, #f5efe4);
    box-shadow: 0 22px 60px rgba(39, 34, 25, 0.09);
}

.contact-card-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    margin-bottom: 27px;
    border: 1px solid #e5dccd;
    border-radius: 15px;
    background: linear-gradient(145deg, #f8f0e2, #eae0ce);
    color: var(--navy, #182333);
    font-family: Consolas, Monaco, monospace;
    font-size: 1.4rem;
    font-weight: 750;
}

.contact-card-label {
    display: block;
    color: var(--orange, #b9813c);
    font-size: 0.69rem;
    font-weight: 750;
    line-height: 1.7;
    letter-spacing: 1.5px;
}

.contact-hero-card h2 {
    margin: 15px 0 14px;
    color: var(--navy, #182333);
    font-family: var(--serif, "Playfair Display", Georgia, serif);
    font-size: clamp(1.65rem, 2.8vw, 2.2rem);
    line-height: 1.35;
    letter-spacing: -0.5px;
    text-wrap: balance;
}

.contact-hero-card > p {
    margin: 0;
    color: var(--muted, #706b62);
    font-size: 0.94rem;
    line-height: 1.85;
}

.contact-card-line {
    height: 1px;
    margin: 26px 0 19px;
    background: var(--line, #e5dccd);
}

.contact-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted, #706b62);
    font-size: 0.81rem;
    line-height: 1.6;
}

.contact-status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--green, #428d70);
    box-shadow: 0 0 0 4px rgba(66, 141, 112, 0.10);
}


/* =========================================================
   6. MAIN CONTACT GRID
   ========================================================= */

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: clamp(35px, 6vw, 76px);
}

.contact-details {
    min-width: 0;
    padding-top: 9px;
}

.contact-details h2,
.contact-form-heading h2 {
    color: var(--navy, #182333);
    font-family: var(--serif, "Playfair Display", Georgia, serif);
    font-weight: 700;
    letter-spacing: -0.7px;
    text-wrap: balance;
}

.contact-details h2 {
    margin: 15px 0 17px;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.3;
}

.contact-details > p {
    margin: 0 0 29px;
    color: var(--muted, #706b62);
    font-size: 0.95rem;
    line-height: 1.9;
}


/* =========================================================
   7. CONTACT SERVICE DETAILS
   ========================================================= */

.contact-detail-item {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr);
    align-items: start;
    gap: 15px;
    padding: 21px 0;
    border-bottom: 1px solid var(--line, #e5dccd);
}

.contact-detail-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #e5dccd;
    border-radius: 12px;
    background: linear-gradient(145deg, #f8f2e8, #eee5d6);
    color: var(--navy-soft, #29384b);
    font-size: 0.76rem;
    font-weight: 750;
}

.contact-detail-item h3 {
    margin: 2px 0 7px;
    color: var(--navy, #182333);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.5;
}

.contact-detail-item p {
    margin: 0;
    color: var(--muted, #706b62);
    font-size: 0.86rem;
    line-height: 1.8;
}


/* =========================================================
   8. CONTACT NOTE
   ========================================================= */

.contact-note {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid #eadcc3;
    border-left: 3px solid var(--orange, #c38a43);
    border-radius: 0 10px 10px 0;
    background: linear-gradient(135deg, #faf3e6, #f5ecdc);
}

.contact-note strong {
    display: block;
    color: #795b32;
    font-size: 0.88rem;
    line-height: 1.6;
}

.contact-note p {
    margin: 8px 0 0;
    color: #786b57;
    font-size: 0.83rem;
    line-height: 1.8;
}


/* =========================================================
   9. CONTACT FORM PANEL
   ========================================================= */

.contact-form-panel {
    min-width: 0;
    padding: clamp(25px, 3.4vw, 38px);
    border: 1px solid var(--line, #e5dccd);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(195, 138, 67, 0.06),
            transparent 36%
        ),
        linear-gradient(145deg, #fffefa, #f8f4eb);
    box-shadow: 0 22px 60px rgba(39, 34, 25, 0.075);
}

.contact-form-heading {
    margin-bottom: 29px;
}

.contact-form-heading h2 {
    margin: 15px 0 10px;
    font-size: clamp(1.65rem, 2.8vw, 2.2rem);
    line-height: 1.3;
}

.contact-form-heading > p {
    margin: 0;
    color: var(--muted, #706b62);
    font-size: 0.84rem;
    line-height: 1.7;
}


/* =========================================================
   10. FORM STRUCTURE
   ========================================================= */

.contact-form {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 21px;
}

.contact-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.contact-field {
    display: grid;
    min-width: 0;
    gap: 9px;
}

.contact-field label {
    display: block;
    margin: 0;
    color: var(--navy-soft, #29384b);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.5;
}


/* =========================================================
   11. INPUTS, SELECTS AND TEXTAREA
   ========================================================= */

.contact-field input,
.contact-field select,
.contact-field textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid #dfd5c5;
    border-radius: 9px;
    outline: none;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink, #292b2f);
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.contact-field input,
.contact-field select {
    min-height: 49px;
}

.contact-field select {
    cursor: pointer;
}

.contact-field textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.8;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #938a7e;
    opacity: 1;
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
    border-color: #c9b99f;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--blue, #3768f5);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(55, 104, 245, 0.10);
}

.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
    outline: 2px solid transparent;
}

.contact-field input:disabled,
.contact-field select:disabled,
.contact-field textarea:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.contact-field small {
    color: #82796d;
    font-size: 0.76rem;
    line-height: 1.7;
}


/* =========================================================
   12. SUBMIT BUTTON
   Keeps existing .button and .button-dark styles compatible.
   ========================================================= */

.contact-form .contact-submit {
    display: inline-flex;
    width: 100%;
    min-height: 53px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-family: inherit;
    font-size: 0.91rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    visibility: visible;
    opacity: 1;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        opacity 0.2s ease;
}

.contact-form .contact-submit span {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.contact-form .contact-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(24, 35, 51, 0.15);
}

.contact-form .contact-submit:hover:not(:disabled) span {
    transform: translate(2px, -2px);
}

.contact-form .contact-submit:focus-visible {
    outline: 3px solid rgba(55, 104, 245, 0.45);
    outline-offset: 4px;
}

.contact-form .contact-submit:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}


/* =========================================================
   13. FORM FEEDBACK
   Supports existing .is-visible class and accessible messages.
   ========================================================= */

.contact-form-feedback {
    display: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #e7d5b7;
    border-radius: 9px;
    background: linear-gradient(135deg, #faf3e6, #f5ecdc);
    color: #795b32;
    font-size: 0.86rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.contact-form-feedback.is-visible {
    display: block;
}

/* Optional status classes for future JavaScript improvements. */
.contact-form-feedback.is-success {
    border-color: #c7dfce;
    background: #edf7ef;
    color: #245b36;
}

.contact-form-feedback.is-error {
    border-color: #eccaca;
    background: #fff0f0;
    color: #8a2f2f;
}

.contact-form-footnote {
    margin: -3px 0 0;
    color: #82796d;
    font-size: 0.76rem;
    line-height: 1.8;
}


/* =========================================================
   14. BOTTOM CALL TO ACTION
   ========================================================= */

.contact-bottom {
    padding: clamp(52px, 7vw, 76px) 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 12%,
            rgba(195, 138, 67, 0.17),
            transparent 33%
        ),
        linear-gradient(
            135deg,
            #182333 0%,
            #29384b 56%,
            #252e3a 100%
        );
    color: #f8f4eb;
}

.contact-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.contact-bottom-inner > div {
    max-width: 650px;
    min-width: 0;
}

.contact-bottom h2 {
    margin: 15px 0 11px;
    color: #f8f4eb;
    font-family: var(--serif, "Playfair Display", Georgia, serif);
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.6px;
}

.contact-bottom p {
    max-width: 590px;
    margin: 0;
    color: #d8d1c5;
    font-size: 0.95rem;
    line-height: 1.85;
}

.contact-bottom .button {
    flex: 0 0 auto;
    text-decoration: none;
}


/* =========================================================
   15. TABLET LAYOUT
   ========================================================= */

@media (max-width: 1000px) {
    .contact-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
        gap: 34px;
    }

    .contact-main-grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 32px;
    }

    .contact-form-panel {
        padding: 27px;
    }

    .contact-field-row {
        gap: 13px;
    }
}


/* =========================================================
   16. MOBILE AND NARROW TABLETS
   ========================================================= */

@media (max-width: 760px) {
    .contact-hero .container,
    .contact-main .container,
    .contact-bottom .container {
        width: min(100% - 36px, 600px);
    }

    .contact-hero {
        padding: 62px 0 66px;
    }

    .contact-hero-grid,
    .contact-main-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-hero-grid {
        gap: 34px;
    }

    .contact-hero-copy h1 {
        font-size: clamp(2.45rem, 8vw, 3.65rem);
        letter-spacing: -1.2px;
    }

    .contact-hero-card {
        max-width: 600px;
    }

    .contact-main {
        padding-top: 62px;
        padding-bottom: 70px;
    }

    .contact-main-grid {
        gap: 39px;
    }

    .contact-details {
        padding-top: 0;
    }

    .contact-details > p {
        max-width: 600px;
    }

    .contact-form-panel {
        padding: clamp(24px, 5vw, 34px);
    }

    .contact-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }
}


/* =========================================================
   17. SMALL MOBILE SCREENS
   ========================================================= */

@media (max-width: 520px) {
    .contact-hero .container,
    .contact-main .container,
    .contact-bottom .container {
        width: calc(100% - 32px);
    }

    .contact-hero {
        padding: 49px 0 55px;
    }

    .contact-hero-copy h1 {
        margin-top: 19px;
        font-size: clamp(2.15rem, 10vw, 3rem);
        line-height: 1.15;
        letter-spacing: -0.9px;
    }

    .contact-hero-copy > p {
        font-size: 0.94rem;
        line-height: 1.85;
    }

    .contact-trust-points {
        gap: 12px;
        margin-top: 24px;
    }

    .contact-trust-points > div {
        align-items: flex-start;
        font-size: 0.85rem;
    }

    .contact-hero-card {
        padding: 24px 21px;
        border-radius: 15px;
    }

    .contact-card-icon {
        width: 54px;
        height: 54px;
        margin-bottom: 22px;
    }

    .contact-main {
        padding-top: 51px;
        padding-bottom: 58px;
    }

    .contact-details h2 {
        font-size: 1.85rem;
    }

    .contact-detail-item {
        grid-template-columns: 39px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 0;
    }

    .contact-detail-icon {
        width: 38px;
        height: 38px;
    }

    .contact-note {
        padding: 17px;
    }

    .contact-form-panel {
        padding: 23px 18px;
        border-radius: 15px;
    }

    .contact-form-heading {
        margin-bottom: 23px;
    }

    .contact-form {
        gap: 19px;
    }

    .contact-field-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 19px;
    }

    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        font-size: 16px;
    }

    .contact-field textarea {
        min-height: 145px;
    }

    .contact-form .contact-submit {
        width: 100%;
        min-height: 51px;
    }

    .contact-bottom {
        padding: 49px 0;
    }

    .contact-bottom h2 {
        font-size: 1.95rem;
    }

    .contact-bottom .button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}


/* =========================================================
   18. EXTRA SMALL SCREENS
   ========================================================= */

@media (max-width: 360px) {
    .contact-hero .container,
    .contact-main .container,
    .contact-bottom .container {
        width: calc(100% - 24px);
    }

    .contact-hero-copy h1 {
        font-size: 2.05rem;
    }

    .contact-form-panel {
        padding: 20px 15px;
    }

    .contact-form-heading h2 {
        font-size: 1.55rem;
    }
}


/* =========================================================
   19. REDUCED MOTION ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .contact-field input,
    .contact-field select,
    .contact-field textarea,
    .contact-form .contact-submit,
    .contact-form .contact-submit span {
        transition: none;
    }

    .contact-form .contact-submit:hover:not(:disabled) {
        transform: none;
    }
}



/* =========================================
   CONTACT FORM SUBMIT BUTTON
========================================= */

.contact-form .contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    min-height: 54px;
    margin-top: 10px;
    padding: 15px 22px;

    border: 1px solid transparent;
    border-radius: 8px;

    font: inherit;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;

    cursor: pointer;
    opacity: 1;
    visibility: visible;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

.contact-form .contact-submit .contact-submit-label {
    display: inline-block;
}

.contact-form .contact-submit .contact-submit-arrow {
    display: inline-block;
    font-size: 1.15rem;
    transition: transform 0.25s ease;
}

.contact-form .contact-submit:hover:not(:disabled) {
    transform: translateY(-2px);
}

.contact-form .contact-submit:hover:not(:disabled)
.contact-submit-arrow {
    transform: translate(2px, -2px);
}

.contact-form .contact-submit:focus-visible {
    outline: 3px solid #c99b52;
    outline-offset: 4px;
}

.contact-form .contact-submit:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

/* =========================================
   FORM FEEDBACK
========================================= */

.contact-form .contact-form-feedback {
    display: none;
    width: 100%;
    margin: 8px 0 14px;
    padding: 13px 15px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-size: 0.94rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.contact-form .contact-form-feedback.is-visible {
    display: block;
}

.contact-form .contact-form-feedback.is-success {
    color: #205b3b;
    background: #edf7f0;
    border-color: #c5e5cf;
}

.contact-form .contact-form-feedback.is-error {
    color: #8a2929;
    background: #fff0ef;
    border-color: #efcdca;
}

/* =========================================
   FORM FOOTNOTE
========================================= */

.contact-form .contact-form-footnote {
    margin: 12px 0;
    font-size: 0.88rem;
    line-height: 1.7;
    opacity: 0.8;
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 600px) {
    .contact-form .contact-submit {
        min-height: 52px;
        width: 100%;
    }

    .contact-form .contact-form-feedback {
        font-size: 0.9rem;
    }
}
