/* ============================================
   COASTAL PADEL CO — DESIGN SYSTEM
   Clean & Professional
   Palette: Deep Navy + Teal Accent + Off-White
   Fonts: Cabinet Grotesk (display) + Switzer (body)
   ============================================ */

@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@400,500,700,800,900&f[]=switzer@300,400,500,600&display=swap');

/* ---- DESIGN TOKENS ---- */
:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body:    'Switzer', 'Helvetica Neue', sans-serif;

  /* Content widths */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;

  /* ── LIGHT MODE PALETTE ── */
  /* Surfaces */
  --color-bg:              #f8f7f4;
  --color-surface:         #ffffff;
  --color-surface-2:       #f2f1ee;
  --color-surface-offset:  #e8e6e1;
  --color-divider:         #dbd9d3;
  --color-border:          #d0cec8;

  /* Text */
  --color-text:            #14191e;
  --color-text-muted:      #6b7280;
  --color-text-faint:      #a8adb5;
  --color-text-inverse:    #f8f7f4;

  /* Navy (primary brand) */
  --color-navy:            #0f2337;
  --color-navy-hover:      #162d47;
  --color-navy-light:      #1e3a54;

  /* Teal accent */
  --color-primary:         #0e7c84;
  --color-primary-hover:   #0a6069;
  --color-primary-active:  #074d54;
  --color-primary-highlight: #d0eaec;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(14, 25, 36, 0.06);
  --shadow-md: 0 4px 12px rgba(14, 25, 36, 0.09);
  --shadow-lg: 0 12px 32px rgba(14, 25, 36, 0.14);
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --color-bg:              #0e1318;
  --color-surface:         #141c24;
  --color-surface-2:       #1a242e;
  --color-surface-offset:  #1f2d3a;
  --color-divider:         #253345;
  --color-border:          #2d3f52;
  --color-text:            #d4d9de;
  --color-text-muted:      #6d7f8e;
  --color-text-faint:      #3d5060;
  --color-text-inverse:    #0e1318;
  --color-navy:            #1e3a54;
  --color-navy-hover:      #243f5a;
  --color-navy-light:      #2a4a69;
  --color-primary:         #2aa8b2;
  --color-primary-hover:   #1e8c95;
  --color-primary-active:  #157078;
  --color-primary-highlight: #1a3a3e;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #0e1318;
    --color-surface:         #141c24;
    --color-surface-2:       #1a242e;
    --color-surface-offset:  #1f2d3a;
    --color-divider:         #253345;
    --color-border:          #2d3f52;
    --color-text:            #d4d9de;
    --color-text-muted:      #6d7f8e;
    --color-text-faint:      #3d5060;
    --color-text-inverse:    #0e1318;
    --color-navy:            #1e3a54;
    --color-navy-hover:      #243f5a;
    --color-primary:         #2aa8b2;
    --color-primary-hover:   #1e8c95;
    --color-primary-highlight: #1a3a3e;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.25);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.35);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
  }
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.1; font-family: var(--font-display); }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }

::selection { background: rgba(14,124,132,0.2); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

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

a, button, [role="button"] {
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), opacity var(--transition);
}

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

/* ---- LAYOUT UTILITIES ---- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}
.container--narrow {
  max-width: var(--content-default);
}

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: var(--space-4);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav--scrolled {
  background: color-mix(in srgb, var(--color-surface) 95%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding-block: var(--space-3);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
  color: var(--color-text-inverse);
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.nav--scrolled .nav__logo { color: var(--color-text); }
.nav__logo:hover { opacity: 0.85; }
.nav__logo svg { width: 36px; height: 36px; flex-shrink: 0; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(248, 247, 244, 0.8);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav--scrolled .nav__links a { color: var(--color-text-muted); }
.nav__links a:hover { color: var(--color-text-inverse); }
.nav--scrolled .nav__links a:hover { color: var(--color-text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
}
.btn--primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
}
.btn--navy {
  background: var(--color-navy);
  color: white;
  border-color: var(--color-navy);
}
.btn--navy:hover {
  background: var(--color-navy-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: none;
  color: rgba(248,247,244,0.7);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), background var(--transition);
}
.nav--scrolled .theme-toggle { color: var(--color-text-muted); }
.theme-toggle:hover { color: var(--color-text-inverse); background: rgba(255,255,255,0.1); }
.nav--scrolled .theme-toggle:hover { color: var(--color-text); background: var(--color-surface-2); }

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
  color: white;
}
.nav--scrolled .nav__hamburger { color: var(--color-text); }
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-surface);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-16);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}
.nav__mobile a:hover { color: var(--color-primary); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(var(--space-16), 10vw, var(--space-32));
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 19, 24, 0.90) 0%,
    rgba(14, 19, 24, 0.55) 45%,
    rgba(14, 19, 24, 0.25) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--color-primary);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.0;
  max-width: 15ch;
  margin-bottom: var(--space-6);
}
.hero__title em {
  font-style: normal;
  color: var(--color-primary);
}
.hero__subtitle {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.72);
  max-width: 48ch;
  line-height: 1.65;
  margin-bottom: var(--space-10);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
.hero__stats {
  display: flex;
  gap: var(--space-10);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}
.hero__stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
}
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  right: clamp(var(--space-6), 5vw, var(--space-16));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.4);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ---- PAGE HEADER (sub-pages) ---- */
.page-header {
  position: relative;
  padding-top: 140px;
  padding-bottom: var(--space-16);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,19,24,0.75) 0%, rgba(14,19,24,0.55) 100%);
}
.page-header__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-header__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.page-header__title {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
}
.page-header__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  margin-top: var(--space-4);
  max-width: 52ch;
  margin-inline: auto;
}

