/* ================================================
   ClubFitting.co.za — Anti-Slop Design System
   Soft Blue + Tan + Cream
   ================================================ */

/* ---- Custom Properties ---- */
:root {
  --bg: #f5f3f0;
  --bg-warm: #ede9e4;
  --blue: #4a7fb5;
  --blue-dark: #2c4a6e;
  --blue-pale: #d6e0ed;
  --tan: #c8956c;
  --tan-dark: #a87050;
  --text: #1e2a38;
  --text-muted: #6b7a8c;
  --border: #ddd8d0;
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---- Nav ---- */
nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--blue-dark);
  letter-spacing: 0.05em;
  text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 200ms;
}
.nav-links a:hover { color: var(--blue); }

/* ---- Hero ---- */
.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 3rem;
  background: var(--bg);
}
.hero-badge {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.92;
  color: var(--blue-dark);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.hero h1 em { color: var(--tan); font-style: normal; }
.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-image {
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(74,127,181,0.12) 0%, transparent 60%);
}
.hero-image-inner { text-align: center; padding: 3rem; position: relative; z-index: 1; }
.big-num {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.hero-image h2 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--blue-dark);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-image h2 em { color: var(--blue); font-style: normal; }
.hero-image p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: all 200ms;
  border: none;
  cursor: pointer;
}
.btn--blue { background: var(--blue); color: white; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--outline { border: 1.5px solid var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: white; }
.btn--tan { background: var(--tan); color: white; }
.btn--tan:hover { background: var(--tan-dark); }

/* ---- Section ---- */
.section { padding: 5rem 2rem; }
.section--warm { background: var(--bg-warm); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--tan);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--blue-dark);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.section p { color: var(--text-muted); font-size: 1rem; max-width: 600px; line-height: 1.8; }

/* ---- Cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.card {
  background: white;
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 3px;
}
.card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--blue-pale);
  line-height: 1;
  margin-bottom: 1rem;
}
.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--blue-dark);
}
.card__body { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ---- Quote ---- */
.quote { background: var(--blue-dark); color: white; padding: 4rem 2rem; text-align: center; }
.quote-inner { max-width: 700px; margin: 0 auto; }
.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.quote cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
}

/* ---- Split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.split h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}
.split p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 1rem; }
.split-image {
  background: var(--blue-pale);
  border-radius: 3px;
  padding: 2rem;
}
.split-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.split-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.split-step__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
  min-width: 2.5rem;
}
.split-step__title { font-size: 0.95rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.25rem; }
.split-step__body { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--blue); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-image { display: none; }
  nav .nav-links { display: none; }
}
