/* Riddler's Project - Contact page / Fluent Forms styling
   This file is loaded only on the Contact page from riddlers-project-core.php.
*/

/* Contact page intro text */
.entry-content > p,
.wp-block-post-content > p {
    max-width: 940px;
    margin: 0 auto 10px;
    text-align: center;
    color: #f0efeb;
    font-size: 18px;
    line-height: 1.65;
}

.entry-content > p a,
.wp-block-post-content > p a {
    color: #c9a55c;
    text-decoration: none;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.entry-content > p a:hover,
.wp-block-post-content > p a:hover {
    color: #e3bf73;
    text-shadow: 0 0 10px rgba(201, 165, 92, 0.28);
}

/* Main Fluent Forms wrapper */
.fluentform,
[class*="fluentform_wrapper"] {
    max-width: 700px;
    margin: 34px auto 0 !important;
}

/* Main form box */
.fluentform form.frm-fluent-form,
[class*="fluentform_wrapper"] form.frm-fluent-form {
    padding: 34px 36px 30px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 165, 92, 0.09), transparent 42%),
        linear-gradient(180deg, rgba(43, 42, 40, 0.95) 0%, rgba(30, 29, 28, 0.98) 100%) !important;
    border: 1px solid rgba(185, 155, 94, 0.55) !important;
    border-radius: 26px !important;
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.40),
        inset 0 0 0 1px rgba(255, 233, 184, 0.04),
        0 0 18px rgba(185, 155, 94, 0.08) !important;
}

/* Field spacing */
.fluentform .ff-el-group,
[class*="fluentform_wrapper"] .ff-el-group {
    margin-bottom: 22px !important;
}

/* Labels */
.fluentform .ff-el-input--label,
[class*="fluentform_wrapper"] .ff-el-input--label {
    margin-bottom: 9px !important;
}

.fluentform .ff-el-input--label label,
[class*="fluentform_wrapper"] .ff-el-input--label label,
.fluentform .ff-el-form-check-label,
[class*="fluentform_wrapper"] .ff-el-form-check-label {
    color: #c9a55c !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    letter-spacing: 0.03em;
}

.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after,
[class*="fluentform_wrapper"] .ff-el-input--label.ff-el-is-required.asterisk-right label::after,
.fluentform .ff-el-input--label label .required,
[class*="fluentform_wrapper"] .ff-el-input--label label .required,
.fluentform .ff-el-input--label label span,
[class*="fluentform_wrapper"] .ff-el-input--label label span {
    color: #ff7b7b !important;
}

/* Inputs */
.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform input[type="url"],
.fluentform select,
.fluentform textarea,
[class*="fluentform_wrapper"] input[type="text"],
[class*="fluentform_wrapper"] input[type="email"],
[class*="fluentform_wrapper"] input[type="tel"],
[class*="fluentform_wrapper"] input[type="url"],
[class*="fluentform_wrapper"] select,
[class*="fluentform_wrapper"] textarea {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 18px !important;
    color: #f1f0eb !important;
    background: linear-gradient(180deg, rgba(56, 54, 51, 0.78) 0%, rgba(39, 38, 36, 0.92) 100%) !important;
    border: 1px solid rgba(185, 155, 94, 0.75) !important;
    border-radius: 24px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 6px 18px rgba(0, 0, 0, 0.12) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    outline: none !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease, background 0.25s ease !important;
}

.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform input[type="url"],
.fluentform select,
[class*="fluentform_wrapper"] input[type="text"],
[class*="fluentform_wrapper"] input[type="email"],
[class*="fluentform_wrapper"] input[type="tel"],
[class*="fluentform_wrapper"] input[type="url"],
[class*="fluentform_wrapper"] select {
    height: 54px !important;
    line-height: 54px !important;
}

.fluentform textarea,
[class*="fluentform_wrapper"] textarea {
    min-height: 166px !important;
    padding: 15px 18px !important;
    line-height: 1.6 !important;
    resize: vertical !important;
}

.fluentform input::placeholder,
.fluentform textarea::placeholder,
[class*="fluentform_wrapper"] input::placeholder,
[class*="fluentform_wrapper"] textarea::placeholder {
    color: rgba(240, 240, 235, 0.35) !important;
}

