/* Mover search page: list + US map layout (/movers/search). All classes are msm- prefixed. */
.msm {
    --msm-bg: #f5f7fb;
    --msm-surface: #ffffff;
    --msm-ink: #131a2b;
    --msm-muted: #5b6479;
    --msm-line: #e2e7f0;
    --msm-brand: #1d4ed8;
    --msm-brand-ink: #ffffff;
    --msm-brand-soft: #e8eefc;
    --msm-pin: #f59e0b;
    --msm-pin-ink: #1b1403;
    --msm-pin-hot: #1d4ed8;
    --msm-land: #e6ebf3;
    --msm-land-hover: #d5def0;
    --msm-land-active: #c9d6f4;
    --msm-border: #ffffff;
    --msm-sea: #f0f4fa;
    --msm-good: #15803d;
    --msm-star: #f59e0b;
    --msm-shadow: 0 10px 30px rgba(19, 26, 43, .12), 0 2px 6px rgba(19, 26, 43, .08);
    --msm-container: 1260px;
    --msm-gutter: max(20px, calc((100% - var(--msm-container)) / 2));
    margin: 40px 0px;
    background: var(--msm-surface);
    color: var(--msm-ink);
    font: 14px/1.5 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.msm *,
.msm *::before,
.msm *::after {
    box-sizing: border-box;
}

.msm [hidden] {
    display: none !important;
}

.msm h1,
.msm h2,
.msm h3,
.msm h4,
.msm h5 {
    font-family: "Noto Serif", Georgia, "Times New Roman", serif;
    text-wrap: balance;
    margin: 0;
    color: var(--msm-ink);
    letter-spacing: normal;
    text-transform: none;
}

.msm p {
    margin: 0;
}

/* zero-specificity resets so component classes below always win */
:where(.msm) a {
    color: inherit;
}

:where(.msm) :is(button, input, select) {
    font: inherit;
    color: inherit;
}

.msm :focus-visible {
    outline: 2px solid var(--msm-brand);
    outline-offset: 2px;
}

.msm mark {
    background: #fdefc8;
    color: inherit;
    padding: 0 1px;
    border-radius: 3px;
}

/* buttons */
.msm-btn {
    border: 1px solid var(--msm-line);
    background: var(--msm-surface);
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    color: var(--msm-ink);
    line-height: 1.5;
}

.msm-btn:hover {
    border-color: var(--msm-muted);
    color: var(--msm-ink);
}

.msm-btn.pri {
    background: var(--msm-brand);
    color: var(--msm-brand-ink);
    border-color: var(--msm-brand);
}

.msm-btn.pri:hover {
    filter: brightness(1.08);
    color: var(--msm-brand-ink);
}

.msm-btn.soft {
    background: var(--msm-brand-soft);
    color: var(--msm-brand);
    border-color: transparent;
}

.msm-btn.soft:hover {
    background: #d9e3fb;
    border-color: transparent;
    color: var(--msm-brand);
}

/* page heading */
.msm-intro {
    background: var(--msm-surface);
    padding: 14px var(--msm-gutter) 0;
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.msm-intro h1 {
    font-size: 24px;
    line-height: 1.2;
}

.msm-intro p {
    color: var(--msm-muted);
    font-size: 13px;
}

/* inner intro (Search Your Moving Company) — stacked, cleaner */
.msm .msm-intro {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 18px var(--msm-gutter) 14px;
}

.msm .msm-intro h2 {
    font-family: "Noto Serif", Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--msm-ink);
    margin: 0;
}

.msm .msm-intro .msm-m-filters {
    position: absolute;
    right: var(--msm-gutter);
    top: 16px;
}

/* hero: breadcrumb + pill badge + centered serif title (outside .msm, so own vars) */
.msm-hero {
    --msm-surface: #ffffff;
    --msm-ink: #131a2b;
    --msm-muted: #5b6479;
    --msm-line: #e2e7f0;
    --msm-brand: #1d4ed8;
    --msm-brand-soft: #e8eefc;
    --msm-gutter: max(20px, calc((100% - 1260px) / 2));

    position: relative;
    flex-direction: column;

    gap: 14px;
    padding: 46px var(--msm-gutter) 0px;
    background: linear-gradient(180deg, #eef4fd 0%, var(--msm-surface) 100%);
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.msm-hero__crumbs {
    position: absolute;
    left: var(--msm-gutter);
    top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--msm-muted);
}

.msm-hero__crumbs a {
    color: var(--msm-muted);
    text-decoration: none;
}

.msm-hero__crumbs a:hover {
    color: var(--msm-brand);
}

.msm-hero__sep {
    opacity: .5;
}

.msm-hero__crumb-current {
    color: var(--msm-brand);
}

.msm-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-top: 18px;
    background: var(--msm-surface);
    border: 1px solid var(--msm-line);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--msm-muted);
}

