:root {
  --bg:           oklch(98.5% 0.000 90);
  --surface:      oklch(100% 0.000 90);
  --fg:           oklch(14.1% 0.003 69);
  --muted:        oklch(41.4% 0.008 116);
  --border:       oklch(78.3% 0.006 43);
  --accent:       oklch(64.9% 0.143 61);
  --accent-soft:  color-mix(in oklch, var(--accent) 14%, transparent);
  --accent-light: oklch(74.2% 0.148 69);
  --accent-gold:  oklch(78.9% 0.154 74);
  --fg-soft:      color-mix(in oklch, var(--fg) 6%, transparent);

  --font-display: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --fs-h1:   clamp(44px, 6vw, 76px);
  --fs-h2:   clamp(32px, 4vw, 48px);
  --fs-h3:   22px;
  --fs-lead: 19px;
  --fs-body: 16px;
  --fs-meta: 13px;

  --gap-xs:  8px;
  --gap-sm:  12px;
  --gap-md:  20px;
  --gap-lg:  32px;
  --gap-xl:  56px;
  --gap-2xl: 96px;

  --container: 1120px;
  --gutter: 32px;
  --radius: 6px;
  --radius-lg: 10px;
}

::selection {
  background-color: oklch(64.9% 0.143 61);
  color: #fff;
}

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
details, button, a { user-select: none; -webkit-user-select: none; }
html { -webkit-text-size-adjust: 100%; background: var(--fg); }
body {
  margin: 0;
  background: transparent;
  min-height: 100dvh;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
#content { background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

/* Focus visible (a11y) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}
.btn:focus-visible { outline-offset: 3px; }
.topnav nav a:focus-visible { outline-offset: 4px; border-radius: 2px; }
.section-card:focus-visible { outline-offset: 3px; }
.coach-details summary:focus-visible { outline-offset: 3px; }
.filter-btn:focus-visible { outline-offset: 2px; }

/* Layout */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, var(--gap-2xl)); }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--gap-md); }
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }

/* Typography */
h1, .h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.02em; margin: 0; text-transform: uppercase; }
h2, .h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.015em; margin: 0; text-transform: uppercase; }
h3, .h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; margin: 0; text-transform: uppercase; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--gap-md); }
.meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
.num  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Navigation */
.topnav { position: sticky; top: 0; z-index: 100; background: var(--fg); color: var(--surface); transition: transform 0.3s ease; }
.topnav.nav-hidden { transform: translateY(-100%); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; width: 100%; padding-left: calc(var(--gutter) * 1.5); padding-right: 8px; }
.topnav .logo { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.topnav .logo img { height: 40px; width: auto; display: block; }
.topnav nav { display: flex; gap: 2px; flex-wrap: nowrap; margin-right: 0; }
.topnav nav a { font-size: 14px; color: var(--border); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; padding: 8px 8px; white-space: nowrap; gap: 0; }
.topnav nav a:hover { color: var(--accent-light); }
.topnav .active { color: var(--accent-light); }
.topnav nav a[aria-current="page"] { color: var(--accent-light); }
.topnav nav a[aria-current="page"]::after { width: 100%; }
.topnav-dark { background: var(--fg); color: var(--surface); }
.topnav-dark nav a { color: var(--border); }
.topnav-dark nav a:hover { color: var(--accent-light); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--surface); border-color: var(--accent); }
.btn-primary:hover { background: color-mix(in oklch, var(--accent) 88%, black); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--fg); }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; padding-inline: 8px; }
.btn-ghost:hover { color: var(--fg); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.card-flat { background: transparent; border: 0; padding: 0; }
.card-accent { border-color: var(--fg); border-width: 1.5px; }

/* Image placeholders */
.ph-img {
  background: linear-gradient(135deg, var(--accent-soft), var(--fg-soft)), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 16px;
}
.ph-img.square { aspect-ratio: 1 / 1; }
.ph-img.portrait { aspect-ratio: 3 / 4; }
.ph-img.wide { aspect-ratio: 16 / 9; }

/* Hero */
.hero { padding-block: clamp(60px, 10vw, 120px); }
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; margin-inline: auto; }
.hero h1 { margin-bottom: var(--gap-md); white-space: nowrap; }
.hero .lead { margin-bottom: var(--gap-lg); margin-inline: auto; }
.hero-cta { display: inline-flex; gap: var(--gap-sm); flex-wrap: wrap; justify-content: center; }
.hero .logo-big { max-height: 120px; margin: 0 auto var(--gap-lg); }

