/* =================================================================
   Dragon's Fire Golf Club - Premium Stylesheet
   ================================================================= */

/* --- Font Face --- */
@font-face {
  font-family: 'Firlest';
  src: url('fonts/Firlest-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark: #1c1210;
  --dark-light: #2d1f1b;
  --dark-mid: #3a2a25;
  --fire: #cc2a2a;
  --fire-light: #db3c3c;
  --fire-dark: #a82222;
  --fire-bg: rgba(204, 42, 42, 0.08);
  --gold: #d4a534;
  --gold-light: #e0b94e;
  --gold-dark: #b8902a;
  --cream: #f3f3f2;        /* light grey section background (was beige) */
  --cream-dark: #e4e4e2;
  --white: #ffffff;
  --gray-50: #fafaf9;
  --gray-100: #f5f5f4;
  --gray-200: #e7e5e4;
  --gray-300: #d6d3d1;
  --gray-400: #a8a29e;
  --gray-500: #78716c;
  --gray-600: #57534e;
  --gray-700: #44403c;
  --gray-800: #292524;
  --gray-900: #1c1917;
  --font-display: 'Firlest', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 8px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 20px -3px rgba(0,0,0,0.12), 0 4px 8px -4px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 30px -5px rgba(0,0,0,0.14), 0 8px 12px -6px rgba(0,0,0,0.08);
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --radius: 8px;             /* buttons & form inputs — slightly rounded */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Spacing scale — keep all sections and blocks on this rhythm */
  --space-section: 96px;     /* vertical padding of every full-width band */
  --space-block: 48px;       /* gap between a section's title block and its content */
  --space-grid: 24px;        /* card grid gap */
  --space-grid-lg: 32px;     /* large card grid gap */
  --space-split: 64px;       /* two-column text/image layout gap */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Stop iOS Safari from inflating text in nowrap tickers and tables */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* No single-word last lines anywhere: balance headings/subtitles,
   and let body text avoid orphan words on its final line */
h1, h2, h3, h4,
.section-title,
.page-hero-title,
.page-hero-subtitle,
.section-subtitle,
.hero-subtitle,
.policies-subtitle {
  text-wrap: balance;
}

p, li, blockquote, figcaption {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  padding: var(--space-section) 0;
}

.section-label {
  display: block; /* <span> labels were inline, so their margin-bottom was ignored */
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fire);
  margin-bottom: 12px;
}

/* Keep labels consistent even inside text blocks that restyle every <p>
   (.course-overview-text p, .tournament-content p, .welcome-text p, …) */
p.section-label,
.course-overview-text .section-label,
.tournament-content .section-label,
.welcome-text .section-label,
.gc-intro .section-label,
.lessons-cta .section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fire);
  margin-bottom: 12px;
}

.section-label--light,
p.section-label--light {
  color: var(--gold-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
}

.section-title--light {
  color: var(--white);
}

.section-title--fire {
  color: var(--fire);
}

.section-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 640px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  gap: 8px;
  white-space: nowrap;
}

.btn-full-width {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(180deg, var(--fire-light) 0%, var(--fire) 100%);
  color: var(--white);
  border-color: var(--fire);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 8px rgba(204, 42, 42, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--fire-light) 0%, var(--fire-light) 100%);
  border-color: var(--fire-light);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 16px rgba(204, 42, 42, 0.35);
}

.btn-outline {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.16);
  border-color: var(--white);
}

.btn-secondary {
  background: linear-gradient(180deg, var(--dark-light) 0%, var(--dark) 100%);
  color: var(--white);
  border-color: var(--dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 2px 8px rgba(28, 18, 16, 0.25);
}

.btn-secondary:hover {
  background: linear-gradient(180deg, var(--dark-mid) 0%, var(--dark-light) 100%);
  border-color: var(--dark-light);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 16px rgba(28, 18, 16, 0.35);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--dark);
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 8px rgba(212, 165, 52, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-light) 100%);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 4px 16px rgba(212, 165, 52, 0.35);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* =================================================================
   ANNOUNCEMENT BANNER
   ================================================================= */
.announcement-banner {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  max-height: 50px;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}

.announcement-banner a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.announcement-banner a:hover {
  color: var(--gold-light);
}

/* Single line; duplicated text only shows on mobile where it loops as a ticker */
.announcement-track {
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-text {
  white-space: nowrap;
}

.announcement-text + .announcement-text {
  display: none;
}

/* Features switched off in site-config.js: hidden before first paint */
.off-giftCertificates [data-feature="giftCertificates"] {
  display: none !important;
}

/* Hide banner: add class "banner-hidden" to .announcement-banner */
.announcement-banner.banner-hidden {
  display: none;
}

/* =================================================================
   NAVIGATION
   ================================================================= */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s ease;
}

.nav-header .nav-container {
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav-header.scrolled,
.nav-header.nav-solid {
  background: rgba(28, 18, 16, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 1px 20px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav-logo-img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-link.active {
  color: var(--white);
}

.nav-cta {
  background: linear-gradient(180deg, var(--fire-light) 0%, var(--fire) 100%);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 10px 22px;
  border-radius: var(--radius);
  margin-left: 8px;
  transition: all var(--transition);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 8px rgba(204, 42, 42, 0.25);
}

.nav-cta:hover {
  background: linear-gradient(180deg, var(--fire-light) 0%, var(--fire-light) 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 16px rgba(204, 42, 42, 0.35);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =================================================================
   HERO (Home Page)
   ================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 18, 16, 0.95) 0%,
    rgba(28, 18, 16, 0.7) 30%,
    rgba(28, 18, 16, 0.5) 60%,
    rgba(28, 18, 16, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 48px;
  color: var(--white);
  text-align: center;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6.5vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--fire-light);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-body);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* =================================================================
   PAGE HERO (Inner Pages)
   ================================================================= */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 18, 16, 0.6) 0%,
    rgba(28, 18, 16, 0.8) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 60px;
  color: var(--white);
  width: 100%;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 12px;
}

.page-hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin: 0 auto;
}

