:root {
  --bg: #050505;
  --bg-soft: #101010;
  --bg-card: #151515;
  --text: #f6f6f6;
  --muted: #b8b8b8;
  --red: #d1121b;
  --red-dark: #8d0c12;
  --border: rgba(255, 255, 255, 0.12);
  --max-width: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.container.narrow {
  max-width: 900px;
}

.form-column {
  max-width: 900px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
}

.logo-image {
  width: 42px;
  height: 42px;
  display: grid;
  align-items: center;
  justify-items: center;
}

.logo-image img {
  width: auto;
  max-width: 100%;
  height: 32px;
  max-height: 32px;
  display: block;
}

.logo small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-top: -4px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a.cta-nav {
  padding: 10px 14px;
  color: var(--text);
  background: var(--red);
}

.hero {
  position: relative;
  min-height: calc(88vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(5,5,5,0.96) 0%, rgba(5,5,5,0.84) 48%, rgba(5,5,5,0.55) 100%),
    radial-gradient(circle at 80% 30%, rgba(209, 18, 27, 0.24), transparent 34%),
    linear-gradient(135deg, #050505, #161616 55%, #2a0508);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(45deg, transparent 0 48%, var(--red) 49% 51%, transparent 52% 100%),
    linear-gradient(135deg, transparent 0 48%, #fff 49% 50%, transparent 51% 100%);
  background-size: 90px 90px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0 0 20px;
}

h1 {
  font-size: clamp(44px, 8vw, 92px);
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--border);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--text);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--text);
}

.section {
  padding: 86px 0;
  border-bottom: 1px solid var(--border);
}

.section.compact {
  padding: 56px 0;
}

.section-dark {
  background: var(--bg-soft);
}

.section-redline {
  border-top: 4px solid var(--red);
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.card-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card .kicker {
  margin: 0 0 16px;
}

.card h3 {
  margin: 0 0 14px;
}

.card .muted {
  margin-top: 0;
}

.card-action > .btn {
  margin-top: auto;
}

.card-highlight {
  border-left: 5px solid var(--red);
}

.training-times .card .muted {
  margin: 0 0 2px;
}

.training-times .card .muted + p {
  margin: 0 0 14px;
  line-height: 1.25;
}

.training-times .card .muted + p:last-child {
  margin-bottom: 0;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--muted);
}

.big-number {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-list {
  padding-left: 20px;
}

.info-list li {
  margin-bottom: 8px;
}

.schedule-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text);
  background: #1b1b1b;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

tr:last-child td {
  border-bottom: 0;
}

.page-hero {
  padding: 92px 0 70px;
  background:
    linear-gradient(90deg, rgba(5,5,5,0.96), rgba(5,5,5,0.78)),
    radial-gradient(circle at 85% 20%, rgba(209, 18, 27, 0.28), transparent 38%),
    #0d0d0d;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cta-band {
  padding: 44px 0;
  background: var(--red);
  color: var(--text);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 40px);
}

.cta-band p {
  margin: 0;
  color: rgba(255,255,255,0.86);
}

.cta-band .btn {
  background: #fff;
  color: #111;
  border-color: #fff;
  flex-shrink: 0;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.notice {
  padding: 20px;
  background: rgba(209,18,27,0.12);
  border: 1px solid rgba(209,18,27,0.38);
}

.form-frame {
  width: 100%;
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
}

.form-frame iframe {
  width: 100%;
  border: 0;
  display: block;
}

.form-frame-large iframe {
  min-height: 4761px;
}

.form-frame-member iframe {
  min-height: 3432px;
}

.site-footer {
  background: #030303;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding: 52px 0;
}

.footer-title {
  margin: 0 0 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.placeholder {
  color: #ffb3b7;
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 16px 20px;
    background: #060606;
    border-bottom: 1px solid var(--border);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 6px;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a.cta-nav {
    margin-top: 10px;
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 68px 0;
  }

  .section {
    padding: 64px 0;
  }

  th,
  td {
    padding: 14px;
  }
}

.section-split {
  align-items: start;
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.hidden {
  display: none !important;
}

.access-panel,
.order-panel,
.membership-panel,
.contact-panel {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 5px solid var(--red);
}

.member-check-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 800;
}

.field span,
.product-row-header span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: #0b0b0b;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(209, 18, 27, 0.5);
  outline-offset: 2px;
}

input[readonly] {
  color: var(--muted);
  background: #101010;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin-top: 24px;
}

.product-list {
  display: grid;
  gap: 10px;
  margin: 10px 0 26px;
}

.product-row {
  display: grid;
  grid-template-columns: 1.5fr 110px 1fr 90px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #101010;
  border: 1px solid var(--border);
}

.product-row-header {
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
  border: 0;
}

.price-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid var(--border);
  background: #151515;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.price-pending {
  border-color: var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
}

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
}

.checkbox-field span {
  display: grid;
  gap: 3px;
}

.checkbox-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
}

.product-row input[type="number"] {
  text-align: center;
}

.form-status {
  min-height: 26px;
  margin: 16px 0 0;
  color: var(--muted);
}

.status-error {
  color: #ffb3b7;
}

.status-success {
  color: #b7ffcf;
}

@media (max-width: 900px) {
  .member-check-form,
  .form-grid,
  .product-row {
    grid-template-columns: 1fr;
  }

  .product-row-header {
    display: none;
  }

  .access-panel,
  .order-panel,
  .membership-panel {
    padding: 22px;
  }
}

.payment-box {
  margin: 24px 0 30px;
  padding: 22px;
  background: #101010;
  border: 1px solid var(--border);
}

.payment-box h3,
.form-section-title {
  margin: 0 0 14px;
  font-size: 18px;
}

.payment-box p {
  margin: 12px 0 0;
  color: var(--muted);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.payment-grid div {
  padding: 14px;
  border: 1px solid var(--border);
  background: #0b0b0b;
}

.payment-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.payment-grid strong {
  font-size: 20px;
}

.small-text {
  font-size: 14px;
}

.form-section-title {
  margin-top: 30px;
}

.form-help {
  margin: -4px 0 18px;
  color: var(--muted);
}

.form-grid-wide {
  grid-column: 1 / -1;
}

.order-total {
  margin: -8px 0 24px;
  padding: 14px 16px;
  background: #151515;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 900;
  text-align: right;
}

@media (max-width: 900px) {
  .payment-grid {
    grid-template-columns: 1fr;
  }
}