/* Feature (index values section) */
.feature .feature-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--fg-soft);
  border-radius: var(--radius);
  color: var(--muted);
  margin-bottom: var(--gap-md);
}
.feature .feature-mark svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 6px; font-size: 18px; }
.feature p  { margin: 0; color: var(--muted); font-size: 15px; }

/* Section cards (index sections grid) */
.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-card:hover { border-color: var(--fg); transform: translateY(-2px); }
.section-card .icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--fg);
  color: var(--surface);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}
.section-card h3 { font-size: 18px; text-transform: uppercase; }
.section-card p { margin: 0; color: var(--muted); font-size: 14px; }
.section-card .arrow { color: var(--muted); font-family: var(--font-display); font-size: 20px; align-self: flex-end; }

/* Stats (index) */
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--fg);
  font-weight: 600;
}
.stat .stat-label { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 24ch; }

/* Footer */
.pagefoot { background: var(--fg); color: var(--muted); padding-block: var(--gap-xl); font-size: 13px; }
.pagefoot .row-between { flex-wrap: wrap; gap: var(--gap-md); }
.pagefoot a { color: var(--accent-light); }

/* ============ PAGE-SPECIFIC COMPONENTS ============ */

/* - informacje */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-xl); align-items: start; }
.contact-item { display: flex; gap: var(--gap-md); align-items: flex-start; padding: var(--gap-md) 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.contact-item:last-child { border-bottom: 0; }
.contact-item .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); min-width: 80px; }
.contact-item > :last-child { word-break: break-word; min-width: 0; }

/* - galeria */
.gallery-cat { margin-bottom: var(--gap-sm); color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

/* - trenerzy */
.coach-card { display: flex; gap: var(--gap-lg); align-items: start; }
.coach-card .ph-img { width: 180px; min-width: 180px; aspect-ratio: 3/4; }
.coach-card .coach-img-wrap, .ph-img-wrap { padding: 0; display: block; background: none; border: 2px solid var(--border); }
.coach-card .info { flex: 1; }
.coach-card .info h3 { margin-bottom: 4px; }
.coach-card .info .title { color: var(--muted); font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--gap-sm); }
.coach-card .info p { color: var(--muted); font-size: 15px; margin: 0 0 6px; line-height: 1.55; }
.coach-card .info .credential { display: inline-block; padding: 3px 8px; background: var(--accent-soft); color: var(--accent); font-size: 12px; border-radius: 3px; font-family: var(--font-mono); margin-right: 6px; margin-bottom: 4px; }
.coach-card + .coach-card { margin-top: var(--gap-lg); padding-top: var(--gap-lg); border-top: 1px solid var(--border); }
.coach-details { margin-top: var(--gap-sm); }
.coach-details summary { font-family: var(--font-display); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--accent); cursor: pointer; padding: 8px 0 8px 26px; list-style: none; position: relative; }
.coach-details summary::-webkit-details-marker { display: none; }
.coach-details summary::before { content: '▸'; position: absolute; left: 8px; top: 50%; translate: 0 -55%; rotate: 0deg; transition: rotate 0.2s ease, color 0.2s ease, translate 0.2s ease; font-size: 16px; color: inherit; }
.coach-details[open] > summary::before { rotate: 90deg; translate: 0 -45%; }
.coach-list { margin: 6px 0 0; padding-left: 18px; }
.coach-list li { font-size: 15px; color: var(--muted); margin-bottom: 4px; line-height: 1.5; }

