/* ===== Tokens ===== */
:root {
  --bg: #0d0d0f;
  --bg-alt: #141417;
  --surface: #1c1c21;
  --line: #2b2b32;
  --text: #f4f1ec;
  --muted: #a7a3a0;
  --orange: #f26b1d;
  --orange-hot: #ff8a3d;
  --radius: 14px;
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--orange-hot); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; line-height: 1.05; margin: 0 0 .5em; text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-sub { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); margin-bottom: .75em;
}
.accent { color: var(--orange); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px; border: 2px solid var(--orange);
  background: var(--orange); color: #fff; font-weight: 700; text-decoration: none; letter-spacing: .04em;
  text-transform: uppercase; font-size: .9rem; cursor: pointer; font-family: var(--font-body);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--orange-hot); border-color: var(--orange-hot); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(242, 107, 29, .35); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--orange); box-shadow: none; }
.btn-small { padding: 8px 18px; font-size: .8rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
:focus-visible { outline: 3px solid var(--orange-hot); outline-offset: 3px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 15, .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .03em; text-transform: uppercase; }
.brand strong { color: var(--orange); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 96px 0 110px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(242, 107, 29, .22), transparent 60%);
}
.court-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .06); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 6.4rem); margin-bottom: .3em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 540px; }
.lead em { color: var(--text); font-style: normal; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; }
.ball { width: min(340px, 80%); animation: bounce 1.6s cubic-bezier(.5, 0, .5, 1) infinite; filter: drop-shadow(0 20px 40px rgba(242, 107, 29, .3)); }
.ball-shadow { width: 55%; height: 18px; margin-top: 18px; border-radius: 50%; background: rgba(0, 0, 0, .6); filter: blur(6px); animation: shadow 1.6s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(-30px) rotate(0deg); } 50% { transform: translateY(0) rotate(20deg); } }
@keyframes shadow { 0%, 100% { transform: scaleX(.7); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }

/* ===== Stats ===== */
.stats { background: var(--orange); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 12px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .25); }
.stat:last-child { border-right: 0; }
.stat .num { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.stat .label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-badge { position: relative; color: var(--orange); width: 100%; max-width: 460px; aspect-ratio: 1; margin: 0 auto; }
.coach-photo {
  position: absolute; inset: 6%; width: 88%; height: 88%; border-radius: 50%;
  object-fit: cover; object-position: 50% 8%;
  box-shadow: 0 0 0 4px var(--bg), 0 20px 50px rgba(242, 107, 29, .25);
}
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge-ring circle { transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite; }
.badge-tag {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); white-space: nowrap;
  background: var(--orange); color: #fff; padding: 10px 24px; border-radius: 999px;
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
}
@keyframes spin { to { transform: rotate(360deg); } }
.about-copy p { color: var(--muted); }
.about-copy strong { color: var(--text); }
.creds { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.creds li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); flex: none; box-shadow: 0 0 0 4px rgba(242, 107, 29, .2); }

/* ===== Training ===== */
.program-card {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.program-detail { background: var(--surface); padding: 28px 24px; }
.program-detail h3 { color: var(--orange); font-size: 1.1rem; }
.program-detail p { margin: 0; }
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; margin-top: 64px; }
.feature-photo { position: relative; margin: 0; max-width: 420px; justify-self: center; }
.feature-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--orange); border-radius: var(--radius);
}
.feature-photo img { position: relative; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.feature-copy h3 { font-size: clamp(2rem, 4vw, 2.8rem); }
.feature-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.skills-title { margin: 64px 0 24px; font-size: 1.8rem; }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skill {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.skill:hover { transform: translateY(-4px); border-color: var(--orange); }
.skill h4 { font-size: 1.35rem; margin-top: 16px; }
.skill p { color: var(--muted); margin: 0; font-size: .95rem; }
.skill-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(242, 107, 29, .12); display: grid; place-items: center; }
.skill-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.step { position: relative; padding: 28px 24px; border-top: 4px solid var(--orange); background: var(--bg-alt); border-radius: 0 0 var(--radius) var(--radius); }
.step-num { font-family: var(--font-display); font-size: 3rem; color: rgba(242, 107, 29, .35); line-height: 1; display: block; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy p { color: var(--muted); }
.contact-direct { margin-top: 28px; font-weight: 600; }
.contact-direct a { font-size: 1.15rem; text-decoration: none; word-break: break-all; }
.contact-direct a:hover { text-decoration: underline; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 1rem;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 107, 29, .25); }
.field .invalid { border-color: #ff5a5a; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; min-height: 1.5em; font-weight: 600; text-align: center; }
.form-status.success { color: #5ee08a; }
.form-status.error { color: #ff6b6b; }

/* ===== Footer ===== */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .9rem; }
.footer-inner > a:last-child { text-decoration: none; font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .skills-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .program-card { grid-template-columns: repeat(2, 1fr); }
  .about, .contact, .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature-photo { max-width: 340px; }
  .about-badge { max-width: 360px; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; width: 100%; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 56px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .ball { width: 150px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .25); }
}

@media (max-width: 560px) {
  .skills-grid, .steps, .program-card, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .contact-form { padding: 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

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