/* ==========================================================================
   PlungePass — Design System
   Cold plunge directory for Australia.
   ========================================================================== */

/* ---------- Font ---------- */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/geist-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/geist-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/geist-latin.woff2) format('woff2');
}

/* ---------- Variables ---------- */
:root {
  --green: #2EEB91;
  --green-light: rgba(46, 235, 145, 0.1);
  --green-medium: rgba(46, 235, 145, 0.2);
  --dark: #2F2F2F;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --black: #000000;
  --border: #E5E5E5;
  --text-secondary: #666666;
  --text-tertiary: #999999;
  --font: 'Geist', 'Assistant', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1500px;
  --header-height: 64px;
  --sidebar-width: 260px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  --type-studio: #2EEB91;
  --type-spa: #4ECDC4;
  --type-gym: #FFB347;
  --type-outdoor: #87CEEB;
  --type-bathhouse: #9B59B6;
  --type-recovery: #E74C3C;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Layout ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger { transition-delay: calc(var(--i, 0) * 60ms); }

/* ---------- Typography ---------- */
.section-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 12px; }
.section-subtitle { font-size: 1rem; color: var(--text-secondary); text-align: center; margin-bottom: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-green { background: var(--green); color: var(--black); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }

/* ========================================================================== */
/* HEADER                                                                      */
/* ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--black);
  height: var(--header-height);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo-text {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
}
.logo-accent { color: var(--green); }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a, .main-nav .nav-item {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color 0.2s;
  cursor: pointer;
}
.main-nav a:hover, .main-nav .nav-item:hover { color: var(--green); }

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown .nav-item::after {
  content: ' ▾';
  font-size: 0.75rem;
  opacity: 0.7;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 16px 0;
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-col {
  padding: 0 20px;
}
.nav-dropdown-col:first-child {
  border-right: 1px solid rgba(255,255,255,0.08);
}
.nav-dropdown-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  padding: 8px 12px;
  margin-bottom: 4px;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.nav-dropdown-menu .type-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.header-right { display: flex; align-items: center; gap: 12px; }
.header-cta {
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--green);
  color: var(--black);
  border-radius: var(--radius-pill);
  transition: opacity 0.2s;
}
.header-cta:hover { opacity: 0.85; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a, .mobile-nav button {
  color: var(--white);
  font-size: 1.1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: left;
  width: 100%;
}
.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--black) !important;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 14px 24px !important;
  margin-top: 20px;
  border-bottom: none !important;
  text-align: center !important;
  font-size: 0.95rem !important;
}

/* ========================================================================== */
/* HERO SPLIT                                                                  */
/* ========================================================================== */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: var(--header-height);
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  max-height: 800px;
  background: var(--black);
  overflow: hidden;
}

/* Left: Search + Map */
.hero-left {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 12px;
}
.hero-left-top {
  flex-shrink: 0;
}
.hero-left-top h1 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}
.hero-search-compact {
  position: relative;
  margin-bottom: 8px;
}
.hero-search-compact input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  font-size: 0.9rem;
  font-family: var(--font);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.hero-search-compact input::placeholder { color: rgba(255,255,255,0.5); }
.hero-search-compact input:focus { border-color: var(--green); }
.hero-search-compact .search-bar-icon {
  left: 12px;
  width: 16px;
  height: 16px;
}

/* Quick city pills */
.hero-quick-cities {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hero-city-pill {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.hero-city-pill:hover { border-color: var(--green); color: var(--green); }

/* Map */
.hero-map {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 200px;
}

/* Leaflet marker cluster customisation */
.marker-cluster-small { background: rgba(46, 235, 145, 0.3); }
.marker-cluster-small div { background: var(--green); color: var(--black); font-weight: 700; font-size: 12px; }
.marker-cluster-medium { background: rgba(46, 235, 145, 0.3); }
.marker-cluster-medium div { background: var(--green); color: var(--black); font-weight: 700; font-size: 13px; }
.marker-cluster-large { background: rgba(46, 235, 145, 0.3); }
.marker-cluster-large div { background: var(--green); color: var(--black); font-weight: 700; font-size: 14px; }

/* Right: Image Mosaic */
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  height: 100%;
}
.hero-mosaic-item {
  overflow: hidden;
  position: relative;
}
.hero-mosaic-item:first-child {
  grid-row: span 2;
}
.hero-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.hero-mosaic-item:hover img { transform: scale(1.05); }
.hero-mosaic-item .mosaic-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
}
.hero-right-overlay {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
}
.hero-stat {
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: var(--white);
}
.hero-stat strong { color: var(--green); font-size: 1.3rem; }
.hero-stat span { font-size: 0.8rem; opacity: 0.8; }

