/* =========================================================
   TURF24×7 — Core Stylesheet
   Design tokens, typography, layout primitives, components.
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* Color — sampled directly from the Turf24×7 logo */
  --navy: #0a1b33;
  --navy-deep: #050e1e;
  --navy-mid: #142c4f;
  --lime: #4ca300;       /* primary brand green (CTAs, accents) */
  --lime-ink: #0a1b33;   /* text on primary green — navy for contrast */
  --green: #2c6b08;      /* deeper green, icon strokes / secondary accents */
  --green-light: #8ed84a; /* light green, gradients & highlights */
  --white: #ffffff;
  --mist: #f5f7f6;
  --mist-deep: #eceff0;
  --ink: #172033;
  --muted: #667085;
  --line: #e2e6e4;

  /* Type */
  --font-head: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Scale */
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 1.9rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 2.75rem);
  --step-4: clamp(2.6rem, 2rem + 3vw, 4rem);

  /* Layout */
  --container: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --shadow-card: 0 1px 2px rgba(11, 31, 58, 0.06), 0 8px 24px rgba(11, 31, 58, 0.08);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}
p { margin: 0; }
input, textarea, select { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--mist { background: var(--mist); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { max-width: 620px; margin-inline: auto; text-align: center; }
.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 46px;
  height: 3px;
  margin-bottom: 1rem;
  background-image: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 16px);
}
.section-head h2 { font-size: var(--step-3); }
.section-head p { margin-top: 0.9rem; color: var(--muted); font-size: 1.05rem; }
.section--navy .section-head p { color: #b8c4d9; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--navy); color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  z-index: 1000; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--lime-ink); font-weight: 800; }
.btn-primary:hover { background: #5bbf00; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: rgba(11,31,58,0.25); }
.btn-outline-navy:hover { border-color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-ghost { background: transparent; color: var(--navy); padding: 0.5rem 0; }
.btn-ghost::after { content: ""; display: block; height: 2px; width: 0; background: var(--lime); transition: width 0.2s var(--ease); }
.btn-ghost:hover::after { width: 100%; }
.btn-block { width: 100%; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  padding-block: 1.1rem;
  transition: background 0.25s var(--ease), padding 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.is-solid {
  background: rgba(11, 31, 58, 0.97);
  padding-block: 0.7rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--white); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-x { color: var(--lime); }
.brand-logo { height: 50px; width: auto; flex-shrink: 0; }
.footer-brand .brand-logo { height: 56px; }
.brand-tagline { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--green-light); margin-top: 0.15rem; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 1.9rem; }
.nav-desktop a { color: rgba(255,255,255,0.88); font-weight: 600; font-size: 0.95rem; position: relative; padding-block: 0.25rem; }
.nav-desktop a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--lime); transition: width 0.2s var(--ease); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { width: 100%; }
.nav-desktop a[aria-current="page"] { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.header-actions .btn { padding: 0.7rem 1.3rem; font-size: 0.9rem; }

.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: none; background: transparent;
}
.hamburger span { display: block; height: 2px; width: 22px; background: var(--white); margin-inline: auto; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 600;
  background: var(--navy-deep);
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  overflow-y: auto;
  padding: 5.5rem var(--gutter) 3rem;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-nav a { display: block; padding: 0.9rem 0; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav .header-actions { margin-top: 2rem; flex-direction: column; align-items: stretch; }
.mobile-nav-close { position: absolute; top: 1.3rem; right: var(--gutter); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide-media { position: absolute; inset: 0; }
.hero-slide-media svg { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,21,39,0.55) 0%, rgba(7,21,39,0.35) 35%, rgba(7,21,39,0.85) 100%),
              linear-gradient(90deg, rgba(7,21,39,0.75) 0%, rgba(7,21,39,0.15) 55%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding-block: clamp(6rem, 14vw, 8rem) clamp(6.5rem, 12vw, 8rem);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--lime); font-weight: 700; font-size: 0.85rem;
  margin-bottom: 1rem;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  max-width: 15ch;
  margin-bottom: 1.1rem;
}
.hero p {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-controls {
  position: absolute; z-index: 3; inset: auto var(--gutter) clamp(1.5rem, 4vw, 2.5rem) var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.hero-arrows { display: flex; gap: 0.6rem; pointer-events: auto; }
.hero-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero-arrow:hover { background: rgba(255,255,255,0.16); border-color: var(--white); }
.hero-dots { display: flex; gap: 0.55rem; pointer-events: auto; }
.hero-dot {
  width: 26px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.35); border: none;
  transition: background 0.2s var(--ease), width 0.2s var(--ease);
}
.hero-dot.is-active { background: var(--lime); width: 40px; }

/* ---------- Search / booking panel ---------- */
.search-panel-wrap { position: relative; z-index: 10; margin-top: -3.5rem; }
.search-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(11,31,58,0.18);
  padding: clamp(1.25rem, 3vw, 1.9rem);
}
.search-panel h3 { font-size: 1.25rem; margin-bottom: 1.1rem; }
.search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.search-field { display: flex; flex-direction: column; gap: 0.35rem; }
.search-field label { font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.search-field select, .search-field input {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; background: var(--mist); color: var(--ink);
}
.search-field select:focus, .search-field input:focus { border-color: var(--navy); }
.search-note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--muted); }

/* ---------- Sports grid ---------- */
.sports-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}
.sport-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--navy);
  transition: transform 0.3s var(--ease);
}
.sport-card:hover { transform: translateY(-4px); }
.sport-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sport-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,21,39,0.92) 100%);
  display: flex; align-items: flex-end; padding: 1.1rem;
}
.sport-card-name { color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.sport-card-count { color: var(--lime); font-size: 0.82rem; font-weight: 600; margin-top: 0.15rem; }

/* ---------- Sports carousel (photo cards) ---------- */
.sports-carousel { position: relative; }
.sports-track {
  display: flex; gap: 1.1rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem; scrollbar-width: none;
  scroll-padding-left: var(--gutter);
}
.sports-track::-webkit-scrollbar { display: none; }
.sport-photo-card {
  position: relative; flex: 0 0 min(240px, 62vw);
  scroll-snap-align: start;
  aspect-ratio: 3 / 4; border-radius: var(--radius-md); overflow: hidden;
  background: var(--navy-deep);
  transition: transform 0.3s var(--ease);
}
.sport-photo-card:hover { transform: translateY(-4px); }
.sport-photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sport-photo-card-label {
  position: absolute; inset: auto 0 0 0; padding: 1.1rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem;
}
.sport-photo-name { color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.sport-photo-count { color: var(--lime); font-size: 0.78rem; font-weight: 700; margin-top: 0.15rem; display: block; }
.carousel-arrow {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--navy); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.carousel-arrow:hover { border-color: var(--navy); }
.carousel-arrows-row { display: flex; justify-content: flex-end; gap: 0.6rem; margin-bottom: 1.1rem; }

/* ---------- Featured turfs ---------- */
.turf-scroller {
  display: grid; gap: 1.4rem;
  grid-template-columns: 1fr;
}
.turf-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.turf-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.turf-media { position: relative; aspect-ratio: 16/10; background: var(--mist-deep); }
.turf-media svg { width: 100%; height: 100%; }
.turf-badge {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: var(--lime); color: var(--lime-ink);
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.32rem 0.7rem; border-radius: 4px;
}
.turf-price {
  position: absolute; bottom: 0.9rem; right: 0.9rem;
  background: rgba(11,31,58,0.9); color: var(--white);
  font-size: 0.85rem; font-weight: 700;
  padding: 0.4rem 0.75rem; border-radius: 6px;
}
.turf-body { padding: 1.25rem; }
.turf-body h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.turf-loc { display: flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.9rem; margin-bottom: 0.6rem; }
.turf-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.turf-rating { display: flex; align-items: center; gap: 0.3rem; font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.turf-rating .star { color: #f5a623; }
.turf-sports { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.turf-tag { font-size: 0.76rem; font-weight: 600; color: var(--navy); background: var(--mist); border: 1px solid var(--line); padding: 0.25rem 0.55rem; border-radius: 4px; }
.turf-actions { display: flex; gap: 0.6rem; margin-top: 1rem; }
.turf-actions .btn { flex: 1; }

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid; gap: 1.5rem 2rem;
  grid-template-columns: 1fr;
}
.benefit {
  display: flex; gap: 1rem;
}
.benefit-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
  background: var(--mist); display: flex; align-items: center; justify-content: center;
}
.benefit h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.benefit p { color: var(--muted); font-size: 0.95rem; }

/* ---------- How it works ---------- */
.steps-row {
  display: grid; gap: 1.75rem;
  grid-template-columns: 1fr;
}
.step { position: relative; padding-top: 1rem; border-top: 2px solid var(--line); }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--lime); -webkit-text-stroke: 1px var(--navy); }
.step h3 { margin-top: 0.6rem; font-size: 1.15rem; }
.step p { color: var(--muted); margin-top: 0.35rem; font-size: 0.95rem; }

/* ---------- Community / editorial ---------- */
.community-layout {
  display: grid; gap: 2rem;
}
.community-media { border-radius: var(--radius-md); overflow: hidden; }
.community-media svg { width: 100%; display: block; }
.community-copy h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.community-copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1rem; }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid; gap: 2rem 1rem;
  grid-template-columns: repeat(2, 1fr);
  text-align: left;
}
.stat-value {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--lime);
  line-height: 1;
}
.stat-label { color: #b8c4d9; margin-top: 0.5rem; font-size: 0.95rem; }

/* ---------- App promo ---------- */
.app-promo {
  display: grid; gap: 2.5rem; align-items: center;
}
.app-promo-copy h2 { font-size: var(--step-3); }
.app-promo-copy p { color: var(--muted); margin-block: 1rem 1.6rem; font-size: 1.05rem; max-width: 46ch; }
.store-buttons { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.store-btn {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-sm); padding: 0.7rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s var(--ease);
}
.store-btn:hover { background: var(--navy-mid); }
.store-btn small { display: block; font-size: 0.65rem; color: #b8c4d9; }
.store-btn strong { display: block; font-size: 0.95rem; font-family: var(--font-head); }
.qr-block { display: flex; align-items: center; gap: 0.9rem; }
.qr-box {
  width: 72px; height: 72px; border-radius: 8px;
  background: var(--mist); border: 1px dashed var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; text-align: center; color: var(--muted); padding: 0.4rem;
}
.phone-mock { position: relative; justify-self: center; }
.phone-mock svg { width: 100%; max-width: 300px; }

/* ---------- Product/SaaS hero (Owners page) ---------- */
.product-hero {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(7.5rem, 14vw, 9.5rem) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.product-hero .container { display: grid; gap: 2.5rem; align-items: center; }
.product-hero-copy .eyebrow-line { background-image: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 16px); }
.product-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.6rem); max-width: 16ch; margin-bottom: 1.1rem; }
.product-hero-copy p { color: #b8c4d9; font-size: 1.1rem; max-width: 46ch; margin-bottom: 2rem; }
.product-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.product-hero-visual { justify-self: center; position: relative; }
.product-hero-visual img { width: 100%; max-width: 320px; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45)); animation: floatY 5s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Product intro (single centered visual) ---------- */
.product-intro { text-align: center; }
.product-intro-visual { max-width: 340px; margin: 2.5rem auto 0; }
.product-intro-visual img { width: 100%; filter: drop-shadow(0 24px 48px rgba(11,31,58,0.18)); }