/* =================================================================
   WELCOME / ABOUT
   ================================================================= */
.welcome {
  background: var(--cream);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-split);
  align-items: center;
}

.welcome-text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.welcome-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-body);
  font-size: 2.5rem;
  color: var(--fire);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-top: 6px;
}

.welcome-images {
  position: relative;
  height: 500px;
}

.welcome-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 75%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
}

.welcome-img-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 45%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--cream);
  object-fit: cover;
}

/* =================================================================
   COURSE HIGHLIGHTS (Dark photo-backed section)
   ================================================================= */
.highlights-section {
  position: relative;
  padding: var(--space-section) 0;
  overflow: hidden;
}

.highlights-bg {
  position: absolute;
  inset: 0;
}

.highlights-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlights-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 18, 16, 0.93) 0%,
    rgba(28, 18, 16, 0.88) 100%
  );
}

.highlights-section .container {
  position: relative;
  z-index: 1;
}

.highlights-section .section-title {
  margin-bottom: 60px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-grid);
}

.feature-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all var(--transition);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 24px rgba(0,0,0,0.18);
}

.feature-card:hover {
  background: linear-gradient(160deg, rgba(255,255,255,0.13), rgba(255,255,255,0.05));
  border-color: rgba(212,165,52,0.35);
  transform: translateY(-4px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

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

/* =================================================================
   QUICK LINKS (photo cards — reuse each page's hero image)
   ================================================================= */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-grid);
  margin-top: var(--space-block);
}

/* Three cards per row. With five cards, the last two share the
   bottom row evenly instead of leaving an empty slot. */
.quick-links-grid > .quick-card {
  grid-column: span 2;
}

.quick-links-grid > .quick-card:nth-child(4):nth-last-child(2),
.quick-links-grid > .quick-card:nth-child(5):last-child {
  grid-column: span 3;
}

.quick-card {
  position: relative;
  display: block;
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition), transform var(--transition);
}

.quick-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}

.quick-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.quick-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 18, 16, 0.88) 0%,
    rgba(28, 18, 16, 0.45) 45%,
    rgba(28, 18, 16, 0.15) 100%
  );
  transition: background var(--transition);
}

.quick-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  color: var(--white);
}

.quick-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
}

.quick-card-content p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
  max-width: 480px;
}

.quick-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  transition: color var(--transition), gap var(--transition);
}

.quick-card:hover .quick-card-link {
  color: var(--gold-light);
  gap: 12px;
}

/* =================================================================
   TESTIMONIAL CAROUSEL
   ================================================================= */
/* --- Find Us Section --- */
.find-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-split);
  align-items: start;
}

.find-us-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  border: 1px solid var(--gray-200);
}

.find-us-map iframe {
  display: block;
}

.find-us-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.find-us-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.find-us-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--fire);
}

.find-us-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.find-us-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.find-us-item p a {
  color: var(--gray-600);
  text-decoration: none;
}

.find-us-item p a:hover {
  color: var(--fire);
}

.find-us-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fire);
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s;
}

.find-us-link:hover {
  color: var(--fire-dark);
}

.find-us-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.find-us-directions {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.find-us-directions h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.find-us-directions p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .find-us-grid {
    grid-template-columns: 1fr;
  }
  .find-us-map {
    height: 300px;
  }
}

/* --- Lessons Overview Grid --- */
.lessons-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-split);
  align-items: center;
}

.lessons-image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 520px;
}

.lessons-img-tall {
  grid-row: 1 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.lessons-img-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lessons-img-short {
  grid-row: 1 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-top: 60px;
  margin-bottom: -60px;
}

.lessons-img-short img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Lesson Format Cards --- */
.lesson-formats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-grid);
}

.lesson-format-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.lesson-format-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gray-300);
}

.lesson-format-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.lesson-format-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--fire-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--fire);
}

.lesson-format-header h4 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.lesson-format-duration {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.lesson-format-card > p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 20px;
  flex: 1;
}

.lesson-format-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

@media (max-width: 768px) {
  .lesson-formats-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .lesson-format-card {
    padding: 24px;
  }
}

/* --- Instructor Card --- */
.instructor-card {
  max-width: 480px;
  margin: 48px auto 0;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.instructor-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 4px solid var(--gold);
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-name {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.instructor-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fire);
  margin-bottom: 20px;
}

.instructor-bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 28px;
}

@media (max-width: 480px) {
  .instructor-card {
    padding: 36px 24px;
  }
  .instructor-photo {
    width: 120px;
    height: 120px;
  }
}

