/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Custom Properties ──────────────────────────────────────────────── */
:root {
  /* Booking portal dark theme (overridden per-client by book.js) */
  --primary: #4CAF50;
  --primary-dark: #388E3C;
  --accent: #FF9800;
  --bg: #121212;
  --surface: #1E1E1E;
  --surface2: #2A2A2A;
  --text: #FFFFFF;
  --text-muted: rgba(255,255,255,0.6);
  --border: rgba(255,255,255,0.12);
  --danger: #EF5350;
  --available: #4CAF50;
  --unavailable: #424242;
  --radius: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: #0a1f14;
  color: #1a2e1f;
}

/* ════════════════════════════════════════════════════════════════════════════
   SHARED STATES (loading / error)
   ════════════════════════════════════════════════════════════════════════════ */
#loading, #error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
  gap: 16px;
  background: #0a1f14;
}

#error { color: rgba(255,255,255,0.6); }
#error h2 { color: #fff; font-family: 'Outfit', sans-serif; font-size: 1.2rem; }

.spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: #52b788;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ════════════════════════════════════════════════════════════════════════════
   LANDING PAGE
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Nav ── */
.nav-toggle-input { display: none; }

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-nav.scrolled {
  background: rgba(10,31,20,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
}

.nav-logo-mark {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #52b788;
  letter-spacing: -0.02em;
}

.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover { color: #fff; background: rgba(255,255,255,0.07); }

.nav-cta {
  background: #52b788;
  color: #0a1f14;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
}

.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10,31,20,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 24px 16px;
}

.nav-mobile-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-mobile-menu a:last-child { border-bottom: none; }

/* Hamburger open state (CSS-only checkbox hack) */
.nav-toggle-input:checked ~ .site-nav .nav-mobile-menu { display: flex; }
.nav-toggle-input:checked ~ .site-nav .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-input:checked ~ .site-nav .nav-hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle-input:checked ~ .site-nav .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1f14 0%, #1a4731 50%, #0d2b1e 100%);
  background-size: 300% 300%;
  animation: heroGradient 14s ease infinite;
}

@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating blobs */
.hero-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
}

.blob-1 {
  width: 520px; height: 520px;
  background: #52b788;
  top: -120px; left: -80px;
  animation: blobFloat1 18s ease-in-out infinite;
}

.blob-2 {
  width: 380px; height: 380px;
  background: #2d6a4f;
  top: 30%; right: -60px;
  animation: blobFloat2 22s ease-in-out infinite;
}

.blob-3 {
  width: 300px; height: 300px;
  background: #74c69d;
  bottom: -40px; left: 40%;
  animation: blobFloat3 16s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, 30px) scale(1.05); }
  66%       { transform: translate(-20px, 50px) scale(0.95); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-50px, -30px) scale(1.08); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(30px, -40px) scale(1.1); }
  80%       { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(82,183,136,0.15);
  border: 1px solid rgba(82,183,136,0.3);
  color: #74c69d;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: #52b788;
  color: #0a1f14;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(82,183,136,0.35);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(82,183,136,0.45);
}

.hero-btn-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.15s, transform 0.15s;
}

.hero-btn-ghost:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-2px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0,0); opacity: 0.4; }
  50%       { transform: rotate(45deg) translate(4px,4px); opacity: 0.9; }
}


/* ── Sections ── */
.section {
  background: #fff;
  padding: 80px 0;
}

.section-features {
  background: #1a2e1f;
  padding: 64px 0 80px;
}

.section-cta {
  background: #f0f4f1;
  padding: 80px 0;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2d6a4f;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #1a2e1f;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1rem;
  color: rgba(26,46,31,0.6);
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.7;
}

.section-empty {
  text-align: center;
  color: rgba(26,46,31,0.5);
  font-size: 0.9rem;
  padding: 24px 0 8px;
}