.fluentform input:focus,
.fluentform textarea:focus,
.fluentform select:focus,
[class*="fluentform_wrapper"] input:focus,
[class*="fluentform_wrapper"] textarea:focus,
[class*="fluentform_wrapper"] select:focus {
    border-color: #ddb866 !important;
    background: linear-gradient(180deg, rgba(59, 57, 53, 0.86) 0%, rgba(43, 41, 38, 0.96) 100%) !important;
    box-shadow:
        0 0 0 3px rgba(201, 165, 92, 0.12),
        0 0 16px rgba(201, 165, 92, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.04) !important;
    transform: translateY(-1px);
}

/* Name two-column layout */
.fluentform .ff-t-container,
[class*="fluentform_wrapper"] .ff-t-container {
    gap: 16px !important;
}

.fluentform .ff-t-cell,
[class*="fluentform_wrapper"] .ff-t-cell {
    padding: 0 !important;
}

/* GDPR / agreement checkbox */
.fluentform .ff-el-form-check,
[class*="fluentform_wrapper"] .ff-el-form-check {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
}

.fluentform .ff-el-form-check-label,
[class*="fluentform_wrapper"] .ff-el-form-check-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 13px !important;
    width: 100% !important;
    max-width: none !important;
    color: #d1ad67 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
}

.fluentform .ff-el-form-check-label span,
[class*="fluentform_wrapper"] .ff-el-form-check-label span {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    white-space: normal !important;
}

.fluentform .ff-el-form-check input[type="checkbox"],
[class*="fluentform_wrapper"] .ff-el-form-check input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    margin: 3px 0 0 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(185, 155, 94, 0.95) !important;
    border-radius: 4px !important;
    background: #232220 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04) !important;
    position: relative !important;
    cursor: pointer;
}

