/* === Theme Tokens === */
:root {
  --emerald: #19643b;
  --emerald-dark: #059669;
  --ink: #111827;
  --ink-2: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #fff;
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

/* === Resets & Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* === Utility Bar (Desktop Only - Scrolls Away) === */
.utility-bar {
  background: var(--ink);
  color: var(--white);
  display: none; /* Hide on mobile */
}
.utility-bar-inner {
  display: flex;
  justify-content: flex-end; /* Align everything to the right */
  align-items: center;
  padding: 0.5rem 1rem;
}
.utility-bar-contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.utility-bar-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-left: 2.5rem; /* Add spacing before member sign-in */
}
.member-signin {
  opacity: 0.9;
  font-size: 0.875rem;
}
.utility-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.utility-link:hover {
  color: #6ee7b7;
}
.utility-link svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .utility-bar {
    display: block; /* Show on desktop */
  }
}

/* === Sticky Header Wrapper === */
.sticky-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: visible !important; /* Prevent clipping of dropdowns */
}

/* === START: NEW BANNER STYLES === */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: var(--emerald-dark);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: center;
  position: relative;
}

.promo-banner p {
  margin: 0;
  font-weight: 600;
}

.promo-banner button {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.5rem;
  position: absolute;
  right: 1rem;
}
/* === END: NEW BANNER STYLES === */


/* === Header & Nav (New) === */
.site-header {
  position: relative;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  z-index: 1000; /* Ensure dropdown sits above hero */
  overflow: visible !important; /* Prevent clipping */
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto; /* [hamburger] [brand] [cta] on mobile */
  align-items: center;
  padding: 0.75rem 1rem;
  gap: 1rem;
  overflow: visible !important; /* Prevent clipping */
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: .01em;
  white-space: nowrap;
  justify-self: center; /* Mobile: Center */
}
.brand-logo {
  height: 30px;
  width: auto;
}
.header-cta {
  display: none; /* [FIX] Hide on mobile by default */
  font-size: 0.8rem;
  padding: 0.6rem 0.8rem;
  justify-self: end; /* Mobile: End */
}
.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: .5rem;
  border-radius: .5rem;
  flex-shrink: 0;
  justify-self: start; /* Mobile: Start */
}
.hamburger:focus-visible { outline: 2px solid var(--emerald); }
.hamburger span { width: 22px; height: 2px; background: var(--ink); display: block; transition: transform .2s ease; }

/* New Mobile Nav (replaces .nav-mobile) */
.site-nav {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%; /* Positioned below header */
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: .5rem 1rem 1rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
  z-index: 10;
  max-height: calc(100vh - 60px); /* Prevent overflow in landscape */
  overflow-y: auto; /* Allow scrolling in landscape */
}
.site-nav.open {
  display: grid; /* Shown by JS */
}
.site-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .25rem;
}
.site-nav-link {
  display: block;
  padding: .9rem .75rem;
  border-radius: .5rem;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 1rem; /* Consistent font size */
}
.site-nav-link:hover {
  background: #f3f4f6;
  color: var(--ink);
}
.site-nav-cta-mobile {
  display: block; /* Show mobile CTA */
  text-align: center;
  margin: 0.75rem 0.5rem 0;
}

.nav-mobile-only {
  display: block; /* Show on mobile */
  margin-top: 1rem; /* Add space above */
  padding-top: 1rem; /* Add space above */
  border-top: 2px solid var(--border); /* Separator line */
}
.nav-mobile-only .site-nav-link {
  background: var(--emerald);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  padding: 1rem;
  border-radius: 0.5rem;
}
.nav-mobile-only .site-nav-link:hover {
  background: #047857; /* Darker emerald on hover */
  color: var(--white);
}

