:root {
    --locations-accent: #cdff00;
    --locations-purple: #6036ff;
    --locations-black: #0c0a0a;
    --locations-panel: #151515;
    --locations-panel-soft: #1d1d1d;
    --locations-line: rgba(255, 255, 255, .12);
    --locations-text: #ffffff;
    --locations-muted: #a8a8a8;
}

[hidden] {
    display: none !important;
}

body.locations-body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--locations-black);
    color: var(--locations-text);
    font-family: "Nunito Sans", Arial, sans-serif;
}

.locations-body *,
.locations-body *::before,
.locations-body *::after {
    box-sizing: border-box;
}

.locations-body button,
.locations-body a {
    font: inherit;
}

.locations-shell {
    width: min(1440px, calc(100% - 64px));
    margin-inline: auto;
}

.locations-noscript {
    padding: 12px 20px;
    background: #fff3cd;
    color: #604800;
    text-align: center;
}

.locations-brandbar {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--locations-line);
    background: rgba(12, 10, 10, .96);
}

.locations-brandbar__inner {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.locations-logo {
    display: inline-flex;
    align-items: center;
}

.locations-logo img {
    display: block;
    width: 122px;
    height: auto;
}

.locations-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: color .2s ease;
}

.locations-back i {
    color: var(--locations-accent);
}

.locations-back:hover {
    color: var(--locations-accent) !important;
}

.locations-page {
    position: relative;
    padding: 76px 0 0;
    background:
        radial-gradient(circle at 82% 2%, rgba(96, 54, 255, .18), transparent 25%),
        var(--locations-black);
}

.locations-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 60px;
    padding-bottom: 54px;
}

.locations-hero__copy {
    max-width: 900px;
}

.locations-eyebrow,
.locations-directory-kicker {
    margin: 0 0 12px;
    color: var(--locations-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .28em;
    line-height: 1.3;
    text-transform: uppercase;
}

.locations-hero h1 {
    max-width: 980px;
    margin: 0;
    color: #fff;
    font-family: "Futura", "Nunito Sans", sans-serif;
    font-size: clamp(42px, 5.6vw, 82px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: .98;
    text-transform: uppercase;
}

.locations-hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--locations-accent);
    text-stroke: 1px var(--locations-accent);
}

.locations-hero__copy > p:last-child {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--locations-muted);
    font-size: 17px;
    line-height: 1.7;
}

.locations-hero__meta {
    display: flex;
    min-width: 245px;
    align-items: center;
    gap: 17px;
    padding: 24px 0 5px 28px;
    border-left: 1px solid var(--locations-line);
}

.locations-hero__meta strong {
    color: var(--locations-accent);
    font-family: "Futura", "Nunito Sans", sans-serif;
    font-size: 54px;
    line-height: 1;
}

.locations-hero__meta span {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.45;
    text-transform: uppercase;
}

.locations-layout {
    display: grid;
    grid-template-columns: minmax(480px, 1.12fr) minmax(440px, .88fr);
    min-height: 760px;
    overflow: hidden;
    border: 1px solid var(--locations-line);
    background: var(--locations-panel);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.locations-map-column {
    position: relative;
    min-height: 760px;
    background: #d9dde0;
}

#locations-map {
    width: 100%;
    height: 100%;
    min-height: 760px;
}

.locations-map-toolbar {
    position: absolute;
    z-index: 3;
    top: 20px;
    left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: calc(100% - 40px);
}

.locations-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 17px;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: transform .2s ease, opacity .2s ease;
}

.locations-button:hover {
    transform: translateY(-2px);
}

.locations-button:disabled {
    cursor: wait;
    opacity: .72;
}

.locations-button--light {
    background: #fff;
    color: var(--locations-black);
}

.locations-button--accent {
    background: var(--locations-accent);
    color: var(--locations-black);
}

