/* ============================================================
   GolfSpots Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@300;400;450;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand-forest: #143D2C;
  --brand-emerald: #1F5B3F;
  --brand-fairway: #2D7A52;
  --brand-lime: #B8E986;
  --brand-glow: #D9F2A8;
  --brand-gold: #C9A961;
  --brand-clay: #B65D3C;

  /* Dark theme (default) */
  --bg: #0A0F0D;
  --bg-elevated: #111714;
  --bg-raised: #161D19;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #F2F2EC;
  --text-secondary: #A8AEA4;
  --text-muted: #6E746B;
  --accent: var(--brand-lime);
  --accent-hover: var(--brand-glow);
  --primary-btn-bg: var(--brand-lime);
  --primary-btn-text: #0A1F12;
  --surface-tint: linear-gradient(180deg, rgba(184, 233, 134, 0.04), transparent 60%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 12px 32px -8px rgba(0,0,0,.5);
  --shadow-lg: 0 24px 64px -12px rgba(0,0,0,.6);
  --shadow-glow: 0 0 60px -10px rgba(184, 233, 134, 0.25);

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 999px;

  /* Layout */
  --container: 1280px;
  --container-narrow: 1080px;
  --nav-h: 76px;
}

[data-theme="light"] {
  --bg: #FBFAF6;
  --bg-elevated: #FFFFFF;
  --bg-raised: #F4F1EA;
  --bg-glass: rgba(255, 255, 255, 0.6);
  --bg-glass-strong: rgba(255, 255, 255, 0.85);
  --border: rgba(10, 31, 18, 0.08);
  --border-strong: rgba(10, 31, 18, 0.16);
  --text: #0A1F12;
  --text-secondary: #4F584F;
  --text-muted: #8A8F88;
  --accent: var(--brand-emerald);
  --accent-hover: var(--brand-fairway);
  --primary-btn-bg: var(--brand-forest);
  --primary-btn-text: #F5F1E8;
  --surface-tint: linear-gradient(180deg, rgba(31, 91, 63, 0.03), transparent 60%);
  --shadow-md: 0 12px 32px -12px rgba(20, 61, 44, 0.18);
  --shadow-lg: 0 24px 64px -16px rgba(20, 61, 44, 0.22);
  --shadow-glow: 0 0 50px -10px rgba(31, 91, 63, 0.15);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .3s ease, color .3s ease;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
hr { border: none; border-top: 1px solid var(--border); margin: 0; }

::selection { background: var(--brand-lime); color: #0A1F12; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
}
.h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 56ch;
}
.muted { color: var(--text-secondary); }
.mono { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding: 0 24px;
}
section { padding: clamp(56px, 8vw, 112px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }
.grid { display: grid; gap: 24px; }
.row { display: flex; gap: 16px; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  width: 100%;
}
.nav .brand { justify-self: start; }
.nav .nav-links { justify-self: center; }
.nav .nav-actions { justify-self: end; }
@media (max-width: 880px) {
  .nav .container { grid-template-columns: auto 1fr; }
  .nav .brand { grid-column: 1; }
  .nav .nav-actions { grid-column: 2; justify-self: end; }
}
.brand {
  display: inline-flex; align-items: center;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1;
}
.brand-text {
  display: inline-block;
  line-height: 1;
}
.brand-name {
  display: block;
  line-height: 1;
}
.brand-tagline {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 5px;
}
.brand-mark {
  width: 30px; height: 38px;
  flex-shrink: 0;
  display: inline-block;
  margin-right: 10px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 40' fill='none'%3E%3Cpath d='M16 2C9 2 4 7.5 4 14.5C4 22 16 38 16 38C16 38 28 22 28 14.5C28 7.5 23 2 16 2Z' fill='%234A8A56'/%3E%3Ccircle cx='16' cy='14' r='9' fill='%23FAFAF6'/%3E%3Cg fill='%233A6B3F' opacity='0.55'%3E%3Ccircle cx='12.5' cy='10.5' r='0.9'/%3E%3Ccircle cx='16' cy='9' r='0.9'/%3E%3Ccircle cx='19.5' cy='10.5' r='0.9'/%3E%3Ccircle cx='11' cy='13.5' r='0.9'/%3E%3Ccircle cx='14.5' cy='12.5' r='0.9'/%3E%3Ccircle cx='17.5' cy='12.5' r='0.9'/%3E%3Ccircle cx='21' cy='13.5' r='0.9'/%3E%3Ccircle cx='13' cy='16' r='0.9'/%3E%3Ccircle cx='16' cy='15' r='0.9'/%3E%3Ccircle cx='19' cy='16' r='0.9'/%3E%3Ccircle cx='14.5' cy='18' r='0.9'/%3E%3Ccircle cx='17.5' cy='18' r='0.9'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
}
/* Hide the legacy inline SVG that's still inside .brand-mark across pages */
.brand-mark > svg, .brand-mark > * { display: none; }
.brand-tld {
  color: var(--brand-fairway);
  font-weight: 500;
}
[data-theme="dark"] .brand-tld { color: var(--brand-lime); }
.nav-links {
  display: flex; gap: 28px;
  font-size: 14.5px;
}
.nav-links a {
  color: var(--text-secondary);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  transition: all .2s;
  color: var(--text);
}
.icon-btn:hover { background: var(--bg-glass-strong); border-color: var(--border-strong); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-actions .hide-mobile { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--r-full);
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary-btn-bg);
  color: var(--primary-btn-text);
  box-shadow: 0 6px 24px -6px color-mix(in srgb, var(--primary-btn-bg) 60%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--primary-btn-bg) 70%, transparent); }