.msm-hero__tag i {
    color: var(--msm-brand);
    font-size: 11px;
}

.msm-hero h1 {
    font-family: "Noto Serif", Georgia, serif;
    font-size: clamp(28px, 3.8vw, 42px);
    font-weight: 600;
    line-height: 1.25;
    color: var(--msm-ink, #16395C);
    margin: 0;
    max-width: 760px;
}

.msm-hero__hl {
    color: var(--msm-brand);
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-decoration-color: var(--msm-brand);
    text-underline-offset: 8px;
}

.msm-hero p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--msm-muted);
    margin: 0;
    max-width: 640px;
}

/* anchor offset below sticky bars */
#moversearch,
#how,
#browse_state,
#top__cities,
#routes {
    scroll-margin-top: 170px;
}

/* browse-by-state search box (right side of section head) */
#company_search_page .mgm-state-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: 280px;
    max-width: 100%;
}

#company_search_page .mgm-state-search > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #55606C;
    pointer-events: none;
}

#company_search_page .mgm-state-search input {
    width: 100%;
    height: 46px;
    padding: 0 40px 0 42px;
    border: 1px solid #D5E5F3;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    color: #16395C;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

#company_search_page .mgm-state-search input::placeholder {
    color: #8a96a6;
}

#company_search_page .mgm-state-search input:focus {
    border-color: #2E7FC4;
    box-shadow: 0 0 0 3px #EAF3FB;
}

#company_search_page .mgm-state-search input::-webkit-search-decoration,
#company_search_page .mgm-state-search input::-webkit-search-cancel-button,
#company_search_page .mgm-state-search input::-ms-clear {
    display: none;
    -webkit-appearance: none;
}

#company_search_page .mgm-state-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #EAF3FB;
    color: #2E7FC4;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: background .15s, color .15s;
}

#company_search_page .mgm-state-search button i {
    font-size: 16px;
    line-height: 1;
    display: block;
}

#company_search_page .mgm-state-search button[hidden] {
    display: none;
}

#company_search_page .mgm-state-search button:hover {
    background: #2E7FC4;
    color: #fff;
}

#company_search_page .mgm-state-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #55606C;
    padding: 24px 0;
    margin: 0;
}

#company_search_page .mgm-tile[hidden] {
    display: none !important;
}

@media (max-width: 767.98px) {
    #company_search_page .mgm-state-search {
        width: 100%;
    }
}

/* popular routes — route cards (FROM→TO + truck + dashed path) */
.mgm-route-section .mgm-rcards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 16px;
}

