﻿:root {
    --home-bg: #09090b;
    --home-bg-2: #111113;
    --home-surface: rgba(255, 255, 255, 0.05);
    --home-surface-strong: rgba(255, 255, 255, 0.08);
    --home-border: rgba(255, 255, 255, 0.12);
    --home-border-strong: rgba(255, 255, 255, 0.22);
    --home-text: #f6f2ef;
    --home-muted: rgba(246, 242, 239, 0.72);
    --home-accent: #d90429;
    --home-accent-2: #ff3347;
    --home-glow: rgba(255, 255, 255, 0.42);
    --home-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
    --home-shadow-soft: 0 18px 34px rgba(0, 0, 0, 0.28);
    --home-serif: "Playfair Display", "Times New Roman", serif;
    --home-sans: "Manrope", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    font-family: var(--home-sans);
    color: var(--home-text);
    background:
        radial-gradient(circle at 14% 8%, rgba(217, 4, 41, 0.24), transparent 26%),
        radial-gradient(circle at 82% 0%, rgba(255, 51, 71, 0.16), transparent 24%),
        radial-gradient(circle at 50% 115%, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(180deg, #0f1012 0%, #09090b 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.home-page {
    width: 100%;
    margin-inline: 0;
    overflow-x: clip;
    padding-bottom: 28px;
}

body:has(.home-page) .page-shell {
    width: 100%;
    padding: 0 0 46px;
}

.home-page__inner {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
}

.home-page.is-enhanced [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 700ms ease,
        transform 900ms ease;
    will-change: opacity, transform;
}

.home-page.is-enhanced [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.home-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(18px, 3vw, 34px) 0 clamp(12px, 2vw, 24px);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 18% 8%, rgba(217, 4, 41, 0.22), transparent 34%),
        radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 32%);
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
    gap: clamp(24px, 4vw, 62px);
    align-items: center;
}

.home-hero__copy {
    padding: 8px 4px 8px 2px;
    position: relative;
    z-index: 2;
}

.home-eyebrow,
.home-section-head__eyebrow,
.home-locator__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: rgba(255, 225, 231, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 800;
}

.home-eyebrow i,
.home-section-head__eyebrow i,
.home-locator__eyebrow i {
    color: var(--home-accent-2);
}

.home-hero__copy h1,
.home-section-head h2,
.home-cta__copy h2,
.home-step-card h3,
.home-product-card h3,
.home-locator__detail h3 {
    margin: 0;
    font-family: var(--home-serif);
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.home-hero__copy h1 {
    max-width: 15ch;
    font-size: clamp(2.35rem, 4.4vw, 4rem);
    line-height: 1;
}

.home-hero__lead {
    max-width: 47ch;
    margin: 14px 0 0;
    color: var(--home-muted);
    font-size: 1rem;
    line-height: 1.58;
}

.home-hero__actions,
.home-cta__actions,
.home-product-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-hero__actions {
    margin-top: 20px;
}

.home-btn,
.home-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.home-btn:hover,
.home-chip:hover,
.home-btn:focus-visible,
.home-chip:focus-visible {
    transform: translateY(-1px);
}

.home-btn:disabled,
.home-btn[aria-disabled="true"] {
    border-color: var(--home-border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--home-muted);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
}

.home-btn--primary,
.home-chip--primary {
    background: linear-gradient(135deg, var(--home-accent), var(--home-accent-2));
    color: #fff;
    box-shadow: 0 18px 36px rgba(217, 4, 41, 0.28);
}

.home-btn--primary:hover,
.home-chip--primary:hover,
.home-btn--primary:focus-visible,
.home-chip--primary:focus-visible {
    box-shadow: 0 22px 44px rgba(217, 4, 41, 0.34);
}

.home-btn--secondary,
.home-chip--ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: var(--home-border);
}

.home-btn--secondary:hover,
.home-chip--ghost:hover,
.home-btn--secondary:focus-visible,
.home-chip--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--home-border-strong);
}

.home-btn i,
.home-chip i {
    font-size: 1.05rem;
}

.home-btn--wide {
    width: 100%;
}

.home-btn--compact,
.home-chip {
    min-height: 46px;
    padding: 0 16px;
    font-size: 0.94rem;
}

.home-btn {
    padding: 0 18px;
}

