/* =========================================================
   LOCATIONS PAGE REDESIGN
   File path: assets/css/locations-redesign.css
========================================================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* HERO */

.locations-hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 88% 15%, rgba(76, 190, 249, .24), transparent 26%),
        radial-gradient(circle at 8% 92%, rgba(255,255,255,.08), transparent 27%),
        linear-gradient(120deg, #061522 0%, #0a2b46 48%, #1174b5 100%);
    isolation: isolate;
}

.locations-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255,255,255,.034) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.034) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to right, #000, transparent 80%);
    animation: locationsGridDrift 18s linear infinite;
}

.locations-hero::after {
    content: "";
    position: absolute;
    right: -210px;
    bottom: -310px;
    z-index: -1;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 50%;
}

.locations-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.locations-orb-one {
    top: -100px;
    right: 12%;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255,255,255,.13);
    animation: locationOrbFloat 8s ease-in-out infinite;
}

.locations-orb-two {
    right: 28%;
    bottom: -70px;
    width: 165px;
    height: 165px;
    background: rgba(47,158,219,.13);
    animation: locationOrbFloat 7s ease-in-out infinite reverse;
}

.locations-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 82px;
    align-items: center;
    padding-top: 78px;
    padding-bottom: 78px;
}

.locations-hero-copy {
    max-width: 780px;
    animation: locationCopyReveal .9s cubic-bezier(.2,.8,.2,1) both;
}

.locations-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: rgba(255,255,255,.68);
    font-size: 13px;
    font-weight: 700;
}

.locations-breadcrumb a {
    color: #fff;
}

.locations-breadcrumb i {
    font-size: 9px;
    opacity: .55;
}

.locations-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
    color: #73d0ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.locations-kicker::before {
    content: "";
    width: 38px;
    height: 1px;
    background: currentColor;
}

.locations-hero h1 {
    max-width: 800px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.06;
    letter-spacing: -1.9px;
}

.locations-hero-copy > p {
    max-width: 665px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    line-height: 1.8;
}

.locations-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 32px;
}

.locations-primary-btn {
    border-radius: 9px;
}

.locations-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 0;
    color: #fff;
    border-bottom: 1px solid rgba(115,208,255,.65);
    font-size: 14px;
    font-weight: 800;
    transition: gap .3s ease, color .3s ease;
}

.locations-text-link:hover {
    gap: 14px;
    color: #73d0ff;
}

.locations-hero-card {
    position: relative;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px;
    overflow: hidden;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 24px;
    box-shadow: 0 28px 65px rgba(0,0,0,.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation:
        locationCardReveal .9s ease .18s both,
        locationCardFloat 5.8s ease-in-out 1.2s infinite;
}

.locations-hero-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -68px;
    width: 205px;
    height: 205px;
    border-radius: 50%;
    background: rgba(98,200,255,.13);
}

.locations-hero-card::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -45%;
    width: 34%;
    height: 320%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transform: rotate(17deg);
    animation: locationCardShine 6s ease-in-out infinite;
}

.locations-hero-card-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    color: #fff;
    background: linear-gradient(135deg, var(--sky), var(--sky-dark));
    border-radius: 17px;
    font-size: 27px;
    box-shadow: 0 14px 30px rgba(17,116,181,.35);
}

.locations-hero-card-kicker {
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
    color: #80d7ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.locations-hero-card strong {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 23px;
    line-height: 1.46;
}

.locations-hero-card-line {
    position: relative;
    z-index: 2;
    width: 47px;
    height: 3px;
    margin-top: 20px;
    background: #73d0ff;
    border-radius: 20px;
}

/* INTRO */

.locations-intro {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.locations-intro::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -140px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(47,158,219,.1);
    border-radius: 50%;
    transform: translateY(-50%);
}

.locations-intro-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
    gap: 85px;
    align-items: start;
}

.locations-intro-heading h2 {
    max-width: 590px;
    margin: 14px 0 0;
    color: var(--navy);
    font-size: clamp(37px, 4vw, 53px);
    line-height: 1.13;
    letter-spacing: -1.2px;
}

.locations-intro-copy {
    position: relative;
    padding-left: 34px;
    border-left: 3px solid rgba(47,158,219,.25);
}