.fluentform .ff-el-form-check input[type="checkbox"]:checked,
[class*="fluentform_wrapper"] .ff-el-form-check input[type="checkbox"]:checked {
    background: linear-gradient(180deg, #d0ad66 0%, #b5904d 100%) !important;
    border-color: #d8b56e !important;
}

.fluentform .ff-el-form-check input[type="checkbox"]:checked::after,
[class*="fluentform_wrapper"] .ff-el-form-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #252422;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fluentform .ff-el-form-check-label a,
[class*="fluentform_wrapper"] .ff-el-form-check-label a {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Submit button */
.fluentform .ff-el-group.ff_submit_btn_wrapper,
[class*="fluentform_wrapper"] .ff-el-group.ff_submit_btn_wrapper {
    margin-bottom: 0 !important;
    text-align: center !important;
}

.fluentform button.ff-btn-submit,
.fluentform .ff-btn-submit,
[class*="fluentform_wrapper"] button.ff-btn-submit,
[class*="fluentform_wrapper"] .ff-btn-submit {
    min-width: 190px !important;
    height: 54px !important;
    padding: 0 30px !important;
    margin: 4px auto 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(218, 188, 115, 0.95) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #d8bd72 0%, #b99b5e 100%) !important;
    color: #181611 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-shadow: 0 10px 24px rgba(185, 155, 94, 0.18), inset 0 1px 0 rgba(255,255,255,0.24) !important;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease !important;
}

.fluentform button.ff-btn-submit:hover,
.fluentform .ff-btn-submit:hover,
[class*="fluentform_wrapper"] button.ff-btn-submit:hover,
[class*="fluentform_wrapper"] .ff-btn-submit:hover {
    background: linear-gradient(135deg, #e3ca82 0%, #c8a765 100%) !important;
    color: #181611 !important;
    border-color: #e3ca82 !important;
    box-shadow: 0 14px 30px rgba(185, 155, 94, 0.28), 0 0 18px rgba(227, 202, 130, 0.16), inset 0 1px 0 rgba(255,255,255,0.28) !important;
    filter: none;
    transform: none;
}

/* Errors / validation */
.fluentform .error,
.fluentform .text-danger,
.fluentform .ff-el-is-error .error,
[class*="fluentform_wrapper"] .error,
[class*="fluentform_wrapper"] .text-danger,
[class*="fluentform_wrapper"] .ff-el-is-error .error {
    color: #ff8c8c !important;
    font-size: 13px !important;
    margin-top: 8px !important;
}

.fluentform .ff-el-is-error input,
.fluentform .ff-el-is-error textarea,
.fluentform .ff-el-is-error select,
[class*="fluentform_wrapper"] .ff-el-is-error input,
[class*="fluentform_wrapper"] .ff-el-is-error textarea,
[class*="fluentform_wrapper"] .ff-el-is-error select {
    border-color: #d96b6b !important;
    box-shadow: 0 0 0 3px rgba(217, 107, 107, 0.12) !important;
}

/* Success message */
.fluentform .ff-message-success,
[class*="fluentform_wrapper"] .ff-message-success {
    background: linear-gradient(180deg, rgba(52, 52, 49, 0.98) 0%, rgba(37, 36, 34, 0.98) 100%) !important;
    border: 1px solid rgba(185, 155, 94, 0.70) !important;
    border-radius: 22px !important;
    color: #f0f0ec !important;
    padding: 22px 24px !important;
    text-align: center !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26), 0 0 16px rgba(201, 165, 92, 0.10) !important;
}

.fluentform .ff-message-success p,
[class*="fluentform_wrapper"] .ff-message-success p {
    color: #f0f0ec !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.6;
    margin: 0 !important;
}

/* Autofill */
.fluentform input:-webkit-autofill,
.fluentform textarea:-webkit-autofill,
[class*="fluentform_wrapper"] input:-webkit-autofill,
[class*="fluentform_wrapper"] textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #343431 inset !important;
    box-shadow: 0 0 0 1000px #343431 inset !important;
    -webkit-text-fill-color: #f0f0ec !important;
    caret-color: #f0f0ec;
    transition: background-color 9999s ease-in-out 0s;
}

/* Mobile */
@media (max-width: 767px) {
    .entry-content > p,
    .wp-block-post-content > p {
        font-size: 16px;
        line-height: 1.6;
        padding: 0 10px;
    }

    .fluentform,
    [class*="fluentform_wrapper"] {
        margin-top: 26px !important;
    }

    .fluentform form.frm-fluent-form,
    [class*="fluentform_wrapper"] form.frm-fluent-form {
        padding: 24px 20px 22px !important;
        border-radius: 22px !important;
    }

    .fluentform input[type="text"],
    .fluentform input[type="email"],
    .fluentform input[type="tel"],
    .fluentform input[type="url"],
    .fluentform select,
    [class*="fluentform_wrapper"] input[type="text"],
    [class*="fluentform_wrapper"] input[type="email"],
    [class*="fluentform_wrapper"] input[type="tel"],
    [class*="fluentform_wrapper"] input[type="url"],
    [class*="fluentform_wrapper"] select {
        height: 52px !important;
        line-height: 52px !important;
        font-size: 17px !important;
    }

    .fluentform textarea,
    [class*="fluentform_wrapper"] textarea {
        min-height: 150px !important;
    }

    .fluentform .ff-t-container,
    [class*="fluentform_wrapper"] .ff-t-container {
        display: block !important;
    }

    .fluentform .ff-t-cell,
    [class*="fluentform_wrapper"] .ff-t-cell {
        width: 100% !important;
        margin-bottom: 18px !important;
    }

    .fluentform button.ff-btn-submit,
    .fluentform .ff-btn-submit,
    [class*="fluentform_wrapper"] button.ff-btn-submit,
    [class*="fluentform_wrapper"] .ff-btn-submit {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* =========================================================
   Contact page Variant A shell
   Use shortcode on Contact page: [rp_contact_page]
   ========================================================= */

.rp-contact-page {
    width: 100%;
    padding: 52px 18px 76px;
}

.rp-contact-shell {
    width: min(1140px, 100%);
    margin: 0 auto;
    padding: 52px 48px 58px;
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 165, 92, 0.10), transparent 42%),
        linear-gradient(180deg, rgba(39, 38, 36, 0.96) 0%, rgba(27, 26, 25, 0.985) 100%);
    border: 1px solid rgba(185, 155, 94, 0.36);
    border-radius: 28px;
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.38),
        inset 0 0 0 1px rgba(255, 233, 184, 0.035),
        0 0 28px rgba(185, 155, 94, 0.08);
}