.home-hero__visual {
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    position: relative;
    z-index: 1;
}

.home-seat-shell { position:relative; width:100%; min-width:0; background:transparent; overflow:hidden; border:0; box-shadow:none; }
.home-seat-viewer { width:100%; height:clamp(320px,56vh,460px); overflow:hidden; background:transparent; }
.home-seat-viewer canvas { width:100%; height:100%; display:block; background:transparent; border:0; touch-action:none; cursor:grab; }
.home-seat-viewer canvas:active { cursor:grabbing; }










.home-benefit,
.home-product-card,
.home-step-card,
.home-branch-panel,
.home-locator__map-card,
.home-locator__detail,
.home-cta__card {
    border: 1px solid var(--home-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035));
    box-shadow: var(--home-shadow);
}

.home-band,
.home-section {
    padding: 24px 0;
}

.home-band,
.home-steps {
    padding-block: 20px;
}

.home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.home-section-head--split {
    align-items: end;
}

.home-section-head h2 {
    font-size: clamp(1.8rem, 3.3vw, 2.7rem);
}

.home-section-head--compact {
    margin-bottom: 14px;
}

.home-section-head--compact h2 {
    max-width: 22ch;
    font-size: clamp(1.55rem, 2.4vw, 2.35rem);
    line-height: 1.04;
}

.home-steps .home-section-head--compact h2 {
    max-width: 22ch;
}

.home-section-head p {
    max-width: 66ch;
    margin: 12px 0 0;
    color: var(--home-muted);
    line-height: 1.7;
}

.home-section-head--compact p {
    max-width: 58ch;
    margin-top: 8px;
    line-height: 1.55;
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 800;
    white-space: nowrap;
}

.home-link:hover,
.home-link:focus-visible {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
}

.home-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.home-benefit {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    padding: 11px;
    border-radius: 14px;
}

.home-benefit__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(217, 4, 41, 0.16);
    color: var(--home-accent-2);
}

.home-benefit__icon i {
    font-size: 0.96rem;
}

.home-benefit h3,
.home-step-card h3,
.home-product-card h3,
.home-locator__detail h3 {
    font-size: 0.98rem;
    line-height: 1.25;
}

.home-benefit p,
.home-step-card p,
.home-product-card p,
.home-locator__detail p {
    margin: 7px 0 0;
    color: var(--home-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-product-card {
    overflow: hidden;
    border-radius: 20px;
}

.home-product-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3.15;
    background:
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.home-product-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 300ms ease, filter 300ms ease;
}

.home-product-card:hover .home-product-card__media img {
    transform: scale(1.025);
    filter: saturate(1.04) contrast(1.02);
}

.home-product-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(217, 4, 41, 0.9);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 16px 26px rgba(217, 4, 41, 0.3);
}

.home-product-card__body {
    display: grid;
    gap: 10px;
    padding: 14px;
}

.home-product-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-product-card h3 {
    margin: 0;
}

.home-product-card p {
    margin-top: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-product-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
}

.home-product-card__rating i {
    color: #ffd166;
}

.home-product-card__rating small {
    color: var(--home-muted);
}

.home-product-card__footer {
    display: grid;
    gap: 12px;
}

.home-product-card__footer strong {
    font-size: 1.08rem;
    letter-spacing: -0.03em;
}

.home-product-card__actions {
    gap: 10px;
}

.home-chip {
    padding: 0 14px;
}

.home-empty-state {
    grid-column: 1 / -1;
    padding: 24px;
    border-radius: 22px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
}

.home-empty-state h3 {
    margin: 0;
    font-family: var(--home-serif);
}

.home-empty-state p {
    margin: 10px 0 0;
    color: var(--home-muted);
}

.home-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-step-card {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border-radius: 18px;
}

.home-step-card::before {
    content: "";
    position: absolute;
    inset: auto auto -34px -22px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 4, 41, 0.26), transparent 66%);
    pointer-events: none;
}

.home-step-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-bottom: 12px;
    background: rgba(217, 4, 41, 0.16);
    color: #fff;
    font-family: var(--home-serif);
    font-size: 0.96rem;
    font-weight: 700;
}

.home-locator__filters {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(190px, auto) auto auto;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 16px;
}