.mgm-route-section .rcard {
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid #E4E8F0;
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.mgm-route-section .rcard:hover {
    transform: translateY(-4px);
    border-color: #cfd9ea;
    box-shadow: 0 10px 30px -10px rgba(11, 27, 51, .18), 0 2px 6px rgba(11, 27, 51, .05);
}

.mgm-route-section .rcard .ends {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.mgm-route-section .rcard .end small {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #6B7890;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.mgm-route-section .rcard .end b {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    color: #16395c;
    font-family: 'Noto Serif';
    display: block;
    min-width: 0;
}

.mgm-route-section .rcard .end.to {
    text-align: right;
}

.mgm-route-section .rcard .st {
    display: block;
    width: fit-content;
    background: #EDF3FB;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 800;
    color: #2E7FC4;
    margin: 5px 0 0;
    white-space: nowrap;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.mgm-route-section .rcard .end.to .st {
    margin-left: auto;
}

.mgm-route-section .rcard .line {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    height: 40px;
    margin: 14px 0 6px;
}

.mgm-route-section .rcard .line .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #2E7FC4;
    flex: none;
}

.mgm-route-section .rcard .line .dash {
    flex: 1;
    border-top: 2px dashed #CBD6E4;
}

.mgm-route-section .rcard .line .truck {
    color: #F57300;
    font-size: 24px;
    flex: none;
    margin: 0 6px;
    transition: transform .6s ease;
}

.mgm-route-section .rcard:hover .line .truck {
    transform: translateX(10px) scale(1.08);
}

.mgm-route-section .rcard .foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #6B7890;
    font-weight: 600;
    border-top: 1px dashed #E4E8F0;
    padding-top: 12px;
    margin-top: 4px;
}

.mgm-route-section .rcard .foot .go {
    color: #2E7FC4;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .mgm-route-section .mgm-rcards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .mgm-route-section .mgm-rcards {
        grid-template-columns: 1fr;
    }

    .mgm-route-section {
        border-radius: 16px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* trust — four checks (navy band) */
.msm-trust {
    --t-navy: #0A1A3A;
    --t-orange: #FF6B1A;
    --t-orange-2: #FF8A3D;
    --t-line: rgba(255, 255, 255, .12);
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 96px 20px;
    background: var(--t-navy);
    color: #fff;
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.msm-trust::before,
.msm-trust::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(70px);
}

.msm-trust::before {
    width: 520px;
    height: 520px;
    top: -260px;
    right: -120px;
    background: rgba(47, 102, 245, .28);
}

.msm-trust::after {
    width: 420px;
    height: 420px;
    bottom: -260px;
    left: -140px;
    background: rgba(23, 71, 214, .22);
}

.msm-trust__wrap {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.msm-trust__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #c9d4ee;
    margin-bottom: 16px;
}

.msm-trust__eyebrow::before {
    content: "";
    width: 14px;
    height: 2px;
    background: var(--t-orange);
    border-radius: 2px;
}

.msm-trust__title {
    max-width: 720px;
    margin: 0 0 16px;
    font-family: "Noto Serif", Georgia, serif;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: #fff;
}

.msm-trust__lead {
    max-width: 720px;
    margin: 0 0 44px;
    font-size: 15px;
    line-height: 1.7;
    color: #c9d4ee;
}

.msm-trust__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.msm-trust__step {
    position: relative;
    padding: 24px 22px 26px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--t-line);
    border-radius: 16px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.msm-trust__step:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .06);
}

.msm-trust__step .k {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #8f9fc4;
}

.msm-trust__step .num {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--t-orange), var(--t-orange-2));
    color: #fff;
    font-size: 20px;
    box-shadow: 0 10px 24px -10px rgba(255, 107, 26, .7);
    margin-bottom: 18px;
}

.msm-trust__step h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.msm-trust__step p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: #c9d4ee;
}

.msm-trust__cta {
    margin: 32px 0 0;
}

.msm-trust__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.msm-trust__btn:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}

.msm-trust__btn i {
    font-size: 16px;
}

@media (max-width: 991.98px) {
    .msm-trust {
        padding: 72px 20px;
    }

    .msm-trust__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .msm-trust {
        padding: 56px 16px;
    }

    .msm-trust__steps {
        grid-template-columns: 1fr;
    }
}