/* Wave dividers */
.wave { line-height: 0; }
.wave svg { display: block; width: 100%; height: 72px; }
.wave-to-dark { background: #fff; }
.wave-to-light { background: #1a2e1f; }


/* ── Park cards (landing directory) ── */
.parks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.landing-park-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(26,46,31,0.1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #1a2e1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.landing-park-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.lpc-accent { width: 100%; height: 6px; }

.lpc-logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 24px 0 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.lpc-logo-placeholder {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 24px 0 12px;
  border: 2px solid rgba(0,0,0,0.06);
}

.lpc-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  padding: 0 20px 4px;
  color: #1a2e1f;
}

.lpc-btn {
  width: 100%;
  padding: 14px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-top: auto;
  letter-spacing: 0.02em;
}

/* Skeleton loader */
.park-card-skeleton {
  background: linear-gradient(90deg, #e8f0eb 25%, #d4e6da 50%, #e8f0eb 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 16px;
  height: 220px;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ── Feature cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 28px 24px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(82,183,136,0.3);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}


/* ── CTA section ── */
.cta-inner { text-align: center; }

.cta-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #1a2e1f;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(26,46,31,0.6);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-actions { display: flex; justify-content: center; }


/* ── Footer ── */
.site-footer {
  background: #0a1f14;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 40px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand { display: flex; align-items: baseline; gap: 4px; }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.footer-links a:hover { color: #52b788; }

.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 0.82rem;
}


/* ── Scroll reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}


/* ── Centered narrow section wrapper ── */
.section-center {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* ── Screenshots Section ── */
.screenshots-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 36px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.screenshot-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  width: 200px;
}
.screenshot-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  display: block;
}
.screenshot-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #444;
}
@media (max-width: 480px) {
  .screenshot-frame { width: 160px; }
}


/* ── Pricing Section ── */
.pricing-card {
  background: #fff;
  border: 2px solid #4CAF50;
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 480px;
  margin: 40px auto 32px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(76,175,80,0.12);
}
.pricing-badge {
  display: inline-block;
  background: #4CAF50;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.pricing-setup {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a2e1f;
  margin-bottom: 8px;
}
.pricing-monthly {
  font-size: 2rem;
  font-weight: 800;
  color: #4CAF50;
  margin-bottom: 6px;
}
.pricing-period { font-size: 1rem; font-weight: 400; color: #555; }
.pricing-label { display: block; font-size: 0.82rem; color: #777; font-weight: 400; margin-top: 2px; }
.pricing-per-stand {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  margin: 12px 0 8px;
}
.pricing-example {
  font-size: 0.82rem;
  color: #888;
  margin-top: 8px;
}
.pricing-includes {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 520px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
}
.pricing-includes li {
  font-size: 0.9rem;
  color: #333;
  padding: 4px 0;
}
@media (max-width: 600px) {
  .pricing-includes { grid-template-columns: 1fr; }
  .pricing-card { padding: 28px 20px; }
  .pricing-monthly { font-size: 1.6rem; }
}


/* ── WhatsApp Button ── */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid #4CAF50;
  border-radius: 50px;
  color: #4CAF50;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-left: 12px;
}
.btn-whatsapp:hover { background: #4CAF50; color: #fff; }
@media (max-width: 480px) {
  .btn-whatsapp { margin-left: 0; margin-top: 12px; }
}


/* ── Park card: location + demo badge ── */
.lpc-location {
  font-size: 0.8rem;
  color: rgba(0,0,0,0.45);
  margin: 4px 0 8px;
  padding: 0 16px;
}
.lpc-demo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #4CAF50;
  border: 1.5px solid #4CAF50;
  border-radius: 20px;
  padding: 2px 10px;
  background: transparent;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* ════════════════════════════════════════════════════════════════════════════
   APP ACCESS PAGE
   ════════════════════════════════════════════════════════════════════════════ */
#app-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1f14 0%, #1a4731 100%);
  padding: 24px;
}

.app-page-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.app-page-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  max-width: 440px;
  width: 100%;
}

.app-page-icon { font-size: 3rem; margin-bottom: 20px; }

.app-page-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.app-page-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}

.app-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #52b788;
  color: #0a1f14;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  width: 100%;
  transition: opacity 0.15s, transform 0.1s;
  box-shadow: 0 4px 20px rgba(82,183,136,0.35);
  margin-bottom: 16px;
}

.app-page-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.app-page-back {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s;
}

.app-page-back:hover { color: rgba(255,255,255,0.85); }


/* ════════════════════════════════════════════════════════════════════════════
   BOOKING PORTAL (dark theme — per-client colours applied via CSS vars)
   ════════════════════════════════════════════════════════════════════════════ */
#portal-app {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 0 60px;
}

/* Header */
.portal-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 20px 16px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.portal-logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px;
  display: block;
}

.portal-logo.hidden { display: none; }

.portal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.portal-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Step progress bar */
.booking-progress-wrap {
  padding: 14px 20px 0;
  background: var(--bg);
}

.booking-progress-track {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.booking-progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  width: 20%;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-labels {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
}

.step-labels span {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Steps */
.step { display: none; padding: 0 16px; }
.step.active { display: block; }

.step-header { padding: 16px 0 12px; }

.step-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.step-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

/* Date inputs */
.date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.people-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field-group { display: flex; flex-direction: column; gap: 6px; }

.field-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field-group input,
.field-group select,
.field-group textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  transition: border-color 0.15s;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus { border-color: var(--primary); }

.field-group textarea { resize: vertical; min-height: 80px; }

/* Night count badge */
.night-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(76,175,80,0.15);
  color: var(--primary);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
}

.night-badge.hidden { display: none; }

/* Stand grid */
.stand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

.stand-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 10px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.1s, background 0.15s;
  text-align: center;
  user-select: none;
}

