/**
 * TAS Site Shell — Contact page
 * v0.1.26: editorial split-layout treatment. Visual only; MetForm continues to
 * own submission, validation, delivery and anti-spam behaviour.
 */

body.page-id-801 {
    --tas-contact-bg: #07090b;
    --tas-contact-panel: #101319;
    --tas-contact-field: #0b0e12;
    --tas-contact-line: rgba(255,255,255,.10);
    --tas-contact-line-strong: rgba(255,255,255,.17);
    --tas-contact-text: #f4f5f6;
    --tas-contact-muted: #9ca3ae;
    --tas-contact-muted-2: #747c87;
    --tas-contact-orange: #f26a21;
    background: var(--tas-contact-bg) !important;
    color: var(--tas-contact-text);
}

/* The old page-builder backgrounds are deliberately retired on Contact only. */
body.page-id-801 .elementor-801,
body.page-id-801 .elementor-801 > .elementor-section,
body.page-id-801 .elementor-element-aea2ea8,
body.page-id-801 .elementor-element-43ca4eb {
    background-color: transparent !important;
    background-image: none !important;
}

/*
 * Treat the two existing Elementor sections as one composed page: a quiet
 * title rail and the form. This removes the large detached heading / box look.
 */
body.page-id-801 .elementor-801 {
    position: relative;
    isolation: isolate;
    display: grid !important;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 72px;
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin: 0 auto !important;
    padding: 72px 0 108px !important;
}

body.page-id-801 .elementor-801::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 620px;
    height: 520px;
    top: -120px;
    right: -170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,106,33,.075) 0%, rgba(242,106,33,.025) 36%, transparent 70%);
    filter: blur(12px);
    pointer-events: none;
}