.rp-contact-hero {
    max-width: 920px;
    margin: 0 auto 34px;
    text-align: center;
}

.rp-contact-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 24px;
    border: 1px solid rgba(185, 155, 94, 0.58);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(60, 55, 42, 0.66), rgba(30, 29, 28, 0.86));
    color: #d6b668;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.05);
}

.rp-contact-hero h1 {
    margin: 22px 0 18px;
    color: #d9bc72;
    font-family: "Chakra Petch", sans-serif;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.28);
}

.rp-contact-lead,
.rp-contact-sublead {
    max-width: 870px;
    margin: 0 auto;
    color: #d9d6cf;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 700;
}

.rp-contact-sublead {
    margin-top: 10px;
}

.rp-contact-lead a,
.rp-contact-sublead a {
    color: #c9a55c;
    text-decoration: none;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.rp-contact-lead a:hover,
.rp-contact-sublead a:hover {
    color: #e3bf73;
    text-shadow: 0 0 10px rgba(201, 165, 92, 0.28);
}

.rp-contact-form-card {
    width: min(760px, 100%);
    margin: 34px auto 0;
    padding: 32px 36px 34px;
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 165, 92, 0.10), transparent 46%),
        linear-gradient(180deg, rgba(44, 43, 40, 0.94) 0%, rgba(25, 24, 23, 0.98) 100%);
    border: 1px solid rgba(185, 155, 94, 0.48);
    border-radius: 26px;
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.34),
        inset 0 0 0 1px rgba(255, 233, 184, 0.035);
}

.rp-contact-form-head {
    max-width: 600px;
    margin: 0 auto 26px;
    text-align: center;
}

.rp-contact-form-head span {
    display: block;
    margin-bottom: 12px;
    color: #b99b5e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rp-contact-form-head h2 {
    margin: 0 0 10px;
    color: #d9bc72;
    font-family: "Chakra Petch", sans-serif;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
}

.rp-contact-form-head p {
    margin: 0;
    color: #cfcac1;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 700;
}

/* Form card now provides the box, so remove the old standalone Fluent Forms box only inside Variant A */
.rp-contact-page .fluentform,
.rp-contact-page [class*="fluentform_wrapper"] {
    max-width: 100%;
    margin: 0 !important;
}

.rp-contact-page .fluentform form.frm-fluent-form,
.rp-contact-page [class*="fluentform_wrapper"] form.frm-fluent-form {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    .rp-contact-page {
        padding: 32px 14px 52px;
    }

    .rp-contact-shell {
        padding: 34px 20px 38px;
        border-radius: 22px;
    }

    .rp-contact-kicker {
        min-height: 34px;
        padding: 0 16px;
        font-size: 11px;
    }

    .rp-contact-hero h1 {
        font-size: clamp(34px, 10vw, 46px);
        margin-top: 18px;
    }

    .rp-contact-lead,
    .rp-contact-sublead {
        font-size: 16px;
        line-height: 1.62;
    }

    .rp-contact-form-card {
        padding: 26px 18px 24px;
        border-radius: 22px;
        margin-top: 28px;
    }

    .rp-contact-form-head h2 {
        font-size: 29px;
    }
}

/* Fix Fluent Forms two-column field alignment when only one side has validation error */
.rp-contact-page .fluentform .ff-t-container,
.rp-contact-page [class*="fluentform_wrapper"] .ff-t-container {
    align-items: flex-start !important;
}

.rp-contact-page .fluentform .ff-t-cell,
.rp-contact-page [class*="fluentform_wrapper"] .ff-t-cell {
    align-self: flex-start !important;
}

.rp-contact-page .fluentform .ff-t-cell .ff-el-group,
.rp-contact-page [class*="fluentform_wrapper"] .ff-t-cell .ff-el-group {
    margin-bottom: 0 !important;
}

/* ======================================================
   CONTACT DESKTOP FINAL
   ====================================================== */

