/* ===================================
   ZanteLocals - Beaches Page CSS
   =================================== */

/* =======================================================
   v5 — Redesign overlays
   Hero intents, pill filters, sticky nav, FAQ, Planning
   ======================================================= */

/* Prevent any child from bursting the viewport width on mobile
   (fixes horizontal drag + unwanted browser pinch-zoom-out).
   `overflow: clip` is stronger than `hidden` and does not create a scroll
   context, so sticky elements elsewhere keep working. */
html { overflow-x: clip; }
body { overflow-x: clip; width: 100%; max-width: 100vw; overscroll-behavior-x: none; }
img, video { max-width: 100%; height: auto; }

/* Kill any accidental horizontal overflow from listings/section wrappers */
#listings-grid,
.bch-region-section,
.beach-map-section,
.boat-only-section,
.bch-planning,
.bch-faq,
.cta-section,
.filters-section,
.beach-legend,
.hero-video-section { max-width: 100vw; overflow-x: clip; }

/* Boat decorative wave SVGs have a 1440 viewBox — force them to fit */
.boat-wave-top, .boat-wave-bottom { width: 100%; overflow: hidden; }
.boat-wave-top svg, .boat-wave-bottom svg { width: 100%; display: block; }

/* ── HERO INTENT CHIPS ─────────────────────────────── */
.bch-hero-intents {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    justify-content: center;
    margin: 1.2rem auto 1.4rem;
    max-width: 720px;
}
.bch-hero-intent {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.55rem 1.05rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
.bch-hero-intent svg { flex-shrink: 0; }
.bch-hero-intent:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
}
.bch-hero-intent:active { transform: translateY(0); }
@media (max-width: 480px) {
    .bch-hero-intents { gap: 0.4rem; }
    .bch-hero-intent { padding: 0.5rem 0.85rem; font-size: 0.76rem; }
    .bch-hero-intent svg { width: 14px; height: 14px; }
}

/* ── STICKY REGION NAV ─────────────────────────────── */
.bch-sticky-nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 90; /* below navbar (1000) — navbar covers it when visible, sticky shows when navbar auto-hides */
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(.4,0,.2,1), opacity 0.32s, visibility 0.32s;
}
.bch-sticky-nav.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.bch-sticky-inner {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.55rem var(--spacing-md, 1rem);
}
.bch-sticky-label {
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
}
.bch-sticky-pills {
    display: flex; gap: 0.4rem;
    flex: 1; min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.bch-sticky-pills::-webkit-scrollbar { display: none; }
.bch-sticky-pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.38rem 0.85rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid transparent;
    color: #111;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem; font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.bch-sticky-pill:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}
.bch-sticky-dot {
    width: 8px; height: 8px; border-radius: 50%;
    flex-shrink: 0;
}
.bch-sticky-map-link {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.38rem 0.85rem;
    color: #FF8C42;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem; font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    flex-shrink: 0;
    transition: background 0.18s;
}
.bch-sticky-map-link:hover { background: rgba(255, 140, 66, 0.08); }
@media (max-width: 640px) {
    .bch-sticky-label { display: none; }
    .bch-sticky-inner { gap: 0.5rem; padding: 0.45rem 0.85rem; }
    .bch-sticky-pill { padding: 0.32rem 0.7rem; font-size: 0.72rem; }
    .bch-sticky-map-link { padding: 0.32rem 0.6rem; font-size: 0.72rem; }
}

/* ── PILL FILTER CHIPS (v2) ────────────────────────── */
.bch-filters-v2 {
    background: #fff;
    padding: 1.25rem 0 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: none;
}
.bch-chips-wrapper {
    display: flex; flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 0.85rem;
}
.bch-chips-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 0.85rem;
}
.bch-chips-label {
    font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
}
.bch-chips-scroll {
    display: flex; gap: 0.45rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
}
.bch-chips-scroll::-webkit-scrollbar { display: none; }
.bch-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.48rem 0.95rem;
    background: #fff;
    color: #333;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem; font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.bch-chip:hover {
    background: #f8f8f6;
    border-color: rgba(0, 0, 0, 0.2);
}
.bch-chip.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}
.bch-chip-dot {
    width: 8px; height: 8px; border-radius: 50%;
    flex-shrink: 0;
}
.bch-filter-footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}
.bch-filter-footer .results-count {
    font-size: 0.85rem; color: rgba(0, 0, 0, 0.55);
    font-weight: 500;
    text-align: left;
}
.bch-filter-footer #results-number {
    color: #FF8C42;
    font-weight: 700;
}
.bch-filter-reset-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.42rem 0.85rem;
    background: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem; font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.bch-filter-reset-btn:hover {
    background: #fff5ee;
    border-color: rgba(255, 140, 66, 0.4);
    color: #FF8C42;
}
@media (max-width: 640px) {
    .bch-chips-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    .bch-chips-label { opacity: 0.7; }
    .bch-chip { padding: 0.44rem 0.85rem; font-size: 0.78rem; }
}