.home-locator__search,
.home-locator__select {
    display: grid;
    align-items: center;
    min-width: 0;
    min-height: 56px;
    border: 1px solid var(--home-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--home-text);
    box-shadow: var(--home-shadow-soft);
}

.home-locator__search {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 8px 14px 8px 6px;
}

.home-locator__search i {
    color: var(--home-accent-2);
    font-size: 1.25rem;
    text-align: center;
}

.home-locator__search span,
.home-locator__select {
    gap: 2px;
}

.home-locator__search small,
.home-locator__select small {
    color: var(--home-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-locator__search input,
.home-locator__select select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--home-text);
    font-weight: 750;
}

.home-locator__select {
    padding: 8px 12px;
}

.home-locator__select select option {
    background: #15171c;
    color: #fff;
}

.home-locator__clear {
    justify-content: center;
}

.home-locator__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    color: var(--home-muted);
    font-weight: 800;
    white-space: nowrap;
}

.home-locator__grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr) minmax(270px, 0.78fr);
    gap: 18px;
    align-items: stretch;
}

.home-branch-panel,
.home-locator__map-card,
.home-locator__detail {
    border-radius: 26px;
}

.home-branch-panel {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    min-height: 520px;
    overflow: hidden;
}

.home-branch-list {
    display: grid;
    align-content: start;
    gap: 12px;
    max-height: 520px;
    padding: 16px;
    overflow-y: auto;
}

.home-branch {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 14px;
    text-align: left;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    cursor: pointer;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.home-branch:hover,
.home-branch:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
}

.home-branch.is-active {
    border-color: rgba(217, 4, 41, 0.58);
    background: rgba(217, 4, 41, 0.12);
}

.home-branch__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(217, 4, 41, 0.16);
    color: var(--home-accent-2);
}

.home-branch__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.home-branch__copy strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.home-branch__copy small {
    display: block;
    color: var(--home-muted);
    line-height: 1.5;
}

.home-branch__chevron {
    color: rgba(255, 255, 255, 0.62);
    font-size: 1.15rem;
}

.home-locator__map-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.home-locator__map-shell {
    position: relative;
    min-height: 100%;
    isolation: isolate;
}

.home-locator__map {
    display: block;
    width: 100%;
    min-height: 520px;
    height: 100%;
    background: #ced8d2;
    color: #1e2528;
}

.home-map-layer-control,
.home-map-overview-control {
    position: absolute;
    z-index: 500;
    pointer-events: none;
}

.home-map-layer-control {
    top: 14px;
    left: 14px;
}

.home-map-overview-control {
    top: 14px;
    right: 14px;
}

.home-map-tools__group {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: max-content;
    max-width: calc(100vw - 60px);
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(9, 9, 11, 0.86);
    box-shadow: var(--home-shadow-soft);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.home-map-tools__group button,
.home-map-overview-control button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.home-map-overview-control button {
    border-color: rgba(255, 64, 85, 0.34);
    background: rgba(217, 4, 41, 0.18);
    box-shadow: var(--home-shadow-soft);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.home-map-tools__group button:hover,
.home-map-tools__group button:focus-visible,
.home-map-tools__group button.is-active,
.home-map-overview-control button:hover,
.home-map-overview-control button:focus-visible {
    border-color: rgba(255, 64, 85, 0.58);
    background: rgba(217, 4, 41, 0.24);
    outline: 0;
}

.home-map-status {
    position: absolute;
    z-index: 520;
    right: 14px;
    bottom: 26px;
    width: min(320px, calc(100% - 28px));
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(9, 9, 11, 0.88);
    color: #fff;
    box-shadow: var(--home-shadow-soft);
    backdrop-filter: blur(10px);
}

.home-map-status {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

.home-map-status:empty {
    display: none;
}

.home-locator__map .leaflet-control-zoom {
    margin-left: 14px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--home-shadow-soft);
}

.home-locator__map .leaflet-control-zoom a {
    width: 38px;
    height: 38px;
    border: 0;
    background: rgba(9, 9, 11, 0.88);
    color: #fff;
    line-height: 38px;
}

.home-map-status.is-error {
    border-color: rgba(255, 193, 100, 0.42);
}

.home-branch-marker,
.home-branch-cluster {
    display: grid;
    place-items: center;
}

.home-branch-marker {
    border: 0;
    background: transparent;
    color: var(--home-accent-2);
    filter:
        drop-shadow(0 2px 0 rgba(255, 255, 255, 0.9))
        drop-shadow(0 10px 16px rgba(9, 9, 11, 0.42));
    line-height: 1;
}

.home-branch-marker i {
    display: block;
    font-size: 44px;
}

.home-branch-marker.is-selected {
    filter:
        drop-shadow(0 0 0 rgba(255, 255, 255, 0.98))
        drop-shadow(0 0 9px rgba(255, 255, 255, 0.95))
        drop-shadow(0 0 14px rgba(217, 4, 41, 0.4))
        drop-shadow(0 12px 20px rgba(9, 9, 11, 0.42));
}

.home-branch-marker.is-selected i {
    font-size: 52px;
}

.home-branch-marker:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.92);
    outline-offset: 3px;
    border-radius: 999px;
}