.testimonial-section {
  background: var(--dark);
  padding: var(--space-section) 0;
  text-align: center;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.testimonial-stars {
  font-size: 1.5rem;
  color: #f5a623;
  margin-bottom: 24px;
  letter-spacing: 4px;
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.7;
  color: var(--white);
  font-style: italic;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Five stars above standalone quotes (carousel slides already have their own) */
.testimonial-quote::before {
  content: '\2605\2605\2605\2605\2605';
  display: block;
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 4px;
  color: #f5a623;
  margin-bottom: 24px;
}

.testimonial-slide .testimonial-quote::before {
  display: none;
}

.testimonial-cite {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.testimonial-source {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonial-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.testimonial-btn:hover {
  border-color: var(--fire);
  color: var(--fire);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.testimonial-dot.active {
  background: var(--fire);
  width: 24px;
  border-radius: 4px;
}

/* =================================================================
   CTA BANNER
   ================================================================= */
.cta-section {
  position: relative;
  padding: var(--space-section) 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--fire) 0%, var(--dark) 100%);
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(204, 42, 42, 0.9) 0%,
    rgba(28, 18, 16, 0.85) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.cta-content .section-title {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  background: var(--dark);
  padding: var(--space-section) 0 0;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  align-self: flex-start;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--fire);
  color: var(--white);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer h4 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--fire);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

/* =================================================================
   CASHLESS BANNER
   ================================================================= */
.cashless-banner {
  background: var(--dark);
  color: var(--white);
  padding: 14px 0;
  font-size: 0.875rem;
}

.cashless-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cashless-banner svg {
  flex-shrink: 0;
  color: var(--gold);
}

.cashless-banner strong {
  color: var(--gold);
}

/* =================================================================
   RATES PAGE
   ================================================================= */

.rates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-grid-lg);
  margin-bottom: 48px;
}

.rate-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.rate-card-header {
  background: var(--dark);
  color: var(--white);
  padding: 24px 28px;
}

.rate-card-header h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  margin-bottom: 4px;
}

.rate-card-header p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.rate-card-body {
  padding: 8px 0;
}

.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--gray-100);
}

.rate-row:last-child {
  border-bottom: none;
}

.rate-row--na {
  opacity: 0.45;
}

.rate-label {
  color: var(--gray-700);
}

.rate-price {
  font-weight: 700;
  color: var(--dark);
}

.rate-card--featured {
  border-color: var(--fire);
  box-shadow: var(--shadow-lg);
}

.rate-card--featured .rate-card-header {
  background: var(--fire);
}

.rates-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 32px;
}

.rates-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px; /* sits between the rate cards and Equipment Rentals */
}

/* Highlight card (used for specials/promos) */
.highlight-card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
  padding: 40px;
}

.highlight-card:has(.highlight-card-content) {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  padding: 0;
}

.highlight-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.highlight-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.highlight-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-card-content h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.highlight-card-content p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.highlight-card-image {
  overflow: hidden;
}

.highlight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =================================================================
   TOURNAMENT PAGE
   ================================================================= */
.tournament-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-split);
  align-items: center;
}

.tournament-content h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.tournament-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.tournament-features {
  list-style: none;
  margin: 24px 0;
}

.tournament-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.tournament-features li svg {
  width: 20px;
  height: 20px;
  color: var(--fire);
  flex-shrink: 0;
}

.tournament-image {
  position: relative;
  height: 520px;
}

.tournament-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
}

.tournament-img-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 50%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--cream);
  object-fit: cover;
}

.tournament-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-grid);
  margin-top: var(--space-block);
}

.tournament-type-card {
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tournament-type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--fire));
  opacity: 0;
  transition: opacity var(--transition);
}

.tournament-type-card[data-popup] {
  cursor: pointer;
}

.tournament-type-card:hover,
.tournament-type-card:focus-visible {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  outline: none;
}

.tournament-type-card:hover::before,
.tournament-type-card:focus-visible::before {
  opacity: 1;
}

.tournament-type-card svg {
  width: 60px;
  height: 60px;
  padding: 15px;
  color: var(--fire);
  background: var(--fire-bg);
  border-radius: 16px;
  margin: 0 auto 20px;
  box-sizing: border-box;
}

.tournament-type-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.125rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.tournament-type-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-500);
}

/* =================================================================
   LEAGUE CARDS
   ================================================================= */
.leagues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-grid-lg);
}

.league-detail-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.league-detail-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.league-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.league-detail-header {
  padding: 28px 32px 16px;
  display: flex;
  flex-direction: column;
}

.league-detail-header h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.league-detail-header p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.league-detail-body {
  padding: 16px 32px 0;
  background: var(--white);
}

.league-detail-footer {
  padding: 24px 32px 32px;
}

.league-info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9375rem;
}

.league-info-row:last-child {
  border-bottom: none;
}

.league-info-label {
  color: var(--gray-500);
  font-weight: 500;
}

.league-info-value {
  color: var(--dark);
  font-weight: 600;
}

/* =================================================================
   GIFT CERTIFICATES PAGE (ecomm-style)
   ================================================================= */
.gc-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-block);
}

.gc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-grid-lg);
}

.gc-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.gc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.gc-card--featured {
  border-color: var(--fire);
  position: relative;
}

/* Badge text comes from the campaign config (badge: 'Most Popular') and
   renders as a .gc-card-badge span — see site-config.js */

.gc-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.gc-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gc-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gc-card-body h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.gc-card-body .gc-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray-500);
  margin-bottom: 20px;
  /* Reserve three lines so price, features, and buttons align across cards */
  min-height: 4.8em;
}

.gc-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.gc-price-amount {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
}

.gc-price-detail {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.gc-price-meta {
  font-size: 0.8125rem;
  color: var(--fire);
  font-weight: 600;
  margin-bottom: 20px;
}

.gc-features {
  list-style: none;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.gc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.gc-features li svg {
  width: 16px;
  height: 16px;
  color: var(--fire);
  flex-shrink: 0;
}

.gc-card .btn {
  width: 100%;
  margin-top: auto;
}

/* --- How It Works Steps --- */
.gc-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-grid-lg);
  max-width: 900px;
  margin: 0 auto;
}

.gc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.gc-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--fire);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gc-step-content h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.gc-step-content p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.gc-note {
  text-align: center;
  padding: 48px 32px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}

.gc-note h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.gc-note p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

/* =================================================================
   CONTACT PAGE
   ================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-split);
}

.contact-info {
  padding: 8px 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fire-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--fire);
}

.contact-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.contact-item a:hover {
  color: var(--fire);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* Directions (lives in the same section as the map) */
.contact-directions {
  margin-top: 64px;
}

