.availability {
    padding: 96px 5% 104px;
    background: #f5f8f7;
}

.availability-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin: 0 auto 32px;
    max-width: 1180px;
}

.availability-tag {
    display: block;
    margin-bottom: 12px;
    color: #1f7638;
    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.availability-title {
    margin: 0;
    color: var(--dark);
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.08;
    text-transform: uppercase;
}

.availability-intro {
    max-width: 360px;
    margin: 0 0 4px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

.availability-filters {
    display: flex;
    gap: 10px;
    max-width: 1180px;
    margin: 0 auto 18px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.availability-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--gray);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.availability-filter:hover,
.availability-filter.active {
    border-color: var(--dark-green);
    background: var(--dark-green);
    color: var(--white);
    transform: translateY(-1px);
}

.availability-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(270px, .7fr);
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.map-panel {
    min-width: 0;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow);
}

.map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
}

.map-toolbar i { margin-right: 6px; color: var(--green); }
.map-status { color: var(--gray); font-size: 11px; font-weight: 500; }
.map-status i { margin-right: 5px; color: var(--green); font-size: 7px; }

.map-surface {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    isolation: isolate;
    background-color: #eaf3ed;
    background-image: linear-gradient(rgba(255, 255, 255, .54) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .54) 1px, transparent 1px);
    background-size: 42px 42px;
}

.map-surface::before,
.map-surface::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(12, 155, 201, .18);
    border-radius: 50%;
    pointer-events: none;
}

.map-surface::before { width: 460px; height: 460px; left: 5%; top: 2%; }
.map-surface::after { width: 300px; height: 300px; right: 5%; bottom: -16%; }

.df-outline {
    position: absolute;
    z-index: -1;
    top: 9%;
    left: 23%;
    width: 57%;
    height: 78%;
    border: 2px solid rgba(22, 134, 61, .38);
    background: rgba(207, 232, 210, .62);
    clip-path: polygon(42% 0, 71% 9%, 92% 29%, 82% 50%, 100% 72%, 76% 88%, 50% 100%, 27% 87%, 5% 72%, 14% 46%, 0 28%, 22% 10%);
}

.map-road {
    position: absolute;
    z-index: 0;
    height: 2px;
    background: rgba(12, 155, 201, .32);
    transform-origin: left center;
    pointer-events: none;
}

.road-one { top: 43%; left: 10%; width: 80%; transform: rotate(-11deg); }
.road-two { top: 21%; left: 35%; width: 63%; transform: rotate(57deg); }
.road-three { top: 76%; left: 19%; width: 70%; transform: rotate(-38deg); }

.map-region {
    position: absolute;
    z-index: 1;
    color: rgba(19, 43, 59, .42);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.region-north { top: 17%; left: 47%; }
.region-central { top: 42%; left: 44%; color: rgba(19, 43, 59, .58); }
.region-west { top: 48%; left: 28%; }
.region-south { bottom: 17%; left: 48%; }

.map-point {
    position: absolute;
    z-index: 2;
    top: var(--y);
    left: var(--x);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--dark);
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    transform: translate(-50%, -50%);
    transition: color .2s, opacity .2s;
}

.map-point i {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 4px 12px rgba(19, 43, 59, .22);
    color: var(--white);
    font-size: 12px;
    transition: background .2s, transform .2s;
}

.map-point:hover i,
.map-point.selected i { background: var(--blue); transform: scale(1.12); }
.map-point span { padding: 4px 7px; background: rgba(255, 255, 255, .82); }
.map-point.is-hidden { display: none; }
.map-point:focus-visible, .availability-filter:focus-visible, .access-button:focus-visible { outline: 3px solid rgba(12, 155, 201, .45); outline-offset: 3px; }

.map-disclaimer {
    margin: 0;
    padding: 12px 20px 16px;
    color: var(--gray);
    font-size: 11px;
}

.map-disclaimer i { margin-right: 5px; color: var(--blue); }

.access-card {
    align-self: start;
    min-height: 270px;
    padding: 28px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow);
}

.access-eyebrow,
.access-label {
    color: var(--dark-green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.access-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.access-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--light-blue);
    color: var(--blue);
}

.access-heading h3 { margin: 0; color: var(--dark); font-size: 22px; }
.access-heading p { margin: 4px 0 0; color: var(--gray); font-size: 12px; }
.access-divider { height: 1px; margin: 24px 0; background: var(--border); }
.access-vehicles { min-height: 45px; margin: 9px 0 24px; color: var(--text); font-size: 14px; line-height: 1.65; }

.access-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    border: 0;
    background: var(--dark);
    color: var(--white);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.access-button:hover { background: var(--dark-green); transform: translateY(-1px); }

@media (max-width: 900px) {
    .availability-layout { grid-template-columns: 1fr; }
    .access-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
    .access-eyebrow, .access-divider, .access-label, .access-vehicles, .access-button { grid-column: 1 / -1; }
    .access-heading { margin-top: 12px; }
}

@media (max-width: 600px) {
    .availability { padding: 72px 5% 80px; }
    .availability-header { display: block; }
    .availability-intro { margin-top: 18px; }
    .map-toolbar { align-items: flex-start; flex-direction: column; gap: 6px; }
    .map-surface { min-height: 390px; }
    .df-outline { left: 14%; width: 72%; }
    .map-point { font-size: 9px; }
    .map-point span { display: none; }
    .map-point i { width: 28px; height: 28px; }
    .region-north { left: 44%; }
    .region-central { left: 37%; }
    .region-west { left: 20%; }
    .region-south { left: 42%; }
    .access-card { display: block; padding: 22px; }
    .access-heading { margin-top: 16px; }
}