.btn-ghost {
  background: var(--bg-glass);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-glass-strong); border-color: var(--border-strong); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { background: var(--bg-glass); }
.btn-text { padding: 8px 4px; }
.btn-text:hover { color: var(--accent); }
.btn-lg { padding: 16px 26px; font-size: 15.5px; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-circle { width: 44px; height: 44px; padding: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all .25s ease;
}
.card-soft {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.card-glass {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card-hover:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.card-pad { padding: 24px; }
.card-pad-lg { padding: 32px; }

/* Venue card */
.venue-card {
  display: flex; flex-direction: column; gap: 12px;
  cursor: pointer;
}
.venue-thumb {
  position: relative; aspect-ratio: 4/3;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-raised);
}
.venue-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.venue-card:hover .venue-thumb img { transform: scale(1.05); }
.venue-thumb .fav {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
}
.venue-thumb .badge-overlay {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px;
}
.venue-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.venue-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; }
.venue-meta { color: var(--text-secondary); font-size: 13.5px; }
.venue-price { font-size: 14px; color: var(--text); }
.venue-price b { font-weight: 600; }
.venue-rating { display: flex; align-items: center; gap: 4px; font-size: 13.5px; }

/* ---------- Badges / Pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 500; letter-spacing: 0.01em;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border);
  color: var(--text);
}
.badge-accent {
  background: color-mix(in srgb, var(--brand-lime) 18%, transparent);
  border-color: color-mix(in srgb, var(--brand-lime) 30%, transparent);
  color: var(--brand-lime);
}
[data-theme="light"] .badge-accent {
  background: color-mix(in srgb, var(--brand-fairway) 12%, transparent);
  border-color: color-mix(in srgb, var(--brand-fairway) 25%, transparent);
  color: var(--brand-emerald);
}
.badge-gold {
  background: color-mix(in srgb, var(--brand-gold) 15%, transparent);
  border-color: color-mix(in srgb, var(--brand-gold) 30%, transparent);
  color: var(--brand-gold);
}
.badge-solid {
  background: #0A1F12; color: var(--brand-glow);
  border: none;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r-full);
  background: var(--bg-glass); border: 1px solid var(--border);
  font-size: 13px;
}

/* ---------- Inputs ---------- */
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14.5px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent);
  background: var(--bg-glass-strong);
}
.input::placeholder { color: var(--text-muted); }
.label {
  display: block;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.field { display: flex; flex-direction: column; gap: 6px; }

/* Search composite */
.search-bar {
  display: flex; align-items: center; gap: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 8px 8px 8px 8px;
  box-shadow: var(--shadow-lg);
}
.search-bar .seg {
  flex: 1; padding: 10px 18px;
  display: flex; flex-direction: column;
  text-align: left;
  border-radius: var(--r-full);
  transition: background .2s;
  cursor: pointer;
}
.search-bar .seg:hover { background: var(--bg-glass); }
.search-bar .seg .label { margin: 0 0 2px; font-size: 10.5px; }
.search-bar .seg .val { font-size: 14px; color: var(--text); }
.search-bar .divider { width: 1px; height: 28px; background: var(--border); }
.search-bar .btn-primary { padding: 14px 22px; }

/* ---------- Helpers ---------- */
.text-accent { color: var(--accent); }
.gradient-text {
  background: linear-gradient(120deg, var(--text) 0%, var(--brand-lime) 60%, var(--brand-glow) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .gradient-text {
  background: linear-gradient(120deg, var(--brand-forest) 0%, var(--brand-fairway) 60%, var(--brand-clay) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.divider-v { width: 1px; height: 24px; background: var(--border); }
.dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; margin: 0 8px; vertical-align: middle; }

/* Avatar */
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%; overflow: hidden;
  background: var(--bg-raised); border: 1px solid var(--border);
  display: inline-grid; place-items: center;
  font-size: 13px; font-weight: 500;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 56px; height: 56px; font-size: 16px; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { border: 2px solid var(--bg-elevated); margin-left: -10px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* Rating stars */
.stars { display: inline-flex; gap: 1px; color: var(--brand-gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 128px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 400px at 80% 0%, color-mix(in srgb, var(--brand-fairway) 28%, transparent), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, color-mix(in srgb, var(--brand-lime) 14%, transparent), transparent 70%),
    var(--bg);
}
.hero-grid {
  display: grid; gap: 56px;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-image {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,15,13,.75) 100%);
}
.hero-image-card {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  padding: 18px 20px;
  background: rgba(10,15,13,.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  color: #F2F2EC;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}

/* Logo strip */
.logo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 32px;
  padding-top: 32px;
}
.logo-strip > span {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500;
  color: var(--text-muted);
  opacity: .8;
}

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-tile {
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 56px;
  min-height: 220px;
  transition: all .25s;
  position: relative; overflow: hidden;
}
.cat-tile:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.cat-tile .cat-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand-lime) 15%, transparent);
  color: var(--accent);
}
[data-theme="light"] .cat-tile .cat-ico {
  background: color-mix(in srgb, var(--brand-fairway) 12%, transparent);
  color: var(--brand-emerald);
}
.cat-tile .cat-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.cat-tile .cat-count { font-size: 13px; color: var(--text-secondary); }

/* ---------- Map preview ---------- */
.map-wrap {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  aspect-ratio: 16/9;
}
.map-canvas {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 22% 38%, color-mix(in srgb, var(--brand-fairway) 35%, transparent) 0%, transparent 30%),
    radial-gradient(circle at 72% 65%, color-mix(in srgb, var(--brand-fairway) 30%, transparent) 0%, transparent 32%),
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--brand-emerald) 20%, transparent) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg-raised), var(--bg-elevated));
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .5;
}
.map-pin {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -100%);
  white-space: nowrap;
}
.map-pin::after {
  content: '';
  position: absolute; left: 50%; bottom: -5px;
  width: 10px; height: 10px;
  background: var(--bg-elevated);
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  transform: translateX(-50%) rotate(45deg);
}
.map-pin.active {
  background: var(--brand-forest); color: var(--brand-glow);
  border-color: var(--brand-fairway);
}
.map-pin.active::after { background: var(--brand-forest); border-color: var(--brand-fairway); }
.map-pin .pin-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-lime) 30%, transparent);
}

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .testi-grid { grid-template-columns: 1fr; } }
.testi {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 18px;
}
.testi-quote { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.4; font-weight: 400; letter-spacing: -0.01em; }
.testi-meta { display: flex; align-items: center; gap: 12px; }