.locations-intro-copy::before {
    content: "";
    position: absolute;
    top: 0;
    left: -3px;
    width: 3px;
    height: 67px;
    background: var(--sky);
}

.locations-intro-copy p {
    margin: 0;
    color: #607184;
    font-size: 16px;
    line-height: 1.85;
}

.locations-intro-copy p + p {
    margin-top: 17px;
}

/* DIRECTORY */

.locations-directory {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 5% 5%, rgba(47,158,219,.07), transparent 24%),
        radial-gradient(circle at 95% 90%, rgba(17,116,181,.07), transparent 25%),
        linear-gradient(180deg, #f4f9fc 0%, #fbfdff 100%);
}

.locations-directory-head {
    max-width: 790px;
}

.locations-toolbar {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 34px;
    padding: 16px;
    background: rgba(255,255,255,.87);
    border: 1px solid rgba(47,158,219,.14);
    border-radius: 17px;
    box-shadow: 0 12px 32px rgba(13,34,56,.06);
    backdrop-filter: blur(10px);
}

.location-search {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
    color: var(--sky-dark);
    background: #f6fafc;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.location-search input {
    width: 100%;
    padding: 13px 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 14px;
}

.location-search input::placeholder {
    color: #8b9baa;
}

.location-search-status {
    flex-shrink: 0;
    padding: 10px 14px;
    color: var(--sky-dark);
    background: rgba(47,158,219,.09);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.locations-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 24px;
}

.location-card {
    position: relative;
    min-width: 0;
    padding: 30px;
    overflow: hidden;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(13,34,56,.08);
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(13,34,56,.06);
    transition:
        transform .4s cubic-bezier(.2,.8,.2,1),
        border-color .4s ease,
        box-shadow .4s ease;
}

.location-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle at top right, rgba(47,158,219,.11), transparent 70%);
}

.location-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 27px;
    bottom: 27px;
    width: 3px;
    background: linear-gradient(180deg, var(--sky), var(--sky-dark));
    border-radius: 0 10px 10px 0;
    transform: scaleY(.45);
    transition: transform .4s ease;
}

.location-card:hover {
    transform: translateY(-8px);
    border-color: rgba(47,158,219,.34);
    box-shadow: 0 24px 52px rgba(13,34,56,.13);
}

.location-card:hover::after {
    transform: scaleY(1);
}

.location-card-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 23px;
}

.location-card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    color: var(--sky-dark);
    background: #eaf7fd;
    border-radius: 14px;
    font-size: 19px;
    transition: transform .35s ease, color .35s ease, background .35s ease;
}

.location-card:hover .location-card-icon {
    transform: translateY(-3px) rotate(-3deg);
    color: #fff;
    background: linear-gradient(135deg, var(--sky), var(--sky-dark));
}

.location-card-label {
    display: block;
    margin-bottom: 3px;
    color: #7b8d9d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.45px;
    text-transform: uppercase;
}

.location-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 25px;
    line-height: 1.25;
}

.location-chip-list {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.location-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    color: #53677a;
    background: #f5f9fc;
    border: 1px solid #e4edf3;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.35;
    transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.location-chip:hover {
    color: var(--sky-dark);
    background: #edf8fd;
    border-color: rgba(47,158,219,.28);
}

.location-card[hidden] {
    display: none !important;
}

.location-empty-state {
    max-width: 560px;
    margin: 25px auto 0;
    padding: 42px 25px;
    color: var(--muted);
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.location-empty-state i {
    margin-bottom: 14px;
    color: var(--sky);
    font-size: 35px;
}

.location-empty-state h3 {
    margin: 0 0 6px;
    color: var(--navy);
}

.location-empty-state p {
    margin: 0;
}

/* CTA */

.locations-cta {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    color: var(--navy);
    background:
        radial-gradient(circle at 88% 15%, rgba(123,208,255,.20), transparent 25%),
        radial-gradient(circle at 12% 100%, rgba(255,255,255,.08), transparent 28%),
        linear-gradient(120deg, #071827 0%, #0d3554 48%, #1174b5 100%);
}

.locations-cta::before {
    content: "";
    position: absolute;
    right: -150px;
    top: -220px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    pointer-events: none;
}

.locations-cta::after {
    content: "";
    position: absolute;
    left: -170px;
    bottom: -230px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    pointer-events: none;
}

.locations-cta-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr);
    gap: 34px;
    align-items: stretch;
    padding: 24px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(246,250,253,.97)
        );
    border: 1px solid rgba(255,255,255,.95);
    border-radius: 28px;
    box-shadow:
        0 32px 80px rgba(0,0,0,.20),
        0 10px 30px rgba(17,116,181,.10);
}