.directions-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-split);
  margin-top: 32px;
}

.directions-distances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.distance-item {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
}

.distance-time {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--fire);
  line-height: 1;
}

.distance-from {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 6px;
}

.directions-steps h4 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.directions-list {
  list-style: decimal;
  list-style-position: outside;
  padding-left: 1.5em;   /* markers sit flush with the heading's left edge */
  margin-bottom: 16px;
}

.directions-list li {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding: 4px 0;
  padding-left: 4px;
}

.directions-list li::marker {
  font-weight: 600;
  color: var(--dark);
}

.directions-tip {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-style: italic;
  padding: 12px 16px;
  background: var(--cream);
  border-left: 3px solid var(--fire);
  border-radius: var(--radius-sm);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.contact-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fire-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fire);
  transition: all var(--transition);
}

.contact-social a:hover {
  background: var(--fire);
  color: var(--white);
}

.contact-social a svg {
  width: 20px;
  height: 20px;
}

/* =================================================================
   COURSE PAGE - Overview
   ================================================================= */
.course-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-split);
  align-items: center;
}

.course-overview-text p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.course-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.course-stat {
  text-align: center;
}

.course-stat-number {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--fire);
  line-height: 1.1;
}

.course-stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-top: 4px;
}

.course-overview-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.course-overview-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* =================================================================
   COURSE PAGE - Policies
   ================================================================= */
.policies-section {
  background: var(--cream);
}

.policies-subtitle {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 40px;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.policies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-grid);
}

.policy-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 14px;
  padding: 28px 24px;
  border-top: 3px solid var(--fire);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.policy-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.policy-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.policy-list li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c4451c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* =================================================================
   COURSE PAGE - Scorecard
   ================================================================= */
.scorecard-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-block);
}

.scorecard-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.scorecard-table thead th {
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 14px;
  text-align: center;
  white-space: nowrap;
}

.scorecard-table thead th:first-child {
  text-align: left;
  padding-left: 20px;
}

.scorecard-table tbody td {
  padding: 11px 14px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

.scorecard-table tbody td:first-child {
  text-align: left;
  padding-left: 20px;
  font-weight: 600;
  color: var(--dark);
}

.scorecard-table tbody tr:nth-child(even) {
  background: var(--gray-50);
}

.scorecard-table .par-row {
  background: rgba(204, 42, 42, 0.08) !important;
}

.scorecard-table .par-row td {
  font-weight: 700;
  color: var(--dark);
}

.scorecard-table .total-row {
  background: var(--dark) !important;
}

.scorecard-table .total-row td {
  color: var(--white);
  font-weight: 700;
  border-bottom: none;
  padding: 14px 14px;
}

.scorecard-table .total-row td:first-child {
  color: var(--white);
}

/* Single-row full-18 layout */
.scorecard-table--full {
  min-width: 1140px;
}

.scorecard-table--full thead th,
.scorecard-table--full tbody td {
  padding: 12px 8px;
}

.scorecard-table--full thead th:first-child,
.scorecard-table--full tbody td:first-child {
  padding-left: 20px;
  min-width: 92px;
}

/* Out / In / Total summary columns */
.scorecard-table thead th.sum-col {
  background: var(--dark-mid);
  color: var(--gold-light);
}

.scorecard-table tbody td.sum-col {
  background: var(--cream);
  font-weight: 700;
  color: var(--dark);
}

.scorecard-table .par-row td.sum-col {
  background: var(--cream-dark);
}

.scorecard-table .hcp-row td {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.scorecard-table .tee-black { color: var(--dark); font-weight: 700; }
.scorecard-table .tee-blue { color: #3b6fa0; font-weight: 600; }
.scorecard-table .tee-white { color: var(--gray-600); }
.scorecard-table .tee-red { color: #c0392b; font-weight: 500; }

.scorecard-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
  margin-bottom: 24px;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.scorecard-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.scorecard-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.scorecard-legend .dot--black { background: var(--dark); }
.scorecard-legend .dot--blue { background: #3b6fa0; }
.scorecard-legend .dot--white { background: var(--gray-400); border: 1px solid var(--gray-300); }
.scorecard-legend .dot--red { background: #c0392b; }

/* Clickable scorecard columns */
.hole-col {
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.scorecard-table thead th.hole-col:hover {
  background: var(--fire);
}

.scorecard-table tbody td.hole-col:hover {
  background: rgba(204, 42, 42, 0.06);
}

.scorecard-table thead th.hole-col--active {
  background: var(--fire);
  box-shadow: inset 0 -3px 0 var(--gold);
}

.scorecard-table tbody td.hole-col--active {
  background: rgba(204, 42, 42, 0.08);
  font-weight: 700;
}

.scorecard-table .par-row td.hole-col--active {
  background: rgba(204, 42, 42, 0.15);
}

/* Hole detail panel */
.hole-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-top: var(--space-block);
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.hole-detail-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.hole-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.hole-detail-info {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
}

.hole-detail-header {
  margin-bottom: 20px;
}

.hole-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 8px;
}

.hole-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.hole-meta {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hole-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hole-description {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 28px;
  /* Reserve room for the longest description so the nav row doesn't jump hole to hole */
  min-height: 12.25em;
}

/* Hole navigation */
.hole-detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}

.hole-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hole-nav-btn:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.hole-nav-btn svg {
  width: 16px;
  height: 16px;
}

.hole-nav-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =================================================================
   FAQ SECTION
   ================================================================= */
.faq-section {
  margin-top: var(--space-block);
  padding-top: var(--space-block);
  border-top: 1px solid var(--cream-dark);
}

.faq-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 32px;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-grid);
}

.faq-item {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.faq-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
}

.faq-item a {
  color: var(--fire);
  font-weight: 500;
}

/* =================================================================
   LESSONS SECTION (used on tournament page)
   ================================================================= */
.lessons-cta {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-top: var(--space-block);
}

.lessons-cta h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.lessons-cta p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* =================================================================
   MISSING UTILITY CLASSES
   ================================================================= */
.section--cream,
.section-cream {
  background: var(--cream);
}

/* Welcome stat badges (home page) */
.welcome-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.welcome-stat-number {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2rem;
  color: var(--fire);
  line-height: 1;
}

.welcome-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-top: 6px;
}

/* Hero stat number (home page) */
.hero-stat-number {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

/* GC card badge (gift certificates featured) */
.gc-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--fire);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 2;
}

/* Contact icon circle */
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--fire-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =================================================================
   PREMIUM POLISH
   ================================================================= */

/* Grey sections stay flat — no colour washes (they read as beige) */
.welcome,
.section--cream,
.section-cream,
.policies-section {
  background: var(--cream);
}

/* Gold rule under centred section titles */
.section-title[style*="text-align: center"]::after,
.section-title[style*="text-align:center"]::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--fire));
}