/* subnav — on-this-page TOC */
.subnav {
    position: sticky;
    top: 75px;
    z-index: 10;
    background: var(--msm-surface, #fff);
    border-bottom: 1px solid var(--msm-line, #e2e7f0);
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
    border-bottom-width: 0;
    transition: opacity .25s ease, transform .25s ease, max-height .25s ease;
}

.subnav.show {
    max-height: 70px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    border-bottom-width: 1px;
}

.subnav .wrap {
    max-width: 1260px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.subnav .wrap::-webkit-scrollbar {
    display: none;
}

.subnav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: #5b6479;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s, border-color .15s, background .15s;
}

.subnav a:hover {
    color: var(--msm-brand, #1d4ed8);
    border-color: var(--msm-line, #e2e7f0);
    background: #fff;
}

.subnav a.on {
    color: var(--msm-brand, #1d4ed8);
    background: var(--msm-brand-soft, #e8eefc);
    border-color: transparent;
}

.subnav a .i {
    font-size: 16px;
    line-height: 1;
}

.subnav a .n {
    background: var(--msm-brand-soft, #e8eefc);
    color: var(--msm-brand, #1d4ed8);
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 11.5px;
    font-weight: 700;
}

.subnav a.on .n {
    background: var(--msm-brand, #1d4ed8);
    color: #fff;
}

/* filter bar */
.msm-bar {
    top: 76px;
    z-index: 01;
    background: var(--msm-surface);
   
    padding: 12px var(--msm-gutter);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0;
}

.msm-field {
    position: relative;
    display: flex;
    align-items: center;
}

.msm-field > svg {
    position: absolute;
    left: 11px;
    width: 16px;
    height: 16px;
    color: var(--msm-muted);
    pointer-events: none;
}

.msm-field input,
.msm-field select {
    height: 40px;
    border: 1px solid var(--msm-line);
    background: var(--msm-bg);
    border-radius: 10px;
    padding: 0 12px 0 34px;
    min-width: 0;
    margin: 0;
    box-shadow: none;
}

.msm-field input:focus,
.msm-field select:focus {
    border-color: var(--msm-brand);
    outline: none;
}

.msm-field select {
    padding-left: 12px;
    padding-right: 28px;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--msm-muted) 50%), linear-gradient(135deg, var(--msm-muted) 50%, transparent 50%);
    background-position: calc(100% - 15px) 17px, calc(100% - 10px) 17px;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.msm-f-loc input {
    width: 230px;
    padding-right: 34px;
}

.msm-f-name input {
    width: 220px;
}

.msm-locx {
    position: absolute;
    right: 8px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--msm-muted);
    font-size: 17px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.msm-locx:hover {
    background: var(--msm-line);
    color: var(--msm-ink);
}

.msm-locerr {
    position: absolute;
    left: 4px;
    top: calc(100% + 3px);
    font-size: 11.5px;
    color: #b42318;
    white-space: nowrap;
    z-index: 2;
}

.msm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.msm-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--msm-brand-soft);
    color: var(--msm-ink);
    border-radius: 999px;
    padding: 4px 6px 4px 11px;
    font-size: 12.5px;
    font-weight: 600;
}

.msm-chip button {
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--msm-muted);
    padding: 0;
}

.msm-chip button:hover {
    background: var(--msm-surface);
}

.msm-badge-n {
    background: var(--msm-brand);
    color: var(--msm-brand-ink);
    border-radius: 999px;
    font-size: 11px;
    padding: 0 7px;
    line-height: 18px;
}

.msm-clearall {
    border: 0;
    background: none;
    color: #b42318;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 4px;
}

.msm-clearall:hover {
    text-decoration: underline;
}

/* main split */
.msm-main {
    display: grid;
    grid-template-columns: minmax(380px, 44%) 1fr;
    width: 100%;
    max-width: var(--msm-container);
    margin-inline: auto;
    border-inline: 1px solid var(--msm-line);
    border-bottom: 1px solid var(--msm-line);
    height: calc(100vh - 90px);
    height: calc(100svh - 90px);
    min-height: 560px;
    max-height: 980px;
    border-top: 1px solid var(--msm-line);
}

@media (max-width: 1300px) {
    .msm-main {
        border-inline: 0;
    }
}

.msm-list {
    overflow-y: auto;
    padding: 16px 20px 28px;
    border-right: 1px solid var(--msm-line);
    min-height: 0;
    position: relative;
}

.msm-list.is-loading #msm-results {
    opacity: .55;
    pointer-events: none;
    transition: opacity .15s;
}

.msm-ajax-message {
    background: #fef3f2;
    color: #b42318;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 10px;
}

.msm-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.msm-list-head h2 {
    font-size: 20px;
    line-height: 1.3;
}

.msm-list-head p {
    margin: 2px 0 0;
    color: var(--msm-muted);
    font-size: 13px;
}

.msm-cards {
    display: grid;
    gap: 12px;
}

.msm-card {
    background: var(--msm-surface);
    border: 1px solid var(--msm-line);
    border-radius: 16px;
    padding: 16px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 14px;
    align-items: center;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.msm-card:hover,
.msm-card.hot {
    border-color: var(--msm-brand);
    box-shadow: 0 0 0 3px var(--msm-brand-soft), 0 10px 24px -12px rgba(19, 26, 43, .18);
    transform: translateY(-1px);
}

.msm-av {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--msm-brand-soft);
    color: var(--msm-brand);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 16px;
    overflow: hidden;
    border: 1px solid var(--msm-line);
}

.msm-av img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.msm-card h3 {
    font-size: 15.5px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.msm-card h3 a {
    text-decoration: none;
}

.msm-card h3 a:hover {
    text-decoration: underline;
}

.msm-ver {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--msm-good);
    font-size: 11.5px;
    font-weight: 700;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.msm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 5px;
    color: var(--msm-muted);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

.msm-meta b {
    color: var(--msm-ink);
}

.msm-loc {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.msm-stars {
    color: var(--msm-star);
    letter-spacing: 1px;
}

.msm-acts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.msm-acts .msm-btn {
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 999px;
    justify-content: center;
    background: var(--msm-brand-soft);
    border-color: transparent;
    color: var(--msm-brand);
}

.msm-acts .msm-btn:hover {
    background: var(--msm-brand);
    color: var(--msm-brand-ink);
}

.msm-empty {
    padding: 40px 10px;
    text-align: center;
    color: var(--msm-muted);
}

.msm-empty .msm-btn {
    margin-top: 12px;
}

.msm-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 0 4px;
    color: var(--msm-muted);
    font-size: 12.5px;
}

.msm-more .msm-btn {
    min-width: 220px;
    justify-content: center;
    padding: 10px 18px;
}

/* sponsored */
.msm-card.sponsored {
    background: #fffaeb;
    border-color: #f3d48a;
}

.msm-card.sponsored:hover,
.msm-card.sponsored.hot {
    border-color: #e0a82e;
    box-shadow: 0 0 0 3px #fdefc8;
}

.msm-card.sponsored .msm-av {
    background: #fdefc8;
    color: #8a5a00;
}

.msm-sp-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8a5a00;
    background: #fdefc8;
    border-radius: 4px;
    padding: 1px 6px;
    margin-bottom: 4px;
}

.msm-sp-sep {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--msm-muted);
    font-weight: 700;
    margin: 6px 2px 0;
}

/* map */
.msm-mapwrap {
    position: relative;
    background: var(--msm-sea);
    min-height: 0;
    overflow: hidden;
}

#msm-map {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
    cursor: default;
    user-select: none;
}

#msm-map.drag {
    cursor: default;
}

/* map is locked — hide zoom controls */
.msm-mapctl {
    display: none;
}

.msm-st {
    fill: var(--msm-land);
    stroke: var(--msm-border);
    stroke-width: .8;
    transition: fill .15s;
    cursor: pointer;
    vector-effect: non-scaling-stroke;
}

.msm-st:hover,
.msm-st.hov {
    fill: var(--msm-land-hover);
}

.msm-st.on {
    fill: var(--msm-land-active);
}

.msm-st.dim {
    opacity: .55;
}

.msm-slab {
    fill: #4a5572;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: central;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    letter-spacing: .02em;
    paint-order: stroke;
    stroke: var(--msm-land);
    stroke-width: 2px;
    stroke-linejoin: round;
}

.msm-slab.on {
    fill: var(--msm-brand);
}

.msm-slead {
    stroke: #9aa5bd;
    stroke-width: .6;
    vector-effect: non-scaling-stroke;
}

.msm-pin {
    cursor: pointer;
}

.msm-pin circle {
    fill: var(--msm-pin);
    stroke: var(--msm-surface);
    vector-effect: non-scaling-stroke;
    stroke-width: 2;
    transition: fill .15s;
}

.msm-pin text {
    fill: var(--msm-pin-ink);
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: central;
    pointer-events: none;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.msm-pin.hot circle {
    fill: var(--msm-pin-hot);
}

.msm-pin.hot text {
    fill: #fff;
}

.msm-pin .halo {
    fill: var(--msm-pin);
    opacity: .25;
    stroke: none;
}

.msm-pin.hot .halo {
    fill: var(--msm-pin-hot);
}

.msm-mapctl {
    position: absolute;
    right: 14px;
    top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.msm-mapctl button {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--msm-line);
    background: var(--msm-surface);
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    box-shadow: var(--msm-shadow);
    padding: 0;
    color: var(--msm-ink);
}

.msm-mapnote {
    position: absolute;
    left: 14px;
    top: 14px;
    background: var(--msm-surface);
    border: 1px solid var(--msm-line);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: var(--msm-shadow);
    display: flex;
    align-items: center;
    gap: 8px;
}

.msm-mapnote button {
    border: 0;
    background: none;
    color: var(--msm-brand);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.msm-legend {
    position: absolute;
    left: 14px;
    bottom: 14px;
    font-size: 12px;
    color: var(--msm-muted);
    background: var(--msm-surface);
    border: 1px solid var(--msm-line);
    border-radius: 10px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.msm-legend i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--msm-pin);
    display: inline-block;
}

/* map popups */
.msm-pop {
    position: absolute;
    z-index: 5;
    width: 280px;
    background: var(--msm-surface);
    border: 1px solid var(--msm-line);
    border-radius: 14px;
    box-shadow: var(--msm-shadow);
    padding: 12px;
    transform: translate(-50%, calc(-100% - 18px));
    pointer-events: auto;
}

.msm-pop.below {
    transform: translate(-50%, 18px);
}

.msm-pop::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 12px;
    height: 12px;
    background: var(--msm-surface);
    border-right: 1px solid var(--msm-line);
    border-bottom: 1px solid var(--msm-line);
    transform: translateX(-50%) rotate(45deg);
}

.msm-pop.below::after {
    bottom: auto;
    top: -7px;
    transform: translateX(-50%) rotate(225deg);
}

.msm-pop h4 {
    margin: 0 0 2px;
    font-size: 13.5px;
}

.msm-pop .sub {
    color: var(--msm-muted);
    font-size: 12px;
    margin-bottom: 8px;
}

.msm-pop ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
    max-height: 210px;
    overflow-y: auto;
}