/* ── MAP LEGEND PILLS → BUTTONS ─────────────────────── */
.map-legend-pills button.map-pill {
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
}
.map-legend-pills button.map-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
    opacity: 0.92;
}
.map-legend-pills button.map-pill::after {
    content: ' →';
    opacity: 0.7;
    margin-left: 0.2rem;
}

/* ── REGION CARD OVERLAY — LIGHTER ──────────────────── */
#listings-grid .listing-card {
    height: 380px !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1) !important;
}
#listings-grid .listing-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18) !important;
}
.rc-overlay {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.42) 65%,
        rgba(0, 0, 0, 0.82) 100%) !important;
}

/* ── PLANNING / SEO CONTENT BLOCK ──────────────────── */
.bch-planning {
    background: #fff;
    padding: 4rem 0 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.bch-planning-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    align-items: start;
}
.bch-planning-eyebrow {
    display: inline-block;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: #FF8C42;
    margin-bottom: 0.75rem;
}
.bch-planning-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 1.25rem;
    line-height: 1.1;
}
.bch-planning-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem; font-weight: 700;
    color: #111;
    margin: 1.6rem 0 0.6rem;
}
.bch-planning-text p {
    font-size: 0.95rem; line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
    margin: 0 0 0.9rem;
}
.bch-planning-list {
    list-style: none;
    padding: 0; margin: 0.4rem 0 1rem;
    display: grid; gap: 0.6rem;
}
.bch-planning-list li {
    position: relative;
    padding: 0.75rem 0.95rem 0.75rem 1.2rem;
    background: #faf8f4;
    border-left: 3px solid #FF8C42;
    border-radius: 0 10px 10px 0;
    font-size: 0.92rem; line-height: 1.55;
    color: rgba(0, 0, 0, 0.78);
}
.bch-planning-list li strong { color: #111; font-weight: 700; }
.bch-planning-tips {
    background: linear-gradient(155deg, #fff8ef 0%, #fff 60%);
    border: 1px solid rgba(255, 140, 66, 0.18);
    border-radius: 18px;
    padding: 1.6rem 1.5rem;
    position: sticky; top: 120px;
}
.bch-planning-tips-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem; font-weight: 700;
    color: #111;
    margin: 0 0 0.85rem;
}
.bch-planning-tips ul {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 0.6rem;
}
.bch-planning-tips li {
    font-size: 0.88rem; line-height: 1.55;
    color: rgba(0, 0, 0, 0.75);
}
@media (max-width: 900px) {
    .bch-planning-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .bch-planning-tips { position: static; }
}

/* ── FAQ ───────────────────────────────────────────── */
.bch-faq {
    background: #faf8f4;
    padding: 4rem 0 4.5rem;
}
.bch-faq-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.25rem;
}
.bch-faq-eyebrow {
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: #FF8C42;
    display: inline-block;
    margin-bottom: 0.75rem;
}
.bch-faq-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 0.6rem;
    line-height: 1.1;
}
.bch-faq-sub {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.55);
    margin: 0;
}
.bch-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid; gap: 0.6rem;
}
.bch-faq-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.22s, box-shadow 0.22s;
}
.bch-faq-item[open] {
    border-color: rgba(255, 140, 66, 0.32);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.08);
}
.bch-faq-item summary {
    list-style: none;
    padding: 1.05rem 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.98rem; font-weight: 600;
    color: #111;
    transition: color 0.18s;
}
.bch-faq-item summary::-webkit-details-marker { display: none; }
.bch-faq-item summary:hover { color: #FF8C42; }
.bch-faq-caret {
    width: 20px; height: 20px;
    color: rgba(0, 0, 0, 0.4);
    transition: transform 0.28s cubic-bezier(.4,0,.2,1), color 0.22s;
    flex-shrink: 0;
}
.bch-faq-item[open] .bch-faq-caret {
    transform: rotate(-180deg);
    color: #FF8C42;
}
.bch-faq-body {
    padding: 0 1.2rem 1.15rem;
}
.bch-faq-body p {
    font-size: 0.92rem; line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
}
.bch-faq-body strong { color: #111; }


/* ===================================
   Beaches Header Override
   =================================== */
.beaches-header {
    background: linear-gradient(135deg, #2D8B5F 0%, #1F6B47 100%);
}

.beaches-header .header-overlay {
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 200, 100, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(76, 175, 136, 0.2) 0%, transparent 50%);
}

/* ===================================
   Beach Legend
   =================================== */
.beach-legend {
    background-color: var(--white);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.legend-wrapper {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.legend-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.legend-icon.available {
    background-color: rgba(14, 165, 233, 0.12);
    color: var(--primary-teal);
}

.legend-icon.limited {
    background-color: rgba(255, 184, 77, 0.15);
    color: #d97706;
}

.legend-icon.unavailable {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* ===================================
   Region Sections
   =================================== */
.region-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--off-white);
    position: relative;
    overflow: hidden;
}

.region-section .container {
    position: relative;
    z-index: 1;
}

.region-section .container {
    max-width: 1600px;
    padding: 0 var(--spacing-lg);
}

.region-section:nth-child(even) {
    background-color: var(--white);
}

.region-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.region-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--almost-black);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: 0.375rem;
}

.region-icon {
    font-size: 1em;
}

.region-description {
    font-size: 1rem;
    color: var(--medium-gray);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ===================================
   Beach Card Modifications
   =================================== */
.beach-card .listing-content {
    gap: 0.3rem;
}

.beach-card .listing-description {
    margin-bottom: 0.25rem;
}

/* ===================================
   Beach Facilities Grid
   =================================== */
.beach-facilities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
    padding: 0.625rem;
    background-color: var(--off-white);
    border-radius: var(--radius-md);
    margin: 0.375rem 0;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-sm);
    background-color: var(--white);
}