body .rp-contact-page {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 -50vw !important;
    padding: 56px 22px 74px !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    color: var(--rp-menu-text, #e8e0d1) !important;
    background: var(
        --rp-menu-page-bg,
        linear-gradient(180deg, #2f2e2a 0%, #252422 32%, #1f1e1c 100%)
    ) !important;
}

body .rp-contact-page *,
body .rp-contact-page *::before,
body .rp-contact-page *::after {
    box-sizing: border-box !important;
}

body .rp-contact-page .rp-contact-shell {
    width: min(1180px, 100%) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body .rp-contact-page .rp-contact-hero {
    width: min(1040px, 100%) !important;
    max-width: 1040px !important;
    min-height: 238px !important;
    margin: 0 auto 34px !important;
    padding: 44px 36px 38px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border: 1px solid rgba(198, 161, 91, 0.31) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(112deg, rgba(198, 161, 91, 0.105) 0%, rgba(198, 161, 91, 0.035) 31%, transparent 53%),
        linear-gradient(145deg, rgba(47, 46, 42, 0.96), rgba(22, 22, 20, 0.985)) !important;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

body .rp-contact-page .rp-contact-hero h1 {
    max-width: 900px !important;
    margin: 0 0 16px !important;
    color: var(--rp-menu-gold, #c6a15b) !important;
    font-family: "Chakra Petch", "Inter", sans-serif !important;
    font-size: clamp(34px, 3.05vw, 46px) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34) !important;
}

body .rp-contact-page .rp-contact-lead,
body .rp-contact-page .rp-contact-sublead {
    max-width: 820px !important;
    margin: 0 auto !important;
    color: rgba(232, 224, 209, 0.76) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.62 !important;
}

body .rp-contact-page .rp-contact-sublead {
    margin-top: 12px !important;
}

body .rp-contact-page .rp-contact-lead a,
body .rp-contact-page .rp-contact-sublead a {
    color: var(--rp-menu-gold, #c6a15b) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(198, 161, 91, 0.48) !important;
}

body .rp-contact-page .rp-contact-form-card {
    width: min(760px, 100%) !important;
    max-width: 760px !important;
    margin: 34px auto 0 !important;
    padding: 30px 36px 34px !important;
    border: 1px solid rgba(198, 161, 91, 0.30) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(126deg, rgba(198, 161, 91, 0.08), transparent 43%),
        linear-gradient(145deg, rgba(38, 37, 34, 0.98), rgba(24, 24, 22, 0.99)) !important;
    box-shadow:
        0 28px 62px rgba(0, 0, 0, 0.44),
        inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

body .rp-contact-page .rp-contact-form-head {
    max-width: 560px !important;
    margin: 0 auto 24px !important;
    text-align: center !important;
}

body .rp-contact-page .rp-contact-form-head span {
    margin-bottom: 9px !important;
    color: rgba(214, 195, 154, 0.9) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

body .rp-contact-page .rp-contact-form-head h2 {
    margin: 0 0 10px !important;
    color: var(--rp-menu-gold, #c6a15b) !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body .rp-contact-page .rp-contact-form-head p {
    max-width: 560px !important;
    margin: 0 auto !important;
    color: rgba(232, 224, 209, 0.72) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
}

body .rp-contact-page .fluentform,
body .rp-contact-page [class*="fluentform_wrapper"] {
    max-width: 100% !important;
    margin: 0 !important;
}

body .rp-contact-page .fluentform form.frm-fluent-form,
body .rp-contact-page [class*="fluentform_wrapper"] form.frm-fluent-form {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body .rp-contact-page .fluentform .ff-el-group,
body .rp-contact-page [class*="fluentform_wrapper"] .ff-el-group {
    margin-bottom: 16px !important;
}

body .rp-contact-page .fluentform .ff-el-input--label,
body .rp-contact-page [class*="fluentform_wrapper"] .ff-el-input--label {
    margin-bottom: 7px !important;
}

body .rp-contact-page .fluentform .ff-el-input--label label,
body .rp-contact-page [class*="fluentform_wrapper"] .ff-el-input--label label,
body .rp-contact-page .fluentform .ff-el-form-check-label,
body .rp-contact-page [class*="fluentform_wrapper"] .ff-el-form-check-label {
    color: #d6c39a !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
}

body .rp-contact-page .fluentform input[type="text"],
body .rp-contact-page .fluentform input[type="email"],
body .rp-contact-page .fluentform input[type="tel"],
body .rp-contact-page .fluentform input[type="url"],
body .rp-contact-page .fluentform select,
body .rp-contact-page .fluentform textarea,
body .rp-contact-page [class*="fluentform_wrapper"] input[type="text"],
body .rp-contact-page [class*="fluentform_wrapper"] input[type="email"],
body .rp-contact-page [class*="fluentform_wrapper"] input[type="tel"],
body .rp-contact-page [class*="fluentform_wrapper"] input[type="url"],
body .rp-contact-page [class*="fluentform_wrapper"] select,
body .rp-contact-page [class*="fluentform_wrapper"] textarea {
    width: 100% !important;
    margin: 0 !important;
    color: #ece6d8 !important;
    background: rgba(47, 46, 42, 0.94) !important;
    border: 1px solid rgba(198, 161, 91, 0.44) !important;
    border-radius: 14px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    outline: none !important;
    transform: none !important;
}

body .rp-contact-page .fluentform input[type="text"],
body .rp-contact-page .fluentform input[type="email"],
body .rp-contact-page .fluentform input[type="tel"],
body .rp-contact-page .fluentform input[type="url"],
body .rp-contact-page .fluentform select,
body .rp-contact-page [class*="fluentform_wrapper"] input[type="text"],
body .rp-contact-page [class*="fluentform_wrapper"] input[type="email"],
body .rp-contact-page [class*="fluentform_wrapper"] input[type="tel"],
body .rp-contact-page [class*="fluentform_wrapper"] input[type="url"],
body .rp-contact-page [class*="fluentform_wrapper"] select {
    min-height: 48px !important;
    height: 48px !important;
    line-height: 48px !important;
    padding: 0 15px !important;
}

body .rp-contact-page .fluentform textarea,
body .rp-contact-page [class*="fluentform_wrapper"] textarea {
    min-height: 150px !important;
    padding: 14px 15px !important;
    line-height: 1.55 !important;
    resize: vertical !important;
}

body .rp-contact-page .fluentform input:focus,
body .rp-contact-page .fluentform textarea:focus,
body .rp-contact-page .fluentform select:focus,
body .rp-contact-page [class*="fluentform_wrapper"] input:focus,
body .rp-contact-page [class*="fluentform_wrapper"] textarea:focus,
body .rp-contact-page [class*="fluentform_wrapper"] select:focus {
    border-color: var(--rp-menu-gold, #c6a15b) !important;
    background: rgba(42, 41, 38, 0.98) !important;
    box-shadow:
        0 0 0 3px rgba(198, 161, 91, 0.12),
        0 0 22px rgba(198, 161, 91, 0.12) !important;
    transform: none !important;
}

body .rp-contact-page .fluentform .ff-t-container,
body .rp-contact-page [class*="fluentform_wrapper"] .ff-t-container {
    gap: 16px !important;
    align-items: flex-start !important;
}

body .rp-contact-page .fluentform .ff-el-form-check-label,
body .rp-contact-page [class*="fluentform_wrapper"] .ff-el-form-check-label {
    gap: 13px !important;
    color: rgba(232, 224, 209, 0.80) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

body .rp-contact-page .fluentform .ff-el-form-check input[type="checkbox"],
body .rp-contact-page [class*="fluentform_wrapper"] .ff-el-form-check input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    margin-top: 1px !important;
    border-color: rgba(198, 161, 91, 0.70) !important;
    border-radius: 6px !important;
    background: rgba(47, 46, 42, 0.95) !important;
    position: relative !important;
    cursor: pointer !important;
}

body .rp-contact-page .fluentform .ff-el-form-check input[type="checkbox"]:checked,
body .rp-contact-page [class*="fluentform_wrapper"] .ff-el-form-check input[type="checkbox"]:checked {
    border-color: rgba(216, 189, 112, 0.98) !important;
    background: linear-gradient(135deg, #d8bd70 0%, #b9934d 100%) !important;
    box-shadow:
        0 0 0 3px rgba(198, 161, 91, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

body .rp-contact-page .fluentform .ff-el-form-check input[type="checkbox"]:checked::after,
body .rp-contact-page [class*="fluentform_wrapper"] .ff-el-form-check input[type="checkbox"]:checked::after {
    content: "" !important;
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 6px !important;
    height: 11px !important;
    border: solid #25231e !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

body .rp-contact-page .fluentform .ff-el-group.ff_submit_btn_wrapper,
body .rp-contact-page [class*="fluentform_wrapper"] .ff-el-group.ff_submit_btn_wrapper {
    margin-top: 26px !important;
    margin-bottom: 0 !important;
    text-align: center !important;
}

body .rp-contact-page .fluentform button.ff-btn-submit,
body .rp-contact-page .fluentform .ff-btn-submit,
body .rp-contact-page [class*="fluentform_wrapper"] button.ff-btn-submit,
body .rp-contact-page [class*="fluentform_wrapper"] .ff-btn-submit {
    min-width: 190px !important;
    height: 48px !important;
    padding: 0 26px !important;
    margin: 0 auto !important;
    border-color: rgba(218, 188, 115, 0.95) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #d8bd72 0%, #b99b5e 100%) !important;
    color: #181611 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow:
        0 10px 24px rgba(185, 155, 94, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.035) inset !important;
    transform: none !important;
}

body .rp-contact-page .fluentform button.ff-btn-submit:hover,
body .rp-contact-page .fluentform .ff-btn-submit:hover,
body .rp-contact-page [class*="fluentform_wrapper"] button.ff-btn-submit:hover,
body .rp-contact-page [class*="fluentform_wrapper"] .ff-btn-submit:hover {
    color: #181611 !important;
    background: linear-gradient(135deg, #e3ca82 0%, #c8a765 100%) !important;
    border-color: #e3ca82 !important;
    box-shadow:
        0 14px 30px rgba(185, 155, 94, 0.28),
        0 0 18px rgba(227, 202, 130, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
    filter: none !important;
    transform: none !important;
}

/* Keep browser autofill visually consistent with the Contact form theme. */
body .rp-contact-page .fluentform input:-webkit-autofill,
body .rp-contact-page .fluentform input:-webkit-autofill:hover,
body .rp-contact-page .fluentform input:-webkit-autofill:focus,
body .rp-contact-page .fluentform input:-webkit-autofill:active,
body .rp-contact-page .fluentform textarea:-webkit-autofill,
body .rp-contact-page .fluentform textarea:-webkit-autofill:hover,
body .rp-contact-page .fluentform textarea:-webkit-autofill:focus,
body .rp-contact-page .fluentform textarea:-webkit-autofill:active,
body .rp-contact-page [class*="fluentform_wrapper"] input:-webkit-autofill,
body .rp-contact-page [class*="fluentform_wrapper"] input:-webkit-autofill:hover,
body .rp-contact-page [class*="fluentform_wrapper"] input:-webkit-autofill:focus,
body .rp-contact-page [class*="fluentform_wrapper"] input:-webkit-autofill:active,
body .rp-contact-page [class*="fluentform_wrapper"] textarea:-webkit-autofill,
body .rp-contact-page [class*="fluentform_wrapper"] textarea:-webkit-autofill:hover,
body .rp-contact-page [class*="fluentform_wrapper"] textarea:-webkit-autofill:focus,
body .rp-contact-page [class*="fluentform_wrapper"] textarea:-webkit-autofill:active {
    -webkit-text-fill-color: #ece6d8 !important;
    caret-color: #ece6d8 !important;
    background: rgba(47, 46, 42, 0.94) !important;
    border-color: rgba(198, 161, 91, 0.58) !important;
    -webkit-box-shadow:
        0 0 0 1000px rgb(47, 46, 42) inset,
        0 0 0 3px rgba(198, 161, 91, 0.12),
        0 0 22px rgba(198, 161, 91, 0.12) !important;
    box-shadow:
        0 0 0 1000px rgb(47, 46, 42) inset,
        0 0 0 3px rgba(198, 161, 91, 0.12),
        0 0 22px rgba(198, 161, 91, 0.12) !important;
    transition:
        background-color 9999s ease-in-out 0s,
        color 9999s ease-in-out 0s !important;
}