.locations-map-message {
    position: absolute;
    z-index: 4;
    right: 22px;
    bottom: 26px;
    left: 22px;
    padding: 14px 17px;
    border-left: 4px solid var(--locations-accent);
    background: rgba(12, 10, 10, .94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
}

.locations-directory-column {
    max-height: 760px;
    overflow-y: auto;
    background: var(--locations-panel);
    scrollbar-color: var(--locations-accent) var(--locations-panel-soft);
    scrollbar-width: thin;
}

.locations-directory-column::-webkit-scrollbar {
    width: 7px;
}

.locations-directory-column::-webkit-scrollbar-track {
    background: var(--locations-panel-soft);
}

.locations-directory-column::-webkit-scrollbar-thumb {
    background: var(--locations-accent);
}

.locations-directory-header {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 30px 24px;
    border-bottom: 1px solid var(--locations-line);
    background: rgba(21, 21, 21, .96);
    backdrop-filter: blur(14px);
}

.locations-directory-kicker {
    margin-bottom: 7px;
    font-size: 9px;
}

.locations-directory-header h2 {
    margin: 0;
    color: #fff;
    font-family: "Futura", "Nunito Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.locations-results {
    flex: 0 0 auto;
    margin: 0;
    color: var(--locations-muted);
    font-size: 12px;
}

.locations-results span {
    color: var(--locations-accent);
    font-weight: 800;
}

.locations-list {
    padding: 0 30px 20px;
}

.location-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--locations-line);
    outline: none;
    cursor: pointer;
    scroll-margin-top: 105px;
}

.location-card:last-child {
    border-bottom: 0;
}

.location-photo {
    position: relative;
    height: 150px;
    overflow: hidden;
    border: 1px solid var(--locations-line);
    background: #0a0a0a;
}

.location-photo::after {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    content: "";
    pointer-events: none;
    transition: border-color .2s ease;
}

.location-card:hover .location-photo::after,
.location-card:focus .location-photo::after,
.location-card.active .location-photo::after {
    border-color: var(--locations-accent);
}

.location-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.location-card:hover .location-photo img,
.location-card.active .location-photo img {
    transform: scale(1.045);
}

.location-photo__fallback {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--locations-accent);
    font-family: "Futura", "Nunito Sans", sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .12em;
}

.location-card__content {
    min-width: 0;
}