.msm-pop li a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 7px 8px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
}

.msm-pop li a:hover {
    background: var(--msm-brand-soft);
}

.msm-pop li a span:first-child {
    font-weight: 600;
    line-height: 1.3;
}

.msm-pop li small {
    color: var(--msm-muted);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.msm-pop li small b {
    color: var(--msm-star);
}

.msm-pop .msm-sp-tag {
    margin: 0 0 0 6px;
    font-size: 9.5px;
    vertical-align: 1px;
}

.msm-spop {
    width: 270px;
}

.msm-sp-head {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.msm-sp-head .ab {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--msm-brand);
    color: var(--msm-brand-ink);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .03em;
}

.msm-sp-head .sub {
    margin: 0;
}

.msm-sp-acts {
    display: grid;
    gap: 6px;
}

.msm-sp-acts .msm-btn {
    justify-content: center;
    padding: 7px 12px;
    font-size: 13px;
}

.msm-nopage {
    font-size: 12.5px;
    color: var(--msm-muted);
    text-align: center;
    padding: 4px 0;
}

/* filter drawer */
.msm-scrim {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 25, .4);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.msm-scrim.open {
    opacity: 1;
    pointer-events: auto;
}

.msm-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(360px, 92vw);
    background: var(--msm-surface);
    z-index: 1041;
    transform: translateX(-102%);
    transition: transform .25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--msm-shadow);
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    visibility: hidden;
}

