/* ========================================
   Veltrix Contact Page
======================================== */

.contact-page {
    --contact-bg: #0e0e0f;
    --contact-surface: #191919;
    --contact-input: #171717;
    --contact-text: #f7f2f0;
    --contact-muted: #b9afb1;
    --contact-border: #343031;
    --contact-accent: #e6c4a7;

    background: var(--contact-bg);
    color: var(--contact-text);
}

.contact-page,
.contact-page * {
    box-sizing: border-box;
}

/* ========================================
   Hero
======================================== */

.contact-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(
        135deg,
        #342b36,
        #64505d,
        #ae8b88
    );
}

.contact-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 8, 10, 0.65),
        rgba(12, 9, 12, 0.35),
        rgba(10, 8, 10, 0.65)
    );
}

.contact-hero__content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    padding: 65px 24px;
}

.contact-hero__eyebrow {
    display: block;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #fff;
}

.contact-hero h1 {
    margin: 0 0 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 62px);
    line-height: 1.15;
    font-weight: 400;
    color: #fff;
}

.contact-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.9;
    color: #f4e9e9;
}

/* ========================================
   Contact Layout
======================================== */

.contact-section {
    padding: 95px 24px 110px;
}

.contact-section__container {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 26px;
    align-items: start;
}

.contact-info,
.contact-form-panel {
    min-width: 0;
}

.contact-info h2,
.contact-form-panel h2 {
    margin: 0 0 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 400;
    line-height: 1.3;
    color: var(--contact-text);
}

/* ========================================
   Contact Information Cards
======================================== */

.contact-info__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info__card {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 112px;
    padding: 24px;

    background: var(--contact-surface);
    border: 1px solid var(--contact-border);
    border-radius: 18px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.contact-info__card:hover {
    transform: translateY(-3px);
    border-color: #977a81;
}

.contact-info__icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    background: #302b29;
    color: #e9d4bb;
    font-size: 25px;
}

.contact-info__icon--whatsapp {
    color: #8fd6a6;
    background: #222d26;
}

.contact-info__icon--email {
    color: #f1c7cf;
    background: #302a2e;
}

.contact-info__card h3 {
    margin: 0 0 9px;
    font-family: inherit;
    color: var(--contact-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

.contact-info__card a,
.contact-info__card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--contact-text);
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-info__card a:hover {
    color: var(--contact-accent);
}

/* ========================================
   Form Panel
======================================== */

.contact-form-panel {
    padding: 48px 50px 52px;
    background: var(--contact-surface);
    border: 1px solid #222;
    border-radius: 20px;
}

.contact-form-panel h2 {
    margin-bottom: 32px;
}

/* ========================================
   Fluent Forms Styling
======================================== */

.contact-page .fluentform,
.contact-page .frm-fluent-form {
    width: 100%;
}

.contact-page .ff-el-group {
    margin-bottom: 26px;
}

.contact-page .ff-el-input--label label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--contact-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-page .ff-el-form-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;

    background: var(--contact-input);
    border: 1px solid var(--contact-border);
    border-radius: 12px;

    color: var(--contact-text);
    font-size: 15px;
    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-page .ff-el-form-control::placeholder {
    color: #918789;
}

.contact-page .ff-el-form-control:focus {
    outline: none;
    border-color: #d8aaa9;
    background: var(--contact-input);
    color: var(--contact-text);
    box-shadow: 0 0 0 3px rgba(219, 169, 167, 0.12);
}

.contact-page textarea.ff-el-form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-page .ff-el-is-error .ff-el-form-control {
    border-color: #d66b71;
}

.contact-page .ff-el-is-error .text-danger {
    color: #ff9c9c;
}

/* Submit Button */

.contact-page .ff-btn-submit,
.contact-page button.ff-btn-submit {
    display: block;
    width: 100%;
    min-height: 57px;
    padding: 15px 30px;

    background: linear-gradient(
        100deg,
        #e6c8a5,
        #efc8d0
    );

    border: none;
    border-radius: 40px;

    color: #231c20;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;

    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-page .ff-btn-submit:hover {
    background: linear-gradient(
        100deg,
        #efcfb0,
        #f4d4db
    );
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 165, 168, 0.2);
}

.contact-page .ff-btn-submit:focus-visible,
.contact-info__card a:focus-visible {
    outline: 2px solid #e6c4a7;
    outline-offset: 4px;
}

/* ========================================
   Light Theme
   Applied when the page/theme has
   a light-theme class or data attribute
======================================== */

body.light-theme .contact-page,
body[data-theme="light"] .contact-page,
html[data-theme="light"] .contact-page {
    --contact-bg: #faf7f5;
    --contact-surface: #ffffff;
    --contact-input: #fdfbfa;
    --contact-text: #252123;
    --contact-muted: #73696d;
    --contact-border: #e8ddda;
}

body.light-theme .contact-form-panel,
body[data-theme="light"] .contact-form-panel,
html[data-theme="light"] .contact-form-panel {
    border-color: var(--contact-border);
}

/* ========================================
   Responsive
======================================== */

@media (max-width: 992px) {
    .contact-section__container {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .contact-info__cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-form-panel {
        padding: 38px;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        min-height: 310px;
    }

    .contact-hero__content {
        padding: 55px 20px;
    }

    .contact-hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-section {
        padding: 55px 16px 75px;
    }

    .contact-info__cards {
        grid-template-columns: 1fr;
    }

    .contact-info__card {
        min-height: 95px;
        padding: 18px;
        gap: 16px;
    }

    .contact-form-panel {
        padding: 26px 20px;
        border-radius: 16px;
    }

    .contact-page .ff-t-cell {
        display: block;
        width: 100%;
        margin-bottom: 16px;
    }

    .contact-page .ff-t-cell:last-child {
        margin-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        transition: none !important;
    }
}


/* =========================================
   REGISTER - PASSWORD TIPS
========================================= */

/* Password hint container */
.veltrix-account-page .tml-register .tml-indicator-hint-wrap {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Actual password hint paragraph */
.veltrix-account-page .tml-register p.description.indicator-hint {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 14px 16px !important;

    background: rgba(189, 140, 117, 0.08);
    border: 1px solid rgba(189, 140, 117, 0.22);
    border-radius: 12px;

    color: var(--auth-muted);
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* Password tips title */
.veltrix-account-page .tml-register p.description.indicator-hint::before {
    content: "PASSWORD TIPS";
    display: block;

    margin-bottom: 7px;
    color: var(--auth-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

/* Mobile */
@media (max-width: 480px) {
    .veltrix-account-page .tml-register p.description.indicator-hint {
        padding: 12px 14px !important;
        font-size: 11px;
        line-height: 1.6;
    }
}