.stand-card:hover:not(.unavailable):not(.selected) {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.stand-card.selected {
  border-color: var(--primary);
  background: rgba(76,175,80,0.1);
}

.stand-card.unavailable {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: transparent;
}

.stand-card.loading { opacity: 0.6; cursor: default; }

.stand-icon { font-size: 1.8rem; margin-bottom: 8px; }

.stand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.stand-type { font-size: 0.72rem; color: var(--text-muted); }

.stand-rate {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 4px;
}

.stand-status { font-size: 0.7rem; margin-top: 4px; font-weight: 500; }
.stand-status.available  { color: var(--available); }
.stand-status.unavailable { color: var(--danger); }
.stand-status.checking   { color: var(--text-muted); }

/* Pricing breakdown */
.pricing-table { width: 100%; border-collapse: collapse; }

.pricing-table td {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.pricing-table td:last-child { text-align: right; font-weight: 500; }

.pricing-total-row td {
  font-size: 1rem;
  font-weight: 700;
  border-bottom: none;
  padding-top: 12px;
  color: var(--primary);
}

.pricing-stand-header {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.1s;
  width: 100%;
  text-decoration: none;
}

.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover:not(:disabled) { opacity: 0.9; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover:not(:disabled) { border-color: var(--text-muted); }

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-row .btn { flex: 1; }

/* Confirmation */
.confirm-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 16px;
}

.confirm-detail {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.confirm-detail:last-child { border-bottom: none; }
.confirm-detail span:first-child { color: var(--text-muted); }
.confirm-detail span:last-child { font-weight: 500; text-align: right; max-width: 60%; }

.confirm-note {
  background: rgba(76,175,80,0.08);
  border: 1px solid rgba(76,175,80,0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.65;
}

/* Inline errors / info */
.inline-error { color: var(--danger); font-size: 0.82rem; margin-top: 4px; }

.info-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 16px 0;
}


/* ── Availability Calendar ─────────────────────────────────────────────── */
.avail-cal-wrap {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 12px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.avail-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cal-month-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.cal-nav-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  padding: 0;
}

.cal-nav-btn:hover { background: var(--surface2); border-color: var(--text-muted); }

.avail-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day-hdr {
  text-align: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 0 6px;
}

.cal-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.1s;
  user-select: none;
  min-width: 0;
}

.cal-empty,
.cal-past {
  pointer-events: none;
}

.cal-past { opacity: 0.22; }

.cal-today { box-shadow: inset 0 0 0 2px var(--primary); }

.cal-cell:not(.cal-past):not(.cal-empty):not(.cal-sel):hover {
  background: rgba(255,255,255,0.08);
}

/* Range highlight — sits between check-in and check-out */
.cal-in-range {
  background: rgba(76,175,80,0.15);
  border-radius: 0;
}

/* Selected endpoints */
.cal-sel {
  background: var(--primary) !important;
  border-radius: 6px !important;
}

/* Smooth pill when endpoint is also part of range */
.cal-ci.cal-in-range { border-radius: 6px 0 0 6px !important; }
.cal-co.cal-in-range { border-radius: 0 6px 6px 0 !important; }

.cal-num {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}

.cal-sel .cal-num { color: #fff; }

.cal-dot {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-top: 3px;
  flex-shrink: 0;
}

.cal-dot-free    { background: var(--available); }
.cal-dot-partial { background: var(--accent); }
.cal-dot-full    { background: var(--danger); }

.cal-sel .cal-dot { background: rgba(255,255,255,0.5) !important; }

.cal-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.cal-legend-item .cal-dot { margin-top: 0; }


/* ════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 100px 20px 70px; }

  .section { padding: 56px 0; }
  .section-features { padding: 48px 0 60px; }
  .section-cta { padding: 56px 0; }

  .parks-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 22px 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-btn-primary, .hero-btn-ghost { width: 100%; max-width: 300px; text-align: center; }

  .parks-grid { grid-template-columns: repeat(2, 1fr); }

  .app-page-card { padding: 36px 24px; }

  /* Portal */
  .date-grid { grid-template-columns: 1fr; }
  .people-row { grid-template-columns: 1fr; }
  .stand-grid { grid-template-columns: repeat(2, 1fr); }
}