body.page-id-801 .elementor-element-aea2ea8,
body.page-id-801 .elementor-element-43ca4eb {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.page-id-801 .elementor-element-aea2ea8 > .elementor-container,
body.page-id-801 .elementor-element-43ca4eb > .elementor-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Compact page identity. */
body.page-id-801 .elementor-element-aea2ea8 {
    position: relative;
    align-self: start;
    padding-top: 9px !important;
}

body.page-id-801 .elementor-element-aea2ea8::before {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    margin: 0 0 18px;
    background: var(--tas-contact-orange);
}

body.page-id-801 .elementor-element-aea2ea8::after {
    content: "";
    display: block;
    width: 1px;
    height: 88px;
    margin: 26px 0 0 1px;
    background: linear-gradient(180deg, rgba(255,255,255,.20), transparent);
}

body.page-id-801 .elementor-element-88dd2fc,
body.page-id-801 .elementor-element-88dd2fc > .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-801 .elementor-element-88dd2fc .elementor-heading-title {
    margin: 0 !important;
    color: var(--tas-contact-text) !important;
    font-family: Poppins, "Segoe UI", Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1.12 !important;
    letter-spacing: -.035em !important;
}

/* Form surface: lighter and more architectural than a giant grey slab. */
body.page-id-801 .elementor-element-65ada16,
body.page-id-801 .elementor-element-65ada16 > .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.page-id-801 .elementor-element-65ada16 > .elementor-widget-container {
    position: relative;
    overflow: hidden;
    padding: 40px 42px 42px !important;
    background:
        radial-gradient(560px 260px at 100% 0%, rgba(242,106,33,.06), transparent 62%),
        linear-gradient(145deg, rgba(18,21,27,.92), rgba(11,13,17,.96)) !important;
    border: 1px solid var(--tas-contact-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 26px 75px rgba(0,0,0,.30) !important;
}

body.page-id-801 .elementor-element-65ada16 > .elementor-widget-container::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 42px;
    width: 72px;
    height: 2px;
    background: var(--tas-contact-orange);
    pointer-events: none;
}

/* Neutralise legacy form-builder cosmetics while leaving structure/JS intact. */
body.page-id-801 .metform-form-content,
body.page-id-801 .metform-form-main-wrapper,
body.page-id-801 .metform-form-main-wrapper .elementor,
body.page-id-801 .metform-form-main-wrapper .elementor-section,
body.page-id-801 .metform-form-main-wrapper .elementor-container,
body.page-id-801 .metform-form-main-wrapper .elementor-column,
body.page-id-801 .metform-form-main-wrapper .elementor-widget-wrap,
body.page-id-801 .metform-form-main-wrapper .elementor-widget-container,
body.page-id-801 .metform-form-main-wrapper .e-con,
body.page-id-801 .metform-form-main-wrapper .e-con-inner {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.page-id-801 .metform-form-content {
    margin: 0 !important;
    color: var(--tas-contact-text) !important;
    font-family: Poppins, "Segoe UI", Arial, sans-serif !important;
}

body.page-id-801 .metform-form-main-wrapper .elementor-section,
body.page-id-801 .metform-form-main-wrapper .elementor-inner-section,
body.page-id-801 .metform-form-main-wrapper .e-con {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.page-id-801 .metform-form-main-wrapper .elementor-widget {
    margin-bottom: 0 !important;
}

/* Form chapter headings: intentionally small; the form, not the copy, is the focus. */
body.page-id-801 .metform-form-main-wrapper .elementor-heading-title,
body.page-id-801 .metform-form-main-wrapper h1,
body.page-id-801 .metform-form-main-wrapper h2,
body.page-id-801 .metform-form-main-wrapper h3,
body.page-id-801 .metform-form-main-wrapper h4 {
    margin: 0 0 6px !important;
    color: #eef0f3 !important;
    font-family: Poppins, "Segoe UI", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    letter-spacing: -.01em !important;
    text-transform: none !important;
}

body.page-id-801 .metform-form-main-wrapper .elementor-widget-text-editor,
body.page-id-801 .metform-form-main-wrapper .elementor-widget-text-editor p,
body.page-id-801 .metform-form-main-wrapper p {
    color: var(--tas-contact-muted) !important;
    font-family: Poppins, "Segoe UI", Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}

body.page-id-801 .metform-form-main-wrapper .elementor-widget-text-editor p {
    margin: 0 0 18px !important;
}

body.page-id-801 .metform-form-main-wrapper hr,
body.page-id-801 .metform-form-main-wrapper .elementor-divider-separator {
    height: 1px !important;
    width: 100% !important;
    margin: 0 0 24px !important;
    border: 0 !important;
    background: linear-gradient(90deg, rgba(255,255,255,.16), rgba(255,255,255,.04)) !important;
}

body.page-id-801 .mf-input-wrapper {
    margin-bottom: 18px !important;
}

body.page-id-801 .mf-input-label {
    display: block !important;
    margin: 0 0 7px !important;
    color: #cfd4db !important;
    font-family: Poppins, "Segoe UI", Arial, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: .025em !important;
}

body.page-id-801 .mf-input-required-indicator {
    color: var(--tas-contact-orange) !important;
}

body.page-id-801 .mf-input,
body.page-id-801 input.mf-input,
body.page-id-801 textarea.mf-input,
body.page-id-801 select.mf-input {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 11px 13px !important;
    border: 1px solid var(--tas-contact-line-strong) !important;
    border-radius: 4px !important;
    outline: 0 !important;
    background: rgba(6,8,11,.66) !important;
    color: var(--tas-contact-text) !important;
    caret-color: var(--tas-contact-orange) !important;
    font-family: Poppins, "Segoe UI", Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.018) !important;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease !important;
}

body.page-id-801 textarea.mf-input,
body.page-id-801 .mf-textarea {
    min-height: 136px !important;
    resize: vertical !important;
}

body.page-id-801 .mf-input::placeholder,
body.page-id-801 input.mf-input::placeholder,
body.page-id-801 textarea.mf-input::placeholder {
    color: #636a74 !important;
    opacity: 1 !important;
}

body.page-id-801 .mf-input:hover {
    border-color: rgba(255,255,255,.26) !important;
    background: rgba(8,10,13,.80) !important;
}

body.page-id-801 .mf-input:focus,
body.page-id-801 .mf-input:focus-visible {
    border-color: rgba(242,106,33,.88) !important;
    background: #0b0e12 !important;
    box-shadow: 0 0 0 2px rgba(242,106,33,.10) !important;
}

/* Old helper text merely repeats the labels/placeholders. */
body.page-id-801 .mf-input-help {
    display: none !important;
}

body.page-id-801 .mf-error-message {
    display: block !important;
    margin-top: 6px !important;
    color: #ff9189 !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

body.page-id-801 .mf-btn-wraper,
body.page-id-801 .mf-btn-wrapper {
    margin-top: 6px !important;
}

/* Deliberately not a large orange slab. */
body.page-id-801 .metform-btn.metform-submit-btn {
    width: auto !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 10px 16px !important;
    border: 1px solid rgba(255,255,255,.20) !important;
    border-radius: 4px !important;
    background: rgba(255,255,255,.025) !important;
    color: #f3f4f5 !important;
    font-family: Poppins, "Segoe UI", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: .015em !important;
    text-transform: none !important;
    box-shadow: inset 3px 0 0 var(--tas-contact-orange) !important;
    cursor: pointer !important;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease !important;
}

body.page-id-801 .metform-btn.metform-submit-btn::after {
    content: "→";
    margin-left: 10px;
    color: var(--tas-contact-orange);
    font-weight: 500;
}

body.page-id-801 .metform-btn.metform-submit-btn:hover,
body.page-id-801 .metform-btn.metform-submit-btn:focus-visible {
    background: rgba(242,106,33,.10) !important;
    border-color: rgba(242,106,33,.58) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

body.page-id-801 .metform-btn.metform-submit-btn:focus-visible {
    outline: 2px solid rgba(242,106,33,.20) !important;
    outline-offset: 3px !important;
}

body.page-id-801 .mf-response-msg,
body.page-id-801 .mf-success-message,
body.page-id-801 .mf-error-message-wrapper,
body.page-id-801 .metform-form-content .mf-alert {
    border-radius: 4px !important;
    font-family: Poppins, "Segoe UI", Arial, sans-serif !important;
}

body.page-id-801 .mf-checkbox-option label,
body.page-id-801 .mf-radio-option label {
    color: #dfe1e4 !important;
}

body.page-id-801 .mf-checkbox-input,
body.page-id-801 .mf-radio-input {
    accent-color: var(--tas-contact-orange) !important;
}

@media (max-width: 900px) {
    body.page-id-801 .elementor-801 {
        display: block !important;
        width: min(760px, calc(100% - 40px));
        padding: 46px 0 78px !important;
    }

    body.page-id-801 .elementor-element-aea2ea8 {
        padding: 0 0 26px !important;
    }

    body.page-id-801 .elementor-element-aea2ea8::before {
        margin-bottom: 14px;
    }

    body.page-id-801 .elementor-element-aea2ea8::after {
        display: none !important;
    }

    body.page-id-801 .elementor-element-88dd2fc .elementor-heading-title {
        font-size: 27px !important;
    }
}

@media (max-width: 767px) {
    body.page-id-801 .elementor-801 {
        width: calc(100% - 28px);
        padding: 34px 0 62px !important;
    }

    body.page-id-801 .elementor-element-aea2ea8 {
        padding-bottom: 20px !important;
    }

    body.page-id-801 .elementor-element-aea2ea8::before {
        width: 32px;
        margin-bottom: 12px;
    }

    body.page-id-801 .elementor-element-88dd2fc .elementor-heading-title {
        font-size: 25px !important;
        text-align: left !important;
    }

    body.page-id-801 .elementor-element-65ada16 > .elementor-widget-container {
        padding: 28px 20px 30px !important;
        border-radius: 10px !important;
    }

    body.page-id-801 .elementor-element-65ada16 > .elementor-widget-container::before {
        left: 20px;
        width: 58px;
    }

    body.page-id-801 .metform-form-main-wrapper .elementor-heading-title,
    body.page-id-801 .metform-form-main-wrapper h1,
    body.page-id-801 .metform-form-main-wrapper h2,
    body.page-id-801 .metform-form-main-wrapper h3,
    body.page-id-801 .metform-form-main-wrapper h4 {
        font-size: 14px !important;
    }

    body.page-id-801 .mf-input-wrapper {
        margin-bottom: 16px !important;
    }

    body.page-id-801 .mf-input,
    body.page-id-801 input.mf-input,
    body.page-id-801 textarea.mf-input,
    body.page-id-801 select.mf-input {
        min-height: 47px !important;
        font-size: 16px !important; /* prevents iOS input zoom */
    }

    body.page-id-801 textarea.mf-input,
    body.page-id-801 .mf-textarea {
        min-height: 128px !important;
    }

    body.page-id-801 .metform-btn.metform-submit-btn {
        min-height: 42px !important;
        padding: 10px 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-id-801 .mf-input,
    body.page-id-801 .metform-btn.metform-submit-btn {
        transition: none !important;
    }
}