/* ---- SECTIONS ---- */
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.section--dark {
  background: var(--color-navy);
  color: white;
}
.section--tinted {
  background: var(--color-surface-2);
}
.section--navy {
  background: var(--color-navy);
}

.section__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.section__label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--color-primary);
  flex-shrink: 0;
}
.section__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1.1;
  max-width: 22ch;
}
.section--dark .section__title,
.section--navy .section__title { color: white; }
.section__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.7;
  margin-top: var(--space-4);
}
.section--dark .section__body,
.section--navy .section__body { color: rgba(255,255,255,0.65); }

.section__header {
  margin-bottom: var(--space-12);
}
.section__header--centered {
  text-align: center;
}
.section__header--centered .section__label { justify-content: center; }
.section__header--centered .section__label::before { display: none; }
.section__header--centered .section__title,
.section__header--centered .section__body { margin-inline: auto; }

/* ---- TWO-COLUMN SPLIT ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}
.split--reverse { }
.split__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.split__image:hover img { transform: scale(1.03); }
.split__image-badge {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  background: rgba(14,19,24,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---- SERVICE CARDS ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-highlight);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-primary);
}
.service-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.service-card__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ---- FEATURE BADGES ---- */
.feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.section--dark .feature-badge,
.section--navy .feature-badge {
  background: rgba(14,124,132,0.2);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(14,124,132,0.35);
}
.feature-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---- PROCESS STEPS ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  counter-reset: process-step;
}
.process-step {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  position: relative;
  counter-increment: process-step;
  transition: transform var(--transition), box-shadow var(--transition);
}
.process-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.process-step::before {
  content: "0" counter(process-step);
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.2;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-5);
}
.process-step__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}
.process-step__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- WHY US STATS ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-1);
}
.stat-item {
  padding: var(--space-8) var(--space-6);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-item__value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-item__value span {
  color: var(--color-primary);
}
.stat-item__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--space-2);
}

/* ---- TESTIMONIAL ---- */
.testimonial-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 420px;
}
.testimonial-block__image {
  position: relative;
}
.testimonial-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-block__content {
  background: var(--color-navy);
  padding: clamp(var(--space-10), 5vw, var(--space-16));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.testimonial-block__quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.8;
  color: var(--color-primary);
  opacity: 0.25;
  position: absolute;
  top: var(--space-6);
  left: var(--space-8);
  font-weight: 900;
  pointer-events: none;
}
.testimonial-block__text {
  font-size: var(--text-lg);
  color: white;
  line-height: 1.6;
  font-weight: 300;
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-6);
}
.testimonial-block__author {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.testimonial-block__role {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-1);
}

/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-12), 6vw, var(--space-24));
  text-align: center;
  background: var(--color-navy);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/court-overhead.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.cta-banner__content { position: relative; z-index: 1; }
.cta-banner__title {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}
.cta-banner__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.65);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}
.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ---- CONTACT FORM ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: start;
}
.contact-info__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-6);
}
.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-highlight);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.contact-info__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}
.contact-info__value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}
.contact-info__value a:hover { color: var(--color-primary); }

.form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.form__group--full { grid-column: 1 / -1; margin-bottom: 0; }
.form__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14,124,132,0.15);
}
.form__textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form__submit { width: 100%; margin-top: var(--space-2); }
.form__success {
  display: none;
  text-align: center;
  padding: var(--space-8);
  color: var(--color-primary);
  font-weight: 600;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.65);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-8);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}
.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}
.footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: var(--space-5);
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: white; }
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}
.footer__contact-item a { color: rgba(255,255,255,0.55); }
.footer__contact-item a:hover { color: white; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}
.footer__legal {
  display: flex;
  gap: var(--space-6);
}
.footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* ---- SCROLL ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__image { order: -1; }
  .testimonial-block { grid-template-columns: 1fr; }
  .testimonial-block__image { height: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero__stats { gap: var(--space-6); flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-block: var(--space-5); }
  .stat-item:last-child { border-bottom: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--space-8); }
  .form__grid { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}