.msm-drawer.open {
    transform: none;
    visibility: visible;
}

.msm-dh {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--msm-line);
}

.msm-dh h2 {
    font-size: 18px;
}

.msm-dh button {
    border: 0;
    background: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--msm-muted);
    width: 32px;
    height: 32px;
    padding: 0;
}

.msm-db {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
    display: grid;
    gap: 22px;
    align-content: start;
}

.msm-grp h5 {
    margin: 0 0 8px;
    /* headerpage.css sets every heading to Noto Serif !important */
    font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--msm-muted);
}

.msm-seg {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.msm-seg label {
    position: relative;
    margin: 0;
}

.msm-seg input {
    position: absolute;
    opacity: 0;
}

.msm-seg span {
    display: inline-block;
    border: 1px solid var(--msm-line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.msm-seg input:checked + span {
    background: var(--msm-brand);
    border-color: var(--msm-brand);
    color: var(--msm-brand-ink);
}

.msm-seg input:focus-visible + span {
    outline: 2px solid var(--msm-brand);
    outline-offset: 2px;
}

.msm-svc {
    display: grid;
    gap: 4px;
}

.msm-svc label {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 5px 0;
    font-size: 13.5px;
    cursor: pointer;
    margin: 0;
}

.msm-svc input {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: none;
    accent-color: var(--msm-brand);
}

.msm-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
}

.msm-toggle input {
    width: 40px;
    height: 22px;
    margin: 0;
    accent-color: var(--msm-brand);
}

.msm-df {
    display: flex;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid var(--msm-line);
}

.msm-df .msm-btn {
    flex: 1;
    justify-content: center;
}

/* mobile */
.msm-mtabs,
.msm-m-filters,
.msm-m-only {
    display: none;
}

@media (max-width: 860px) {
    .msm {
        --msm-gutter: 16px;
    }

    .msm-intro {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        gap: 4px 12px;
        padding-block: 14px 0;
    }

    .msm-intro p {
        grid-column: 1 / -1;
    }

    .msm-intro h1 {
        font-size: 19px;
    }

    .msm-m-filters {
        display: inline-flex;
        padding: 7px 12px;
        font-size: 13px;
    }

    .msm-m-only {
        display: block;
    }

    #msm-open-filters,
    .msm-bar .msm-f-rating,
    .msm-bar .msm-f-service,
    .msm-bar .msm-f-sort {
        display: none;
    }

    .msm-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 10px 16px;
    }

    .msm-bar .msm-f-loc,
    .msm-bar .msm-f-name {
        min-width: 0;
    }

    .msm-bar .msm-chips,
    .msm-bar .msm-clearall {
        grid-column: 1 / -1;
    }

    .msm-bar .msm-clearall {
        justify-self: start;
        padding: 0 4px;
    }

    .msm-field input,
    .msm-f-loc input,
    .msm-f-name input {
        min-width: 0;
        width: 100%;
    }

    .msm-main {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        max-height: none;
        border-bottom: 0;
    }

    .msm-list {
        overflow: visible;
        padding: 14px 16px 90px;
        border-right: 0;
    }

    .msm-mapwrap {
        display: none;
    }

    .msm.show-map .msm-list {
        display: none;
    }

    .msm.show-map .msm-mapwrap {
        display: block;
        height: calc(100svh - 150px);
        min-height: 420px;
    }

    .msm-mtabs {
        display: flex;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        z-index: 30;
        background: var(--msm-ink);
        border-radius: 999px;
        padding: 4px;
        box-shadow: var(--msm-shadow);
        transition: opacity .2s;
    }

    .msm-mtabs.off {
        opacity: 0;
        pointer-events: none;
    }

    .msm-mtabs button {
        border: 0;
        background: none;
        color: var(--msm-bg);
        padding: 9px 18px;
        border-radius: 999px;
        font-weight: 700;
        cursor: pointer;
    }

    .msm-mtabs button.on {
        background: var(--msm-bg);
        color: var(--msm-ink);
    }

    .msm-card {
        grid-template-columns: 40px 1fr;
    }

    .msm-av {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .msm-acts {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .msm-acts .msm-btn {
        flex: 1;
    }

    .msm-legend {
        display: none;
    }
}

/* keep the List/Map switch above the site's mobile bottom bar (.section_bottom_header) */
@media (max-width: 767.98px) {
    .msm-mtabs {
        bottom: calc(69px + env(safe-area-inset-bottom, 0px));
    }

    .msm-list {
        padding-bottom: 130px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .msm * {
        transition: none !important;
    }
}

/* ============================================================
   Page rhythm — consistent vertical spacing between sections
   ============================================================ */
/* hero → search */
.msm-hero + .subnav,
.msm {
    margin-top: 28px;
}

/* search → trust band */
.msm + .subnav,
.msm + .msm-trust {
    margin-top: 56px;
}

.msm-trust {
    margin: 56px 0;
}

/* trust → write-review CTA */
.msm-trust + .browse-cta-section,
.browse-cta-section {
    margin-top: 56px;
}

/* CTA → directory block */
.browse-cta-section + #company_search_page,
#company_search_page {
    margin-top: 8px;
}

/* breathing room inside each directory section */
#company_search_page .mgm-directory-section {
    padding: 56px 0;
}

#company_search_page .mgm-directory-section + .mgm-directory-section {
    padding-top: 0;
}

/* popular routes section — soft panel bg */
.mgm-route-section {
    background: #F3F6FB;
    padding:56px 20px !important;
    margin: 56px 0;
}

/* cities section — soft panel bg (matches routes panel) */
#company_search_page #top__cities {
    background: #F3F6FB;
    padding: 56px 20px !important;
    margin: 56px 0;
    border-radius: 18px;
}