.locations-cta-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 22%, rgba(255,255,255,.95), transparent 26%),
        linear-gradient(
            120deg,
            rgba(255,255,255,.55),
            transparent 38%,
            rgba(47,158,219,.05)
        );
}

.locations-cta-shell::after {
    content: "";
    position: absolute;
    top: -45%;
    left: -24%;
    width: 34%;
    height: 210%;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.78),
            transparent
        );
    transform: rotate(17deg);
    animation: locationsCtaSweep 7s ease-in-out infinite;
}

.locations-cta-glass {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
    padding: 42px 46px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.50),
            rgba(255,255,255,.24)
        );
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.95),
        inset 0 -1px 0 rgba(255,255,255,.22),
        0 18px 45px rgba(13,34,56,.08);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.locations-cta-glass::before {
    content: "";
    position: absolute;
    top: -42px;
    right: -35px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(47,158,219,.18),
            rgba(47,158,219,.04) 55%,
            transparent 72%
        );
    filter: blur(2px);
    pointer-events: none;
}

.locations-cta-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .28;
    background-image:
        linear-gradient(
            115deg,
            rgba(255,255,255,.42) 0 1px,
            transparent 1px 12px
        );
}

.locations-cta-label,
.locations-cta h2,
.locations-cta p {
    position: relative;
    z-index: 2;
}

.locations-cta-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--sky-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.locations-cta h2 {
    max-width: 720px;
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.13;
    letter-spacing: -.8px;
}

.locations-cta p {
    max-width: 650px;
    margin: 0;
    color: #65788a;
    font-size: 15px;
    line-height: 1.8;
}

.locations-cta-action {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 35%, rgba(47,158,219,.10), transparent 38%),
        linear-gradient(145deg, #ffffff, #f5f9fc);
    border: 1px solid rgba(13,34,56,.06);
    border-radius: 22px;
}

.locations-cta-action::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(47,158,219,.08);
    border-radius: 17px;
    pointer-events: none;
}

.locations-cta-btn {
    position: relative;
    z-index: 2;
    min-width: 220px;
    justify-content: center;
    padding: 17px 24px;
    color: #fff !important;
    background:
        linear-gradient(
            135deg,
            var(--sky),
            var(--sky-dark)
        );
    border: 0;
    border-radius: 11px;
    box-shadow:
        0 14px 30px rgba(17,116,181,.28);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}

.locations-cta-btn:hover {
    transform: translateY(-4px);
    background:
        linear-gradient(
            135deg,
            #42b8f8,
            #0d6ca9
        );
    box-shadow:
        0 20px 42px rgba(17,116,181,.38);
}

.locations-cta-btn i {
    transition: transform .3s ease;
}

.locations-cta-btn:hover i {
    transform: translateX(5px);
}

@keyframes locationsCtaSweep {
    0%,
    58% {
        left: -24%;
    }

    82%,
    100% {
        left: 118%;
    }
}


/* REVEAL */

.location-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity .72s ease var(--reveal-delay,0s),
        transform .72s ease var(--reveal-delay,0s);
}

.location-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ANIMATION */

@keyframes locationsGridDrift {
    from { background-position: 0 0; }
    to { background-position: 46px 46px; }
}