/* Course rating cards (scorecard page) */
.course-ratings {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  text-align: center;
}

.course-rating-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.course-rating-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Rate card headers get depth instead of flat fills */
.rate-card-header {
  background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
}

.rate-card--featured .rate-card-header {
  background: linear-gradient(135deg, var(--fire-light) 0%, var(--fire-dark) 100%);
}

.rate-card {
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.rate-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Step numbers: gradient + glow */
.gc-step-number {
  background: linear-gradient(160deg, var(--fire-light), var(--fire-dark));
  box-shadow: 0 6px 16px rgba(204, 42, 42, 0.3);
}

/* Small info cards */
.faq-item,
.distance-item {
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.faq-item:hover,
.distance-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* League & gift-certificate cards: rounder, lifted */
.league-detail-card,
.gc-card {
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.league-detail-card {
  transition: box-shadow var(--transition), transform var(--transition);
}

.league-detail-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Cream promo boxes */
.lessons-cta,
.gc-note,
.highlight-card {
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
}

/* Testimonial nav buttons: subtle glass */
.testimonial-btn {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* =================================================================
   ANIMATIONS
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance — staggered fade-up on page load */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline,
.hero-title,
.hero-subtitle,
.hero-actions {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title { animation-delay: 0.15s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.45s; }

/* Image lift on card hover */
.gc-card-image img,
.league-detail-image img,
.course-overview-image img,
.highlight-card-image img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gc-card:hover .gc-card-image img,
.league-detail-card:hover .league-detail-image img,
.course-overview-image:hover img,
.highlight-card:hover .highlight-card-image img {
  transform: scale(1.04);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

/* =================================================================
   RESPONSIVE
   ================================================================= */
/* Laptop widths: tighten the nav so all links + CTA fit on one line */
@media (max-width: 1200px) {
  .nav-link {
    font-size: 0.8125rem;
    padding: 8px 9px;
  }

  .nav-cta {
    font-size: 0.8125rem;
    padding: 10px 16px;
    margin-left: 4px;
  }
}

@media (max-width: 1024px) {
  /* --- Navigation: hamburger from tablet down so links never wrap --- */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    transition: right 0.4s ease;
    padding: 120px 32px 40px;
    z-index: 1001;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .nav-link {
    font-size: 1rem;
    padding: 10px 24px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    font-size: 0.9375rem;
    padding: 12px 28px;
  }

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

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

  .quick-links-grid > .quick-card,
  .quick-links-grid > .quick-card:nth-child(4):nth-last-child(2),
  .quick-links-grid > .quick-card:nth-child(5):last-child {
    grid-column: auto;
  }

  /* An odd card left alone on the last row spans the full width */
  .quick-links-grid > .quick-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .tournament-grid {
    gap: 48px;
  }

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

  .highlight-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .leagues-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .directions-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hole-detail {
    gap: 32px;
    padding: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

  .course-overview-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  /* --- Global mobile reductions --- */
  :root {
    --space-section: 48px;
    --space-block: 32px;
    --space-split: 32px;
  }

  .section {
    padding: var(--space-section) 0;
  }

  .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }

  .section-label {
    font-size: 0.6875rem;
    margin-bottom: 8px;
  }

  body {
    font-size: 0.9375rem;
  }

  /* --- Buttons --- */
  .btn {
    padding: 12px 24px;
    font-size: 0.9375rem;
    min-height: 48px;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.9375rem;
  }

  /* --- Navigation --- */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: right 0.4s ease;
    padding: 80px 32px;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-link {
    font-size: 1rem;
    padding: 10px 24px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    font-size: 0.9375rem;
    padding: 12px 28px;
  }

  /* --- Nav: slimmer bar --- */
  .nav-logo-img {
    height: 40px;
  }

  .nav-header .nav-container {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-header.scrolled,
  .nav-header.nav-solid {
    padding: 4px 0;
  }

  /* --- Hero --- */
  .hero {
    min-height: 85vh;
  }

  /* Top padding offsets the fixed nav so the centred block sits lower */
  .hero-content {
    padding: 100px 20px 24px;
  }

  .hero-tagline {
    font-size: 0.6875rem;
  }

  .hero-title {
    font-size: 3rem;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 1.0625rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-stats {
    gap: 20px;
    margin-top: 24px;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .hero-stat-label {
    font-size: 0.625rem;
  }

  .hero-stat-value {
    font-size: 1.25rem;
  }

  /* --- Announcement Banner: scrolls as a ticker --- */
  .announcement-banner {
    font-size: 0.6875rem;
    padding: 7px 0;
    white-space: nowrap;
  }

  .announcement-track {
    justify-content: flex-start;
    overflow: hidden;
  }

  .announcement-text {
    flex-shrink: 0;
    padding-right: 56px;
    animation: cashless-scroll 14s linear infinite;
  }

  .announcement-text + .announcement-text {
    display: inline;
  }

  @media (prefers-reduced-motion: reduce) {
    .announcement-text { animation: none; white-space: normal; padding: 0 12px; }
    .announcement-text + .announcement-text { display: none; }
  }

  /* --- Page Heroes --- */
  .page-hero {
    min-height: 340px;
  }

  .page-hero-content {
    padding: 84px 20px 32px;
  }


  .page-hero-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
  }

  .page-hero-subtitle {
    font-size: 0.875rem;
  }

  /* --- Welcome --- */
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .welcome-text p {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .welcome-text p + p {
    margin-top: 14px;
  }

  .welcome-images {
    height: 280px;
  }

  .welcome-stats {
    gap: 20px;
  }

  .welcome-stat-number {
    font-size: 1.5rem;
  }

  .welcome-stat-label {
    font-size: 0.625rem;
  }

  /* --- Highlights --- */
  .highlights-section {
    padding: 48px 0;
  }

  .highlights-section .section-title {
    margin-bottom: 32px;
  }

  /* Cards inside a swipe carousel skip the scroll-reveal offset: off-screen
     cards never intersect, and their translateY would add vertical slack */
  .highlights-grid .reveal,
  .tournament-types .reveal,
  .policies-grid .reveal,
  .course-ratings .reveal {
    opacity: 1;
    transform: none;
  }

  /* Feature cards: one-card-wide swipe carousel (next card peeks in) */
  .highlights-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 4px 20px 8px;
    scroll-padding-left: 20px;
  }

  .highlights-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .feature-card:hover {
    transform: none;
  }

  .feature-card {
    padding: 20px 16px;
  }

  .feature-icon svg {
    width: 28px;
    height: 28px;
  }

  .feature-card h3 {
    font-size: 0.875rem;
    margin-bottom: 6px;
  }

  .feature-card p {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  /* --- Quick Links --- */
  .quick-links-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .quick-card {
    min-height: 220px;
  }

  .quick-card-content {
    padding: 20px;
  }

  .quick-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
  }

  .quick-card-content p {
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .quick-card-link {
    font-size: 0.75rem;
  }

  /* --- Testimonial --- */
  .testimonial-section {
    padding: 48px 0;
  }

  .testimonial-stars {
    font-size: 1.125rem;
  }

  .testimonial-quote {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .testimonial-cite {
    font-size: 0.875rem;
  }

  .testimonial-source {
    font-size: 0.6875rem;
  }

  .testimonial-btn {
    width: 32px;
    height: 32px;
  }

  .testimonial-btn svg {
    width: 14px;
    height: 14px;
  }

  /* --- CTA --- */
  .cta-section {
    padding: 48px 0;
  }

  .cta-content .section-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .cta-content p {
    font-size: 0.875rem;
    margin-bottom: 20px;
  }

  /* --- Rates --- */
  .rates-grid {
    grid-template-columns: 1fr;
  }

  .rate-card-header {
    padding: 20px 16px;
  }

  .rate-card-header h3 {
    font-size: 1rem;
  }

  .rate-row {
    padding: 12px 16px;
    font-size: 0.875rem;
  }

  .rate-price {
    font-size: 0.9375rem;
  }

  .highlight-card:has(.highlight-card-content) {
    grid-template-columns: 1fr;
  }

  .highlight-card-content {
    padding: 24px 20px;
  }

  .highlight-card-image {
    height: 220px;
  }

  /* --- Tournaments --- */
  .tournament-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tournament-image {
    height: 300px;
  }

  .lessons-overview-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lessons-image-stack {
    height: 300px;
  }

  .lessons-img-short {
    margin-top: 40px;
    margin-bottom: -40px;
  }

  /* Occasion cards: one-card-wide swipe carousel */
  .tournament-types {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: var(--space-block) -20px 0;
    padding: 4px 20px 8px;
    scroll-padding-left: 20px;
  }

  .tournament-types::-webkit-scrollbar {
    display: none;
  }

  .tournament-type-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    padding: 20px 16px;
  }

  .tournament-type-card:hover {
    transform: none;
  }

  /* Tee ratings: swipe carousel, about one and a half cards visible */
  .course-ratings {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px 24px;
    padding: 4px 20px 8px;
    scroll-padding-left: 20px;
  }

  .course-ratings::-webkit-scrollbar {
    display: none;
  }

  .course-rating-card {
    flex: 0 0 62%;
    scroll-snap-align: start;
  }

  .course-rating-card:hover {
    transform: none;
  }

  .tournament-type-card h4 {
    font-size: 1rem;
  }

  .tournament-type-card p {
    font-size: 0.8125rem;
  }

  .tournament-features li {
    font-size: 0.875rem;
  }

  /* --- Leagues --- */
  .league-detail-header {
    padding: 20px 20px 12px;
  }

  .league-detail-header h3 {
    font-size: 1rem;
  }

  .league-detail-body {
    padding: 12px 20px 0;
  }

  .league-detail-footer {
    padding: 20px;
  }

  .league-detail-body .league-info-row {
    font-size: 0.875rem;
  }

  /* --- Gift Certificates --- */
  .gc-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 16px;
  }

  /* Compact tiles: shorter photo, tighter spacing so a card isn't a full screen */
  .gc-card-image {
    aspect-ratio: 16 / 7;
  }

  .gc-card-body {
    padding: 18px 18px 20px;
  }

  /* Stacked cards don't need the reserved description space */
  .gc-card-body .gc-description {
    min-height: 0;
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .gc-card-body h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .gc-card-body p {
    font-size: 0.8125rem;
  }

  .gc-price-amount {
    font-size: 1.5rem;
  }

  .gc-price-meta {
    margin-bottom: 12px;
  }

  .gc-features {
    padding-top: 12px;
    margin-bottom: 16px;
  }

  .gc-features li {
    font-size: 0.875rem;
    padding: 4px 0;
  }

  .gc-card .btn {
    padding: 13px;
    font-size: 0.9375rem;
  }

  .gc-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
  }

  .gc-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  }

  .gc-step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1rem;
  }

  .gc-step-content h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .gc-step-content p {
    font-size: 0.875rem;
  }

  /* --- Contact --- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info h3 {
    font-size: 1rem;
  }

  .contact-form .form-row,
  .contact-form-card .form-row {
    grid-template-columns: 1fr;
  }

  /* --- Course --- */
  .course-overview-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .policies-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .policy-card {
    padding: 20px 16px;
  }

  .course-stats {
    gap: 20px;
  }

  .course-stat-number {
    font-size: 1.5rem;
  }

  .course-stat-label {
    font-size: 0.625rem;
  }

  .hole-detail {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px 14px;
  }

  .hole-detail-image {
    aspect-ratio: 16 / 9;
  }

  .hole-name {
    font-size: 1.25rem;
  }

  .hole-meta span {
    font-size: 0.8125rem;
  }

  .hole-description {
    font-size: 0.875rem;
    min-height: 0; /* stacked layout — no need to reserve space */
  }

  .hole-nav-btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
  }

  .scorecard-wrapper {
    margin: 0 -20px;
    padding: 0 20px;
    border-radius: 0;
  }

  .scorecard-table {
    font-size: 0.75rem;
    min-width: 700px;
  }

  .scorecard-table--full {
    min-width: 1000px;
  }

  .scorecard-table--full thead th:first-child,
  .scorecard-table--full tbody td:first-child {
    min-width: 72px;
  }

  .scorecard-table th,
  .scorecard-table td {
    padding: 8px 6px;
  }

  .scorecard-table thead th {
    font-size: 0.6875rem;
  }

  .scorecard-table thead th:first-child,
  .scorecard-table tbody td:first-child {
    padding-left: 10px;
  }

  /* --- Lessons --- */
  .lessons-cta {
    padding: 24px 20px;
  }

  .lessons-cta h3 {
    font-size: 1rem;
  }

  /* --- Directions --- */
  .directions-grid {
    gap: 24px;
  }

  .directions-steps {
    padding-left: 4px;
    padding-right: 4px;
  }

  .directions-distances {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .distance-card {
    padding: 16px 12px;
  }

  .distance-city {
    font-size: 0.8125rem;
  }

  .distance-time {
    font-size: 1.25rem;
  }

  /* --- Footer --- */
  .footer {
    padding: 48px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    font-size: 0.8125rem;
  }

  .footer h4 {
    font-size: 0.8125rem;
    margin-bottom: 12px;
  }

  .footer-links li a {
    font-size: 0.8125rem;
    padding: 3px 0;
  }

  .footer-contact-item {
    font-size: 0.8125rem;
  }

  .footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .btn {
    padding: 11px 20px;
    font-size: 0.8125rem;
  }

  .welcome-stats {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .directions-distances {
    grid-template-columns: 1fr 1fr;
  }

  .tournament-type-card {
    padding: 20px 16px;
  }
}

/* =================================================================
   RATE CARD NOTE
   ================================================================= */
.rate-card-note {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

/* =================================================================
   CONTACT FORM
   ================================================================= */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 48px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-form-header {
  margin-bottom: 32px;
  text-align: center;
}

.contact-form-header h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 10px;
}

.contact-form-header p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .contact-form-card {
    padding: 28px 20px;
  }
}

.contact-form-section {
  margin-top: var(--space-block);
}

.contact-form-section h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 24px;
}

.contact-form {
  max-width: 720px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

/* Labels & inputs match the inquiry popup forms */
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--fire);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231c1210' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.contact-form .btn {
  margin-top: 4px;
  padding: 16px 32px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--fire);
  box-shadow: 0 0 0 3px rgba(204, 42, 42, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

@media (max-width: 480px) {
  .contact-form-card {
    padding: 28px 20px;
  }
}

/* =================================================================
   Popup (inquiry forms — league registration, tournament inquiry)
   Light card that matches the site's form treatment.
   ================================================================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-card {
  background: var(--white);
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  position: relative;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.popup-overlay.active .popup-card {
  transform: translateY(0) scale(1);
}

.popup-body {
  padding: 40px 44px 36px;
  text-align: left;
}

.popup-body h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 10px;
  padding-right: 40px;
}

.popup-body > p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 28px;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s, color 0.2s;
}

.popup-close:hover {
  background: var(--gray-100);
  color: var(--dark);
}

/* Form layout */
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.popup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.popup-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popup-field label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.popup-form input,
.popup-form select,
.popup-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.popup-form input:focus,
.popup-form select:focus,
.popup-form textarea:focus {
  outline: none;
  border-color: var(--fire);
  box-shadow: 0 0 0 3px rgba(204, 42, 42, 0.12);
}

.popup-form input::placeholder,
.popup-form textarea::placeholder {
  color: var(--gray-400);
}

.popup-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231c1210' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Placeholder option reads as a placeholder until a choice is made */
.popup-form select:invalid {
  color: var(--gray-400);
}

.popup-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.popup-form .btn {
  margin-top: 4px;
  padding: 16px 32px;
  font-size: 1rem;
}

.popup-error {
  font-size: 0.875rem;
  color: var(--fire);
  text-align: center;
  margin: 0;
}

/* Spam trap: off-screen field real visitors never see or tab into */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact page form: error line and inline success message */
.contact-form .popup-error {
  margin-top: 16px;
}

.contact-form .popup-success {
  padding: 24px 0 8px;
  outline: none;
}

.contact-form .popup-success h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-form .popup-success p {
  margin-bottom: 0;
}

/* Success state */
.popup-success {
  text-align: center;
  padding: 12px 0 4px;
}

.popup-success svg {
  color: var(--gold);
  margin-bottom: 16px;
}

.popup-success h2 {
  padding-right: 0;
  margin-bottom: 8px;
}

.popup-success p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 28px;
}

@media (max-width: 480px) {
  .popup-card {
    border-radius: 12px;
  }
  .popup-body {
    padding: 28px 22px 24px;
  }
  .popup-body h2 {
    font-size: 1.6rem;
  }
  .popup-row {
    grid-template-columns: 1fr;
  }
  .popup-form,
  .popup-row {
    gap: 16px;
  }
  .popup-form input,
  .popup-form select,
  .popup-form textarea {
    padding: 12px 14px;
    font-size: 1rem; /* ≥16px prevents iOS zoom on focus */
  }
}

/* =================================================================
   FIRLEST — the display face is all-caps with small-cap lowercase.
   Title Case made the initials tower over the rest, so render all
   display text lowercase for a uniform line. CSS only — the HTML
   (and anything search engines read) is unchanged.
   ================================================================= */
.section-title,
.hero-title,
.page-hero-title,
.quick-card-content h3,
.hole-number,
.hole-name,
.contact-form-header h3,
.contact-form-section h3,
.popup-body h2 {
  text-transform: lowercase;
}

/* =================================================================
   CASHLESS BANNER — single line; scrolls as a ticker on mobile
   ================================================================= */
.cashless-track {
  display: flex;
  align-items: center;
}

.cashless-text {
  white-space: nowrap;
}

.cashless-text + .cashless-text {
  display: none; /* the duplicate only exists for the mobile loop */
}

/* =================================================================
   STICKY MOBILE CTA BAR — hidden on desktop
   ================================================================= */
.mobile-cta-bar {
  display: none;
}

/* =================================================================
   MOBILE REFINEMENTS
   ================================================================= */
@media (max-width: 768px) {

  /* Room for the sticky CTA bar */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(28, 18, 16, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-cta-bar .btn {
    flex: 1;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.9375rem;
  }

  .mobile-cta-call {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
  }

  /* Hero: stacked title sized to the button width, full-width stacked buttons */
  .hero-title {
    font-size: clamp(2.75rem, 17vw, 4.25rem);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 1.1875rem;
  }

  .page-hero-subtitle {
    font-size: 1rem;
  }

  .hero-title span {
    display: block;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Mobile nav: anchor the links higher so they don't sit low on tall phones */
  .nav-menu {
    height: 100vh;
    height: 100dvh;
    justify-content: flex-start;
    padding: 120px 32px 40px;
    gap: 8px;
  }

  /* Stats: even three-column grid instead of a cramped centred row */
  .welcome-stats,
  .course-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    justify-content: stretch;
  }

  .course-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .welcome-stat,
  .course-stat {
    align-items: center;
    text-align: center;
  }

  .welcome-stat-number,
  .course-stat-number {
    font-size: 1.75rem;
  }

  /* Policies: one-card-wide swipe carousel */
  .policies-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 4px 20px 8px;
    scroll-padding-left: 20px;
  }

  .policies-grid::-webkit-scrollbar {
    display: none;
  }

  .policy-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .policy-card:hover {
    transform: none;
  }

  /* Cashless banner: ticker */
  .cashless-banner {
    font-size: 0.6875rem;
    padding: 9px 0;
  }

  .cashless-banner .container {
    justify-content: flex-start;
    overflow: hidden;
  }

  /* The icon stays pinned; only the text track scrolls (clipped to its own box) */
  .cashless-track {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .cashless-text {
    flex-shrink: 0;
    padding-right: 48px;
    animation: cashless-scroll 16s linear infinite;
  }

  .cashless-text + .cashless-text {
    display: inline;
  }

  @keyframes cashless-scroll {
    to { transform: translateX(-100%); }
  }

  @media (prefers-reduced-motion: reduce) {
    .cashless-text { animation: none; white-space: normal; }
    .cashless-text + .cashless-text { display: none; }
  }
}

@media (max-width: 480px) {
  .hero-tagline-club {
    display: none; /* "Flamborough, Ontario" alone fits on one line */
  }

  .hero-actions {
    flex-direction: column;
  }

  .welcome-stats {
    display: grid;
    gap: 12px;
  }

  .course-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .course-stat-number {
    font-size: 1.5rem;
  }
}

/* =================================================================
   THANK YOU (post-checkout landing page for Stripe Payment Links)
   ================================================================= */
.thank-you-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.thank-you-card > svg {
  color: var(--gold);
  margin-bottom: 16px;
}

.thank-you-card > p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

.thank-you-steps {
  text-align: left;
  padding-left: 1.5em;
  margin: 0 auto 24px;
  max-width: 560px;
}

.thank-you-steps li {
  color: var(--gray-600);
  line-height: 1.7;
  padding: 6px 0 6px 4px;
}

.thank-you-steps li strong {
  color: var(--dark);
}

.thank-you-steps li::marker {
  font-weight: 700;
  color: var(--fire);
}

.thank-you-note {
  font-size: 0.9375rem;
}

.thank-you-note a {
  color: var(--fire);
  font-weight: 600;
}

.thank-you-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

@media (max-width: 480px) {
  .thank-you-card {
    padding: 32px 22px;
  }
  .thank-you-actions {
    flex-direction: column;
  }
  .thank-you-actions .btn {
    width: 100%;
  }
}