/* Landscape mode optimizations */
@media (max-width: 767px) and (orientation: landscape) {
  .site-nav {
    padding: .25rem 1rem .5rem;
  }
  .site-nav-link {
    padding: .6rem .75rem; /* More compact in landscape */
    font-size: 0.95rem;
  }
  .nav-dropdown .site-nav-link {
    padding: .5rem .75rem;
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) {
  .nav-mobile-only {
    display: none !important; /* Hide on desktop */
  }
}

/* Active Nav Link Styling (Unified) */
.site-nav-link.active {
  background-color: var(--bg);
  color: var(--emerald-dark);
  font-weight: 700;
}

/* Desktop Nav Breakpoint */
@media (min-width: 768px) {
  .header-inner {
    grid-template-columns: auto 1fr auto; /* [brand] [nav] [cta] */
    gap: 2rem;
    padding: 1rem;
  }
  .brand {
    font-size: 1.5rem;
    gap: 0.75rem;
    justify-self: start; /* Desktop: Start */
  }
  .brand-logo {
    height: 40px;
  }
  .hamburger {
    display: none; /* Hide hamburger */
  }
  .header-cta {
    display: inline-block; /* [FIX] Show on desktop */
    font-size: 0.9rem;
    padding: 0.75rem 1.1rem;
    justify-self: end; /* Desktop: End */
  }

  /* Show nav, override [hidden] and .open */
  .site-nav, .site-nav[hidden] {
    display: flex !important;
    align-items: center;
    position: static;
    border: none;
    padding: 0;
    box-shadow: none;
    justify-self: center; /* Desktop: Center */
  }
  .site-nav-list {
    display: flex; /* Horizontal list */
    gap: 1rem;
  }
  .site-nav-link {
    padding: 0.5rem;
    color: var(--muted);
    font-weight: 600;
  }
  .site-nav-link:hover {
    background: none;
    color: var(--ink);
  }
  .site-nav-link.active {
    background: none;
    color: var(--ink);
    font-weight: 700;
  }
  .site-nav-cta-mobile {
    display: none !important; /* Hide mobile-only CTA */
  }
}

/* === Buttons & Utilities === */
.btn-primary, .btn-secondary, .btn-contrast {
  display: inline-block; padding: .75rem 1.1rem; border-radius: .75rem;
  font-weight: 700; line-height: 1; transition: transform .05s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); white-space: nowrap;
}
.btn-primary { background: var(--emerald); color: var(--white); }
.btn-primary:hover { background: var(--emerald-dark); }
.btn-secondary { background: var(--ink); color: var(--white); }
.btn-secondary:hover { background: #0b1220; }
.btn-contrast { background: var(--white); color: var(--ink); border: 2px solid var(--emerald); }
.btn-contrast:hover { background: #ecfdf5; }
.btn-primary:active, .btn-secondary:active, .btn-contrast:active { transform: translateY(1px); }

.btn-primary-hero {
  font-size: 1.15rem;
  padding: 1rem 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .btn-primary-hero {
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
  }
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}
.back-link:hover {
  color: var(--emerald);
  text-decoration: underline;
}

.block { display: block; text-align: center; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.center-row { justify-content: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.link-cta { color: var(--emerald); font-weight: 600; }
.link-cta:hover { text-decoration: underline; }

.kicker { color: var(--emerald); font-weight: 700; letter-spacing: .04em; font-size: .85rem; text-transform: uppercase; }
.h2 { font-size: clamp(1.7rem, 2vw + 1rem, 2.25rem); font-weight: 800; margin: .5rem 0 1rem; }
.h3 { font-size: 1.5rem; font-weight: 800; margin: .25rem 0 .5rem; }
.muted { color: var(--muted); }
.muted-light { color: #d1d5db; }
.fineprint { 
  color: var(--muted); 
  font-size: .875rem; 
  font-weight: 500;
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
}
.quote-attrib { font-weight: 700; margin-top: .5rem; }

.section { padding: clamp(2.5rem, 4vw, 6rem) 0; background: var(--white); }
section[id] {
  scroll-margin-top: 70px; /* Offset for sticky header on mobile */
}
.section-alt { background: #f3f4f6; }
.center { text-align: center; }
.maxw { max-width: 42rem; margin: 0 auto; }
.narrow { max-width: 40rem; margin: 0 auto; }
.section.pt-0 { padding-top: 0; }
.section.pb-0 { padding-bottom: 0; }

/* === HERO with Background Video === */
.hero { 
  position: relative; 
  min-height: 50vh; /* [FIX] Reduced from 70vh */
  max-height: 650px; /* [FIX] Added max-height to cap it on large screens */
  display: grid; 
  align-items: center; 
  overflow: hidden; 
}
.hero-background-video {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 1; }
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem 3rem; /* More top padding on mobile to push text down */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center vertically */
  align-items: center; /* Center horizontally */
  min-height: 50vh;
}
.hero-copy {
  width: 100%;
  text-align: center;
}
.hero-title { font-size: clamp(2rem, 6vw, 3.75rem); font-weight: 900; letter-spacing: -.01em; margin: 0 0 .75rem; color: #fff; }
.hero-subtitle { font-size: clamp(1rem, 2.2vw, 1.25rem); color: #e5e7eb; margin: 0; }

@media (min-width: 768px) {
  .hero-inner {
    min-height: 60vh;
  }
}

/* === Booking Widget Wrapper === */
.booking-widget-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 9rem; /* Large spacing between text and widget */
}

/* === TopGolf-Style Booking Widget === */
.booking-widget {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 0.4rem;
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  max-width: 420px; /* Smaller on mobile */
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  flex-direction: row; /* Single line on mobile */
}

.booking-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  border-radius: 0.375rem;
  flex: 1;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.booking-field:focus-within {
  border-color: var(--emerald);
  background: var(--white);
}

.booking-icon {
  width: 18px;
  height: 18px;
  color: var(--emerald);
  flex-shrink: 0;
}

.booking-field-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.booking-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.booking-input {
  border: none;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0;
  padding-right: 0;
  outline: none;
  width: 100%;
}

/* Hide Chromium's calendar button (we have our own SVG icon) */
.booking-input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}

.booking-btn {
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 0.375rem;
  padding: 0.65rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.booking-btn:hover {
  background: #0b1220;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.booking-btn:active {
  transform: translateY(0);
}

.booking-error {
  color: #fee2e2;
  font-size: 0.8rem;
  margin-top: 0.75rem;
  font-weight: 600;
  background: rgba(220, 38, 38, 0.9);
  padding: 0.6rem 0.85rem;
  border-radius: 0.375rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.booking-error a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

@media (min-width: 640px) {
  .booking-widget {
    max-width: 400px; /* Narrower on desktop */
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .booking-field {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .booking-icon {
    width: 20px;
    height: 20px;
  }

  .booking-label {
    font-size: 0.7rem;
  }

  .booking-input {
    font-size: 0.95rem;
  }

  .booking-btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
  }

  .booking-error {
    max-width: 480px;
  }
}

/* === Cards & Grids === */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 1rem; padding: 1.25rem; box-shadow: var(--shadow); }
.card-title { font-size: 1.25rem; font-weight: 800; margin: 0 0 .25rem; }
.card.wide { max-width: 48rem; margin: 0 auto; }

.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.align-center { align-items: center; }

.img-rounded { border-radius: 1rem; }
.shadow { box-shadow: var(--shadow); }
.spacey > * + * { margin-top: 1rem; }

/* === Pricing Cards === */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  text-align: left;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 900;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0 0 0.5rem 0;
}

.pricing-card .price-container {
  min-height: 90px;
  margin-bottom: 1rem;
}

.pricing-card .fineprint {
  margin: 0;
}

.pricing-card .unit {
  color: var(--muted);
  font-weight: 600;
  font-size: 1.15rem;
}

.pricing-card .features { padding-left: 1rem; margin: .5rem 0; color: var(--ink-2); }
.pricing-card .features li { margin: .25rem 0; }
.pricing-card .block { margin-top: auto; }

.pricing-card.featured { background: var(--ink); color: var(--white); border-color: #0f172a; transform: scale(1.02); }
.pricing-card.featured .badge { position: absolute; top: -10px; right: 16px; background: var(--emerald); color: var(--white);
  font-size: .7rem; font-weight: 800; padding: .25rem .5rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.pricing-card.featured .features.light { color: #e5e7eb; }
.pricing-card .price.accent { color: #6ee7b7; }

.price-prefix {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: -0.25rem;
}

.pricing-card.featured .price-prefix {
  color: #9ca3af;
}


/* === Corporate CTA Card === */
.corporate-cta-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem 2rem;
  margin: 5rem auto 0 auto;
  max-width: 60rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.corporate-cta-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

/* === FAQ === */
.faq-category-title { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-top: 3rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border); }
.faq-category-title:first-of-type { margin-top: 0; }
.faq-item { background: var(--bg); border: 1px solid var(--border); padding: .75rem 1rem; border-radius: .75rem; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; /* Hide default marker */ display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; } /* Hide marker for Chrome/Safari */
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--emerald); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { color: var(--muted); padding-top: .5rem; }

/* === Forms === */
.form { display: grid; gap: 1rem; }
.form-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
.form input, .form textarea, .form select { 
  width: 100%; 
  padding: .75rem .9rem; 
  border: 1px solid var(--border); 
  border-radius: .75rem; 
  font: inherit; 
  background: var(--white); 
  color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { 
  outline: 2px solid #a7f3d0; 
  border-color: #a7f3d0; 
}
.form select {
  color: var(--muted);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25em;
  padding-right: 2.5rem;
}
.form select.has-value {
  color: var(--ink);
}


/* === Map Embed === */
.map-embed { border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow); }
.map-embed.tall iframe { height: 420px; }

/* === Footer === */
.footer { background: var(--white); border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr; /* Mobile: 2 columns to reduce vertical height */
  padding: 1.5rem 1rem; /* Reduced mobile padding */
}
.footer-grid > div:first-child {
  grid-column: 1 / -1; /* Brand section spans full width on mobile */
}
.footer-grid > div:last-child {
  grid-column: 1 / -1; /* Connect section spans full width on mobile */
}
.footer-title {
  font-weight: 800;
  margin: 0.75rem 0 .4rem; /* Reduced margins for mobile */
  font-size: 0.8rem; /* Smaller on mobile */
}
.footer-title:first-child { margin-top: 0; }
.footer-brand {
  font-weight: 900;
  font-size: 1.1rem; /* Slightly smaller on mobile */
  display: inline-block;
  margin-bottom: .25rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 0.5rem; }
.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 0.35rem; /* Tighter spacing on mobile */
}
.footer-links a, .footer-link {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.85rem; /* Smaller on mobile */
}
.footer-links a:hover, .footer-link:hover { color: var(--emerald); text-decoration: underline; }
.footer-cta { display: none; }
.footer .muted {
  font-size: 0.8rem; /* Smaller on mobile */
  margin: 0.2rem 0; /* Tighter spacing */
}
.copyright { text-align: center; color: var(--muted); border-top: 1px solid var(--border); padding: 0.75rem 0; font-size: 0.75rem; }

/* Desktop: Expand footer */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
    gap: 2rem 1.25rem;
  }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: auto; /* Reset to normal column span on desktop */
  }
  .footer-brand { font-size: 1.35rem; margin-bottom: .5rem; }
  .footer-title { font-size: 0.95rem; margin: 1.5rem 0 .75rem; }
  .footer .muted { font-size: 1rem; margin: 0.35rem 0; }
  .footer-links a, .footer-link { font-size: 1rem; }
  .footer-links-column { gap: 0.4rem; } /* Reset to normal spacing */
  .copyright { font-size: 0.875rem; padding: 1rem 0; }
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem; /* Reduced for mobile */
}
.newsletter-input {
  flex: 1;
  padding: 0.55rem 0.75rem; /* More compact for mobile */
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.85rem; /* Smaller for mobile */
  background: var(--white);
  color: var(--ink);
}
.newsletter-input:focus {
  outline: 2px solid var(--emerald);
  border-color: var(--emerald);
}
.newsletter-btn {
  padding: 0.55rem 0.85rem; /* More compact for mobile */
  background: var(--emerald);
  color: var(--white);
  border: none;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem; /* Smaller for mobile */
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.newsletter-btn:hover {
  background: var(--emerald-dark);
}
.newsletter-btn:active {
  transform: translateY(1px);
}

@media (min-width: 768px) {
  .newsletter-form {
    margin-top: 0.75rem;
  }
  .newsletter-input {
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
  }
  .newsletter-btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
}

/* === Sticky Book Bar === */
.has-sticky-bar { padding-bottom: 0; } /* Removed padding since bar is hidden */
.sticky-book-bar {
  display: none; /* Hidden on mobile and desktop */
}
.sticky-book-btn { display: inline-block; width: min(640px, 92%); text-align: center; background: var(--emerald); color: #fff; font-weight: 800; padding: 14px 18px; border-radius: 14px; }
.sticky-book-btn:hover { background: var(--emerald-dark); }

/* === Page-Specific Components & Fixes === */
.feature-list { 
  margin-top: 1.5rem; 
  display: grid; 
  gap: 1rem; 
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--ink-2);
}

.feature-item > strong {
  flex-shrink: 0;
}

.feature-item::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 0.125em; /* Adjust checkmark alignment */
}

.improved-intro { gap: 4rem; }
.intro-image-wrapper img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Ensure image matches text height on desktop */
@media (min-width: 768px) {
  .improved-intro .image-column {
    display: flex;
  }
  .improved-intro .image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.feature-card { text-align: center; padding: 1rem; }
.feature-icon { width: 40px; height: 40px; color: var(--emerald); margin: 0 auto 1rem; }

.faq-condensed { display: grid; gap: .75rem; margin-top: 2rem; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}
.social-link:hover {
  color: var(--ink);
}
.social-icon {
  width: 24px;
  height: 24px;
}

.feature-grid { gap: 4rem; }
.checklist { list-style: none; padding-left: 0; margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.checklist li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; color: var(--ink-2); }
.checklist li::before { content: '✓'; color: var(--emerald); font-weight: 700; font-size: 1.25rem; }
.checklist.right { justify-content: flex-end; }
.checklist.right li { flex-direction: row-reverse; }

.gallery-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 50%;
  gap: 1rem;
  margin-top: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar {
  display: none;
}
.gallery-scroll .gallery-item {
  scroll-snap-align: center;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-scroll .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.choice-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.choice-block {
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background-color: var(--white);
  cursor: pointer;
}
.choice-icon {
  width: 48px;
  height: 48px;
  color: var(--emerald);
  margin-bottom: 1rem;
}
.membership-choice .choice-icon {
  color: var(--white);
}
.choice-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}
.choice-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.membership-choice {
  background-color: var(--ink);
  color: var(--white);
  border: none;
}
.choice-block.active {
  transform: scale(1.05);
  z-index: 5;
}
.choice-block.inactive {
  transform: scale(0.95);
  opacity: 0.8;
}

.table-wrapper {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow-x: auto;
  box-shadow: var(--shadow);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  table-layout: fixed;
}
.comparison-table th, .comparison-table td {
  padding: 1rem;
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  width: 25%;
}
.comparison-table thead {
  background-color: var(--bg);
}
.comparison-table th {
  font-weight: 700;
  color: var(--ink);
}
.comparison-table tbody tr:nth-child(even) {
  background-color: var(--bg);
}
.comparison-table tbody td {
  color: var(--muted);
}
.comparison-table tbody td:first-child,
.comparison-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-2);
}
.icon-cell svg {
  width: 20px;
  height: 20px;
  margin: 0 auto;
}
.icon-cell.yes svg {
  color: var(--emerald);
}
.icon-cell.no svg {
  color: #ef4444;
}

.contact-layout {
  gap: 3rem;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.contact-icon {
  width: 36px;
  height: 36px;
  color: var(--emerald);
  margin-bottom: 0.5rem;
}

.job-posting-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.job-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.job-salary {
  background-color: #ecfdf5;
  color: var(--emerald-dark);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 600;
}

.prose {
  line-height: 1.7;
}
.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}
.prose a {
  color: var(--emerald);
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: var(--ink);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 100;
  max-width: 900px;
  margin: 0 auto;
}
.cookie-banner.show {
  display: flex;
}
.cookie-text {
  margin: 0;
  font-size: 0.9rem;
}
.cookie-text a {
  color: var(--emerald);
  font-weight: 600;
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* === Responsive Rules === */
@media (max-width: 767px) {
  /* --- Mobile Table Fix --- */
  .table-wrapper {
    border: none;
    box-shadow: none;
    overflow-x: hidden;
  }
  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table th,
  .comparison-table td,
  .comparison-table tr {
    display: block;
  }
  .comparison-table thead {
    display: none;
  }
  .comparison-table tr {
    border: 1px solid var(--border);
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    background: var(--white);
  }
  .comparison-table tr:last-child {
    margin-bottom: 0;
  }
  .comparison-table td {
    padding-left: 50%;
    position: relative;
    text-align: right;
    border-bottom: 1px solid var(--border);
  }
  .comparison-table td:last-child {
    border-bottom: none;
  }
  .comparison-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 1rem;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: 700;
    color: var(--ink);
  }
  .comparison-table th[scope="row"] {
     background-color: var(--bg);
     padding: 1rem;
     font-size: 1.2rem;
     border-bottom: 1px solid var(--border);
     border-top-left-radius: 1rem;
     border-top-right-radius: 1rem;
  }
  .comparison-table td.icon-cell svg {
    margin: 0 0 0 auto;
  }
}

@media (max-width: 639px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-item {
    flex-wrap: wrap;
  }
  .feature-item > span {
    width: 100%;
    padding-left: calc(1.25em + 0.75rem);
  }
  
  .promo-banner {
    padding-right: 3rem; /* Make space for the close button */
  }
  .promo-banner p {
    font-size: 0.9rem;
  }
}

@media (min-width: 640px) { 
  .grid-4 { grid-template-columns: repeat(4, 1fr); } 
  .form-grid { grid-template-columns: 1fr 1fr; }
  .choice-container { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  section[id] {
    scroll-margin-top: 96px; /* Offset for sticky header on desktop */
  }
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    padding: 1rem;
  }
  .brand {
    font-size: 1.5rem;
    gap: 0.75rem;
    justify-self: start;
  }
  .brand-logo {
    height: 40px;
  }
  .hamburger {
    display: none;
  }
  .nav-desktop {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  .nav-mobile {
    display: none !important;
  }
  .header-cta {
    display: inline-block;
    font-size: 0.9rem;
    padding: 0.75rem 1.1rem;
  }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-scroll { grid-auto-columns: 30%; }
  .corporate-cta-card {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .corporate-cta-card .btn-secondary {
     flex-shrink: 0;
  }
  
  .job-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .job-salary {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .contact-info-grid.improved {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

/* === Events Page Hero Styles === */
.hero-events {
  position: relative;
  min-height: 60vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  /* The background-image is handled by the <img> tag in the HTML now */
}
.hero-events .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
.hero-events .hero-inner {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
}
.hero-events .hero-title {
  margin-bottom: 1.25rem;
}
.hero-events .hero-subtitle {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .hero-events {
    min-height: 550px;
  }
  .hero-events .hero-inner {
    padding: 5rem 1.5rem;
  }
  .hero-events .hero-subtitle {
    margin-bottom: 2.5rem;
  }
}


/* === Dropdown Navigation Styles === */
/* === (Add this to the end of style.css) === */

/* --- Mobile First (Accordion) --- */
.nav-item {
  position: relative;
}
.nav-item--has-dropdown > .site-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Mobile touch optimization for dropdown toggle */
.js-nav-dropdown-toggle {
  cursor: pointer;
  touch-action: manipulation; /* Prevents zoom delays on mobile */
  -webkit-tap-highlight-color: rgba(5, 150, 105, 0.1); /* Visual feedback on tap */
  user-select: none; /* Prevent text selection on touch */
  -webkit-user-select: none;
}
.nav-dropdown-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted);
  transition: transform 0.2s ease-in-out;
  pointer-events: none; /* Ensure icon doesn't interfere with link clicks */
}
.nav-item--has-dropdown > .site-nav-link:hover .nav-dropdown-icon {
  color: var(--ink);
}
.nav-item--has-dropdown.open > .site-nav-link > .nav-dropdown-icon {
  transform: rotate(-180deg);
}
.nav-dropdown {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none; /* Hidden by default */
  padding-left: 1rem; /* Indent */
  background: var(--bg);
  border-radius: 0 0 .5rem .5rem;
  margin-top: -0.25rem; /* Pull up to parent link */
  border-bottom: 2px solid var(--border);
}
.nav-item--has-dropdown.open > .nav-dropdown {
  display: block; /* Shown by JS */
}
.nav-dropdown .site-nav-link {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-dropdown .site-nav-link:hover {
  background: #e5e7eb;
}

/* --- Desktop Overrides (min-width: 768px) --- */
@media (min-width: 768px) {
  /* Show the nav on desktop regardless of hidden attribute */
  .site-nav {
    display: flex !important;
    position: static;
    overflow: visible !important;
  }
  .site-nav[hidden],
  nav#mobile-menu[hidden] {
    display: flex !important; /* override the HTML hidden */
  }

  .site-nav .nav-item--has-dropdown {
    position: relative; /* Position context for dropdown */
  }

  .nav-dropdown-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block; /* Show on desktop */
    margin-left: 0.25rem;
  }

  /* Desktop dropdown - hidden by default, revealed on hover */
  .site-nav .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    display: none; /* Hidden until hover/focus */
    min-width: 240px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 0.5rem;
    margin: 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 1100; /* Above header */
    border-bottom: none;
  }

  /* Reveal on hover/focus for desktop */
  .site-nav .nav-item--has-dropdown:hover > .nav-dropdown,
  .site-nav .nav-item--has-dropdown:focus-within > .nav-dropdown {
    display: block;
  }

  .nav-item--has-dropdown:hover > .site-nav-link {
    color: var(--ink);
  }

  /* Make parent link look/act like a toggle without jumping to # */
  .js-nav-dropdown-toggle {
    cursor: default;
  }

  /* Ensure dropdown items lay out nicely */
  .nav-dropdown .nav-item {
    list-style: none;
  }

  .nav-dropdown .site-nav-link.dropdown-item-with-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    color: var(--ink, #111827);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.15s ease;
  }

  .nav-dropdown .site-nav-link.dropdown-item-with-icon:hover {
    background: #f5f7fb;
  }

  .nav-dropdown .site-nav-link.active {
    background: var(--bg);
    color: var(--emerald-dark);
    font-weight: 700;
  }

  .nav-item--has-dropdown.has-active-child > .site-nav-link {
    color: var(--ink);
    font-weight: 700;
  }
}

/* === Dropdown Item Icon Styling === */
.dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--bg);
  border-radius: 0.5rem;
  transition: background 0.15s ease;
}
.dropdown-icon img,
.dropdown-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  color: var(--emerald-dark);
}
.dropdown-item-with-icon:hover .dropdown-icon {
  background: var(--emerald);
}
.dropdown-item-with-icon:hover .dropdown-icon img,
.dropdown-item-with-icon:hover .dropdown-icon svg {
  filter: brightness(0) invert(1);
}
.dropdown-item-with-icon.active .dropdown-icon {
  background: var(--emerald-dark);
}
.dropdown-item-with-icon.active .dropdown-icon img,
.dropdown-item-with-icon.active .dropdown-icon svg {
  filter: brightness(0) invert(1);
}

/* === Horizontal Scrolling Experience Cards (TopGolf Style) === */
.horizontal-scroll-container {
  margin-top: 2rem;
  overflow: hidden;
}

.horizontal-scroll-cards {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding: 0 1rem 1rem;
}

.horizontal-scroll-cards::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.experience-card {
  flex: 0 0 82%; /* Mobile: 82% width so next card shows */
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.experience-card-image {
  width: 100%;
  height: 180px; /* Mobile: Taller for more impact */
  overflow: hidden;
  background: var(--bg);
}

.experience-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.experience-card:hover .experience-card-image img {
  transform: scale(1.05);
}

.experience-card-content {
  padding: 1.25rem; /* Mobile: Reduced padding */
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* Mobile: Reduced gap */
  flex: 1; /* Fill remaining card height */
}

.experience-card-title {
  font-size: 1.25rem; /* Mobile: Smaller title */
  font-weight: 800;
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
}

.experience-card-text {
  font-size: 0.9rem; /* Mobile: Slightly smaller text */
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}

.experience-card-content .btn-primary,
.experience-card-content .btn-secondary {
  width: 100%;
  text-align: center;
  margin-top: auto; /* Push buttons to bottom for consistent alignment */
  padding: 0.65rem 1rem; /* Mobile: Slightly smaller buttons */
  font-size: 0.9rem;
}

.scroll-hint {
  text-align: center;
  margin-top: 0.75rem; /* Reduced from 1.5rem */
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

/* === Scroll Navigation Dots === */
.scroll-navigation {
  display: none; /* Hide on mobile */
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .scroll-navigation {
    display: flex; /* Show on desktop */
  }
}
.scroll-nav-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.scroll-nav-btn:hover {
  background: var(--emerald);
  border-color: var(--emerald);
}
.scroll-nav-btn:hover svg {
  color: var(--white);
}
.scroll-nav-btn svg {
  width: 24px;
  height: 24px;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.scroll-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.scroll-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.scroll-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}
.scroll-dot.active {
  background: var(--emerald);
  width: 12px;
  height: 12px;
}
.scroll-dot:hover {
  background: var(--emerald-dark);
}

/* Desktop: Show 2-3 cards at once with larger size (TopGolf style) */
@media (min-width: 768px) {
  .horizontal-scroll-cards {
    gap: 2rem;
    padding: 0 0 1.5rem;
  }

  .experience-card {
    flex: 0 0 calc(48% - 1rem); /* ~2 cards visible with partial 3rd on tablet */
  }

  .experience-card-image {
    height: 280px; /* Desktop: Much taller images */
  }

  .experience-card-content {
    padding: 2rem; /* Desktop: More padding */
    gap: 1.25rem;
  }

  .experience-card-title {
    font-size: 1.75rem; /* Desktop: Larger title */
    line-height: 1.2;
  }

  .experience-card-text {
    font-size: 1.05rem; /* Desktop: Larger text */
    line-height: 1.6;
  }

  .experience-card-content .btn-primary,
  .experience-card-content .btn-secondary {
    margin-top: auto; /* Maintain auto for consistent alignment */
    padding: 0.875rem 1.5rem; /* Desktop: Larger buttons */
    font-size: 1.05rem;
  }

  .scroll-hint {
    display: none; /* Hide scroll hint on desktop */
  }
}

@media (min-width: 1024px) {
  .experience-card {
    flex: 0 0 calc(42% - 1.35rem); /* 2+ cards visible with partial 3rd for scroll affordance */
  }

  .experience-card-image {
    height: 320px; /* Even taller on desktop */
  }
}

/* === Floating Contact Button (Mobile Only) === */
.floating-contact-btn {
  position: fixed;
  bottom: 1.5rem; /* No sticky book bar anymore */
  right: 1rem;
  z-index: 30;
  display: block;
}
.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--emerald);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.floating-btn:hover {
  background: var(--emerald-dark);
  transform: scale(1.05);
}
.floating-btn svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}
.floating-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  min-width: 140px;
  display: none;
}
.floating-menu:not([hidden]) {
  display: block;
}
.floating-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--ink-2);
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}
.floating-menu-item:hover {
  background: var(--bg);
  color: var(--ink);
}
.floating-menu-item svg {
  width: 20px;
  height: 20px;
  color: var(--emerald);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .floating-contact-btn {
    display: none; /* Hide on desktop - utility bar handles this */
  }
}