@keyframes locationCopyReveal {
    from { opacity: 0; transform: translateX(-28px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes locationCardReveal {
    from { opacity: 0; transform: translateX(38px) scale(.97); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes locationCardFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@keyframes locationCardShine {
    0%,55% { left: -45%; }
    78%,100% { left: 125%; }
}

@keyframes locationOrbFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(18px); }
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .locations-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .locations-hero-card {
        max-width: 570px;
        min-height: 245px;
    }

    .locations-intro-grid {
        gap: 50px;
    }

    .locations-cta-shell {
        grid-template-columns: 1fr;
    }

    .locations-cta-action {
        min-height: 190px;
    }
}

@media (max-width: 768px) {
    .locations-hero {
        min-height: auto;
    }

    .locations-hero-inner {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .locations-hero h1 {
        font-size: clamp(37px, 11vw, 48px);
        letter-spacing: -1px;
    }

    .locations-hero-copy > p {
        font-size: 15px;
    }

    .locations-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .locations-hero-card {
        min-height: 225px;
        padding: 27px;
        border-radius: 19px;
    }

    .locations-hero-card strong {
        font-size: 20px;
    }

    .locations-intro-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .locations-intro-heading h2 {
        font-size: 34px;
    }

    .locations-intro-copy {
        padding-left: 24px;
    }

    .locations-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .location-search-status {
        align-self: flex-start;
    }

    .locations-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .location-card {
        padding: 25px;
        border-radius: 17px;
    }

    .location-card h3 {
        font-size: 23px;
    }

    .locations-cta {
        padding: 65px 0;
    }

    .locations-cta-shell {
        gap: 18px;
        padding: 16px;
        border-radius: 21px;
    }

    .locations-cta-glass {
        min-height: auto;
        padding: 31px 27px;
        border-radius: 17px;
    }

    .locations-cta-action {
        min-height: 155px;
        padding: 22px;
        border-radius: 17px;
    }

    .locations-cta h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .locations-hero h1 {
        font-size: 36px;
    }

    .locations-hero-card {
        min-height: 215px;
    }

    .locations-intro-heading h2,
    .locations-directory-head h2 {
        font-size: 31px;
    }

    .location-card-head {
        align-items: flex-start;
    }

    .location-card-icon {
        flex-basis: 47px;
        width: 47px;
        height: 47px;
    }

    .location-chip {
        font-size: 11px;
    }

    .locations-cta-btn {
        width: 100%;
        min-width: 0;
    }

    .locations-cta-glass {
        padding: 27px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .locations-hero-grid,
    .locations-orb,
    .locations-hero-copy,
    .locations-hero-card,
    .locations-hero-card::after,
    .location-reveal {
        animation: none !important;
        transition: none !important;
    }

    .location-reveal {
        opacity: 1;
        transform: none;
    }

    .locations-cta-shell::after {
        animation: none !important;
    }
}

/* =========================================================
   FINAL LOCATIONS CTA WHITE BACKGROUND + BUTTON WIPE
   Keep this at the very end of locations-redesign.css
========================================================= */

/* Entire CTA section background white */

.locations-cta {
    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(47,158,219,.07),
            transparent 26%
        ),
        radial-gradient(
            circle at 10% 100%,
            rgba(17,116,181,.04),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fbfe 100%
        );

    color: var(--navy);
}

/* Decorative circles adjusted for white background */

.locations-cta::before {
    border-color: rgba(47,158,219,.10);
}

.locations-cta::after {
    border-color: rgba(17,116,181,.07);
}

/* Slightly stronger white card separation */

.locations-cta-shell {
    border: 1px solid rgba(47,158,219,.12);

    box-shadow:
        0 28px 75px rgba(13,34,56,.10),
        0 8px 28px rgba(17,116,181,.07);
}

/* CTA button base state */

.locations-cta-btn {
    position: relative;
    isolation: isolate;

    overflow: hidden;

    color: var(--sky-dark) !important;

    background: #ffffff;

    border: 1px solid rgba(47,158,219,.34);

    box-shadow:
        0 10px 24px rgba(13,34,56,.09);

    transition:
        color .35s ease,
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

/* Left-to-right blue fill layer */

.locations-cta-btn::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            135deg,
            var(--sky),
            var(--sky-dark)
        );

    transform: scaleX(0);
    transform-origin: left center;

    transition:
        transform .45s cubic-bezier(.2,.8,.2,1);
}

/* Hover effect */

.locations-cta-btn:hover {
    color: #ffffff !important;

    transform: translateY(-4px);

    border-color: transparent;

    box-shadow:
        0 18px 38px rgba(17,116,181,.28);
}

.locations-cta-btn:hover::before {
    transform: scaleX(1);
}

/* Arrow movement */

.locations-cta-btn i {
    transition: transform .35s ease;
}

.locations-cta-btn:hover i {
    transform: translateX(6px);
}

/* Keyboard focus */

.locations-cta-btn:focus-visible {
    outline: 3px solid rgba(47,158,219,.28);
    outline-offset: 4px;
}

/* =========================================================
   COMPACT PREMIUM LOCATION ACCORDION
========================================================= */

.locations-grid {
    align-items: start;
}

.location-card {
    padding: 0;
    border-radius: 18px;
}

.location-card::after {
    top: 18px;
    bottom: 18px;
}

.location-card-toggle {
    position: relative;
    z-index: 3;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 24px 26px 16px;

    color: inherit;
    text-align: left;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.location-card-toggle .location-card-head {
    margin: 0;
}

.location-state-name,
.location-card-toggle h3 {
    display: block;

    margin: 0;

    color: var(--navy);

    font-size: 23px;
    font-weight: 800;
    line-height: 1.25;
}

.location-card-meta {
    display: flex;
    align-items: center;
    gap: 11px;

    flex-shrink: 0;
}

.location-count {
    padding: 7px 11px;

    color: var(--sky-dark);

    background: rgba(47, 158, 219, .09);

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
}

.location-card-meta i {
    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

    color: var(--sky-dark);

    background: #eaf7fd;

    border-radius: 50%;

    transition:
        transform .35s ease,
        color .35s ease,
        background .35s ease;
}

.location-card-preview {
    position: relative;
    z-index: 2;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    padding: 0 26px 24px;
}

.location-more-chip {
    display: inline-flex;
    align-items: center;

    min-height: 32px;
    padding: 7px 12px;

    color: #fff;

    background: linear-gradient(
        135deg,
        var(--sky),
        var(--sky-dark)
    );

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
}

.location-card-details {
    display: grid;

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    border-top: 1px solid transparent;

    transition:
        max-height .55s cubic-bezier(.2,.8,.2,1),
        opacity .35s ease,
        padding .45s ease,
        border-color .35s ease;
}

.location-card-details .location-chip-list {
    padding: 0 26px 25px;
}

.location-card.is-expanded .location-card-details {
    max-height: 900px;

    opacity: 1;

    padding-top: 22px;

    border-color: rgba(47,158,219,.12);
}

.location-card.is-expanded .location-card-preview {
    display: none;
}

.location-card.is-expanded .location-card-meta i {
    color: #fff;
    background: var(--sky-dark);
    transform: rotate(180deg);
}

.location-card.is-expanded {
    border-color: rgba(47,158,219,.34);

    box-shadow:
        0 26px 58px rgba(13,34,56,.14);
}

.location-card-toggle:focus-visible {
    outline: 3px solid rgba(47,158,219,.22);
    outline-offset: -3px;
    border-radius: 18px;
}

@media (max-width: 768px) {
    .location-card-toggle {
        align-items: flex-start;
        padding: 21px 21px 14px;
    }

    .location-card-meta {
        align-items: flex-end;
        flex-direction: column;
        gap: 7px;
    }

    .location-count {
        display: none;
    }

    .location-card-preview {
        padding: 0 21px 21px;
    }

    .location-card-details .location-chip-list {
        padding: 0 21px 22px;
    }
}


/* =========================================================
   TWO-ROW LOCATION MARQUEE
   Existing CTA section below remains unchanged.
========================================================= */

.locations-marquee-directory{
    position:relative;
    overflow:hidden;
    padding:82px 0 76px;
    background:
        radial-gradient(circle at 8% 12%,rgba(47,158,219,.08),transparent 25%),
        radial-gradient(circle at 92% 85%,rgba(17,116,181,.07),transparent 28%),
        linear-gradient(180deg,#f5faff 0%,#fbfdff 100%);
}

.locations-marquee-head{
    max-width:820px;
    margin:0 auto 40px;
    text-align:center;
}

.locations-marquee-head .section-kicker{
    justify-content:center;
}

.locations-marquee-head h2{
    margin:12px 0 13px;
    color:var(--navy);
    font-size:clamp(36px,4vw,52px);
    line-height:1.12;
    letter-spacing:-1.2px;
}

.locations-marquee-head p{
    max-width:720px;
    margin:0 auto;
    color:#6b7b8c;
    font-size:16px;
    line-height:1.75;
}

.location-marquee-stack{
    display:grid;
    gap:18px;
    width:100%;
}

.location-marquee-row{
    position:relative;
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    align-items:center;
    min-height:112px;
    overflow:hidden;
    border-top:1px solid rgba(47,158,219,.15);
    border-bottom:1px solid rgba(47,158,219,.15);
    background:rgba(255,255,255,.82);
    box-shadow:0 14px 36px rgba(13,34,56,.06);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}

.location-marquee-row::before,
.location-marquee-row::after{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    z-index:4;
    width:90px;
    pointer-events:none;
}

.location-marquee-row::before{
    left:150px;
    background:linear-gradient(90deg,#f9fcfe,transparent);
}

.location-marquee-row::after{
    right:0;
    background:linear-gradient(270deg,#f9fcfe,transparent);
}

.location-marquee-label{
    position:relative;
    z-index:5;
    align-self:stretch;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:9px;
    color:#fff;
    background:linear-gradient(145deg,#0d2238,#1174b5);
    box-shadow:12px 0 30px rgba(13,34,56,.12);
    font-size:13px;
    font-weight:850;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.location-marquee-label i{
    font-size:23px;
    color:#7ad4fb;
}

.location-marquee-viewport{
    min-width:0;
    overflow:hidden;
}

.location-marquee-track{
    display:flex;
    width:max-content;
    will-change:transform;
}

.location-marquee-group{
    display:flex;
    align-items:center;
    gap:16px;
    flex-shrink:0;
    padding:20px 8px;
}

.location-marquee-pill{
    display:inline-flex;
    align-items:center;
    flex-shrink:0;
    gap:10px;
    min-height:58px;
    padding:0 20px;
    border:1px solid rgba(47,158,219,.17);
    border-radius:16px;
    background:#fff;
    color:#32485c;
    box-shadow:0 9px 26px rgba(13,34,56,.07);
    white-space:nowrap;
    transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease;
}

.location-marquee-pill:hover{
    transform:translateY(-4px);
    border-color:rgba(47,158,219,.43);
    box-shadow:0 16px 32px rgba(13,34,56,.12);
}

.location-marquee-pill i{
    color:var(--sky-dark);
}

.location-state-pill{
    min-height:66px;
    padding:0 22px;
}

.location-state-pill strong{
    color:var(--navy);
    font-size:16px;
    font-weight:850;
}

.location-state-pill small{
    padding:6px 9px;
    border-radius:999px;
    background:#eaf6fc;
    color:var(--sky-dark);
    font-size:11px;
    font-weight:800;
}

.location-city-pill{
    min-height:54px;
    padding:0 18px;
    font-size:13px;
    font-weight:750;
}

.location-city-pill i{
    font-size:12px;
    opacity:.75;
}

.location-track-rtl{
    animation:locationMarqueeRTL 380s linear infinite;
}

.location-track-ltr{
    animation:locationMarqueeLTR 58s linear infinite;
}

.location-marquee-row:hover .location-marquee-track{
    animation-play-state:paused;
}

.location-marquee-note{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin:24px 0 0;
    color:#8090a0;
    font-size:12px;
    font-weight:700;
}

.location-marquee-note i{
    color:var(--sky);
}

@keyframes locationMarqueeRTL{
    from{transform:translateX(0)}
    to{transform:translateX(-50%)}
}

@keyframes locationMarqueeLTR{
    from{transform:translateX(-50%)}
    to{transform:translateX(0)}
}

@media(max-width:767px){
    .locations-marquee-directory{
        padding:62px 0 58px;
    }

    .locations-marquee-head{
        margin-bottom:30px;
        padding:0 18px;
    }

    .location-marquee-row{
        grid-template-columns:92px minmax(0,1fr);
        min-height:94px;
    }

    .location-marquee-row::before{
        left:92px;
        width:48px;
    }

    .location-marquee-row::after{
        width:48px;
    }

    .location-marquee-label{
        gap:6px;
        font-size:10px;
        letter-spacing:.08em;
    }

    .location-marquee-label i{
        font-size:18px;
    }

    .location-marquee-group{
        gap:11px;
        padding:15px 6px;
    }

    .location-state-pill{
        min-height:58px;
        padding:0 16px;
    }

    .location-state-pill strong{
        font-size:14px;
    }

    .location-state-pill small{
        display:none;
    }

    .location-city-pill{
        min-height:48px;
        padding:0 15px;
        font-size:12px;
    }

    .location-track-ltr{
        animation-duration:70s;
    }

    .location-track-rtl{
        animation-duration:400s;
    }
}

@media(prefers-reduced-motion:reduce){
    .location-marquee-track{
        animation-play-state:paused !important;
    }

    .location-marquee-viewport{
        overflow-x:auto;
        scrollbar-width:thin;
    }
}


/* =========================================================
   PREMIUM STATES / CITIES LABEL ICONS
   Keep this block at the very end of locations-redesign.css
========================================================= */

.location-marquee-label{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    gap:12px;

    background:
        radial-gradient(circle at 22% 18%,rgba(105,211,255,.22),transparent 34%),
        linear-gradient(145deg,#0b2b47 0%,#0f527e 52%,#1174b5 100%);

    border-right:1px solid rgba(255,255,255,.12);

    box-shadow:
        12px 0 34px rgba(13,34,56,.16),
        inset -1px 0 0 rgba(255,255,255,.06);
}

.location-marquee-label::before{
    content:"";
    position:absolute;
    top:-52px;
    right:-46px;
    width:132px;
    height:132px;

    border:1px solid rgba(126,220,255,.20);
    border-radius:50%;

    box-shadow:
        0 0 0 24px rgba(93,197,240,.035),
        0 0 0 46px rgba(93,197,240,.025);

    pointer-events:none;
}

.location-marquee-label::after{
    content:"";
    position:absolute;
    top:-35%;
    left:-72%;
    width:46%;
    height:180%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.16),
            transparent
        );

    transform:rotate(18deg);
    transition:left .75s cubic-bezier(.2,.8,.2,1);
    pointer-events:none;
}

.location-marquee-row:hover .location-marquee-label::after{
    left:132%;
}

.location-marquee-label i{
    position:relative;
    z-index:2;

    display:grid;
    place-items:center;

    width:54px;
    height:54px;

    color:#ffffff;
    font-size:22px;

    background:
        linear-gradient(145deg,#35b9ef,#1174b5);

    border:1px solid rgba(255,255,255,.30);
    border-radius:18px;

    box-shadow:
        0 14px 28px rgba(0,0,0,.20),
        0 0 24px rgba(87,202,248,.18),
        inset 0 1px 0 rgba(255,255,255,.40);

    text-shadow:0 2px 8px rgba(0,0,0,.15);

    transform:translateZ(0);

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        box-shadow .35s ease,
        border-radius .35s ease;
}

.location-marquee-row:hover .location-marquee-label i{
    transform:translateY(-4px) scale(1.06) rotate(-3deg);

    border-radius:16px;

    box-shadow:
        0 18px 36px rgba(0,0,0,.25),
        0 0 34px rgba(89,207,255,.28),
        inset 0 1px 0 rgba(255,255,255,.48);
}

.location-marquee-label span{
    position:relative;
    z-index:2;

    color:rgba(255,255,255,.96);

    font-size:12px;
    font-weight:850;
    letter-spacing:.20em;
    line-height:1;
    text-shadow:0 2px 10px rgba(0,0,0,.18);
}

.location-states-row .location-marquee-label i{
    background:
        linear-gradient(145deg,#43c6f4,#0f6ea8);
}

.location-cities-row .location-marquee-label i{
    background:
        linear-gradient(145deg,#56d0f4,#12618f);
}

@media(max-width:767px){
    .location-marquee-label{
        gap:8px;
    }

    .location-marquee-label i{
        width:42px;
        height:42px;
        border-radius:14px;
        font-size:17px;
    }

    .location-marquee-label span{
        font-size:9px;
        letter-spacing:.14em;
    }
}

