:root { --brand: #111418; --accent: #e8462b; --accent-dark: #c4361e; --bg: #f4f4f2; --ink: #16181d; --muted: #5f6672; --card: #fff; --line: #e2e2de; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); }
h1, h2, h3, .logo { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(17,20,24,.96); color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.logo { font-size: 22px; font-weight: 700; text-decoration: none; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; opacity: .85; }
.nav a:hover { opacity: 1; }
.nav .btn { opacity: 1; }

/* Buttons */
.btn, button { display: inline-block; font: 600 16px/1 "Inter", system-ui, sans-serif; background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 14px 22px; cursor: pointer; text-decoration: none; transition: background .15s, transform .15s; }
.btn:hover, button:hover { background: var(--accent-dark); }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,.5); }
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
button.secondary:hover { background: #eee; }

/* Hero */
.hero { position: relative; color: #fff; background:
  linear-gradient(115deg, rgba(17,20,24,.96) 0%, rgba(17,20,24,.82) 55%, rgba(232,70,43,.55) 100%),
  repeating-linear-gradient(135deg, #1d2128 0 22px, #181b21 22px 44px);
  padding: 96px 0 88px; overflow: hidden; }
.hero .tag { display: inline-block; background: var(--accent); padding: 6px 12px; border-radius: 4px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 8vw, 84px); margin: 18px 0 16px; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 19px; max-width: 34em; opacity: .9; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 52px; }
.stats strong { display: block; font-family: "Oswald", sans-serif; font-size: 36px; color: var(--accent); }
.stats span { font-size: 14px; opacity: .8; }

/* Sections */
section { padding: 76px 0; }
section.alt { background: #fff; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; margin: 0 0 8px; }
section h2 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 14px; }
.lead { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
section.alt .card { background: var(--bg); border-color: transparent; }
.card h3 { font-size: 22px; margin: 10px 0 8px; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 10px; background: var(--brand); color: var(--accent); display: grid; place-items: center; font-size: 24px; }

/* Timetable */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 10px 16px; }
.tabs button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.sessions { display: grid; gap: 10px; }
.session { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.session time { font-family: "Oswald", sans-serif; font-size: 20px; }
.session b { display: block; }
.session small { color: var(--muted); }
.level { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: #f1f1ee; white-space: nowrap; }
.level.all { background: #e5f4ea; color: #1d6b37; }
.level.hard { background: #fde6e1; color: #a52c16; }

/* Prices */
.price { display: flex; flex-direction: column; }
.price .amount { font-family: "Oswald", sans-serif; font-size: 48px; margin: 6px 0 2px; }
.price .amount small { font-size: 16px; color: var(--muted); font-family: "Inter", sans-serif; }
.price ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
.price li { padding: 6px 0 6px 26px; position: relative; color: var(--muted); }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price.featured { background: var(--brand) !important; color: #fff; position: relative; }
.price.featured li, .price.featured .amount small { color: rgba(255,255,255,.8); }
.badge { position: absolute; top: -12px; right: 20px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; }

/* Coaches */
.coach .avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: "Oswald", sans-serif; font-size: 26px; color: #fff; background: linear-gradient(135deg, var(--accent), #8c2412); }
.coach .role { color: var(--accent); font-weight: 600; font-size: 14px; }

/* Reviews */
.quote p { font-size: 17px; color: var(--ink); }
.quote .who { margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--muted); }
.stars { color: #f5a623; letter-spacing: 2px; }

/* Trial form */
.join { background: var(--brand); color: #fff; }
.join .lead { color: rgba(255,255,255,.75); }
.join-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.join .info p { margin: 0 0 14px; opacity: .9; }
form.card { color: var(--ink); }
label { display: block; font-weight: 600; margin: 0 0 6px; font-size: 14px; }
.field { margin-bottom: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, select, textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
form button { width: 100%; }
.msg { margin-top: 12px; font-weight: 600; }
.msg.ok { color: #1d6b37; } .msg.err { color: #a52c16; }

footer { background: #0b0d10; color: rgba(255,255,255,.6); font-size: 14px; padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: rgba(255,255,255,.45); text-decoration: none; }
footer a:hover { color: #fff; }

/* Admin */
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fafaf8; }
.muted { color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpis .card strong { font-family: "Oswald", sans-serif; font-size: 34px; display: block; }

@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .stats { gap: 24px; }
  section { padding: 56px 0; }
  .join-grid { grid-template-columns: 1fr; gap: 24px; }
  .session { grid-template-columns: 70px 1fr; }
  .session .level { grid-column: 2; justify-self: start; }
  .row2 { grid-template-columns: 1fr; }
  table thead { display: none; }
  table tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  table td { display: block; border: 0; padding: 4px 12px; }
}