/* - wyniki */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); margin-bottom: var(--gap-xl); }
.stat-item { text-align: center; padding: var(--gap-lg); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.stat-item .num { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--fg); font-weight: 600; }
.stat-item .label { color: var(--muted); font-size: 14px; margin-top: 8px; }
.result-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.result-card + .result-card { margin-top: var(--gap-md); }
.result-card .event { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.result-card .date { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.result-card h3 { font-size: 18px; margin: 6px 0; }
.result-card .details { display: flex; gap: var(--gap-sm); flex-wrap: wrap; margin-top: 8px; }
.result-card .details span { font-size: 13px; color: var(--muted); }
.medal { display: inline-block; font-size: 11px; font-family: var(--font-mono); padding: 2px 8px; border-radius: 3px; letter-spacing: 0.04em; text-transform: uppercase; }
.medal.gold { background: oklch(85% 0.12 85); color: oklch(30% 0.06 85); }
.medal.silver { background: oklch(85% 0.04 250); color: oklch(30% 0.04 250); }
.medal.bronze { background: oklch(85% 0.06 60); color: oklch(30% 0.06 60); }
.medal.top { background: var(--accent-soft); color: var(--accent); }

/* - harmonogram */
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th, .schedule-table td { padding: 14px 16px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--border); }
.schedule-table th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--surface); }
.schedule-table tbody tr:hover { background: var(--fg-soft); }
.schedule-table .day { font-weight: 600; }
.schedule-table .group { font-size: 13px; color: var(--muted); }
.schedule-table .time { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: left; }
.schedule-table .coach {  font-size: 13px; color: var(--muted); }
/* .schedule-table .tag { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-family: var(--font-mono); background: var(--accent-soft); color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; } */
.event-item { padding: var(--gap-md) 0; border-bottom: 1px solid var(--border); }
.event-item:last-child { border-bottom: 0; }
.event-item .event-date { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.event-item h3 { font-size: 18px; margin: 4px 0; }
.event-item .event-loc { font-size: 14px; color: var(--muted); }

/* - opłaty */
.price-card { text-align: center; padding: var(--gap-xl) var(--gap-lg); }
.price-card .price { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); color: var(--fg); font-weight: 600; line-height: 1; }
.price-card .price .curr { font-size: 0.5em; vertical-align: super; color: var(--muted); }
.price-card .price .period { font-size: 0.35em; color: var(--muted); font-weight: 400; margin-left: 2px; }
.price-card h3 { margin-bottom: var(--gap-sm); }
.price-card p { color: var(--muted); font-size: 14px; margin: 0 0 var(--gap-md); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 var(--gap-lg); text-align: left; }
.price-card ul li { padding: 6px 0; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--border); display: flex; gap: 8px; align-items: center; }
.price-card ul li::before { content: '✓'; color: var(--fg); font-weight: 700; }
.fee-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; flex-wrap: wrap; gap: 8px; }
.fee-row:last-child { border-bottom: 0; }
.fee-row .fee-label { font-weight: 500; }
.fee-row .fee-desc { font-size: 14px; color: var(--muted); flex: 1; }
.fee-row .fee-amount { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 18px; font-weight: 600; color: var(--fg); }

/* - regulamin */
.rule-section { margin-top: var(--gap-lg); padding-top: var(--gap-lg); border-top: 1px solid var(--border); }
.rule-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.rule-section p, .rule-section li { font-size: 15px; color: var(--muted); }
.rule-section ul, .rule-section ol { padding-left: 20px; }
.rule-section li { margin-bottom: 8px; line-height: 1.55; }
.rule-section .rule-num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; display: block; margin-bottom: 4px; }

/* - zawodnicy */
.roster-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.roster-table th, .roster-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.roster-table th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--bg); }
.roster-table tbody tr:hover { background: var(--fg-soft); }
.roster-table .num-col { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }
.roster-table .name { font-weight: 500; }
.roster-table .category { font-size: 13px; color: var(--muted); }
.roster-table .rank { font-family: var(--font-mono); font-size: 12px; }
.roster-table .status-active { display: inline-block; width: 8px; height: 8px; background: oklch(60% 0.15 150); border-radius: 50%; margin-right: 4px; }
.roster-table .status-inactive { display: inline-block; width: 8px; height: 8px; background: var(--muted); border-radius: 50%; margin-right: 4px; }
.filter-bar { display: flex; gap: var(--gap-sm); margin-bottom: var(--gap-lg); flex-wrap: wrap; }
.filter-btn { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--border); background: transparent; font-size: 13px; color: var(--muted); cursor: pointer; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; transition: all 0.15s; }
.filter-btn:hover { border-color: var(--fg); color: var(--fg); }
.filter-btn.active { background: var(--fg); color: var(--surface); border-color: var(--fg); }