/* helpful links — tighter bottom */
#company_search_page .mgm-helpful-section {
    padding: 56px 0 72px;
}

@media (max-width: 767.98px) {
    .msm-trust,
    .browse-cta-section,
    .mgm-route-section {
        margin-top: 36px;
        margin-bottom: 36px;
    }

    #company_search_page .mgm-directory-section {
        padding: 40px 0;
    }
}

/* ============================================================
   Mobile polish — hero, subnav, CTA, directory sections
   ============================================================ */
@media (max-width: 767.98px) {
    /* hero — stacked, left-aligned: crumbs → tag → h1 → p */
    .msm-hero {
        padding: 24px 16px 36px;
        gap: 14px;
        align-items: flex-start;
        text-align: left;
    }

    .msm-hero__crumbs {
        position: static;
        margin: 0;
        font-size: 12.5px;
        order: 0;
    }

    .msm-hero__tag {
        margin: 0;
        padding: 7px 14px;
        font-size: 10px;
        letter-spacing: .08em;
        text-align: left;
        line-height: 1.4;
        max-width: 100%;
        order: 1;
    }

    .msm-hero h1 {
        font-size: clamp(26px, 8vw, 34px);
        line-height: 1.25;
        letter-spacing: -.01em;
        padding: 0;
        max-width: 100%;
        word-break: normal;
        order: 2;
        margin: 0;
    }

    .msm-hero__hl {
        text-decoration-thickness: 3px;
        text-underline-offset: 4px;
    }

    .msm-hero p {
        font-size: 14.5px;
        line-height: 1.6;
        padding: 0;
        order: 3;
    }

    .msm-hero .msm-m-filters {
        margin-top: 4px;
        order: 4;
    }

    /* TOC subnav — tighter chips */
    .subnav .wrap {
        padding: 8px 12px;
        gap: 6px;
    }

    .subnav a {
        padding: 7px 11px;
        font-size: 12.5px;
    }

    /* directory sections */
    #company_search_page .mgm-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    #company_search_page .mgm-section-head .mgm-link-see-all,
    #company_search_page .mgm-section-head .mgm-see-all {
        align-self: flex-start;
    }

    #company_search_page .route_content {
        font-size: 24px;
        line-height: 1.3;
    }

    #company_search_page .mgm-section-head p {
        font-size: 14px;
    }

    /* write-review CTA banner */
    .browse-cta-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 22px 18px;
        border-radius: 16px;
    }

    .browse-cta-copy h2 {
        font-size: 22px;
    }

    .browse-cta-copy p {
        font-size: 14px;
    }

    .browse-cta-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* helpful links */
    #company_search_page .mgm-helpful-head h2,
    #company_search_page .mgm-helpful-head .route_content {
        font-size: 24px;
    }
}

@media (max-width: 420px) {
    .msm-hero h1 {
        font-size: 24px;
    }

    #company_search_page .mgm-tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mgm-route-section .rcard .end b {
        font-size: 16px;
    }
}

/* subnav TOC — mobile */
@media (max-width: 767.98px) {
    .subnav {
        top: 62px;
    }
.msm-bar {
     top: 62px;
}
    .subnav .wrap {
        padding: 8px 10px;
        gap: 6px;
        scroll-snap-type: x proximity;
    }

    .subnav a {
        scroll-snap-align: start;
        padding: 7px 11px;
        font-size: 12.5px;
        gap: 6px;
    }

    .subnav a .i {
        font-size: 14px;
    }

    .subnav a .n {
        padding: 0 6px;
        font-size: 10.5px;
    }
}

/* card actions — write a review (solid blue) */
.msm-btn-review {
    color: #fff !important;
    background: var(--msm-brand, #1d4ed8) !important;
    border-color: var(--msm-brand, #1d4ed8) !important;
}

.msm-btn-review:hover {
    background: #123a9c !important;
    border-color: #123a9c !important;
    color: #fff !important;
}
