:root {
  --bg: #0d0f14;
  --bg-alt: #13161d;
  --card: #191d27;
  --line: #262b38;
  --text: #e8eaf0;
  --muted: #9aa1b0;
  --accent: #ff5722;
  --accent-2: #ffa000;
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Oswald', sans-serif; letter-spacing: .5px; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: none; transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 8px 24px rgba(255,87,34,.3);
}
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(13,15,20,.6); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: .25s;
}
.header.scrolled { background: rgba(13,15,20,.92); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: 'Oswald'; font-weight: 700; font-size: 24px; letter-spacing: 1px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--muted); transition: .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: #fff; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-toggle span { width: 26px; height: 2px; background: var(--text); transition: .25s; }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background:
    linear-gradient(rgba(13,15,20,.72), rgba(13,15,20,.92)),
    url('https://images.unsplash.com/photo-1758797316894-c25b94e8426a?auto=format&fit=crop&w=1600&q=80') center/cover;
  padding-top: 70px;
}
.hero-content { max-width: 680px; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 3px; font-size: 13px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 7vw, 74px); margin-bottom: 18px; }
.hero-sub { color: var(--muted); font-size: 18px; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats strong { font-family: 'Oswald'; font-size: 38px; color: var(--text); display: block; }
.hero-stats span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(30px, 5vw, 46px); margin-top: 6px; }
.section-desc { color: var(--muted); margin-top: 14px; }

/* Grid + cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.program-card { text-align: left; }
.program-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.program-card .icon { font-size: 34px; margin-bottom: 14px; }
.program-card h3 { font-size: 22px; margin-bottom: 8px; }
.program-card p { color: var(--muted); font-size: 15px; }

/* Filters */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 38px; }
.filter {
  padding: 9px 20px; border-radius: 999px; cursor: pointer; font-weight: 600;
  background: transparent; color: var(--muted); border: 1px solid var(--line); transition: .2s;
}
.filter:hover { color: var(--text); }
.filter.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Trainer cards */
.trainer-card { padding: 0; overflow: hidden; text-align: center; }
.trainer-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.trainer-photo { aspect-ratio: 1/1; width: 100%; object-fit: cover; }
.trainer-body { padding: 20px; }
.trainer-body h3 { font-size: 21px; }
.trainer-role { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin: 4px 0 10px; }
.trainer-meta { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.trainer-tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.tag { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.rating { color: var(--accent-2); font-size: 14px; margin-bottom: 14px; }

/* Pricing */
.price-card { text-align: center; position: relative; }
.price-card.featured { border-color: var(--accent); transform: scale(1.04); }
.price-card .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 999px;
}
.price-card h3 { font-size: 24px; margin-bottom: 8px; }
.price { font-family: 'Oswald'; font-size: 50px; margin-bottom: 20px; }
.price span { font-size: 17px; color: var(--muted); font-family: 'Inter'; }
.price-card ul { list-style: none; text-align: left; margin-bottom: 26px; }
.price-card li { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.price-card li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 10px; }

/* Quotes */
.quote p { font-size: 16px; margin-bottom: 14px; }
.quote footer { color: var(--accent); font-weight: 600; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-info h2 { font-size: clamp(30px, 5vw, 44px); margin: 6px 0 16px; }
.contact-info p { color: var(--muted); margin-bottom: 22px; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list li { color: var(--text); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  font-family: inherit; font-size: 15px; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-msg { margin-top: 12px; font-size: 14px; color: var(--accent-2); min-height: 18px; text-align: center; }

/* Footer */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer p { color: var(--muted); font-size: 14px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); font-size: 13px; font-weight: 700; transition: .2s;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(0,0,0,.7); padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { max-width: 420px; width: 100%; position: relative; text-align: center; }
.modal-card h3 { font-size: 26px; margin-bottom: 10px; }
.modal-card p { color: var(--muted); margin-bottom: 22px; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; color: var(--muted); font-size: 28px; cursor: pointer; line-height: 1; }

/* Call buttons */
.call-cta { margin-top: 24px; }
.call-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(255,87,34,.45);
  animation: callpulse 2s infinite;
}
.call-fab:hover { transform: scale(1.08); }
@keyframes callpulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,87,34,.5); }
  70%  { box-shadow: 0 0 0 16px rgba(255,87,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,87,34,0); }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links {
    position: fixed; top: 70px; right: 0; bottom: 0; width: 260px;
    flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px;
    background: var(--bg-alt); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: .3s;
  }
  .nav-links.open { transform: none; }
  .menu-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .hero-stats { gap: 28px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
}
