/* Global Quote Insure header, navigation, and footer */
body.quote-redesign .qih-header,
body.quote-redesign .qih-header *,
body.quote-redesign .qif-footer,
body.quote-redesign .qif-footer * {
    font-family: var(--quote-font-sans, 'Inter', -apple-system, sans-serif);
}

body.quote-redesign .qih-header i[class*="fa"],
body.quote-redesign .qih-header span[class*="fa"],
body.quote-redesign .qif-footer i[class*="fa"],
body.quote-redesign .qif-footer span[class*="fa"] {
    font-family: var(--fa-style-family, "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome) !important;
}

body.quote-redesign .qih-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    border-bottom: 1px solid rgba(22, 43, 72, 0.09);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 24px rgba(18, 38, 65, 0.045);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    backdrop-filter: saturate(150%) blur(14px);
}

body.quote-redesign .qih-header__inner {
    width: min(100% - 52px, 1260px);
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 34px);
    padding: 0;
}

body.quote-redesign .qih-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    border-radius: 8px;
    text-decoration: none;
}

body.quote-redesign .qih-brand img,
body.quote-redesign .qif-footer__wordmark img {
    display: block;
    width: 205px;
    height: auto;
}

body.quote-redesign .qih-navigation {
    flex: 1 1 auto;
    min-width: 0;
}

body.quote-redesign .qih-navigation__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2px, 0.35vw, 8px);
    margin: 0;
    padding: 0;
    list-style: none;
}

body.quote-redesign .qih-navigation__list > li {
    position: relative;
    margin: 0;
    padding: 0;
}

body.quote-redesign .qih-navigation__list > li > a,
body.quote-redesign .qih-coverage-menu > summary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    color: #243751;
    background: transparent;
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.15;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}

body.quote-redesign .qih-navigation__list > li > a:hover,
body.quote-redesign .qih-coverage-menu > summary:hover,
body.quote-redesign .qih-navigation__list > li > a[aria-current="page"],
body.quote-redesign .qih-coverage-menu > summary[aria-current="location"] {
    color: #142947;
    background: #f1f5f8;
}

body.quote-redesign .qih-coverage-menu > summary {
    list-style: none;
}

body.quote-redesign .qih-coverage-menu > summary::-webkit-details-marker {
    display: none;
}

body.quote-redesign .qih-coverage-menu > summary svg {
    width: 11px;
    height: 8px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    transition: transform 150ms ease;
}

body.quote-redesign .qih-coverage-menu[open] > summary svg {
    transform: rotate(180deg);
}

body.quote-redesign .qih-coverage-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 5;
    width: min(390px, calc(100vw - 36px));
    padding: 19px;
    border: 1px solid #e1e7ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(20, 41, 71, 0.16);
    transform: translateX(-50%);
}

body.quote-redesign .qih-coverage-panel::before {
    position: absolute;
    top: -8px;
    left: calc(50% - 7px);
    width: 14px;
    height: 14px;
    border-top: 1px solid #e1e7ed;
    border-left: 1px solid #e1e7ed;
    background: #fff;
    content: "";
    transform: rotate(45deg);
}

body.quote-redesign .qih-coverage-panel__intro {
    display: grid;
    gap: 5px;
    padding: 0 2px 13px;
    border-bottom: 1px solid #e9edf1;
}

body.quote-redesign .qih-eyebrow {
    color: #617286;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

body.quote-redesign .qih-coverage-panel__intro a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1c6038;
    font-size: 0.95rem;
    font-weight: 750;
    text-decoration: none;
}

body.quote-redesign .qih-coverage-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 8px;
    margin: 11px 0 0;
    padding: 0;
    list-style: none;
}

body.quote-redesign .qih-coverage-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    color: #263951;
    font-size: 0.89rem;
    font-weight: 560;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 150ms ease, color 150ms ease;
}

body.quote-redesign .qih-coverage-links a:hover,
body.quote-redesign .qih-coverage-links a[aria-current="page"] {
    color: #165d32;
    background: #eff7f1;
}

body.quote-redesign .qih-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 16px;
}

body.quote-redesign .qih-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #192f4c;
    text-decoration: none;
}

body.quote-redesign .qih-header-phone__icon {
    width: 37px;
    height: 37px;
    display: inline-grid;
    flex: 0 0 37px;
    place-items: center;
    border: 1px solid #d8e8dd;
    border-radius: 50%;
    color: #237441;
    background: #f2f8f3;
}

body.quote-redesign .qih-header-phone__icon svg,
body.quote-redesign .qif-contact-list svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