.location-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.location-status,
.nearest-badge {
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.location-status::before {
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.location-status--active {
    color: var(--locations-accent);
}

.location-status--upcoming {
    color: #c6adff;
}

.location-status--maintenance {
    color: #ffb347;
}

.location-distance {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.location-distance i {
    margin-right: 3px;
    color: var(--locations-accent);
}

.nearest-badge {
    margin-bottom: 8px;
    padding: 4px 8px;
    background: var(--locations-accent);
    color: var(--locations-black);
}

.location-title {
    margin: 0 0 10px;
    color: #fff;
    font-family: "Futura", "Nunito Sans", sans-serif;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.08;
    text-transform: uppercase;
    transition: color .2s ease;
}

.location-card:hover .location-title,
.location-card.active .location-title {
    color: var(--locations-accent);
}

.location-address {
    display: flex;
    gap: 9px;
    margin: 0;
    color: var(--locations-muted);
    font-size: 12px;
    line-height: 1.5;
}

.location-address i {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--locations-accent);
}

.location-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.location-phone i {
    color: var(--locations-accent);
}

.location-features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 12px;
}

.location-features span {
    padding: 4px 7px;
    border: 1px solid var(--locations-line);
    color: #bdbdbd;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.location-action {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid var(--locations-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease;
}

.location-action--primary {
    background: var(--locations-accent);
    color: var(--locations-black) !important;
}

.location-action--secondary {
    background: transparent;
    color: var(--locations-accent) !important;
}

.location-action--secondary:hover {
    background: var(--locations-accent);
    color: var(--locations-black) !important;
}

.locations-empty {
    display: grid;
    min-height: 420px;
    place-content: center;
    padding: 40px;
    color: var(--locations-muted);
    text-align: center;
}

.locations-empty i {
    margin-bottom: 14px;
    color: var(--locations-accent);
    font-size: 34px;
}

.locations-empty p {
    max-width: 330px;
    margin: 0;
    line-height: 1.6;
}

.location-info-window {
    max-width: 255px;
    padding: 4px 2px 2px;
    color: #242424;
    font-family: "Nunito Sans", Arial, sans-serif;
}

.location-info-window > span {
    display: block;
    margin-bottom: 4px;
    color: #538000;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.location-info-window strong {
    display: block;
    font-size: 16px;
    line-height: 1.2;
}

.location-info-window p {
    margin: 6px 0 9px;
    color: #656565;
    font-size: 12px;
    line-height: 1.45;
}

.location-info-window a {
    color: #4e00cf;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.locations-cta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-top: 78px;
    padding-bottom: 78px;
}

.locations-cta h2 {
    margin: 0;
    color: #fff;
    font-family: "Futura", "Nunito Sans", sans-serif;
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
    text-transform: uppercase;
}

.locations-cta__link {
    display: inline-flex;
    min-height: 52px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: var(--locations-purple);
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: transform .2s ease, opacity .2s ease;
}

.locations-cta__link:hover {
    opacity: .92;
    transform: translateY(-2px);
}

.locations-footer {
    border-top: 1px solid var(--locations-line);
    background: #060606;
}

.locations-footer .locations-shell {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.locations-footer img {
    width: 96px;
    height: auto;
}

.locations-footer p {
    margin: 0;
    color: #777;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .locations-layout {
        grid-template-columns: 1.05fr .95fr;
    }

    .location-card {
        grid-template-columns: 140px minmax(0, 1fr);
    }

    .location-photo {
        height: 130px;
    }
}

@media (max-width: 980px) {
    .locations-shell {
        width: min(100% - 40px, 760px);
    }

    .locations-page {
        padding-top: 56px;
    }

    .locations-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .locations-hero__meta {
        width: fit-content;
        padding: 0;
        border: 0;
    }

    .locations-layout {
        grid-template-columns: 1fr;
    }

    .locations-map-column,
    #locations-map {
        min-height: 500px;
    }

    .locations-directory-column {
        max-height: none;
        overflow: visible;
    }

    .locations-directory-header {
        position: static;
    }
}

@media (max-width: 620px) {
    .locations-shell {
        width: calc(100% - 28px);
    }

    .locations-brandbar__inner {
        min-height: 74px;
    }

    .locations-logo img {
        width: 102px;
    }

    .locations-back {
        font-size: 0;
    }

    .locations-back i {
        font-size: 17px;
    }

    .locations-page {
        padding-top: 42px;
    }

    .locations-hero {
        padding-bottom: 38px;
    }

    .locations-hero h1 {
        font-size: clamp(38px, 13vw, 58px);
    }

    .locations-hero__copy > p:last-child {
        font-size: 15px;
    }

    .locations-hero__meta strong {
        font-size: 42px;
    }

    .locations-layout {
        width: 100%;
        border-right: 0;
        border-left: 0;
    }

    .locations-map-column,
    #locations-map {
        min-height: 430px;
    }

    .locations-map-toolbar {
        top: 14px;
        left: 14px;
        max-width: calc(100% - 28px);
    }

    .locations-button {
        min-height: 40px;
        padding: 9px 12px;
        font-size: 10px;
    }

    .locations-map-message {
        right: 14px;
        bottom: 18px;
        left: 14px;
    }

    .locations-directory-header {
        display: block;
        padding: 24px 20px 20px;
    }

    .locations-results {
        margin-top: 8px;
    }

    .locations-list {
        padding: 0 20px 20px;
    }

    .location-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .location-photo {
        height: 215px;
    }

    .location-title {
        font-size: 25px;
    }

    .locations-cta {
        display: block;
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .locations-cta__link {
        width: 100%;
        margin-top: 28px;
    }
}