.facility-icon {
    font-size: 0.875rem;
    flex-shrink: 0;
}

.facility-item span:nth-child(2) {
    flex: 1;
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 0.725rem;
}

.facility-status {
    font-weight: 600;
    font-size: 0.675rem;
}

.facility-item.available .facility-status {
    color: var(--primary-teal);
}

.facility-item.limited .facility-status {
    color: #d97706;
}

.facility-item.unavailable .facility-status {
    color: #dc2626;
}

.facility-item.boat-only .facility-status {
    color: #0891b2;
    font-weight: 700;
}

/* ===================================
   Boat-Only Section — Premium Redesign
   =================================== */
.boat-only-section {
    background: linear-gradient(170deg, #03111e 0%, #071c30 30%, #0a2540 60%, #0d2f4f 100%);
    color: var(--white);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.boat-only-section .container {
    position: relative;
    z-index: 2;
}

/* Ambient glow */
.boat-only-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 100%, rgba(6, 182, 212, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 10%, rgba(56, 189, 248, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(14, 165, 233, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Wave dividers */
.boat-wave-top, .boat-wave-bottom {
    position: relative;
    z-index: 1;
    line-height: 0;
}

.boat-wave-top svg, .boat-wave-bottom svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Floating particles */
.boat-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    animation: particleFloat 20s ease-in-out infinite;
}

.p1 { width: 6px;  height: 6px;  top: 15%; left: 10%; animation-delay: 0s; animation-duration: 22s; }
.p2 { width: 4px;  height: 4px;  top: 40%; left: 85%; animation-delay: -5s; animation-duration: 18s; }
.p3 { width: 8px;  height: 8px;  top: 70%; left: 25%; animation-delay: -10s; animation-duration: 25s; }
.p4 { width: 3px;  height: 3px;  top: 25%; left: 65%; animation-delay: -7s; animation-duration: 20s; }
.p5 { width: 5px;  height: 5px;  top: 80%; left: 75%; animation-delay: -3s; animation-duration: 23s; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25%      { transform: translate(30px, -40px) scale(1.2); opacity: 0.6; }
    50%      { transform: translate(-20px, -80px) scale(0.8); opacity: 0.4; }
    75%      { transform: translate(40px, -30px) scale(1.1); opacity: 0.5; }
}

/* Header */
.boat-header {
    text-align: center;
    padding: 3rem 0 2.5rem;
    position: relative;
}

.boat-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 0.75rem;
}

.boat-eyebrow svg {
    opacity: 0.7;
}

.boat-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.05;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.boat-title-accent {
    background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.boat-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

.boat-subtitle em {
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
}

/* ===================================
   Cinematic Hero — Navagio
   =================================== */
.boat-hero {
    position: relative;
    height: clamp(340px, 50vw, 520px);
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.boat-hero-img {
    position: absolute;
    inset: 0;
}

.boat-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.boat-hero:hover .boat-hero-img img {
    transform: scale(1.06);
}

.boat-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(3, 17, 30, 0.85) 0%, rgba(3, 17, 30, 0.3) 50%, rgba(3, 17, 30, 0.1) 100%),
        linear-gradient(to top, rgba(3, 17, 30, 0.7) 0%, transparent 40%);
    z-index: 1;
}

.boat-hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

.boat-hero-glass {
    max-width: 480px;
    padding: 2rem 2.25rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    position: relative;
}

.boat-hero-glass::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
}

.boat-hero-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 0.75rem;
}

.boat-hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.1;
}

