:root {
  --bg: #090909;
  --bg-soft: #151515;
  --ink: #111111;
  --muted: #656565;
  --paper: #f4f4f4;
  --paper-strong: #ffffff;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(10, 10, 10, 0.12);
  --red: #c41224;
  --red-dark: #8f0e19;
  --gold: #c9a24f;
  --max: 1180px;
  --header-h: 82px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 14px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  background: var(--paper-strong);
  color: var(--ink);
  border-radius: 6px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(18px);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    height 180ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  background: rgba(8, 8, 8, 0.94);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
  gap: 12px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.brand strong,
.footer-brand span {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu a,
.nav-dropdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-dropdown:hover,
.nav-dropdown:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.has-dropdown {
  position: relative;
}

.nav-dropdown span {
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.has-dropdown.is-open .nav-dropdown span {
  transform: rotate(225deg) translate(-1px, -1px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 190px;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: rgba(17, 17, 17, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  justify-content: flex-start;
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 22px;
  height: 2px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 64px) 0 64px;
  background: #050505;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.72) 42%, rgba(5, 5, 5, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.64) 0%, rgba(5, 5, 5, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.35rem;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.hero-lead {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(196, 18, 36, 0.3);
}

.button-primary:hover {
  background: #e0152b;
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.button-ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  margin-top: 24px;
  background: #0a0a0a;
  color: #ffffff;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  max-width: 700px;
  gap: 9px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-contact {
  position: relative;
  z-index: 2;
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.quick-grid a {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 20px 28px;
  border-right: 1px solid var(--line-dark);
}

.quick-grid a:first-child {
  border-left: 1px solid var(--line-dark);
}

.quick-grid a:hover {
  background: #f0f0f0;
}

.quick-grid span,
.card-label,
.block-title span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.quick-grid strong {
  font-size: 1.04rem;
  line-height: 1.25;
}

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--bg);
  color: var(--paper);
}

.section-red {
  background:
    linear-gradient(90deg, var(--red-dark), var(--red)),
    var(--red);
  color: #ffffff;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.personal h2,
.contact-layout h2 {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow),
.personal p,
.contact-layout p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-dark .section-heading p:not(.eyebrow),
.section-red .personal p,
.contact-layout p {
  color: rgba(255, 255, 255, 0.72);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card,
.training-grid article,
.kids-panel,
.contact-card {
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line-dark);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.price-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.price-card-accent {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.price-card h3,
.training-grid h4,
.contact-card h3 {
  margin: 8px 0 0;
  font-size: 1.45rem;
  line-height: 1.12;
  text-transform: uppercase;
}

.price-card p:not(.card-label),
.training-grid p,
.kids-panel p,
.kids-panel li,
.contact-card {
  color: var(--muted);
}

.price-card-accent p:not(.card-label) {
  color: rgba(255, 255, 255, 0.72);
}

.price-card a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  margin-top: auto;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 2px solid currentColor;
}

.price-card-accent a {
  color: #ffffff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 70px;
}

.club-panel {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.club-panel img {
  width: 126px;
  height: 126px;
  object-fit: cover;
  margin-bottom: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.club-panel ul,
.kids-panel ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.club-panel li,
.kids-panel li {
  position: relative;
  padding-left: 24px;
}

.club-panel li::before,
.kids-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  background: var(--red);
  transform: rotate(45deg);
}

.training-block + .training-block {
  margin-top: 58px;
}

.block-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  border-bottom: 2px solid #111111;
  padding-bottom: 16px;
}

.block-title h3 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.training-grid article {
  min-height: 214px;
  padding: 24px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.training-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.14);
}

.training-grid h4 {
  margin-top: 0;
}

.kids-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 34px;
  align-items: start;
  padding: 30px;
}

.kids-panel p {
  margin: 0;
  font-size: 1.08rem;
}

.personal {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 64px;
}

.personal .eyebrow {
  color: #ffffff;
}

.personal p {
  margin-top: 0;
  font-size: 1.12rem;
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.72fr);
  align-items: start;
  gap: 28px;
}

.schedule-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.schedule-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.schedule-table th {
  padding: 18px 14px;
  background: #111111;
  color: #ffffff;
  font-size: 0.86rem;
  text-align: left;
  text-transform: uppercase;
}

.schedule-table td {
  width: 16.66%;
  height: 112px;
  vertical-align: top;
  padding: 16px 14px;
  border-top: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  color: var(--muted);
}

.schedule-table td:last-child,
.schedule-table th:last-child {
  border-right: 0;
}

.schedule-table strong {
  display: block;
  color: var(--ink);
  line-height: 1.16;
}

.schedule-table span {
  display: block;
  margin-top: 8px;
  color: var(--red);
  font-weight: 900;
}

.schedule-table td.is-today {
  background: rgba(196, 18, 36, 0.08);
}

.schedule-table td.is-today strong::after {
  content: " dzisiaj";
  color: var(--red);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.schedule-poster {
  margin: 0;
}

.schedule-poster img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.schedule-poster figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 68px;
  align-items: start;
}

.contact-main {
  min-width: 0;
}

.contact-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.contact-tile {
  min-height: 136px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.contact-tile:nth-child(3) {
  grid-column: 1 / -1;
}

.contact-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.085);
}

.contact-tile span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-tile strong {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.18;
}

.contact-tile em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-style: normal;
}

.contact-card {
  padding: 28px;
  color: var(--ink);
}

.contact-card h3 {
  margin: 0 0 18px;
}

.hours-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-top: 1px solid var(--line-dark);
}