/* Search bar icon (shared) */
.search-bar-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.5);
}
.search-bar-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ========================================================================== */
/* DEALS TICKER                                                                */
/* ========================================================================== */
.deals-ticker {
  background: linear-gradient(90deg, var(--black) 0%, #0a1a10 50%, var(--black) 100%);
  border-bottom: 1px solid rgba(46, 235, 145, 0.2);
  border-top: 1px solid rgba(46, 235, 145, 0.08);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
}
.deals-ticker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.deals-ticker-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.deals-ticker-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  flex-shrink: 0;
  background: rgba(46, 235, 145, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(46, 235, 145, 0.15);
}
.live-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
  50% { opacity: 0.5; box-shadow: 0 0 2px var(--green); }
}
.deals-ticker-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========================================================================== */
/* HOME LOCATIONS                                                              */
/* ========================================================================== */
.home-locations {
  padding: 56px 0 32px;
  background: var(--light-gray);
}
.home-locations-header {
  margin-bottom: 36px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.home-locations-header .section-title {
  text-align: left;
  margin-bottom: 0;
}
.home-locations-header .section-subtitle {
  text-align: right;
  margin-bottom: 0;
  font-size: 0.9rem;
}
.home-locations-cta {
  text-align: center;
  padding: 40px 0 16px;
}
#home-load-more {
  min-width: 240px;
  position: relative;
  overflow: hidden;
}
#home-load-more::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}
#home-load-more:hover::after {
  left: 100%;
}

/* ========================================================================== */
/* EMAIL SIGNUP                                                                */
/* ========================================================================== */
.email-signup {
  padding: 72px 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1f15 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}
.email-signup::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(46, 235, 145, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.email-signup-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.email-signup-text h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.email-signup-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  max-width: 440px;
}
.email-signup-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}
.email-signup-form input {
  padding: 14px 20px;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  width: 280px;
  outline: none;
  transition: border-color 0.2s;
}
.email-signup-form input::placeholder { color: rgba(255,255,255,0.35); }
.email-signup-form input:focus { border-color: var(--green); }
.email-signup-form button {
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  padding: 14px 28px;
  white-space: nowrap;
}

/* ========================================================================== */
/* PLUNGE CITY PROMO BANNER                                                    */
/* ========================================================================== */
.plunge-promo-banner {
  padding: 48px 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}
.promo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.promo-banner-text h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.promo-banner-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

/* ========================================================================== */
/* PLUNGE CITY STICKY BAR                                                      */
/* ========================================================================== */
.plunge-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--black);
  border-top: 1px solid rgba(46, 235, 145, 0.3);
  padding: 10px 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.plunge-sticky-bar.visible { transform: translateY(0); }
.plunge-sticky-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.plunge-sticky-inner span {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
}
.btn-sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}
.plunge-sticky-close {
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  padding: 4px 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.plunge-sticky-close:hover { color: var(--white); }

/* ========================================================================== */
/* SIDEBAR PROMO (Browse page)                                                 */
/* ========================================================================== */
.sidebar-promo {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 24px;
  text-align: center;
}
.sidebar-promo-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
  background: rgba(46, 235, 145, 0.15);
  color: var(--green);
  margin-bottom: 10px;
}
.sidebar-promo h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.sidebar-promo p {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* ========================================================================== */
/* FEATURED SECTION                                                            */
/* ========================================================================== */
.featured-section {
  padding: 96px 0;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.featured-cta {
  text-align: center;
  margin-top: 48px;
}

/* ========================================================================== */
/* LOCATION CARDS                                                              */
/* ========================================================================== */
.location-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s;
}
.location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(46,235,145,0.15);
  border-color: rgba(46,235,145,0.3);
}
.location-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--light-gray);
}
.location-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.location-card:hover .location-card-image img { transform: scale(1.08); }
.location-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.location-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.location-card-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.location-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.stars { color: var(--green); font-size: 0.8rem; letter-spacing: 1px; }
.review-count { font-size: 0.75rem; color: var(--text-secondary); }
.location-card-location {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.location-card-price {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--green);
}
.location-card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.amenity-tag {
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 500;
  background: var(--light-gray);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
}