/* === UTILITY CLASSES === */
.hero-pb0 { padding-bottom: 0; }
.tagline { margin-top: 6px; font-family: var(--font-display); color: var(--accent); font-size: clamp(16px, 2.2vw, 22px); letter-spacing: 0.02em; text-transform: uppercase; }
.tagline-lg { font-size: clamp(18px, 2.5vw, 26px); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.gap-56 { gap: 56px; }
.gap-xl { gap: var(--gap-xl); }
.gap-md { gap: var(--gap-md); }
.lead-mb { margin: 16px auto 0; }
.lead-cta { margin: 16px auto 32px; color: var(--border); }
.eyebrow-center { text-align: center; }
.eyebrow-mb40 { margin-bottom: 40px; text-align: center; }
.eyebrow-mb4 { margin-bottom: 4px; }
.container-sm { max-width: 600px; margin-inline: auto; padding-inline: var(--gutter); }
.container-md { max-width: 800px; margin-inline: auto; padding-inline: var(--gutter); }
.container-700 { max-width: 700px; margin-inline: auto; padding-inline: var(--gutter); }
.container-860 { max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }
.container-1120 { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.sections-grid { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.surface-section { background: var(--surface); border-top: 1px solid var(--border); }
.discount-section { background: var(--fg); color: var(--border); }
.pb0 { padding-block: 0; }
.mb-lg { margin-bottom: var(--gap-lg); }
.mb-xl { margin-bottom: var(--gap-xl); }
.mt-sm { margin-top: var(--gap-sm); }
.mt-md { margin-top: var(--gap-md); }
.mt-12 { margin-top: 12px; }
.p-32 { padding: 32px; }
.overflow-auto { overflow-x: auto; padding: 0; }
.card-table { overflow-x: auto; padding: 0; }
.stat-center { text-align: center; }
.stat-label-auto { margin-inline: auto; }
.num-suffix, .stat-unit { font-size: 0.5em; opacity: 0.7; }
.pos-relative { position: relative; }
.ph-img-16-9 { aspect-ratio: 16/9; }
.ph-img-4-3 { aspect-ratio: 4/3; }
.coach-img-wrap, .ph-img-wrap {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 0;
  display: block;
  aspect-ratio: 3/4;
}
.ph-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.coach-img { width: 100%; height: 100%; object-fit: cover; }
.coach-card:first-child .coach-img-wrap,
.coach-card:nth-child(2) .coach-img-wrap,
.ph-img-wrap {
  border-color: var(--accent);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 20%, transparent);
}
.coach-p-mb { margin: 0 0 8px; }
.coach-p { margin: 0; }

/* CTA strip */
.cta-strip { text-align: center; background: var(--fg); color: var(--surface); }
.cta-strip h2 { color: var(--surface); }
.cta-strip .lead { margin: 16px auto 32px; color: var(--border); }
.cta-strip-plain { text-align: center; }
.lead-cta-plain { margin: 16px auto 32px; }
.btn-cta { background: var(--accent-light); border-color: var(--accent-light); color: var(--fg); }

/* Footer */
.footer-name { color: var(--border); font-family: var(--font-display); text-transform: uppercase; }
.footer-addr { color: var(--muted); }
.footer-social { margin-top: var(--gap-md); padding-top: var(--gap-md); border-top: 1px solid var(--muted); text-align: center; display: flex; justify-content: center; gap: var(--gap-md); }
.footer-facebook { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-light); font-size: 13px; text-decoration: none; }
.footer-social a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-light); font-size: 13px; text-decoration: none; }
.footer-tagline { text-align: center; font-family: var(--font-display); color: var(--accent); font-size: 14px; letter-spacing: 0.03em; margin-top: var(--gap-sm); }
.footer-copy { margin-top: var(--gap-md); padding-top: var(--gap-md); border-top: 1px solid var(--muted); text-align: center; }