body.quote-redesign .qih-header-phone__copy {
    display: grid;
    gap: 1px;
    line-height: 1.15;
}

body.quote-redesign .qih-header-phone__copy span {
    color: #657487;
    font-size: 0.7rem;
    font-weight: 550;
}

body.quote-redesign .qih-header-phone__copy strong {
    color: #192f4c;
    font-size: 0.83rem;
    font-weight: 760;
    white-space: nowrap;
}

body.quote-redesign .qih-header-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 16px;
    border: 1px solid #1f663b;
    border-radius: 9px;
    color: #fff;
    background: #216c40;
    font-size: 0.88rem;
    font-weight: 730;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(27, 93, 52, 0.11);
    transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

body.quote-redesign .qih-header-cta:hover {
    color: #fff;
    background: #185a34;
    box-shadow: 0 6px 14px rgba(27, 93, 52, 0.17);
    transform: translateY(-1px);
}

body.quote-redesign .qih-menu-toggle {
    min-width: 50px;
    min-height: 46px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 12px;
    border: 1px solid #dbe3e9;
    border-radius: 10px;
    color: #1c304a;
    background: #fff;
    font: inherit;
    font-size: 0.83rem;
    font-weight: 690;
    cursor: pointer;
}

body.quote-redesign .qih-menu-toggle[hidden] {
    display: none !important;
}

body.quote-redesign .qih-menu-toggle__icon {
    width: 18px;
    height: 14px;
    display: grid;
    align-content: center;
    gap: 5px;
}

body.quote-redesign .qih-menu-toggle__icon span {
    width: 100%;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: currentColor;
    transition: transform 150ms ease;
}

body.quote-redesign .qih-menu-toggle[aria-expanded="true"] .qih-menu-toggle__icon span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

body.quote-redesign .qih-menu-toggle[aria-expanded="true"] .qih-menu-toggle__icon span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

body.quote-redesign .qih-mobile-contact {
    display: none;
}

body.quote-redesign .qih-header a:focus-visible,
body.quote-redesign .qih-header summary:focus-visible,
body.quote-redesign .qih-header button:focus-visible,
body.quote-redesign .qif-footer a:focus-visible {
    outline: 3px solid #d39400;
    outline-offset: 3px;
}

/* Footer */
body.quote-redesign .qi-site-footer.qif-footer {
    padding: 56px 0 20px;
    border-top: 1px solid #e3e8ed;
    color: #22364f;
    background: #f4f7f8;
}

body.quote-redesign .qif-footer__inner {
    width: min(100% - 52px, 1260px);
}

body.quote-redesign .qif-footer__main {
    display: grid;
    grid-template-columns: minmax(250px, 1.3fr) minmax(155px, 0.7fr) minmax(180px, 0.8fr);
    gap: clamp(32px, 6vw, 88px);
    padding-bottom: 42px;
}

body.quote-redesign .qif-footer__wordmark {
    width: max-content;
    display: inline-flex;
    margin-bottom: 13px;
    border-radius: 8px;
}

body.quote-redesign .qif-footer__wordmark img {
    width: 194px;
}

body.quote-redesign .qif-footer__brand > p {
    max-width: 290px;
    margin: 0 0 19px;
    color: #596b7e;
    font-size: 0.94rem;
    line-height: 1.6;
}

body.quote-redesign .qif-contact-list {
    display: grid;
    gap: 10px;
    margin: 0;
    font-style: normal;
}

body.quote-redesign .qif-contact-list a {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #29405c;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

body.quote-redesign .qif-contact-list a:hover {
    color: #1d6b3e;
    text-decoration: underline;
}

body.quote-redesign .qif-contact-list svg {
    flex: 0 0 17px;
    color: #267448;
}

body.quote-redesign .qif-contact-list a:last-child svg {
    fill: none;
    stroke-width: 1.5;
}

body.quote-redesign .qif-footer__column h2 {
    margin: 4px 0 16px;
    color: #182e4b;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.quote-redesign .qif-footer__column ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.quote-redesign .qif-footer__column li {
    margin: 0;
    padding: 0;
}

body.quote-redesign .qif-footer__column a,
body.quote-redesign .qif-footer__bottom nav a {
    color: #56697d;
    font-size: 0.88rem;
    font-weight: 520;
    line-height: 1.4;
    text-decoration: none;
    transition: color 140ms ease;
}

body.quote-redesign .qif-footer__column a:hover,
body.quote-redesign .qif-footer__bottom nav a:hover {
    color: #1b6a3b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.quote-redesign .qif-footer__bottom {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid #dce3e8;
}

body.quote-redesign .qif-footer__bottom p {
    margin: 0;
    color: #69798a;
    font-size: 0.8rem;
    line-height: 1.5;
}

body.quote-redesign .qif-footer__bottom nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 21px;
}