/* ---------- Membership ---------- */
.member-card {
  padding: 32px;
  border-radius: var(--r-2xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
}
.member-card.featured {
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand-fairway) 22%, var(--bg-elevated)) 0%, var(--bg-elevated) 60%);
  border: 1px solid color-mix(in srgb, var(--brand-lime) 30%, transparent);
}
.member-card .price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; letter-spacing: -0.02em; }
.member-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.member-card li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-secondary); }
.member-card li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
[data-theme="light"] .member-card li svg { color: var(--brand-fairway); }

/* ---------- Stepper ---------- */
.stepper { display: flex; align-items: center; gap: 12px; }
.step { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 13.5px; }
.step .num {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-size: 12.5px; font-weight: 600;
}
.step.done .num, .step.current .num {
  background: var(--primary-btn-bg); color: var(--primary-btn-text); border-color: transparent;
}
.step.current { color: var(--text); }
.step.done { color: var(--text-secondary); }
.step-line { width: 28px; height: 1px; background: var(--border); }

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.filter-chip {
  padding: 8px 14px;
  border-radius: var(--r-full);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .2s;
}
.filter-chip:hover { background: var(--bg-glass-strong); }
.filter-chip.active { background: var(--text); color: var(--bg); border-color: transparent; }

/* ---------- Sidebar ---------- */
.sidebar {
  position: sticky; top: calc(var(--nav-h) + 20px);
  padding: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 14px;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a { color: var(--text-secondary); }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: var(--text-muted);
}

