/* ===========================
   The Mental Pitch — Soccer Training
   =========================== */

:root {
  --navy: #1c2333;
  --navy-light: #2a3349;
  --periwinkle: #a8c5ec;
  --periwinkle-light: #d6e4f7;
  --pitch-blue: #4a8fe7;
  --off-white: #eef2f9;
  --charcoal: #1a1a1a;
  --white: #ffffff;
  --text-dark: #1c2333;
  --text-muted: #5b6479;

  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  --max-width: 1140px;
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Nav ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(168, 197, 236, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.brand-text span {
  display: block;
  color: var(--periwinkle);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--periwinkle-light);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--pitch-blue);
}

.nav-cta {
  background: var(--periwinkle);
  color: var(--navy) !important;
  padding: 10px 20px !important;
  border-radius: 999px;
  font-weight: 600;
  border-bottom: none !important;
}

.nav-cta:hover {
  background: var(--white);
  color: var(--navy) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(168, 197, 236, 0.15);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-cta {
    align-self: flex-start;
  }
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  letter-spacing: 0.01em;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--pitch-blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(74, 143, 231, 0.35);
}

.btn-primary:hover {
  background: #3b7dd6;
  box-shadow: 0 10px 28px rgba(74, 143, 231, 0.45);
}

.btn-secondary {
  background: var(--periwinkle);
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--periwinkle);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(168, 197, 236, 0.12);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== Hero (split panel signature) ===== */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  min-height: 560px;
}

.hero-content {
  padding: 90px 48px 90px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}

.hero-content .container {
  padding-left: 24px;
  padding-right: 0;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--periwinkle);
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero h1 .accent {
  color: var(--periwinkle);
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--periwinkle-light);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-visual {
  position: relative;
  background: linear-gradient(155deg, var(--pitch-blue) 0%, var(--navy) 65%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(168, 197, 236, 0.35), transparent 55%);
}

.hero-visual .badge-ring {
  position: relative;
  z-index: 1;
  width: 64%;
  max-width: 340px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.35));
  animation: spin-slow 60s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-content {
    padding: 48px 0 40px;
  }
  .hero-content .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-visual {
    padding: 40px 24px;
    min-height: 240px;
  }
}

@media (max-width: 480px) {
  /* Global container padding on small phones */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Hero */
  .hero-content {
    padding: 28px 0 24px;
  }
  .hero-split {
    min-height: auto;
  }
  .hero {
    padding-top: 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p.lead {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .hero-visual {
    padding: 32px 24px;
    min-height: 200px;
  }
  .hero-visual .badge-ring {
    width: 50%;
    max-width: 200px;
  }

  /* Sections */
  section {
    padding: 56px 0;
  }

  /* Nav */
  .nav-wrap {
    padding: 12px 16px;
  }
  .brand-text {
    font-size: 0.8rem;
  }

  /* Cards — single column, full width */
  .card-grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 22px 18px;
  }

  /* Split sections — stack cleanly */
  .split {
    gap: 24px;
  }
  .split ul li {
    font-size: 0.95rem;
  }

  /* App mockups — single centered image */
  .app-mockups {
    gap: 16px;
  }
  .app-mockups img {
    width: 180px;
  }

  /* Stat grid */
  .stat-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline {
    grid-template-columns: 1fr;
  }

  /* Booking layout */
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .booking-form {
    position: static;
    padding: 22px 18px;
  }

  /* Founder block */
  .founder-block {
    grid-template-columns: 1fr;
  }
  .founder-photo {
    max-width: 100%;
  }

  /* Footer */
  .footer-grid {
    flex-direction: column;
    gap: 24px;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    font-size: 0.78rem;
  }

  /* Section headings */
  .section-head h2 {
    font-size: 1.6rem;
  }

  /* Buttons */
  .btn {
    padding: 13px 24px;
    font-size: 0.95rem;
  }
}

/* ===== Sections ===== */

section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-light {
  background: var(--off-white);
}

.section-periwinkle {
  background: var(--periwinkle-light);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.eyebrow.on-light {
  color: var(--pitch-blue);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-top: 10px;
  line-height: 1.15;
}

.section-head p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-dark .section-head p {
  color: var(--periwinkle-light);
}

/* ===== Stat row (problem-style cards) ===== */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--charcoal);
  border-top: 6px solid var(--periwinkle);
  border-radius: 8px;
  padding: 28px 24px;
}