/* ========================================================================== */
/* HOW IT WORKS                                                                */
/* ========================================================================== */
.how-it-works {
  padding: 96px 0;
  background: var(--light-gray);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--black); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

/* ========================================================================== */
/* BENEFITS                                                                    */
/* ========================================================================== */
.benefits-section { padding: 96px 0; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
}
.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.benefit-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.benefit-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ========================================================================== */
/* CROSS PROMO                                                                 */
/* ========================================================================== */
.cross-promo {
  padding: 64px 0;
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cross-promo::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.4;
}
.cross-promo p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 20px; }
.cross-promo strong { color: var(--white); }

/* ========================================================================== */
/* BROWSE PAGE                                                                 */
/* ========================================================================== */
.browse-page { margin-top: var(--header-height); }

.browse-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.browse-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.browse-search {
  position: relative;
  flex: 1;
  max-width: 400px;
}
.browse-search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  font-size: 0.95rem;
  font-family: var(--font);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}
.browse-search input:focus { border-color: var(--green); }
.browse-search .search-bar-icon {
  left: 16px;
  color: var(--text-tertiary);
}
.browse-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.results-count { font-size: 0.9rem; color: var(--text-secondary); white-space: nowrap; }
.sort-select {
  padding: 8px 12px;
  font-size: 0.85rem;
  font-family: var(--font);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
}

.browse-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  gap: 30px;
  padding: 30px 0 96px;
}

/* Filter Sidebar */
.browse-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
  max-height: calc(100vh - var(--header-height) - 48px);
  overflow-y: auto;
}
.filter-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.filter-group:last-child { border-bottom: none; }
.filter-group h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  color: var(--dark);
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--dark);
}
.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  cursor: pointer;
}
.filter-option .type-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.clear-filters {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
  padding: 8px 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
.clear-filters:hover { opacity: 0.7; }

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
}
.no-results h3 { font-size: 1.3rem; margin-bottom: 8px; }
.no-results p { color: var(--text-secondary); font-size: 0.95rem; }

/* Filter Toggle (mobile) */
.filter-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 14px 28px;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  gap: 8px;
  align-items: center;
}
.filter-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}
.filter-overlay.open { display: block; }

/* ========================================================================== */
/* LOCATION DETAIL PAGE                                                        */
/* ========================================================================== */
.location-detail { margin-top: var(--header-height); }

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { margin: 0 8px; }

/* Location Hero */
.location-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}
.location-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.location-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.location-hero-content {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  color: var(--white);
}
.location-hero-content h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 8px; }
.location-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.location-type-badge {
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  color: var(--black);
  text-transform: uppercase;
}

/* Location Content Grid */
.location-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding-bottom: 96px;
}
.location-main h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 40px;
}
.location-main h2:first-child { margin-top: 0; }
.location-main p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }

/* Temp & Session Info */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.info-card {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.info-card-label { font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.info-card-value { font-size: 1.2rem; font-weight: 700; }

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}
.amenity-item svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 2; flex-shrink: 0; }

/* Reviews */
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.reviews-big-number { font-size: 3rem; font-weight: 700; line-height: 1; }
.reviews-meta { font-size: 0.9rem; color: var(--text-secondary); }
.review-card {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.review-author { font-weight: 700; font-size: 0.95rem; }
.review-date { font-size: 0.8rem; color: var(--text-tertiary); }
.review-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* Sidebar Card */
.location-sidebar-card {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.sidebar-price {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.sidebar-price-note { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 20px; }
.sidebar-info { margin-bottom: 20px; }
.sidebar-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
}
.sidebar-row:last-child { border-bottom: none; }
.sidebar-row svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--text-secondary); stroke-width: 2; margin-top: 2px; }
.sidebar-row span { color: var(--text-secondary); }
.sidebar-row a { color: var(--green); font-weight: 500; }
.sidebar-row a:hover { text-decoration: underline; }
.book-now-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-bottom: 12px;
}
.map-placeholder {
  width: 100%;
  height: 160px;
  background: var(--light-gray);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: background 0.2s;
}
.map-placeholder:hover { background: var(--border); }