.boat-hero-aka {
    font-size: 0.85rem;
    color: #38bdf8;
    font-weight: 600;
    margin: 0.2rem 0 0.75rem;
}

.boat-hero-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.boat-hero-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.boat-stat {
    display: flex;
    flex-direction: column;
}

.boat-stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
}

.boat-stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.1rem;
}

.boat-stat-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* ===================================
   Duo Cards — Blue Caves & West Coast
   =================================== */
.boat-duo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.boat-duo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s ease;
}

.boat-duo-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(56, 189, 248, 0.05);
}

.boat-duo-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.boat-duo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.boat-duo-card:hover .boat-duo-img img {
    transform: scale(1.08);
}

.boat-duo-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 17, 30, 0.65) 0%, transparent 55%);
    pointer-events: none;
}

.boat-duo-number {
    position: absolute;
    bottom: 0.75rem;
    right: 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s;
}

.boat-duo-card:hover .boat-duo-number {
    color: rgba(56, 189, 248, 0.15);
}

.boat-duo-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.boat-duo-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem;
    line-height: 1.15;
}

.boat-duo-body p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin: 0 0 1rem;
}

.boat-duo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.boat-duo-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.boat-duo-meta svg {
    opacity: 0.45;
    flex-shrink: 0;
}

/* Scroll reveal */
.boat-duo-card[data-boat-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.boat-duo-card[data-boat-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.boat-duo-card[data-boat-reveal]:nth-child(2) {
    transition-delay: 0.15s;
}

/* ===================================
   Premium CTA
   =================================== */
.boat-premium-cta {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
}

.boat-cta-glow {
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(6, 182, 212, 0.1), rgba(56, 189, 248, 0.2));
    z-index: 0;
    animation: ctaGlow 4s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
    0%   { opacity: 0.5; filter: blur(0px); }
    100% { opacity: 1; filter: blur(1px); }
}

.boat-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.25rem;
    background: linear-gradient(135deg, rgba(7, 28, 48, 0.95), rgba(10, 37, 64, 0.95));
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.boat-cta-left h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.4rem;
    line-height: 1.2;
}

.boat-cta-left p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
    max-width: 460px;
}

.boat-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
    color: #03111e;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.boat-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.boat-cta-btn:hover::before {
    transform: translateX(100%);
}

.boat-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(56, 189, 248, 0.35),
        0 0 40px rgba(56, 189, 248, 0.1);
}

.boat-cta-btn svg {
    transition: transform 0.3s;
}

.boat-cta-btn:hover svg {
    transform: translateX(4px);
}

/* ===================================
   Responsive - Mobile
   =================================== */
