/* =========================================================
   GLOBAL POINT TRADE - REQUEST A QUOTE
   ========================================================= */

.quote-page {
    background: #f6f8fa;
    color: #16354f;
}

.quote-page .container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.quote-hero {
    padding: 72px 0 76px;
    background:
        radial-gradient(circle at 86% 30%, rgba(255,90,31,.14), transparent 30%),
        linear-gradient(120deg,#062b48 0%,#0a3b60 62%,#0b466f 100%);
    color: #fff;
}

.quote-hero-copy {
    max-width: 840px;
}

.quote-hero-copy > span,
.quote-side-card > span {
    display: inline-block;
    margin-bottom: 14px;
    color: #ff5a1f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.quote-hero-copy > span {
    color: #fff;
}

.quote-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(42px,5vw,66px);
    line-height: 1.02;
    letter-spacing: -.04em;
    font-weight: 800;
}

.quote-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.75;
}

.quote-form-section {
    padding: 56px 0 96px;
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 340px;
    gap: 30px;
    align-items: start;
}

.quote-form {
    display: grid;
    gap: 22px;
}

.quote-form-card,
.quote-side-card {
    background: #fff;
    border: 1px solid #e1e7ec;
    border-radius: 9px;
    box-shadow: 0 12px 36px rgba(7,44,70,.05);
}

.quote-form-card {
    padding: 30px;
}

.quote-card-heading {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf0f3;
}

.quote-card-heading > span {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff0e9;
    color: #ff5a1f;
    font-size: 12px;
    font-weight: 800;
}

.quote-card-heading h2 {
    margin: 0 0 4px;
    color: #0b3250;
    font-size: 24px;
    font-weight: 800;
}

.quote-card-heading p {
    margin: 0;
    color: #758696;
    font-size: 14px;
}

.quote-grid {
    display: grid;
    gap: 19px;
}

.quote-grid.two {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.quote-field.full {
    grid-column: 1 / -1;
}

.quote-field label {
    display: block;
    margin-bottom: 7px;
    color: #23445d;
    font-size: 13px;
    font-weight: 700;
}

.quote-field label b {
    color: #ff5a1f;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid #ccd7df;
    border-radius: 5px;
    background: #fff;
    color: #17344c;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: .18s ease;
}

.quote-field input,
.quote-field select {
    min-height: 46px;
}

.quote-field textarea {
    resize: vertical;
    line-height: 1.6;
}

.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
    border-color: #ff5a1f;
    box-shadow: 0 0 0 3px rgba(255,90,31,.10);
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
}

.quote-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 20px;
    color: #5e7182;
    font-size: 13px;
    line-height: 1.55;
}

.quote-checkbox input {
    margin-top: 3px;
}

.quote-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    margin-top: 24px;
    padding: 0 24px;
    border: 0;
    border-radius: 5px;
    background: #ff5a1f;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.quote-submit:hover {
    background: #eb4e16;
}

.quote-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 20px;
}

.quote-side-card {
    padding: 26px;
}

.quote-side-card.dark {
    background: #082d4b;
    border-color: #082d4b;
    color: #fff;
}

.quote-side-card.dark > span {
    color: #ff8b61;
}

.quote-side-card h3 {
    margin: 0 0 20px;
    color: #0b3250;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.quote-side-card.dark h3 {
    color: #fff;
}

.quote-side-card ol,
.quote-side-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.quote-side-card ol {
    display: grid;
    gap: 21px;
}

.quote-side-card ol li {
    display: flex;
    gap: 12px;
}

.quote-side-card ol li > b {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,90,31,.16);
    color: #ff7848;
    font-size: 12px;
}

.quote-side-card ol strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 14px;
}

.quote-side-card ol p {
    margin: 0;
    color: rgba(255,255,255,.65);
    font-size: 12px;
    line-height: 1.55;
}

.quote-side-card ul {
    display: grid;
    gap: 12px;
}

.quote-side-card ul li {
    display: flex;
    gap: 9px;
    color: #607386;
    font-size: 13px;
}

.quote-side-card ul i {
    color: #ff5a1f;
}

.quote-alert {
    display: grid;
    gap: 7px;
    margin-bottom: 24px;
    padding: 17px 19px;
    border-radius: 6px;
    font-size: 14px;
}

.quote-alert.success {
    background: #edf8f1;
    border: 1px solid #b9dec6;
    color: #205b35;
}

.quote-alert.error {
    background: #fff1f0;
    border: 1px solid #f0c2bf;
    color: #9c2f28;
}

.quote-honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

@media (max-width: 980px) {
    .quote-layout {
        grid-template-columns: 1fr;
    }

    .quote-sidebar {
        position: static;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 700px) {
    .quote-page .container {
        width: min(100% - 28px,1240px);
    }

    .quote-hero {
        padding: 56px 0 60px;
    }

    .quote-hero h1 {
        font-size: 43px;
    }

    .quote-grid.two,
    .quote-sidebar {
        grid-template-columns: 1fr;
    }

    .quote-form-card {
        padding: 23px 18px;
    }

    .quote-card-heading h2 {
        font-size: 21px;
    }
}

/* =========================================================
   REQUEST QUOTE - PHONE CODE + NUMBER ON SAME LINE
   ========================================================= */

.quote-phone-inline {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;

    width: 100% !important;
    gap: 0 !important;
}

.quote-phone-inline .quote-phone-code {
    flex: 0 0 118px !important;

    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;

    min-height: 46px !important;
    height: 46px !important;

    margin: 0 !important;

    border-radius: 5px 0 0 5px !important;
    border-right: 0 !important;

    background: #f7fbff !important;

    color: #17344c !important;
    font-weight: 800 !important;
}

.quote-phone-inline input[type="tel"] {
    flex: 1 1 auto !important;

    width: auto !important;
    min-width: 0 !important;

    min-height: 46px !important;
    height: 46px !important;

    margin: 0 !important;

    border-radius: 0 5px 5px 0 !important;
}

.quote-phone-inline .quote-phone-code:focus {
    position: relative !important;
    z-index: 3 !important;

    border-right: 1px solid #ff5a1f !important;
}

.quote-phone-inline input[type="tel"]:focus {
    position: relative !important;
    z-index: 2 !important;
}

/*
 * Keep country code + phone number together on one line
 * even when the Contact Information grid collapses on mobile.
 */
@media (max-width: 700px) {

    .quote-phone-inline .quote-phone-code {
        flex-basis: 106px !important;

        width: 106px !important;
        min-width: 106px !important;
        max-width: 106px !important;
    }
}