/* Related Locations */
.related-section {
  padding: 96px 0;
  background: var(--light-gray);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ========================================================================== */
/* ABOUT PAGE                                                                  */
/* ========================================================================== */
.about-hero {
  position: relative;
  height: 350px;
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(46,235,145,0.12) 0%, transparent 70%);
}
.about-hero h1 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
}
.about-content {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}
.about-content h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; margin-top: 48px; }
.about-content h2:first-child { margin-top: 0; }
.about-content p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; font-size: 1.05rem; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact-card .benefit-icon { margin-bottom: 16px; }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; margin-bottom: 20px; }
.contact-card .btn { font-size: 0.85rem; }

/* Legal pages (privacy, terms) */
.legal-content {
  padding: 60px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}
.legal-updated {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 1rem;
}
.legal-content ul {
  color: var(--text-secondary);
  margin: 8px 0 16px 24px;
  line-height: 1.7;
}
.legal-content li { margin-bottom: 4px; }
.legal-content a { color: var(--green); text-decoration: underline; }

.list-your-location {
  padding: 80px 0;
  background: var(--light-gray);
  text-align: center;
}
.list-your-location p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ========================================================================== */
/* FOOTER                                                                      */
/* ========================================================================== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 0.8fr;
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-brand { gap: 16px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-logo .logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--white);
}
.footer-logo .logo-accent { color: var(--green); }
.footer-title { color: var(--white); font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-col p { font-size: 0.85rem; line-height: 1.5; }
.social-links { display: flex; gap: 12px; margin-top: 8px; }
.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.social-links a:hover { background: var(--green); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
}

/* ========================================================================== */
/* RESPONSIVE                                                                  */
/* ========================================================================== */
@media (max-width: 990px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero-split { grid-template-columns: 1fr; height: auto; max-height: none; }
  .hero-left { padding: 16px; }
  .hero-left-top h1 { font-size: 1.3rem; }
  .hero-map { min-height: 280px; }
  .hero-right { height: 300px; }
  .promo-banner-inner { flex-direction: column; text-align: center; }
  .email-signup-inner { flex-direction: column; text-align: center; }
  .email-signup-form { width: 100%; max-width: 400px; }
  .email-signup-form input { width: 100%; min-width: 0; }
  .plunge-sticky-inner span { font-size: 0.75rem; }
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .home-locations-header { flex-direction: column; gap: 4px; }
  .home-locations-header .section-title, .home-locations-header .section-subtitle { text-align: center; }
  .logo-icon { width: 24px; height: 24px; }

  /* Browse sidebar becomes drawer */
  .browse-layout { grid-template-columns: 1fr; }
  .browse-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    background: var(--white);
    z-index: 999;
    padding: 24px;
    padding-top: calc(var(--header-height) + 24px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    max-height: none;
  }
  .browse-sidebar.open { transform: translateX(0); }
  .filter-toggle { display: flex; }

  /* Location detail */
  .location-content { grid-template-columns: 1fr; }
  .location-sidebar-card { position: static; }
  .info-cards { grid-template-columns: repeat(3, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }

  .header-cta { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 750px) {
  :root { --header-height: 56px; }
  .hero-left-top h1 { font-size: 1.2rem; }
  .hero-map { min-height: 240px; }
  .hero-right { height: 250px; }
  .plunge-sticky-inner { flex-wrap: wrap; gap: 8px; }
  .plunge-sticky-inner span { width: 100%; text-align: center; font-size: 0.75rem; }
  .section-title { font-size: 1.4rem; }
  .featured-section { padding: 48px 0; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .how-it-works { padding: 48px 0; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .benefits-section { padding: 48px 0; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .cross-promo { padding: 40px 0; }
  .results-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .related-section { padding: 48px 0; }

  .location-hero { height: 250px; border-radius: var(--radius-md); }
  .location-hero-content { bottom: 20px; left: 20px; right: 20px; }
  .location-hero-content h1 { font-size: 1.6rem; }
  .info-cards { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }

  .about-hero { height: 250px; }
  .about-hero h1 { font-size: 1.8rem; }
  .about-content { padding: 48px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-content { padding: 40px 20px 60px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .btn { padding: 12px 24px; font-size: 0.85rem; }
}

@media (max-width: 500px) {
  .featured-grid { grid-template-columns: 1fr; }
}