@media (max-width: 639px) {
    .beach-facilities {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 0.5rem;
    }

    .legend-wrapper {
        gap: var(--spacing-sm);
    }

    .region-title {
        flex-direction: column;
        gap: 0.25rem;
    }

    .region-section {
        padding: var(--spacing-xl) 0;
    }

    .boat-header {
        padding: 2rem 0 1.5rem;
    }

    .boat-hero {
        height: 360px;
        margin-bottom: 1.5rem;
    }

    .boat-hero-glass {
        max-width: 100%;
        padding: 1.25rem 1.5rem;
        margin: 0 1rem;
        border-radius: 16px;
    }

    .boat-hero-name {
        font-size: 1.5rem;
    }

    .boat-hero-desc {
        font-size: 0.82rem;
    }

    .boat-hero-stats {
        gap: 0.75rem;
    }

    .boat-stat-value {
        font-size: 1.2rem;
    }

    .boat-duo-grid {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .boat-duo-img {
        height: 180px;
    }

    .boat-duo-body {
        padding: 1.25rem;
    }

    .boat-duo-body h3 {
        font-size: 1.25rem;
    }

    .boat-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .boat-cta-left p {
        max-width: 100%;
    }

    .boat-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
    }

    .boat-premium-cta {
        margin-bottom: 1.5rem;
    }
}

/* Tablet: duo cards side by side */
@media (min-width: 640px) {
    .boat-duo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .boat-hero {
        height: clamp(360px, 45vw, 480px);
    }
}

/* Desktop: polish everything */
@media (min-width: 1024px) {
    .boat-header {
        padding: 4rem 0 3rem;
    }

    .boat-hero {
        height: 520px;
        margin-bottom: 3rem;
    }

    .boat-duo-grid {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .boat-duo-img {
        height: 260px;
    }

    .boat-duo-body {
        padding: 1.75rem 2rem 2rem;
    }

    .boat-duo-body h3 {
        font-size: 1.65rem;
    }

    .boat-duo-body p {
        font-size: 0.92rem;
    }

    .boat-premium-cta {
        margin-bottom: 2.5rem;
    }

    .boat-cta-inner {
        padding: 2.25rem 2.75rem;
    }

    .boat-cta-left h3 {
        font-size: 1.6rem;
    }
}

/* Tablet and up - keep 2 columns since facilities are inside cards */
@media (min-width: 640px) {
    .beach-facilities {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Interactive Beach Map
   =================================== */
.beach-map-section {
    padding: 4rem 0 3rem;
    background: linear-gradient(180deg, #f4faf7 0%, #ffffff 100%);
}

.map-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.map-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 0.3rem;
}

.map-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1.1;
    margin: 0 0 0.25rem;
}

.map-subtitle {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0;
}

.map-legend-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.map-pill {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.04em;
}
.map-pill.north  { background: #2D8B5F; }
.map-pill.west   { background: #FF8C42; }
.map-pill.east   { background: #0EA5E9; }
.map-pill.south  { background: #E8A838; }

.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.06);
}

/* Tap hint shown on mobile */
.map-tap-hint {
    display: none;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--medium-gray);
    margin-top: 0.75rem;
}
.map-tap-hint svg { flex-shrink: 0; }

#zakynthos-map {
    width: 100%;
    height: 520px;
    background: #e8f4f0;
}

/* Side panel that slides in on marker click */
.map-tooltip-panel {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 280px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    overflow: hidden;
    transform: translateX(calc(100% + 1.5rem));
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
    z-index: 1000;
    pointer-events: none;
}

.map-tooltip-panel.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.map-tooltip-close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.45);
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    line-height: 1;
    padding: 0;
}

.map-tooltip-img-wrap {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.map-tooltip-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.map-tooltip-panel.active .map-tooltip-img-wrap img {
    transform: scale(1.04);
}

.map-tooltip-info {
    padding: 1rem 1.1rem 1.2rem;
}

.map-tooltip-region-tag {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.map-tooltip-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 0.4rem;
    line-height: 1.2;
}

.map-tooltip-info p {
    font-size: 0.82rem;
    color: var(--medium-gray);
    line-height: 1.5;
    margin: 0 0 0.9rem;
}

.map-tooltip-btn {
    display: block;
    text-align: center;
    padding: 0.65rem 1.1rem;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.map-tooltip-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* Backdrop for mobile bottom sheet */
.map-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.map-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
    .map-backdrop {
        display: block;
    }

    .beach-map-section {
        padding: 2.5rem 0 2rem;
    }

    .map-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .map-tap-hint {
        display: flex;
    }

    .map-wrapper {
        border-radius: 12px;
    }

    #zakynthos-map {
        height: 65vw;
        min-height: 300px;
        max-height: 420px;
    }

    /* Bottom sheet on mobile */
    .map-tooltip-panel {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        max-height: 75vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .map-tooltip-panel.active {
        transform: translateY(0);
    }

    /* Drag handle visual */
    .map-tooltip-panel::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: rgba(0,0,0,0.15);
        border-radius: 2px;
        margin: 10px auto 0;
    }

    .map-tooltip-img-wrap {
        height: 180px;
    }

    .map-tooltip-close {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        top: 0.75rem;
        right: 0.75rem;
    }

    .map-tooltip-info {
        padding: 1rem 1.25rem 2rem;
    }

    .map-tooltip-info h3 {
        font-size: 1.4rem;
    }

    .map-tooltip-info p {
        font-size: 0.88rem;
    }

    .map-tooltip-btn {
        padding: 0.85rem;
        font-size: 0.95rem;
    }
}

