#get-quote-now.home-callback {
    --callback-space: 80px;
    padding: var(--callback-space) 0;
}

#get-quote-now .home-callback__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "mascot header" "mascot form";
    column-gap: 30px;
    row-gap: 24px;
}

#get-quote-now .home-callback__header {
    grid-area: header;
    min-width: 0;
}

#get-quote-now .home-callback__mascot {
    grid-area: mascot;
    position: relative;
    /* Rest on the next section while preserving the form's spacing. */
    top: var(--callback-space);
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    margin: 0;
}

#get-quote-now .home-callback__mascot > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: contain;
    object-position: right bottom;
}

#get-quote-now .home-callback__google {
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 258px;
    pointer-events: none;
}

#get-quote-now .home-callback__google img {
    display: block;
    width: 100%;
    height: auto;
}

#get-quote-now .section-title {
    margin-bottom: 18px;
}

#get-quote-now .section-title__title {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.2;
}

#get-quote-now .home-callback__intro {
    margin: 0;
    color: #53627a;
    font-size: 17px;
    line-height: 1.65;
}

#get-quote-now .get-insurance__form {
    grid-area: form;
    min-width: 0;
    padding: 28px;
    border: 1px solid #cbddee;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(22, 36, 61, .06);
}

#get-quote-now .home-callback__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

#get-quote-now .home-callback__field {
    min-width: 0;
}

#get-quote-now .home-callback__field--wide {
    grid-column: 1 / -1;
}

#get-quote-now .home-callback__field label {
    display: block;
    margin-bottom: 8px;
    color: #16243d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

#get-quote-now .home-callback__field label span {
    color: #015fc9;
}

#get-quote-now .home-callback__field input,
#get-quote-now .home-callback__field select {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    height: 54px;
    padding: 12px 14px;
    border: 1px solid #c7d4e3;
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
    color: #16243d;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
}

#get-quote-now .home-callback__field select {
    appearance: auto;
    cursor: pointer;
}

#get-quote-now .home-callback__field input:focus,
#get-quote-now .home-callback__field select:focus {
    border-color: #015fc9;
    outline: 2px solid #015fc9;
    outline-offset: 2px;
}

#get-quote-now .get-insurance__btn {
    width: 100%;
    min-height: 54px;
    margin-top: 24px;
    padding: 16px;
    font-size: 16px;
    line-height: 1.5;
    white-space: normal;
    background: #015fc9;
}

#get-quote-now .get-insurance__btn::before,
#get-quote-now .get-insurance__btn::after {
    display: none;
}

#get-quote-now .get-insurance__btn:hover {
    background: #014996;
}

#get-quote-now .get-insurance__btn:focus-visible {
    outline: 3px solid #015fc9;
    outline-offset: 3px;
}

#get-quote-now .get-insurance__btn:disabled {
    opacity: .7;
    cursor: wait;
}

#get-quote-now #callback-status {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

#get-quote-now #callback-status:empty {
    display: none;
}

#get-quote-now form[data-status="success"] #callback-status {
    color: #08724b;
}

#get-quote-now form[data-status="error"] #callback-status {
    color: #b42318;
}

@media (max-width: 1199px) {
    #get-quote-now.home-callback {
        --callback-space: 64px;
    }

    #get-quote-now .home-callback__layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "header" "form" "mascot";
        max-width: 620px;
        margin: 0 auto;
    }

    #get-quote-now .home-callback__mascot {
        height: 220px;
    }

    #get-quote-now .home-callback__mascot > img {
        object-position: center bottom;
    }

    #get-quote-now .home-callback__google {
        left: max(30px, calc(50% - 190px));
        width: 180px;
    }
}

@media (max-width: 575px) {
    #get-quote-now.home-callback {
        --callback-space: 48px;
    }

    #get-quote-now .get-insurance__form {
        padding: 22px;
        border-radius: 16px;
    }

    #get-quote-now .home-callback__fields {
        grid-template-columns: minmax(0, 1fr);
    }

    #get-quote-now .home-callback__google {
        left: 20px;
        width: 120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #get-quote-now .home-callback__google {
        animation: none;
        transform: translateX(-20px);
    }
}