body.quote-redesign .qif-footer__bottom nav a {
    font-size: 0.8rem;
}

@media (max-width: 1120px) {
    body.quote-redesign .qih-header__inner {
        gap: 16px;
    }

    body.quote-redesign .qih-brand img {
        width: 184px;
    }

    body.quote-redesign .qih-navigation__list > li > a,
    body.quote-redesign .qih-coverage-menu > summary {
        padding-inline: 9px;
        font-size: 0.89rem;
    }

    body.quote-redesign .qih-header-actions {
        gap: 11px;
    }
}

@media (max-width: 980px) {
    body.quote-redesign .qih-header__inner {
        min-height: 76px;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0 14px;
        padding-block: 12px;
    }

    body.quote-redesign .qih-brand {
        margin-right: auto;
    }

    body.quote-redesign .qih-brand img {
        width: 196px;
    }

    body.quote-redesign .qih-menu-toggle {
        display: inline-flex;
        order: 3;
    }

    body.quote-redesign .qih-navigation {
        flex: 0 0 100%;
        order: 4;
        width: 100%;
        margin-top: 12px;
        padding-top: 8px;
        border-top: 1px solid #e6ebef;
    }

    body.quote-redesign .qih-navigation[hidden] {
        display: none !important;
    }

    body.quote-redesign .qih-navigation__list {
        display: grid;
        justify-content: stretch;
        gap: 2px;
    }

    body.quote-redesign .qih-navigation__list > li > a,
    body.quote-redesign .qih-coverage-menu > summary {
        width: 100%;
        min-height: 46px;
        justify-content: space-between;
        padding-inline: 10px;
        border-radius: 8px;
        font-size: 0.95rem;
    }

    body.quote-redesign .qih-coverage-panel {
        position: static;
        width: 100%;
        margin: 3px 0 7px;
        padding: 13px;
        border-radius: 11px;
        box-shadow: none;
        transform: none;
    }

    body.quote-redesign .qih-coverage-panel::before {
        display: none;
    }

    body.quote-redesign .qih-coverage-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.quote-redesign .qih-header-actions {
        display: none;
    }

    body.quote-redesign .qih-mobile-contact {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 20px;
        margin-top: 12px;
        padding: 13px 10px 3px;
        border-top: 1px solid #e6ebef;
    }

    body.quote-redesign .qih-mobile-contact a {
        color: #56697d;
        font-size: 0.86rem;
        font-weight: 570;
        text-decoration: none;
    }

    body.quote-redesign .qih-mobile-contact .qih-mobile-contact__phone {
        color: #1b6038;
    }

    body.quote-redesign .qih-mobile-contact__phone span {
        font-weight: 760;
    }
}

@media (max-width: 767.98px) {
    body.quote-redesign .qif-footer__main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 32px 24px;
    }

    body.quote-redesign .qif-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    body.quote-redesign .qih-header__inner,
    body.quote-redesign .qif-footer__inner {
        width: calc(100% - 32px);
    }

    body.quote-redesign .qih-header__inner {
        min-height: 70px;
        gap: 0 10px;
        padding-block: 10px;
    }

    body.quote-redesign .qih-brand img {
        width: min(190px, calc(100vw - 112px));
    }

    body.quote-redesign .qih-menu-toggle {
        min-width: 47px;
        min-height: 44px;
        gap: 7px;
        padding-inline: 10px;
    }

    body.quote-redesign .qih-coverage-links {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    body.quote-redesign .qih-coverage-links a {
        min-height: 40px;
    }

    body.quote-redesign .qi-site-footer.qif-footer {
        padding-top: 42px;
    }

    body.quote-redesign .qif-footer__main {
        gap: 28px 15px;
        padding-bottom: 30px;
    }

    body.quote-redesign .qif-footer__column h2 {
        font-size: 0.75rem;
    }

    body.quote-redesign .qif-footer__column a {
        font-size: 0.83rem;
    }

    body.quote-redesign .qif-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    body.quote-redesign .qif-footer__bottom nav {
        justify-content: flex-start;
        gap: 7px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.quote-redesign .qih-header *,
    body.quote-redesign .qih-header *::before,
    body.quote-redesign .qif-footer * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