.hours-list dt {
  font-weight: 800;
}

.hours-list dd {
  margin: 0;
  text-align: right;
}

.small-note {
  margin-top: 18px;
  color: var(--muted) !important;
  font-size: 0.92rem !important;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #050505;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.8fr);
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: #ffffff;
}

@media (max-width: 1080px) {
  .nav-menu a,
  .nav-dropdown {
    padding-inline: 9px;
    font-size: 0.8rem;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-grid a:last-child {
    grid-column: 1 / -1;
  }

  .training-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule-layout {
    grid-template-columns: 1fr;
  }

  .schedule-poster img {
    max-height: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 110;
    width: 100vw;
    height: calc(100svh - var(--header-h));
    display: grid;
    align-content: start;
    gap: 0;
    padding: 22px 14px 38px;
    overflow-y: auto;
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  body.nav-open .nav-menu {
    transform: translateX(0);
  }

  .nav-menu a,
  .nav-dropdown {
    width: 100%;
    justify-content: space-between;
    min-height: 54px;
    padding-inline: 12px;
    font-size: 1rem;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    margin: 0 0 8px;
    padding: 0 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .has-dropdown.is-open .dropdown-menu {
    display: grid;
  }

  .hero {
    min-height: 84svh;
    padding: calc(var(--header-h) + 56px) 0 54px;
  }

  .hero-image {
    object-position: 70% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.76) 56%, rgba(5, 5, 5, 0.36) 100%),
      linear-gradient(0deg, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0) 44%);
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .quick-grid,
  .price-grid,
  .split,
  .kids-panel,
  .contact-directory,
  .personal,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid a:last-child {
    grid-column: auto;
  }

  .quick-grid a,
  .quick-grid a:first-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line-dark);
  }

  .section {
    padding: 74px 0;
  }

  .section-heading,
  .section-heading.align-left {
    text-align: left;
  }

  .section-heading h2,
  .personal h2,
  .contact-layout h2 {
    font-size: 2.2rem;
  }

  .split,
  .personal,
  .contact-layout {
    gap: 34px;
  }

  .contact-tile:nth-child(3) {
    grid-column: auto;
  }

  .club-panel {
    padding: 26px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-tags {
    gap: 7px;
  }

  .hero-tags li {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 0.74rem;
  }

  .price-card,
  .training-grid article,
  .kids-panel,
  .contact-card {
    padding: 22px;
  }

  .training-grid {
    grid-template-columns: 1fr;
  }

  .block-title {
    align-items: start;
    flex-direction: column;
  }

  .schedule-table {
    min-width: 760px;
  }

  .footer-grid {
    justify-items: start;
  }
}