.home-branch-marker span {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
}

.home-branch-cluster span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 3px solid #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--home-accent), var(--home-accent-2));
    color: #fff;
    box-shadow: 0 12px 28px rgba(9, 9, 11, 0.34);
    font-weight: 900;
}

.home-locator__empty {
    align-self: start;
    margin: 16px;
    padding: 18px;
    border: 1px dashed var(--home-border);
    border-radius: 18px;
    color: var(--home-muted);
}

.home-locator__empty h3 {
    margin: 0;
    color: var(--home-text);
    font-family: var(--home-serif);
}

.home-locator__empty p {
    margin: 8px 0 0;
}

.home-locator__detail {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 22px;
}

.home-locator__detail h3 {
    font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.home-locator__note {
    color: var(--home-muted);
    line-height: 1.7;
    margin: 0;
}

.home-locator__meta {
    color: rgba(255, 225, 231, 0.88);
    font-size: 0.92rem;
    font-weight: 800;
}

.home-cta__card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.09), transparent 28%),
        radial-gradient(circle at 16% 50%, rgba(217, 4, 41, 0.24), transparent 36%),
        linear-gradient(135deg, rgba(217, 4, 41, 0.18), rgba(9, 9, 11, 0.98) 58%);
}

.home-cta__card::after {
    content: "";
    position: absolute;
    inset: auto -10% -48% auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 68%);
    pointer-events: none;
}

.home-cta__copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.home-cta__copy h2 {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.04;
}

.home-cta__copy p {
    max-width: 60ch;
    margin: 10px 0 0;
    color: var(--home-muted);
    line-height: 1.55;
}