/* ---------- Alternating feature rows ---------- */
.feature-row {
  display: grid; gap: 2.5rem; align-items: center;
}
.feature-copy .eyebrow-line { background-image: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 16px); }
.feature-copy h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.feature-copy p { color: var(--muted); font-size: 1.08rem; max-width: 44ch; margin-bottom: 1.4rem; }
.feature-list { display: grid; gap: 0.7rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.65rem; color: var(--ink); font-size: 0.98rem; }
.feature-list .tick { color: var(--green); flex-shrink: 0; margin-top: 0.15rem; }
.feature-visual { justify-self: center; }
.feature-visual img { width: 100%; max-width: 300px; filter: drop-shadow(0 24px 48px rgba(11,31,58,0.16)); }
.feature-row.on-navy .feature-copy h2 { color: var(--white); }
.feature-row.on-navy .feature-copy p { color: #b8c4d9; }
.feature-row.on-navy .feature-list li { color: #dbe4f2; }
.feature-row.on-navy .feature-list .tick { color: var(--lime); }

/* ---------- Multi-screenshot showcase ---------- */
.showcase-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  max-width: 620px; margin-inline: auto;
}
.showcase-grid img { width: 100%; border-radius: 20px; filter: drop-shadow(0 20px 40px rgba(11,31,58,0.35)); transition: transform 0.3s var(--ease); }
.showcase-item:hover img { transform: translateY(-6px); }
.showcase-grid .showcase-item:nth-child(3) { grid-column: 1 / -1; max-width: 50%; margin-inline: auto; }

/* ---------- App download (reused pattern, section wrapper) ---------- */
.app-download-section { text-align: center; }
.app-download-section .store-buttons { justify-content: center; margin-top: 1.8rem; }

/* ---------- Owner / partner section ---------- */
.owner-section { background: var(--navy-deep); color: var(--white); position: relative; overflow: hidden; }
.owner-layout { display: grid; gap: 2.5rem; align-items: center; }
.owner-copy h2 { color: var(--white); font-size: var(--step-3); margin-bottom: 1rem; }
.owner-copy > p { color: #b8c4d9; font-size: 1.05rem; margin-bottom: 1.5rem; max-width: 48ch; }
.owner-list { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.owner-list li { display: flex; align-items: center; gap: 0.7rem; color: #dbe4f2; font-size: 0.98rem; }
.owner-list .tick { color: var(--lime); flex-shrink: 0; }
.owner-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.owner-media svg { width: 100%; }

/* ---------- Testimonials ---------- */
.testi-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: start;
  flex: 0 0 min(340px, 82vw);
  background: var(--mist); border-radius: var(--radius-md);
  padding: 1.6rem;
}
.testi-stars { color: #f5a623; margin-bottom: 0.8rem; letter-spacing: 0.1em; }
.testi-quote { font-size: 1rem; color: var(--ink); margin-bottom: 1.2rem; }
.testi-person { display: flex; align-items: center; gap: 0.7rem; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--lime); display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-head); flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: 0.92rem; }
.testi-meta { color: var(--muted); font-size: 0.82rem; }
.testi-disclaimer { margin-top: 1.2rem; font-size: 0.8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; text-align: left;
  padding: 1.25rem 0; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy);
}
.faq-q .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--navy); transition: transform 0.25s var(--ease); }
.faq-q .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-item.is-open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a p { padding-bottom: 1.25rem; color: var(--muted); max-width: 65ch; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--navy); color: var(--white); text-align: center; }
.final-cta h2 { color: var(--white); font-size: var(--step-3); margin-bottom: 0.8rem; }
.final-cta p { color: #b8c4d9; max-width: 46ch; margin-inline: auto; margin-bottom: 2rem; }
.final-cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.final-cta-split { display: flex; align-items: center; justify-content: center; gap: 0.6rem; color: #8ea0bd; font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b8c4d9; padding-block: 4rem 2rem; }
.footer-top { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { max-width: 32ch; font-size: 0.92rem; color: #8ea0bd; margin-bottom: 1.3rem; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.footer-social a:hover { border-color: var(--lime); background: rgba(182,255,59,0.08); }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
.footer-col h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a { font-size: 0.92rem; color: #b8c4d9; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem; color: #8ea0bd;
}
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Generic content pages ---------- */
.page-hero { background: var(--navy); color: var(--white); padding-block: clamp(7.5rem, 14vw, 9.5rem) clamp(3rem, 6vw, 4rem); }
.page-hero h1 { color: var(--white); font-size: var(--step-4); max-width: 20ch; }
.page-hero p { color: #b8c4d9; max-width: 56ch; margin-top: 1rem; font-size: 1.08rem; }
.breadcrumb { color: var(--lime); font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; display: flex; gap: 0.4rem; align-items: center; }
.breadcrumb a { color: #b8c4d9; }

.prose { max-width: 74ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; margin-bottom: 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; margin-bottom: 0.6rem; }
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose ul { margin-bottom: 1rem; padding-left: 1.3rem; list-style: disc; color: var(--muted); }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--green); text-decoration: underline; }

.filters-bar { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip {
  padding: 0.55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); font-weight: 600; font-size: 0.88rem; color: var(--muted);
  transition: all 0.2s var(--ease);
}
.chip.is-active, .chip:hover { border-color: var(--navy); color: var(--navy); background: var(--mist); }

.contact-grid { display: grid; gap: 2.5rem; }
.contact-card { background: var(--mist); border-radius: var(--radius-md); padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 0.95rem; }

.form-grid { display: grid; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--navy); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }
.form-error { color: #c0392b; font-size: 0.8rem; min-height: 1em; }
.form-success { background: #eafbf0; border: 1px solid #b7e6c6; color: #1a7a3c; padding: 1rem; border-radius: var(--radius-sm); font-size: 0.92rem; display: none; }
.form-success.is-visible { display: block; }

/* Sport / Turf detail templates */
.gallery-main { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; margin-bottom: 0.8rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.gallery-thumbs button { border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; aspect-ratio: 4/3; }
.gallery-thumbs button.is-active { border-color: var(--lime); }
.detail-facts { display: grid; gap: 0.9rem; margin-block: 1.5rem; }
.detail-fact { display: flex; justify-content: space-between; padding-block: 0.7rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.detail-fact span:first-child { color: var(--muted); }
.detail-fact span:last-child { font-weight: 700; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-block: 1rem 1.5rem; }
.slot { padding: 0.7rem; text-align: center; border: 1.5px solid var(--line); border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.slot.is-open { color: var(--navy); }
.slot.is-full { text-decoration: line-through; opacity: 0.5; }
.map-placeholder { aspect-ratio: 16/9; background: var(--mist); border: 1px dashed var(--muted); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.9rem; text-align: center; padding: 1rem; }
.sticky-book { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-card); }
.sticky-book .price { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--navy); }
.sticky-book .price small { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
