/* ========================================
   CONTACT FORM 7 - LIVE IN ART™ STYLING
   ONLY FOR CONTACT PAGE (page-id-1038)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/* Form Container - Contact Page Only */
.page-id-1038 .wpcf7 {
    max-width: 800px;
    margin: 0 auto;
}

/* Two-Column Layout for Compact Form - Contact Page Only */
.page-id-1038 .lia-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.page-id-1038 .lia-form-col-half {
    flex: 1;
    min-width: 0;
}

.page-id-1038 .lia-form-col-half label {
    margin-bottom: 16px;
}

/* Form Fields - Luxury Styling - Contact Page Only */
.page-id-1038 .wpcf7 input[type="text"],
.page-id-1038 .wpcf7 input[type="email"],
.page-id-1038 .wpcf7 input[type="tel"],
.page-id-1038 .wpcf7 input[type="url"],
.page-id-1038 .wpcf7 select,
.page-id-1038 .wpcf7 textarea {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: transparent;
    /* Charcoal */
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 15px;
    line-height: 1.5;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.page-id-1038 .wpcf7 input[type="text"]:focus,
.page-id-1038 .wpcf7 input[type="email"]:focus,
.page-id-1038 .wpcf7 input[type="tel"]:focus,
.page-id-1038 .wpcf7 select:focus,
.page-id-1038 .wpcf7 textarea:focus {
    outline: none;
    background-color: transparent;
    box-shadow: 0 0 0 3px rgba(203, 164, 91, 0.1);
}

/* Placeholder Styling - Contact Page Only */
.page-id-1038 .wpcf7 input::placeholder,
.page-id-1038 .wpcf7 textarea::placeholder {
    color: rgba(46, 46, 46, 0.4);
    font-style: italic;
}

/* Select Dropdowns - Contact Page Only */
.page-id-1038 .wpcf7 select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23CBA45B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    background-color: transparent !important;
}

/* Textarea - Contact Page Only */
.page-id-1038 .wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    background-color: transparent !important;
}

/* Labels - Contact Page Only */
.page-id-1038 .wpcf7 label {
    display: block;
    margin-bottom: 16px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 13px;
    font-weight: 500;
    color: #000000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Submit Button - Desert Gold Luxury Style - Contact Page Only */
.page-id-1038 .wpcf7 input[type="submit"],
.page-id-1038 .wpcf7 .lia-btn-gold {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 24px;
    padding: 20px 50px;
    background-color: #FFFFFF80;
    color: #000000;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(46, 46, 46, 0.15);
    box-sizing: border-box;
}

/* Ensure submit button wrapper is full width - Contact Page Only */
.page-id-1038 .wpcf7-form p:has(input[type="submit"]) {
    width: 100%;
    margin-top: 40px !important;
    margin-bottom: 0 !important;
}

.page-id-1038 .wpcf7 input[type="submit"]:hover,
.page-id-1038 .wpcf7 .lia-btn-gold:hover {
    background-color: #000000;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 46, 46, 0.25);
}

.page-id-1038 .wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}

/* Acceptance Checkbox - Contact Page Only */
.page-id-1038 .wpcf7 .wpcf7-acceptance {
    margin: 30px 0;
}

.page-id-1038 .wpcf7 .wpcf7-list-item {
    margin: 0;
}

.page-id-1038 .wpcf7 .wpcf7-list-item-label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 14px;
    color: #000000;
    line-height: 1.8;
    font-style: italic;
}

.page-id-1038 .wpcf7 input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    accent-color: #CBA45B;
    /* Desert Gold */
}

/* Required Field Indicator - Contact Page Only */
.page-id-1038 .wpcf7 .wpcf7-not-valid-tip {
    color: #C75B5B;
    font-size: 13px;
    font-style: italic;
    margin-top: -18px;
    margin-bottom: 12px;
    display: block;
}

/* Validation Messages - Contact Page Only */
.page-id-1038 .wpcf7-response-output {
    border: 2px solid #CBA45B;
    background-color: #F7F5F1;
    color: #000000;
    padding: 20px 24px;
    margin: 30px 0 0;
    border-radius: 2px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 15px;
}

.page-id-1038 .wpcf7-response-output.wpcf7-validation-errors {
    border-color: #C75B5B;
    background-color: #FEF5F5;
}

.page-id-1038 .wpcf7-response-output.wpcf7-mail-sent-ok {
    border-color: #7BC976;
    background-color: #F5FEF5;
}

/* Spinner (Loading State) - Contact Page Only */
.page-id-1038 .wpcf7 .ajax-loader {
    display: inline-block;
    margin-left: 15px;
    vertical-align: middle;
}

/* Form Spacing - Contact Page Only */
.page-id-1038 .wpcf7 br {
    display: none;
}

/* Mobile Responsiveness - Contact Page Only */
@media only screen and (max-width: 768px) {
    .page-id-1038 .lia-form-row {
        flex-direction: column;
        gap: 0;
    }

    .page-id-1038 .lia-form-col-half {
        width: 100%;
    }

    .page-id-1038 .wpcf7 input[type="text"],
    .page-id-1038 .wpcf7 input[type="email"],
    .page-id-1038 .wpcf7 input[type="tel"],
    .page-id-1038 .wpcf7 select,
    .page-id-1038 .wpcf7 textarea {
        padding: 14px 18px;
        font-size: 16px;
        /* Prevents iOS zoom */
        margin-bottom: 14px;
    }

    .page-id-1038 .wpcf7 input[type="submit"],
    .page-id-1038 .wpcf7 .lia-btn-gold {
        width: 100%;
        padding: 16px 36px;
    }

    .page-id-1038 .wpcf7 label {
        margin-bottom: 14px;
    }
}

/* Error Highlight - Contact Page Only */
.page-id-1038 .wpcf7 .wpcf7-not-valid {
    border-color: #C75B5B !important;
    background-color: #FEF5F5 !important;
}

/* Success State - Contact Page Only */
.page-id-1038 .wpcf7-mail-sent-ok+.wpcf7-response-output {
    display: block !important;
}

/* ========================================
   CTA FORM BUTTON (ALL OTHER PAGES)
   ======================================== */

/* Form labels - clean minimal style */
body:not(.page-id-1038) .wpcf7 label {
    display: block;
    color: #000000;
    margin-bottom: 8px;
}

/* Input fields - borderless with bottom border only */
body:not(.page-id-1038) .wpcf7 input[type="text"],
body:not(.page-id-1038) .wpcf7 input[type="email"],
body:not(.page-id-1038) .wpcf7 textarea {
    width: 100%;
    padding: 10px 0;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: transparent;
    outline: none;
    transition: border-color 0.3s ease;
}

body:not(.page-id-1038) .wpcf7 input[type="text"]:focus,
body:not(.page-id-1038) .wpcf7 input[type="email"]:focus,
body:not(.page-id-1038) .wpcf7 textarea:focus {
    border-bottom-color: rgba(0, 0, 0, 0.3);
}

/* Submit button - diagonal stripe pattern background */
body:not(.page-id-1038) .wpcf7 input[type="submit"] {
    display: block;
    width: 100%;
    font-weight: 500;
    background-color: #FFFFFF80;
    color: #000000;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

body:not(.page-id-1038) .wpcf7 input[type="submit"]:hover {
    background-color: #000000;
    color: #FFFFFF;
}