/* Regulamin */
.rule-content { max-width: 800px; margin-inline: auto; padding-inline: var(--gutter); }
.reg-h2 { margin: 32px 0 16px; }

/* Discount note */
.discount-inner { max-width: 700px; margin-inline: auto; text-align: center; }
.discount-inner h2 { color: var(--surface); margin-bottom: var(--gap-md); }
.discount-inner p { color: var(--border); font-size: 15px; margin: 0 auto; max-width: 50ch; }

/* Oplaty fees */
.fees-container { max-width: 700px; margin-inline: auto; padding-inline: var(--gutter); }

/* Logo nav img */
.logo-nav-img { height: 42px; width: auto; display: inline; vertical-align: middle; margin-right: 8px; }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; color: var(--surface);
  width: 44px; height: 44px; padding: 8px;
  cursor: pointer; position: relative; z-index: 200;
  flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--surface); border-radius: 1px;
  position: absolute; left: 11px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.active span:nth-child(1),
.hamburger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2),
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3),
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============ MOTION (emilkowalski-motion) ============ */

/* Hero stagger entrance */
.hero-reveal > * {
  animation: heroFadeUp 0.5s cubic-bezier(0.2, 0, 0, 1) both;
}
.hero-reveal > .logo-big { animation-delay: 0ms; }
.hero-reveal > .eyebrow { animation-delay: 100ms; }
.hero-reveal > h1 { animation-delay: 200ms; }
.hero-reveal > .lead { animation-delay: 350ms; }
.hero-reveal > .tagline { animation-delay: 450ms; }
.hero-reveal > .hero-cta { animation-delay: 550ms; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal - slide-up only, no opacity sticking on dark bg */
.reveal {
  transform: translateY(28px);
  transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}
.reveal.revealed {
  transform: translateY(0);
}

/* Section card hover - arrow slide */
.section-card .arrow {
  transition: transform 0.2s ease, color 0.2s ease;
}
.section-card:hover .arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* Nav link underline */
.topnav nav a {
  position: relative;
}
.topnav nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.topnav nav a:hover::after,
.topnav nav a.active::after {
  width: 100%;
}

/* Result card subtle hover lift */
.result-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* Price card hover */
.price-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.price-card:hover {
  transform: translateY(-2px);
}

/* Coach details animation — all direct children except summary */
.coach-details > :not(summary) {
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.2, 0, 0, 1), opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
}
.coach-details[open] > :not(summary) {
  max-height: none;
  opacity: 1;
}
.coach-details.reveal-content[open] > :not(summary) {
  max-height: 0;
  opacity: 1;
}

.coach-details > .coach-list {
  padding-left: 18px;
}
.coach-details > .coach-p,
.coach-details > .coach-p-mb {
  padding-left: 0;
}

/* Coach details summary hover */
.coach-details summary {
  transition: color 0.2s ease;
}
.coach-details summary:hover {
  color: color-mix(in oklch, var(--accent), black 15%);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.revealed, .hero-reveal > *, .section-card .arrow, .topnav nav a::after,
  .result-card, .price-card, .coach-details summary,
  .coach-details > :not(summary) {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    max-height: none !important;
    transform: none !important;
  }
}

/* ============ MEDIA QUERIES ============ */

@media (max-width: 920px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1200px) {
  .topnav-inner { padding-left: calc(var(--gutter) * 1.25); }
}

@media (max-width: 960px) {
  .topnav-inner { padding-left: var(--gutter); }
  .hamburger { display: block; }
  .topnav nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--fg); z-index: 150;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 0; display: none;
  }
  .topnav nav.open { display: flex; }
  .topnav nav a {
    font-size: 18px; padding: 16px 24px;
    text-align: center; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .topnav nav a:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .topnav-inner { padding-left: 16px; }
  .coach-card { flex-direction: column; }
  .coach-card .ph-img { width: 100%; }
  .stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .topnav-inner { padding-left: 12px; }
  .hero h1 { white-space: normal; }
}