.home-cta__actions {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.home-empty-state,
.home-benefit,
.home-product-card,
.home-step-card,
.home-branch-panel,
.home-locator__map-card,
.home-locator__detail,
.home-cta__card {
    backdrop-filter: blur(10px);
}

@media (max-width: 1240px) {
    .home-hero__grid {
        grid-template-columns: 1fr;
    }

    .home-hero__visual {
        justify-content: flex-start;
        padding-top: 0;
    }


    .home-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-steps__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-locator__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-locator__filters {
        grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
    }

    .home-locator__detail {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .home-page__inner {
        width: min(1440px, calc(100% - 24px));
    }

    .home-hero {
        padding-top: 22px;
    }

    .home-section-head,
    .home-section-head--split,
    .home-cta__card {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-product-card,
    .home-product-card__body > * {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .home-product-card__meta,
    .home-product-card__rating {
        flex-wrap: wrap;
    }

    .home-locator__search input,
    .home-locator__select select {
        font-size: 1rem;
    }

    .home-steps__grid {
        grid-template-columns: 1fr;
    }

    .home-locator__grid {
        grid-template-columns: 1fr;
    }

    .home-locator__filters {
        grid-template-columns: 1fr;
    }

    .home-branch-panel {
        min-height: 0;
    }

    .home-branch-list {
        max-height: 360px;
    }

    .home-locator__map {
        min-height: 380px;
    }
}

@media (max-width: 640px) {
    .home-hero__copy h1 {
        max-width: 100%;
        font-size: clamp(2.25rem, 12vw, 3.4rem);
    }

    .home-hero__lead {
        font-size: 0.98rem;
    }




    .home-benefits {
        grid-template-columns: 1fr;
    }

    .home-product-grid {
        gap: 8px;
    }

    .home-product-card__body {
        padding: 10px;
        gap: 8px;
    }

    .home-product-card h3 {
        font-size: .875rem;
    }

    .home-product-card p,
    .home-product-card__rating {
        font-size: .8rem;
    }

    .home-product-card__meta {
        font-size: .72rem;
        letter-spacing: .04em;
        gap: 4px;
        flex-direction: column;
        align-items: flex-start;
    }

    .home-product-card__badge {
        top: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        padding: 6px 8px;
        letter-spacing: .02em;
        overflow-wrap: anywhere;
    }

    .home-product-card__footer strong {
        font-size: 1rem;
    }

    .home-product-card__actions .home-chip {
        min-height: 44px;
        padding-inline: 6px;
        font-size: .8rem;
        text-align: center;
    }

    .home-product-card__actions,
    .home-cta__actions {
        width: 100%;
    }

    .home-chip,
    .home-btn {
        width: 100%;
    }

    .home-locator__map {
        min-height: 320px;
    }

    .home-map-tools__group {
        max-width: calc(100vw - 40px);
    }

    .home-map-layer-control {
        top: 10px;
        left: 10px;
    }

    .home-map-overview-control {
        right: 10px;
        top: 58px;
    }

    .home-map-status {
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
    }

    .home-locator__detail {
        padding: 18px;
    }

}

html[data-theme="light"] {
    --home-bg: #fff8f7;
    --home-bg-2: #fff1ef;
    --home-surface: rgba(255, 255, 255, 0.80);
    --home-surface-strong: rgba(255, 255, 255, 0.96);
    --home-border: rgba(96, 39, 47, 0.18);
    --home-border-strong: rgba(96, 39, 47, 0.30);
    --home-text: #311915;
    --home-muted: #654a4e;
    --home-glow: rgba(217, 4, 41, 0.22);
    --home-shadow: 0 26px 70px rgba(82, 32, 38, 0.14);
    --home-shadow-soft: 0 18px 34px rgba(82, 32, 38, 0.10);
}

html[data-theme="light"] body {
    color: var(--home-text);
    background:
        radial-gradient(circle at 14% 8%, rgba(217, 4, 41, 0.14), transparent 28%),
        radial-gradient(circle at 82% 0%, rgba(255, 92, 108, 0.14), transparent 26%),
        linear-gradient(180deg, #fffaf8 0%, var(--home-bg) 100%);
}

html[data-theme="light"] .home-hero::before {
    background:
        radial-gradient(circle at 18% 8%, rgba(217, 4, 41, 0.13), transparent 36%),
        radial-gradient(circle at 84% 18%, rgba(137, 51, 62, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 34%);
}

html[data-theme="light"] .home-hero::after {
    background: linear-gradient(90deg, transparent, rgba(96, 39, 47, 0.20), transparent);
}

html[data-theme="light"] .home-eyebrow,
html[data-theme="light"] .home-section-head__eyebrow,
html[data-theme="light"] .home-locator__eyebrow {
    color: #7f2635;
}

html[data-theme="light"] .home-btn--secondary,
html[data-theme="light"] .home-chip--ghost {
    color: var(--home-text);
    background: rgba(255, 255, 255, 0.70);
}

html[data-theme="light"] .home-btn--secondary:hover,
html[data-theme="light"] .home-chip--ghost:hover,
html[data-theme="light"] .home-btn--secondary:focus-visible,
html[data-theme="light"] .home-chip--ghost:focus-visible {
    background: #fff;
}

html[data-theme="light"] .home-benefits,
html[data-theme="light"] .home-step-card,
html[data-theme="light"] .home-product-card,
html[data-theme="light"] .home-locator__map-card,
html[data-theme="light"] .home-locator__detail,
html[data-theme="light"] .home-branch,
html[data-theme="light"] .home-empty-state {
    background: rgba(255, 255, 255, 0.76);
    border-color: var(--home-border);
    color: var(--home-text);
}

html[data-theme="light"] .home-benefit,
html[data-theme="light"] .home-product-card__footer {
    border-color: var(--home-border);
}

html[data-theme="light"] .home-product-card__rating,
html[data-theme="light"] .home-product-card__meta,
html[data-theme="light"] .home-locator__note {
    color: var(--home-muted);
}

html[data-theme="light"] .home-cta__card {
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.60), transparent 30%),
        linear-gradient(135deg, rgba(217, 4, 41, 0.13), rgba(255, 255, 255, 0.90));
    border-color: rgba(217, 4, 41, 0.20);
}

body.home-directions-open {
    overflow: hidden;
}

.home-directions-layer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    visibility: hidden;
    pointer-events: none;
}

.home-directions-layer.is-mounted {
    visibility: visible;
    pointer-events: auto;
}

.home-directions-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3, 4, 7, 0.72);
    opacity: 0;
    cursor: default;
    backdrop-filter: blur(8px);
    transition: opacity 300ms ease;
}

.home-directions-layer.is-open .home-directions-backdrop {
    opacity: 1;
}

.home-directions-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 88vw;
    height: 82vh;
    max-width: 1600px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
    background: #101216;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58);
    opacity: 0.45;
    transform:
        translate(calc(-50% + var(--directions-from-x, 0px)), calc(-50% + var(--directions-from-y, 0px)))
        scale(var(--directions-from-scale-x, 0.5), var(--directions-from-scale-y, 0.5));
    transform-origin: center;
    transition:
        transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 240ms ease,
        border-radius 300ms ease;
    will-change: transform, opacity;
}