/* ---------- Dashboard layout ---------- */
.dash {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--nav-h));
}
@media (max-width: 980px) { .dash { grid-template-columns: 1fr; } .dash-side { display: none; } }
.dash-side {
  border-right: 1px solid var(--border);
  padding: 28px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.dash-side .group { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); padding: 18px 14px 8px; }
.dash-side a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--text-secondary);
  transition: background .2s, color .2s;
}
.dash-side a:hover { background: var(--bg-glass); color: var(--text); }
.dash-side a.active { background: var(--bg-glass-strong); color: var(--text); }
.dash-main { padding: 32px clamp(20px, 4vw, 48px); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.stat .label { font-size: 12.5px; color: var(--text-secondary); margin-bottom: 6px; }
.stat .num { font-family: var(--font-display); font-size: 1.85rem; letter-spacing: -0.02em; }
.stat .delta { font-size: 12.5px; margin-top: 4px; display: inline-flex; align-items: center; gap: 4px; }
.delta.up { color: var(--accent); }
[data-theme="light"] .delta.up { color: var(--brand-fairway); }
.delta.down { color: var(--brand-clay); }

/* Table */
.tbl {
  width: 100%; border-collapse: collapse;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tbl th, .tbl td { padding: 14px 18px; text-align: left; font-size: 14px; }
.tbl th { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); font-weight: 600; border-bottom: 1px solid var(--border); background: var(--bg-raised); }
.tbl tr + tr td { border-top: 1px solid var(--border); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-full); font-size: 12px; }
.status-ok { background: color-mix(in srgb, var(--brand-lime) 18%, transparent); color: var(--accent); }
[data-theme="light"] .status-ok { background: color-mix(in srgb, var(--brand-fairway) 12%, transparent); color: var(--brand-emerald); }
.status-pending { background: color-mix(in srgb, var(--brand-gold) 18%, transparent); color: var(--brand-gold); }
.status-canceled { background: color-mix(in srgb, var(--brand-clay) 18%, transparent); color: var(--brand-clay); }

/* Chart bar (svg-less) */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 220px; padding: 16px 0; }
.bars .bar {
  flex: 1; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--brand-fairway), color-mix(in srgb, var(--brand-fairway) 50%, transparent));
  position: relative;
}
.bars .bar.accent { background: linear-gradient(180deg, var(--brand-lime), color-mix(in srgb, var(--brand-lime) 40%, transparent)); }
.bars-x { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-muted); padding-top: 8px; border-top: 1px solid var(--border); }

/* Calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .h { font-size: 11px; color: var(--text-muted); text-align: center; padding: 8px 0; letter-spacing: 0.1em; text-transform: uppercase; }
.cal .d {
  aspect-ratio: 1; display: flex; align-items: flex-start; justify-content: flex-start; padding: 6px;
  border-radius: 8px; font-size: 12.5px;
  background: var(--bg-raised);
  border: 1px solid transparent;
  position: relative;
}
.cal .d.muted { opacity: .35; }
.cal .d.has-event { border-color: var(--border); }
.cal .d.today { background: color-mix(in srgb, var(--brand-lime) 12%, transparent); border-color: color-mix(in srgb, var(--brand-lime) 30%, transparent); }
.cal .d .event {
  position: absolute; bottom: 6px; left: 6px; right: 6px;
  font-size: 10.5px;
  padding: 2px 6px;
  background: var(--brand-forest); color: var(--brand-glow);
  border-radius: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* ---------- Booking widget (listing page) ---------- */
.book-widget {
  position: sticky; top: calc(var(--nav-h) + 20px);
  padding: 24px;
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.book-widget .price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.book-widget .price-row b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; }
.book-widget .price-row span { color: var(--text-secondary); font-size: 14px; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.book-grid > div { padding: 12px 14px; }
.book-grid > div + div { border-left: 1px solid var(--border); }
.book-grid .lbl { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 4px; }
.book-grid .val { font-size: 14px; }
.book-widget hr { margin: 18px 0; }
.book-widget .row-pl { display: flex; justify-content: space-between; font-size: 14px; padding: 2px 0; }
.book-widget .row-pl.total { font-weight: 600; font-size: 16px; padding-top: 12px; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16/8;
}
.gallery .g {
  position: relative; overflow: hidden;
  background: var(--bg-raised);
}
.gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gallery .g:hover img { transform: scale(1.04); }
.gallery .g1 { grid-row: 1 / 3; }
.gallery .show-more {
  position: absolute; bottom: 14px; right: 14px;
  padding: 8px 14px;
  background: rgba(10,15,13,.7); color: #F2F2EC;
  backdrop-filter: blur(10px);
  border-radius: var(--r-full);
  font-size: 13px;
  border: 1px solid rgba(255,255,255,.15);
}
@media (max-width: 880px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: auto; aspect-ratio: 4/3; }
  .gallery .g:not(.g1) { display: none; }
}

/* ---------- Misc ---------- */
.scroll-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row > * { scroll-snap-align: start; flex: 0 0 280px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.flow > * + * { margin-top: 8px; }
.surface { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-lg); }

/* Toggle switch */
.switch {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.switch .track {
  width: 38px; height: 22px; border-radius: 999px;
  background: var(--bg-raised); border: 1px solid var(--border);
  position: relative; transition: background .25s;
}
.switch .track::after {
  content: ''; position: absolute;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--text);
  top: 2px; left: 2px;
  transition: transform .25s;
}
.switch input { display: none; }
.switch input:checked + .track { background: var(--brand-fairway); border-color: transparent; }
.switch input:checked + .track::after { transform: translateX(16px); background: #F2F2EC; }

/* Glass FAB / mobile bottom nav */
.mob-tabbar {
  position: fixed; bottom: 14px; left: 14px; right: 14px;
  padding: 8px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  display: none;
  justify-content: space-around;
  z-index: 40;
  box-shadow: var(--shadow-lg);
}
.mob-tabbar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px;
  font-size: 10.5px;
  color: var(--text-secondary);
  border-radius: var(--r-full);
}
.mob-tabbar a.active { color: var(--text); background: var(--bg-glass); }
@media (max-width: 720px) { .mob-tabbar { display: flex; } main { padding-bottom: 90px; } }

/* Mobile mockup frame (for showcase) */
.phone {
  width: 320px;
  border-radius: 44px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 14px 10px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone::before {
  content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; border-radius: 16px;
  background: var(--bg);
}
.phone-screen {
  margin-top: 30px;
  border-radius: 32px;
  background: var(--bg);
  overflow: hidden;
  aspect-ratio: 9/19;
  display: flex; flex-direction: column;
}

/* Print kindness */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
