:root {
  --bg: #0b0c10;
  --surface: #14161d;
  --surface-2: #1b1f28;
  --text: #ffffff;
  --muted: #c3cad6;
  --accent: #c1121f;
  --accent-2: #ffd166;
  --line: #2b3140;
  --max: 1120px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 0%, #181b24 0%, var(--bg) 45%);
  color: var(--text);
  font-family: "Roboto", "Open Sans", Arial, sans-serif;
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 12, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}

.logo-top {
  font-family: "Anton", Impact, sans-serif;
  font-size: 1.55rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1;
}

.logo-bottom {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
}

.logo-rule {
  flex: 1;
  height: 2px;
  background: #ffffff;
}

.logo-mma {
  font-family: "Anton", Impact, sans-serif;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e01e37);
  color: white;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-secondary {
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  background: transparent;
}

main {
  padding-bottom: 4rem;
}

.section {
  padding: 4rem 0;
}

.hero {
  position: relative;
  padding: 5rem 0 4rem;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.55) saturate(0.8);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,9,12,0.5) 30%, rgba(8,9,12,0.15) 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.77rem;
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Anton", Impact, sans-serif;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.card {
  background: linear-gradient(180deg, #171a22 0%, #12141b 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

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

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

.kicker {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-band {
  background: linear-gradient(135deg, #1a0f11 0%, #2f1117 50%, #4b1623 100%);
  border-top: 1px solid #63202d;
  border-bottom: 1px solid #63202d;
}

.form {
  display: grid;
  gap: 0.8rem;
}

.form label {
  font-size: 0.9rem;
  color: #d4dae4;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: #0f1218;
  color: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  font: inherit;
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tab-btn {
  border: 1px solid var(--line);
  background: #10131a;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.active {
  background: #251318;
  border-color: #6e1f2c;
  color: white;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.cal-card {
  background: linear-gradient(180deg, #171a22 0%, #12141b 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.cal-col {
  border-right: 1px solid var(--line);
}

.cal-col:last-child {
  border-right: none;
}

.cal-day {
  font-family: "Anton", Impact, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: #1e2230;
  border-bottom: 2px solid var(--accent);
  padding: 0.65rem 0.75rem;
  text-align: center;
}

.cal-classes {
  padding: 0.5rem 0;
}

.cal-class {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(43,49,64,0.5);
}

.cal-class:last-child {
  border-bottom: none;
}

.cal-time {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
}

.cal-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.cal-name em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
}

.cal-open .cal-name {
  color: var(--accent-2);
}

@media (max-width: 900px) {
  .cal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cal-col:nth-child(3) {
    border-right: none;
  }
  .cal-col:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .cal-col:nth-child(5) {
    border-top: 1px solid var(--line);
  }
  .cal-col:nth-child(6) {
    border-top: 1px solid var(--line);
    border-right: none;
  }
}

@media (max-width: 560px) {
  .cal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cal-col:nth-child(2n) {
    border-right: none;
  }
  .cal-col:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
}


.tab-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.tab-panel-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 260px;
}

.tab-panel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.tab-panel-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tab-panel-body h3 {
  margin: 0;
}

.tab-panel-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e2230;
}

.tab-panel-img-placeholder span {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

@media (max-width: 700px) {
  .tab-panel-inner {
    grid-template-columns: 1fr;
  }
}

.freeweek-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  height: 220px;
}

.freeweek-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.path-grid {
  gap: 1.5rem;
}

.path-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.path-img-wrap {
  height: 240px;
  overflow: hidden;
}

.path-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.path-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.path-body h3 {
  margin: 0;
}

.path-body p {
  flex: 1;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.coach-card {
  background: linear-gradient(180deg, #171a22 0%, #12141b 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.coach-avatar {
  background: #1e2230;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 140px;
  overflow: hidden;
}

.coach-avatar svg {
  width: 120px;
  height: 120px;
}

.coach-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.coach-discipline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.coach-info h3 {
  margin: 0;
  font-size: 1.15rem;
}

.coach-info p {
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

.coach-info .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  padding: 0.55rem 0.9rem;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 0;
  margin-top: 2rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-tagline {
  font-family: "Anton", Impact, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.footer-social a {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.footer-social a:hover {
  color: #fff;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom span,
.footer-bottom a {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom a[href^="tel"] {
  color: var(--muted);
  text-decoration: none;
}

.maps-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100;
}

.maps-overlay.open {
  display: block;
}

.maps-picker {
  display: none;
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #1b1f28;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  z-index: 101;
  min-width: 240px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.maps-picker.open {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.maps-picker p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.maps-picker a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: #fff;
}

.maps-picker a:hover {
  border-color: var(--accent);
}

.maps-picker-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem;
}

.maps-picker-close:hover {
  color: #fff;
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

ul.small {
  padding-left: 1.1rem;
  margin: 0;
}

ul.small li {
  margin-bottom: 0.3rem;
}

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

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

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1rem;
  }

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