:root {
  --bg: #0e0e11;
  --bg2: #141419;
  --card: #17181e;
  --line: #26272f;
  --ink: #f4f4ee;
  --muted: #a3a3ab;
  --acc: #a3e635;
  --acc-ink: #131503;
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 12px; }
h3 { font-size: 1.15rem; }
.lead { color: var(--muted); max-width: 640px; margin-bottom: 34px; font-size: 1.05rem; }
.note { color: var(--muted); font-size: 0.9rem; margin-top: 16px; }

/* header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 17, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { font-weight: 900; font-size: 1.45rem; text-decoration: none; letter-spacing: 0.02em; }
.logo span { color: var(--acc); }
.nav { display: flex; gap: 22px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 0.98rem; }
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone { text-decoration: none; font-weight: 700; white-space: nowrap; }
.burger { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; font-size: 1.1rem; padding: 6px 12px; cursor: pointer; }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer;
}
.btn-acc { background: var(--acc); color: var(--acc-ink); }
.btn-acc:hover { filter: brightness(1.07); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn-big { padding: 14px 28px; font-size: 1.05rem; }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,12,0.88) 0%, rgba(10,10,12,0.62) 55%, rgba(10,10,12,0.25) 100%);
}
.hero-in { position: relative; padding: 92px 20px 84px; }
.hero-tag { color: var(--acc); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); max-width: 640px; margin-bottom: 18px; }
.hero-sub { color: #d8d8d2; max-width: 560px; font-size: 1.1rem; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; }
.hero-chips li {
  border: 1px solid rgba(255,255,255,0.28); border-radius: 999px;
  padding: 6px 14px; font-size: 0.9rem; background: rgba(10,10,12,0.45);
}

/* sections and cards */
.section { padding: 76px 0; }
.section-alt { background: var(--bg2); }
.grid { display: grid; gap: 18px; }
.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: 24px;
}
.dir-num { color: var(--acc); font-weight: 900; font-size: 0.95rem; margin-bottom: 10px; }
.dir h3 { margin-bottom: 8px; }
.dir p { color: var(--muted); }
.dir .dir-meta { color: var(--ink); font-size: 0.9rem; margin-top: 14px; font-weight: 600; }

/* schedule */
.days { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.day-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  border-radius: 999px; padding: 9px 18px; font-size: 0.98rem; font-weight: 700; cursor: pointer;
}
.day-btn.active { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.sched { display: flex; flex-direction: column; gap: 10px; }
.sched-row {
  display: grid; grid-template-columns: 86px 1fr auto; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px;
}
.sched-time { font-weight: 900; font-size: 1.05rem; color: var(--acc); }
.sched-name { font-weight: 700; }
.sched-sub { color: var(--muted); font-size: 0.9rem; }
.sched-tag { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 0.82rem; color: var(--muted); white-space: nowrap; }

/* trainers */
.trainer { padding: 0; overflow: hidden; }
.trainer img { width: 100%; height: 340px; object-fit: cover; object-position: top; }
.trainer-in { padding: 20px 22px 24px; }
.trainer-role { color: var(--acc); font-weight: 700; margin: 4px 0 10px; }
.trainer-in p:last-child { color: var(--muted); }

/* prices */
.price { display: flex; flex-direction: column; position: relative; }
.price-val { font-size: 1.9rem; font-weight: 900; margin: 10px 0 14px; }
.price ul { list-style: none; color: var(--muted); margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.price ul li::before { content: "✓ "; color: var(--acc); font-weight: 900; }
.price .btn { margin-top: auto; }
.price-hit { border-color: var(--acc); }
.hit {
  position: absolute; top: -13px; left: 20px; background: var(--acc); color: var(--acc-ink);
  font-size: 0.78rem; font-weight: 800; border-radius: 999px; padding: 3px 12px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* form */
.zapis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.zapis-points { list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.zapis-points li::before { content: "✓ "; color: var(--acc); font-weight: 900; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: 0.95rem; }
.form input, .form select {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); padding: 13px 14px; font-size: 1rem; font-family: inherit;
}
.form input:focus, .form select:focus { outline: 2px solid var(--acc); border-color: var(--acc); }
.form-ok { background: rgba(163, 230, 53, 0.12); border: 1px solid var(--acc); border-radius: 12px; padding: 13px 14px; font-size: 0.95rem; }
.form-note { color: var(--muted); font-size: 0.82rem; }

/* contacts and footer */
.contact p { color: var(--muted); margin-top: 8px; }
.contact a { color: var(--ink); }
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-note { color: var(--muted); font-size: 0.88rem; max-width: 560px; }

/* responsive */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg2); padding: 18px 20px; border-bottom: 1px solid var(--line);
  }
  .burger { display: block; }
  .phone { display: none; }
}
@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
  .zapis-grid { grid-template-columns: 1fr; }
  .hero-in { padding: 56px 20px 52px; }
  .section { padding: 54px 0; }
  .sched-row { grid-template-columns: 70px 1fr; }
  .sched-tag { display: none; }
  .trainer img { height: 300px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .header-cta .btn { display: none; }
  .hero-btns .btn { width: 100%; }
}
