/* =========================================================
   Magento contact-page styling
   Generated from xcustom-route-split-baseline.css
   Preserve load order: core, phoenix where required, then route bundle.
   ========================================================= */

/* =========================================================
   Phoenix Contact Page
   Native Magento contact route: contact-index-index
   Used with Xamax_Producttop::contact_page.phtml
   ========================================================= */

.contact-index-index .page-main {
    max-width: 1500px;
    margin: 0 auto;
    padding-top: 28px;
    padding-bottom: 64px;
}

.contact-index-index .page-title-wrapper {
    display: none;
}

.contact-index-index .columns {
    max-width: 1500px;
    margin: 0 auto;
}

.contact-index-index .column.main {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.contact-index-index .xlp-contact-page {
    width: 100%;
    margin: 0 auto 64px;
}

.contact-index-index .xlp-contact-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 24px;
    border: 1px solid rgba(0, 73, 145, 0.14);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--xlp-shadow-section, 0 8px 20px rgba(0, 73, 145, 0.08));
}

.contact-index-index .xlp-contact-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background:
        linear-gradient(
            90deg,
            var(--xamax-color-blue, #004991) 0%,
            var(--xamax-color-blue, #004991) 68%,
            var(--xamax-color-orange, #ffa61b) 68%,
            var(--xamax-color-orange, #ffa61b) 100%
        );
    pointer-events: none;
}

.contact-index-index .xlp-contact-hero__inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 46px 28px 42px;
    text-align: center;
}

.contact-index-index .xlp-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 12px !important;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 166, 27, 0.14);
    color: var(--xamax-color-blue, #004991) !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-index-index .xlp-contact-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(3.2rem, 5vw, 6rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
}

.contact-index-index .xlp-contact-hero p:not(.xlp-eyebrow) {
    max-width: 790px;
    margin: 0 auto;
    color: var(--xlp-text-muted, #536271);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.45;
}

.contact-index-index .xlp-contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
    gap: 24px;
    align-items: start;
}

.contact-index-index .xlp-contact-help,
.contact-index-index .xlp-contact-form-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 73, 145, 0.14);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--xlp-shadow-section, 0 8px 20px rgba(0, 73, 145, 0.08));
}

.contact-index-index .xlp-contact-help {
    display: grid;
    padding: 22px;
}

.contact-index-index .xlp-contact-card {
    position: relative;
    padding: 18px 18px 18px 22px;
    border: 1px solid rgba(0, 73, 145, 0.12);
    border-radius: 16px;
    background: rgba(0, 73, 145, 0.025);
}

.contact-index-index .xlp-contact-card::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 5px;
    border-radius: 0 999px 999px 0;
    background: var(--xamax-color-blue, #004991);
}

.contact-index-index .xlp-contact-card--phone {
    background:
        linear-gradient(
            135deg,
            rgba(0, 73, 145, 0.045) 0%,
            rgba(255, 166, 27, 0.11) 100%
        );
}