/* ===================================
   Beach Detail Modal
   =================================== */
body.modal-open {
    overflow: hidden;
    height: 100%;
}

.beach-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    visibility: hidden;
}

.beach-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    backdrop-filter: blur(4px);
}

.beach-modal {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.beach-modal-overlay.active .beach-modal {
    transform: translateY(0) scale(1);
}

.beach-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.45);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

.beach-modal-close:hover {
    background: rgba(0,0,0,0.65);
}

.beach-modal-hero {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.beach-modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.beach-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}

.beach-modal-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.beach-modal-body {
    padding: 1.5rem 1.75rem 2rem;
}

.beach-modal-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.beach-modal-region-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.beach-modal-type-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--light-gray);
    color: var(--medium-gray);
}

.beach-modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 0.5rem;
    line-height: 1.1;
}

.beach-modal-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--medium-gray);
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.beach-modal-desc {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.beach-modal-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--medium-gray);
    margin-bottom: 0.75rem;
}

.modal-tours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.modal-tour-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border: 1px solid #d1fae5;
    background: #f0fdf4;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s;
}

.modal-tour-link:hover {
    background: #dcfce7;
    border-color: #2D8B5F;
}

.modal-tour-name {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
}

.modal-tour-label {
    font-size: 0.72rem;
    color: #2D8B5F;
    background: #fff;
    border: 1px solid #d1fae5;
    border-radius: 20px;
    padding: 0.15rem 0.55rem;
    white-space: nowrap;
}

.modal-tour-link svg {
    color: #2D8B5F;
    flex-shrink: 0;
}

.beach-modal-facilities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.beach-modal-facilities .facility-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    font-size: 0.8rem;
    background: var(--light-gray);
}