.home-directions-layer.is-open .home-directions-dialog {
    border-radius: 26px;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.home-directions-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
    padding: 14px 16px 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 12% 0%, rgba(217, 4, 41, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(24, 25, 30, 0.99), rgba(12, 14, 18, 0.99));
}

.home-directions-heading {
    min-width: 0;
}

.home-directions-heading h3 {
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-family: var(--home-serif);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-directions-heading p {
    overflow: hidden;
    margin: 5px 0 0;
    color: rgba(239, 239, 244, 0.66);
    font-size: 0.84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-directions-close {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.home-directions-close:hover,
.home-directions-close:focus-visible {
    border-color: rgba(255, 64, 85, 0.54);
    background: rgba(217, 4, 41, 0.18);
    transform: translateY(-1px);
}

.home-directions-close:focus-visible {
    outline: 2px solid rgba(255, 92, 112, 0.82);
    outline-offset: 3px;
}

.home-directions-close i {
    font-size: 1.5rem;
}

.home-directions-external {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 64, 85, 0.44);
    border-radius: 999px;
    background: rgba(217, 4, 41, 0.18);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 900;
    white-space: nowrap;
}

.home-directions-external:hover,
.home-directions-external:focus-visible {
    border-color: rgba(255, 64, 85, 0.76);
    background: rgba(217, 4, 41, 0.3);
    outline: 0;
}

.home-directions-body {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    min-height: 0;
}

.home-directions-map {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: #e8e8e8;
    isolation: isolate;
}

.home-directions-canvas {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #e8e8e8;
}

.home-directions-route-controls {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
    padding: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 10% 0%, rgba(217, 4, 41, 0.14), transparent 34%),
        rgba(10, 12, 16, 0.96);
    overflow-y: auto;
}

.home-directions-route-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 3px 4px;
    color: rgba(239, 239, 244, 0.68);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-directions-mode {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(217, 4, 41, 0.16);
    color: #ff7183;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
}

.home-directions-mode i {
    font-size: 0.9rem;
}

.home-directions-notice,
.home-directions-handoff,
.home-route-adjust p,
.home-route-options p {
    margin: 0;
    color: rgba(239, 239, 244, 0.68);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.45;
}

.home-directions-handoff[hidden],
.home-route-options[hidden],
.home-route-adjust[hidden] {
    display: none;
}

.home-directions-route-field {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-width: 0;
    min-height: 46px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-align: left;
}

.home-directions-route-field + .home-directions-route-field::before {
    content: "";
    position: absolute;
    top: -11px;
    left: 26px;
    width: 1px;
    height: 12px;
    background: linear-gradient(to bottom, #ff4058, rgba(255, 64, 88, 0.26));
}

button.home-directions-route-field {
    width: 100%;
    font: inherit;
    cursor: pointer;
}

.home-directions-route-field:focus-within,
button.home-directions-route-field:focus-visible {
    border-color: rgba(255, 64, 85, 0.7);
    outline: 2px solid rgba(255, 64, 85, 0.28);
}

.home-directions-route-field > i {
    color: #ff4058;
    font-size: 1.25rem;
}

.home-directions-route-field span {
    display: grid;
    min-width: 0;
}

.home-directions-route-field small {
    color: rgba(239, 239, 244, 0.58);
    font-size: 0.68rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-directions-route-field strong,
.home-directions-route-field input,
.home-directions-route-field select {
    overflow: hidden;
    color: #fff;
    font: inherit;
    font-size: 0.87rem;
    font-weight: 700;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-directions-route-field input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
}

.home-directions-actions {
    display: grid;
    gap: 8px;
}

.home-directions-actions button,
.home-origin-results button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    font-weight: 850;
}

.home-directions-actions button:hover,
.home-directions-actions button:focus-visible,
.home-origin-results button:hover,
.home-origin-results button:focus-visible {
    border-color: rgba(255, 64, 85, 0.58);
    background: rgba(217, 4, 41, 0.18);
    color: #ff7183;
    outline: 0;
}

.home-origin-results {
    display: grid;
    gap: 7px;
}

.home-origin-results[hidden] {
    display: none;
}

.home-origin-results p {
    margin: 0;
    color: rgba(239, 239, 244, 0.68);
    font-size: 0.78rem;
    font-weight: 800;
}

.home-origin-results button {
    justify-content: flex-start;
    height: auto;
    padding-block: 9px;
    text-align: left;
}

.home-route-options,
.home-route-adjust,
.home-route-via-list {
    display: grid;
    gap: 8px;
}

.home-route-options button,
.home-route-via-item {
    display: grid;
    gap: 3px;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-align: left;
}

.home-route-options button {
    cursor: pointer;
}

.home-route-options button:hover,
.home-route-options button:focus-visible,
.home-route-options button.is-active {
    border-color: rgba(255, 64, 85, 0.58);
    background: rgba(217, 4, 41, 0.2);
    outline: 0;
}

.home-route-options button strong,
.home-route-via-item span {
    font-weight: 900;
}

.home-route-options button span {
    color: rgba(239, 239, 244, 0.72);
    font-size: 0.78rem;
}

.home-route-via-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.home-route-via-item button {
    min-height: 32px;
    padding: 0 9px;
    border: 1px solid rgba(255, 64, 85, 0.42);
    border-radius: 9px;
    background: rgba(217, 4, 41, 0.16);
    color: #fff;
    cursor: pointer;
    font-weight: 850;
}

.home-route-via-marker span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #111318;
    color: #ff4058;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
    font-weight: 900;
}

.home-directions-canvas.is-adjusting-route {
    cursor: crosshair;
}

.home-directions-status {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: none;
    min-height: 46px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(10, 12, 16, 0.9);
    color: #f7f7fa;
    box-shadow: none;
    font-size: 0.84rem;
    line-height: 1.45;
    backdrop-filter: blur(12px);
}

.home-directions-status:empty {
    display: none;
}

.home-directions-status i {
    color: #ff4058;
    font-size: 1.1rem;
}

.home-directions-status__copy {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.home-directions-status__copy strong {
    font-size: 0.84rem;
    line-height: 1.35;
}

.home-directions-status__copy small {
    color: rgba(239, 239, 244, 0.72);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
}

.home-directions-status.is-error i {
    color: #ffc164;
}

.home-directions-status.is-summary,
.home-directions-status.is-success {
    border-color: rgba(255, 64, 85, 0.34);
    font-weight: 700;
}

html[data-theme='light'] .home-directions-dialog {
    border-color: rgba(49, 25, 21, 0.16);
    background: #fff;
}

html[data-theme='light'] .home-directions-header {
    border-bottom-color: rgba(49, 25, 21, 0.12);
    background:
        radial-gradient(circle at 12% 0%, rgba(217, 4, 41, 0.1), transparent 34%),
        linear-gradient(135deg, #fff, #fff4f2);
}

html[data-theme='light'] .home-directions-heading h3,
html[data-theme='light'] .home-directions-close {
    color: #311915;
}

html[data-theme='light'] .home-directions-heading p {
    color: rgba(49, 25, 21, 0.66);
}

html[data-theme='light'] .home-directions-close {
    border-color: rgba(49, 25, 21, 0.14);
    background: rgba(49, 25, 21, 0.05);
}

html[data-theme='light'] .home-directions-route-controls {
    border-color: rgba(49, 25, 21, 0.14);
    background:
        radial-gradient(circle at 10% 0%, rgba(217, 4, 41, 0.08), transparent 34%),
        rgba(255, 255, 255, 0.96);
}

html[data-theme='light'] .home-directions-route-head {
    color: rgba(49, 25, 21, 0.62);
}

html[data-theme='light'] .home-directions-mode {
    background: rgba(217, 4, 41, 0.1);
    color: #a30b29;
}

html[data-theme='light'] .home-directions-route-field {
    border-color: rgba(49, 25, 21, 0.12);
    background: rgba(49, 25, 21, 0.05);
    color: #311915;
}

html[data-theme='light'] .home-directions-route-field small {
    color: rgba(49, 25, 21, 0.58);
}

html[data-theme='light'] .home-directions-route-field strong,
html[data-theme='light'] .home-directions-route-field input,
html[data-theme='light'] .home-directions-route-field select {
    color: #311915;
}

html[data-theme='light'] .home-directions-notice,
html[data-theme='light'] .home-directions-handoff,
html[data-theme='light'] .home-route-adjust p,
html[data-theme='light'] .home-route-options p {
    color: rgba(49, 25, 21, 0.68);
}

html[data-theme='light'] .home-directions-actions button,
html[data-theme='light'] .home-origin-results button,
html[data-theme='light'] .home-route-options button,
html[data-theme='light'] .home-route-via-item {
    border-color: rgba(49, 25, 21, 0.14);
    background: rgba(49, 25, 21, 0.05);
    color: #311915;
}

html[data-theme='light'] .home-route-options button span {
    color: rgba(49, 25, 21, 0.68);
}

html[data-theme='light'] .home-route-via-item button {
    color: #9f0826;
}

html[data-theme='light'] .home-origin-results p,
html[data-theme='light'] .home-directions-status__copy small {
    color: rgba(49, 25, 21, 0.68);
}

html[data-theme='light'] .home-directions-external {
    color: #9f0826;
}

html[data-theme='light'] .home-locator__search,
html[data-theme='light'] .home-locator__select {
    background: rgba(255, 255, 255, 0.86);
}

html[data-theme='light'] .home-locator__select select option {
    background: #fff8f7;
    color: #311915;
}

html[data-theme='light'] .home-map-tools__group,
html[data-theme='light'] .home-map-overview-control button,
html[data-theme='light'] .home-map-status {
    border-color: rgba(49, 25, 21, 0.16);
    background: rgba(255, 255, 255, 0.9);
    color: #311915;
}

html[data-theme='light'] .home-map-tools__group button {
    border-color: rgba(49, 25, 21, 0.14);
    background: rgba(49, 25, 21, 0.05);
    color: #311915;
}

html[data-theme='light'] .home-map-status {
    color: rgba(49, 25, 21, 0.7);
}

html[data-theme='light'] .home-locator__map .leaflet-control-zoom {
    border-color: rgba(49, 25, 21, 0.16);
}

html[data-theme='light'] .home-locator__map .leaflet-control-zoom a {
    background: rgba(255, 255, 255, 0.92);
    color: #311915;
}

@media (max-width: 900px) {
    .home-directions-dialog {
        width: 94vw;
        height: 88vh;
        border-radius: 22px;
    }

    .home-directions-body {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(320px, 1fr);
    }

    .home-directions-route-controls {
        max-height: 38vh;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 640px) {
    .home-directions-dialog {
        width: 96vw;
        height: 92vh;
        border-radius: 20px;
    }

    .home-directions-header {
        min-height: 68px;
        padding: 12px 12px 12px 16px;
    }

    .home-directions-heading h3 {
        font-size: 1.15rem;
    }

    .home-directions-heading p {
        font-size: 0.76rem;
    }

    .home-directions-close {
        width: 42px;
        height: 42px;
    }

    .home-directions-header {
        flex-wrap: wrap;
    }

    .home-directions-external {
        order: 3;
        width: 100%;
    }

    .home-directions-route-controls {
        max-height: 42vh;
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-directions-backdrop,
    .home-directions-dialog {
        transition-duration: 0.01ms;
    }
}