.contact-index-index .xlp-contact-card--phone::before {
    background: var(--xamax-color-orange, #ffa61b);
}

.contact-index-index .xlp-contact-card h2 {
    margin: 0 0 8px;
    font-size: 1.75rem;
    line-height: 1.15;
}

.contact-index-index .xlp-contact-card p {
    margin: 0;
    color: var(--xlp-text-muted, #536271);
    font-size: 1.45rem;
    font-weight: 650;
    line-height: 1.45;
}

.contact-index-index .xlp-contact-card a {
    display: inline-flex;
    margin: 4px 0;
    color: var(--xamax-color-blue, #004991) !important;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none !important;
}

.contact-index-index .xlp-contact-card a:hover,
.contact-index-index .xlp-contact-card a:focus {
    color: var(--xamax-color-orange, #ffa61b) !important;
}

.contact-index-index .xlp-contact-card span {
    display: block;
    color: var(--xlp-text-muted, #536271);
    font-size: 1.25rem;
    font-weight: 750;
    line-height: 1.35;
}

.contact-index-index .xlp-contact-form-card {
    padding: 28px 30px 30px;
}

.contact-index-index .xlp-contact-form-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background:
        linear-gradient(
            90deg,
            var(--xamax-color-blue, #004991) 0%,
            var(--xamax-color-blue, #004991) 72%,
            var(--xamax-color-orange, #ffa61b) 72%,
            var(--xamax-color-orange, #ffa61b) 100%
        );
    pointer-events: none;
}

.contact-index-index .xlp-contact-form-card .form.contact {
    width: 100%;
    max-width: none;
    margin: 0;
}

.contact-index-index .xlp-contact-form-card .fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.contact-index-index .xlp-contact-form-card .legend {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
}

.contact-index-index .xlp-contact-form-card .legend span {
    display: inline-flex;
    padding: 0 0 6px;
    border-bottom: 3px solid var(--xamax-color-orange, #ffa61b);
    color: var(--xamax-color-blue, #004991);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.1;
}

.contact-index-index .xlp-contact-form-card .field.note {
    margin: 0 0 20px;
    color: var(--xlp-text-muted, #536271);
    font-size: 1.48rem;
    font-weight: 700;
    line-height: 1.45;
}

.contact-index-index .xlp-contact-form-card .field {
    margin: 0 0 16px;
}

.contact-index-index .xlp-contact-form-card .label {
    display: inline-flex;
    margin: 0 0 6px;
    color: var(--xamax-color-blue, #004991);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.2;
}

.contact-index-index .xlp-contact-form-card .field.required > .label::after,
.contact-index-index .xlp-contact-form-card .field._required > .label::after {
    content: "*";
    margin-left: 4px;
    color: var(--xamax-color-orange, #ffa61b);
    font-weight: 900;
}

.contact-index-index .xlp-contact-form-card .control {
    width: 100%;
}

.contact-index-index .xlp-contact-form-card input.input-text,
.contact-index-index .xlp-contact-form-card textarea.input-text {
    width: 100%;
    border: 1px solid rgba(0, 73, 145, 0.16);
    border-radius: 12px;
    background: #ffffff;
    color: var(--xamax-color-text, #20231f);
    font-size: 1.5rem;
    font-weight: 650;
    box-shadow: none;
    box-sizing: border-box;
}

.contact-index-index .xlp-contact-form-card input.input-text {
    min-height: 46px;
    padding: 0 14px;
    line-height: 46px;
}

.contact-index-index .xlp-contact-form-card textarea.input-text {
    min-height: 150px;
    padding: 12px 14px;
    line-height: 1.45;
    resize: vertical;
}

.contact-index-index .xlp-contact-form-card input.input-text:focus,
.contact-index-index .xlp-contact-form-card textarea.input-text:focus {
    border-color: rgba(255, 166, 27, 0.88);
    box-shadow: 0 0 0 3px rgba(255, 166, 27, 0.14);
    outline: 0;
}

.contact-index-index .xlp-contact-form-card input.input-text.mage-error,
.contact-index-index .xlp-contact-form-card textarea.input-text.mage-error {
    border-color: #d93b1f;
}

.contact-index-index .xlp-contact-form-card div.mage-error,
.contact-index-index .xlp-contact-form-card label.mage-error {
    margin-top: 6px;
    color: #d93b1f;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
}

.contact-index-index .xlp-contact-form-card .field-recaptcha,
.contact-index-index .xlp-contact-form-card .g-recaptcha,
.contact-index-index .xlp-contact-form-card .fieldset > .field:last-child {
    margin-top: 12px;
}

.contact-index-index .xlp-contact-form-card .actions-toolbar {
    margin: 22px 0 0;
}

.contact-index-index .xlp-contact-form-card .actions-toolbar::before,
.contact-index-index .xlp-contact-form-card .actions-toolbar::after {
    content: none;
    display: none;
}

.contact-index-index .xlp-contact-form-card .actions-toolbar .primary {
    float: none;
    width: 100%;
}

.contact-index-index .xlp-contact-form-card .action.submit.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 240px;
    min-height: 48px;
    padding: 12px 26px;
    border: 2px solid var(--xamax-color-blue, #004991);
    border-radius: 999px;
    background: var(--xamax-color-orange, #ffa61b);
    color: var(--xamax-color-blue, #004991) !important;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    text-transform: none;
    box-shadow: none;
    transition:
        background-color 140ms ease,
        border-color 140ms ease,
        color 140ms ease;
}

.contact-index-index .xlp-contact-form-card .action.submit.primary:hover,
.contact-index-index .xlp-contact-form-card .action.submit.primary:focus {
    border-color: var(--xamax-color-orange, #ffa61b);
    background: var(--xamax-color-blue, #004991);
    color: #ffffff !important;
}

.contact-index-index .messages {
    max-width: 1500px;
    margin: 0 auto 18px;
}

.contact-index-index .message.success,
.contact-index-index .message.error,
.contact-index-index .message.warning,
.contact-index-index .message.notice {
    border-radius: 14px;
}

@media (max-width: 1023px) {

    .contact-index-index .page-main {
        padding-top: 22px;
    }

    .contact-index-index .xlp-contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-index-index .xlp-contact-help {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 767px) {

    .contact-index-index .page-main {
        padding-inline-start: 14px !important;
        padding-inline-end: 14px !important;
        padding-top: 18px;
        padding-bottom: 44px;
    }

    .contact-index-index .xlp-contact-page {
        margin-bottom: 44px;
    }

    .contact-index-index .xlp-contact-hero {
        border-radius: 18px;
    }

    .contact-index-index .xlp-contact-hero__inner {
        padding: 34px 18px 30px;
    }

    .contact-index-index .xlp-contact-hero h1 {
        font-size: 3.4rem;
    }

    .contact-index-index .xlp-contact-hero p:not(.xlp-eyebrow) {
        font-size: 1.52rem;
        line-height: 1.45;
    }

    .contact-index-index .xlp-contact-layout {
        gap: 18px;
    }

    .contact-index-index .xlp-contact-help {
        grid-template-columns: 1fr;
        padding: 16px;
        border-radius: 18px;
    }

    .contact-index-index .xlp-contact-card {
        padding: 16px 16px 16px 20px;
        border-radius: 14px;
    }

    .contact-index-index .xlp-contact-card h2 {
        font-size: 1.6rem;
    }

    .contact-index-index .xlp-contact-card p {
        font-size: 1.38rem;
    }

    .contact-index-index .xlp-contact-card a {
        font-size: 1.8rem;
    }

    .contact-index-index .xlp-contact-form-card {
        padding: 24px 18px 24px;
        border-radius: 18px;
    }

    .contact-index-index .xlp-contact-form-card .legend span {
        font-size: 2.1rem;
    }

    .contact-index-index .xlp-contact-form-card .field.note {
        font-size: 1.38rem;
    }

    .contact-index-index .xlp-contact-form-card .action.submit.primary {
        width: 100%;
        min-width: 0;
    }
}


.contact-index-index .xlp-contact-help {
    gap: 0;
}

.contact-index-index .xlp-contact-help .xlp-contact-card + .xlp-contact-card {
    margin-top: 16px;
}