.beach-modal-facilities .facility-item.available  { background: #f0faf5; }
.beach-modal-facilities .facility-item.limited    { background: #fffbeb; }
.beach-modal-facilities .facility-item.unavailable{ background: #fef2f2; }

.beach-modal-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.beach-modal-highlights .highlight-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 600;
}

.beach-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.beach-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.beach-modal-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.beach-modal-btn.primary {
    background: var(--primary-green);
    color: white;
}

.beach-modal-btn.secondary {
    background: var(--light-gray);
    color: var(--dark-gray);
    border: 1px solid rgba(0,0,0,0.08);
}

@media (max-width: 640px) {
    .beach-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .beach-modal {
        border-radius: 24px 24px 0 0;
        max-height: 92vh;
        transform: translateY(100%);
    }

    .beach-modal-overlay.active .beach-modal {
        transform: translateY(0);
    }

    .beach-modal-hero {
        height: 200px;
        border-radius: 24px 24px 0 0;
    }

    .beach-modal-body {
        padding: 1.25rem 1.25rem 2.5rem;
    }

    .beach-modal-title {
        font-size: 1.6rem;
    }
}

/* ===================================
   Beach Carousel — Responsive
   =================================== */

/* Base (all sizes) */
.carousel-outer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.carousel-inner {
    flex: 1;
    min-width: 0;
}

.carousel-viewport {
    overflow: hidden;
    padding-bottom: 6px;
    margin-bottom: -6px;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--spacing-sm) !important; /* 1rem / 16px on mobile */
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Mobile: stack all cards vertically, no slideshow */
@media (max-width: 639px) {
    .carousel-outer {
        flex-direction: column;
        gap: 0;
    }

    .carousel-btn {
        display: none !important;
    }

    .carousel-dots {
        display: none !important;
    }

    .carousel-inner {
        width: 100%;
    }

    .carousel-viewport {
        overflow: visible;
    }

    .carousel-track {
        flex-direction: column !important;
        transform: none !important;
        transition: none !important;
        gap: var(--spacing-md) !important;
    }

    .carousel-track .listing-card {
        flex: 0 0 auto !important;
        width: 100% !important;
        animation: none !important;
    }
}

/* Mobile fallback — 1 card at a time (unused now but kept for reference) */
.carousel-track .listing-card {
    flex: 0 0 100%;
    min-width: 0;
    animation: none !important;
}

.carousel-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--almost-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, opacity 0.25s;
    padding: 0;
}

.carousel-btn:active {
    background: var(--primary-teal);
    color: #fff;
    border-color: var(--primary-teal);
}

.carousel-btn:disabled {
    opacity: 0.2;
    pointer-events: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 1.25rem;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 99px;
    background: #d1d5db;
    cursor: pointer;
    transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.35s ease;
}

.carousel-dot.active {
    width: 22px;
    background: var(--primary-teal);
}

/* Tablet: 2 cards at a time */
@media (min-width: 640px) {
    .carousel-outer { gap: 14px; }
    .carousel-track { gap: var(--spacing-md) !important; } /* 1.5rem / 24px */
    .carousel-track .listing-card { flex: 0 0 calc(50% - 12px); }
    .carousel-btn { width: 40px; height: 40px; }
}

/* Desktop: 4 cards at a time */
@media (min-width: 1024px) {
    .carousel-outer { gap: 16px; }
    .carousel-track { gap: var(--spacing-lg) !important; } /* 2rem / 32px */
    .carousel-track .listing-card { flex: 0 0 calc(25% - 24px); }
    .carousel-btn {
        width: 44px;
        height: 44px;
    }
    .carousel-btn:hover {
        background: var(--primary-teal);
        color: #fff;
        border-color: var(--primary-teal);
        box-shadow: 0 4px 16px rgba(45, 139, 95, 0.3);
    }
    .carousel-dots { margin-top: 1.5rem; gap: 8px; }
    .carousel-dot { width: 8px; height: 8px; }
    .carousel-dot.active { width: 28px; }
}

/* ===================================
   Performance: Scroll containment
   =================================== */
.listing-card {
    contain: layout style;
}

.carousel-track {
    contain: layout style;
}

/* ===================================
   Desktop: Clean listing card redesign
   =================================== */
@media (min-width: 1024px) {

    /* 3 columns instead of 4 — more breathing room */
    .region-section .listings-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }

    /* Taller image */
    .region-section .listing-card .listing-image {
        height: 230px;
    }

    /* More generous content padding */
    .region-section .listing-card .listing-content {
        padding: 1.25rem 1.375rem 1.375rem;
        gap: 0.5rem;
    }

    .region-section .listing-card .listing-title {
        font-size: 1.15rem;
    }

    /* Compact facility strip — replaces busy 2×2 grid */
    .region-section .beach-facilities {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        padding: 0;
        background: none;
        border: none;
        margin: 0.25rem 0;
    }

    .region-section .facility-item {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        padding: 0.25rem 0.55rem;
        border-radius: var(--radius-full);
        background: var(--off-white);
        border: 1px solid rgba(0,0,0,0.07);
        font-size: 0.72rem;
        font-weight: 600;
        color: var(--dark-gray);
        white-space: nowrap;
    }

    /* Color-coded pills */
    .region-section .facility-item.available {
        background: #f0faf5;
        border-color: rgba(45,139,95,0.18);
        color: var(--primary-dark);
    }

    .region-section .facility-item.limited {
        background: #fffbeb;
        border-color: rgba(217,119,6,0.2);
        color: #92400e;
    }

    .region-section .facility-item.unavailable {
        background: #fef2f2;
        border-color: rgba(220,38,38,0.15);
        color: #b91c1c;
    }

    .region-section .facility-item.boat-only {
        background: #f0f9ff;
        border-color: rgba(8,145,178,0.2);
        color: #0369a1;
    }

    /* Hide verbose status text — icon + name is enough in pill form */
    .region-section .facility-item .facility-status {
        display: none;
    }

    .region-section .facility-item .facility-icon {
        font-size: 0.8rem;
    }

    /* Slightly more space for description */
    .region-section .listing-card .listing-description {
        -webkit-line-clamp: 2;
        font-size: 0.875rem;
        line-height: 1.6;
    }
}