.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--periwinkle);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-card p {
  color: var(--periwinkle-light);
  font-size: 0.98rem;
}

@media (max-width: 760px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Split content blocks ===== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.split h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.split ul {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.split ul li {
  padding-left: 28px;
  position: relative;
  font-size: 1rem;
}

.split ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--pitch-blue);
  border-radius: 3px;
}

/* ===== Cards ===== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 4px 24px rgba(28, 35, 51, 0.06);
  border: 1px solid rgba(28, 35, 51, 0.06);
}

.card .card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--periwinkle-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.card h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Founder ===== */

.founder-block {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
}

.founder-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(28, 35, 51, 0.18);
  position: relative;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-creds {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.founder-creds li {
  padding-left: 30px;
  position: relative;
}

.founder-creds li::before {
  content: "⚽";
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 1.05rem;
}

.founder-creds li.sub {
  padding-left: 52px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.founder-creds li.sub::before {
  content: "—";
  font-size: 0.95rem;
  left: 30px;
}

@media (max-width: 860px) {
  .founder-block {
    grid-template-columns: 1fr;
  }
  .founder-photo {
    max-width: 340px;
    margin: 0 auto;
  }
}

/* ===== Timeline (8-week program) ===== */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid rgba(28, 35, 51, 0.06);
  box-shadow: 0 4px 24px rgba(28, 35, 51, 0.05);
}

.timeline-item .week-range {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pitch-blue);
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

/* ===== Booking page ===== */

.booking-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
}

.slot-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.slot-card {
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(28, 35, 51, 0.05);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.1s ease;
  flex-wrap: wrap;
}

.slot-card:hover {
  border-color: var(--periwinkle);
}

.slot-card.selected {
  border-color: var(--pitch-blue);
  background: var(--periwinkle-light);
}

.slot-card.full {
  opacity: 0.5;
  cursor: not-allowed;
}

.slot-info .slot-date {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.slot-info .slot-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.slot-status {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--periwinkle-light);
  color: var(--navy);
  white-space: nowrap;
}

.slot-status.full {
  background: #e8e8e8;
  color: #888;
}

.booking-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(28, 35, 51, 0.06);
  position: sticky;
  top: 100px;
}

.booking-form h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.booking-form .selected-slot-display {
  background: var(--periwinkle-light);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 600;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d9dee8;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--off-white);
  transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--pitch-blue);
  background: var(--white);
}

.form-msg {
  margin-top: 14px;
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: 10px;
  display: none;
}

.form-msg.show {
  display: block;
}

.form-msg.success {
  background: #e3f6e8;
  color: #1f7a3a;
}

.form-msg.error {
  background: #fdeaea;
  color: #b3261e;
}

.form-msg.info {
  background: var(--periwinkle-light);
  color: var(--navy);
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  background: var(--white);
  border-radius: var(--radius);
}

/* ===== Footer ===== */

.site-footer {
  background: var(--navy);
  color: var(--periwinkle-light);
  padding: 48px 0 28px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--periwinkle-light);
  text-decoration: none;
  font-size: 0.92rem;
}

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

.footer-contact {
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(168, 197, 236, 0.15);
  padding-top: 20px;
  font-size: 0.82rem;
  color: rgba(214, 228, 247, 0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Misc utility ===== */

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

.mt-32 {
  margin-top: 32px;
}

.divider-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 64px 0;
}

.divider-mark img {
  width: 56px;
  height: 56px;
  opacity: 0.85;
}

.app-mockups {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.app-mockups img {
  width: 220px;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(28, 35, 51, 0.25);
}

.tag-pill {
  display: inline-block;
  background: var(--periwinkle-light);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
