:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark: #8B6914;
  --black: #0A0A0A;
  --black-soft: #151515;
  --white: #F5F5F0;
  --grey: #8A8A8A;
  --grey-light: #E8E8E0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* ── CONTACT BAR ── */
.contact-bar {
  background: var(--black-soft);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding: 8px 40px;
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.contact-bar a {
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.contact-bar a:hover { color: var(--gold-light); }

/* ── SITE HEADER WRAPPER (fixed) ── */
.site-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

/* ── HEADER / NAV ── */
header {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 40px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}
.logo-text span { color: var(--gold); }

.logo-shield {
  width: 36px;
  height: 36px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 20%, 100% 70%, 50% 100%, 0% 70%, 0% 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
}
nav a {
  color: var(--grey);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}
nav a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  font-weight: 700;
  border-radius: 4px;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--black) !important;
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  background: var(--black-soft);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 16px 40px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu a:last-child { border: none; color: var(--gold); }

/* ── HERO ── */
#hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url(FightPhoto1.webp);
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.35);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.85) 40%, rgba(201,168,76,0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 5vh, 72px) 40px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: clamp(12px, 2vh, 24px);
  animation: fadeUp 0.6s ease both;
}

.hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(48px, min(9vw, 13vh), 120px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: clamp(4px, 1vh, 8px);
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-title .accent { color: var(--gold); }

.hero-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  color: rgba(245,245,240,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: clamp(20px, 3.5vh, 40px);
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-sub strong { color: var(--gold); font-weight: 700; }

.trial-box {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  border-left: 4px solid var(--gold);
  padding: clamp(14px, 2.5vh, 24px) clamp(20px, 3vw, 32px);
  margin-bottom: clamp(20px, 3.5vh, 40px);
  max-width: 560px;
  animation: fadeUp 0.6s 0.3s ease both;
}
.trial-box h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.trial-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trial-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}
.trial-includes li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.4s ease both;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 32px;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── SECTION BASE ── */
section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-full {
  max-width: none;
  padding: 80px 0;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 16px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 40px;
}

/* ── TRIAL / INTAKE FORM SECTION ── */
#trial {
  background: var(--black-soft);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.trial-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.trial-photo {
  position: relative;
  height: 460px;
  overflow: hidden;
}
.trial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.trial-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--black-soft), transparent);
}

.trial-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.perk-card {
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 20px;
  border-radius: 2px;
}
.perk-card .icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.perk-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.perk-card p {
  font-size: 13px;
  color: rgba(245,245,240,0.65);
  line-height: 1.5;
}

/* ── INTAKE FORM ── */
.intake-form {
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 36px;
  border-radius: 2px;
}
.intake-form h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.intake-form .form-sub {
  font-size: 14px;
  color: rgba(245,245,240,0.55);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.form-group input, .form-group select {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 2px;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--gold);
}
.form-group select option { background: var(--black); }

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ── TIMETABLE ── */
#timetable { background: var(--black); }

.timetable-grid {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 6px;
  background: rgba(15,15,15,0.6);
}
.timetable-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  table-layout: fixed;
}

/* Top header row — days of the week */
.timetable-table thead th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 16px 8px;
  text-align: center;
  background: var(--black-soft);
  border-bottom: 1px solid rgba(201,168,76,0.28);
}
.timetable-table thead th.corner {
  width: 200px;
  background: var(--black-soft);
  border-right: 1px solid rgba(201,168,76,0.18);
}

/* Body rows */
.timetable-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.timetable-table tbody tr:last-child { border-bottom: none; }

/* Class label cell (left column) */
.class-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.95);
  padding: 22px 18px 22px 22px;
  text-align: left;
  background: var(--black-soft);
  border-right: 1px solid rgba(201,168,76,0.18);
  vertical-align: middle;
  white-space: nowrap;
}

/* Subtle colour accent on each class row label */
.row-openmat .class-label { border-left: 3px solid var(--gold); }
.row-female  .class-label { border-left: 3px solid #D080C0; }
.row-kids    .class-label { border-left: 3px solid #60B0E0; }

/* Day session cells */
.day-cell {
  padding: 18px 10px;
  text-align: center;
  vertical-align: middle;
  border-left: 1px solid rgba(255,255,255,0.04);
}

.cell-times {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: rgba(245,245,240,0.92);
}

.row-openmat .cell-times { color: var(--gold-light); }
.row-female  .cell-times { color: #E8A8E0; }
.row-kids    .cell-times { color: #A8D4F0; }

/* Tag below time (e.g. "Open Mat" note in Sat Female-Only cell) */
.cell-tag {
  display: inline-block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
}

.cell-closed {
  color: rgba(255,255,255,0.32);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* Mobile/desktop visibility — desktop layout shown by default */
.timetable-mobile { display: none; }

.timetable-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(245,245,240,0.6);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.dot-openmat { background: var(--gold); }
.dot-female { background: #D080C0; }
.dot-kids { background: #60B0E0; }
.beginner-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--gold);
  font-style: italic;
}

/* ── PHOTOS STRIP ── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 100%;
}
.photo-strip-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-strip-item:hover img {
  transform: scale(1.05);
}

/* ── COACHES ── */
#coaches {
  background: var(--black-soft);
  padding: 80px 0;
}
.coaches-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.coach-card {
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 24px;
  border-top: 3px solid var(--gold);
}
.coach-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.coach-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.coach-desc {
  font-size: 14px;
  color: rgba(245,245,240,0.6);
  line-height: 1.6;
}

/* ── REVIEWS ── */
#reviews {
  background: var(--black);
  padding: 80px 0;
}
.reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 28px;
  border-radius: 2px;
  position: relative;
  border-top: 3px solid var(--gold);
}
.review-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245,245,240,0.75);
  margin-bottom: 16px;
  font-style: italic;
}
.review-author {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.review-google {
  font-size: 11px;
  color: rgba(245,245,240,0.3);
  margin-top: 2px;
  letter-spacing: 0.05em;
}

/* ── LOCATION / MAP ── */
#location {
  background: var(--black-soft);
  padding: 80px 0;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.location-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.map-embed {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 2px;
  filter: grayscale(30%) contrast(1.1);
  border: 1px solid rgba(201,168,76,0.2);
}
.location-details {}
.location-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.location-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.location-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border-radius: 2px;
}
.location-info-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.location-info-item p, .location-info-item a {
  font-size: 14px;
  color: rgba(245,245,240,0.65);
  line-height: 1.6;
  text-decoration: none;
}
.location-info-item a:hover { color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 40px 40px 24px;
  max-width: none;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(245,245,240,0.3);
  text-align: center;
}

/* ── CLASS DETAIL SECTIONS ── */
.qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.qa-item {
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 28px;
  border-top: 3px solid var(--gold);
}
.qa-item.accent-pink {
  background: rgba(192,96,168,0.04);
  border-color: rgba(192,96,168,0.2);
  border-top-color: #C060A8;
}
.qa-item.accent-blue {
  background: rgba(48,128,176,0.04);
  border-color: rgba(48,128,176,0.2);
  border-top-color: #3080B0;
}
.qa-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.qa-item.accent-pink h4 { color: #D080C0; }
.qa-item.accent-blue h4 { color: #60B0E0; }
.qa-item p {
  font-size: 14px;
  color: rgba(245,245,240,0.7);
  line-height: 1.75;
}
.qa-item ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: rgba(245,245,240,0.7);
  line-height: 1.6;
}
.qa-item ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.qa-item ul li::before {
  content: '→';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.qa-item.accent-pink ul li::before { color: #D080C0; }
.qa-item.accent-blue ul li::before { color: #60B0E0; }

.btn-small {
  background: var(--gold);
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-small:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.btn-small.btn-pink {
  background: #C060A8;
  color: #fff;
}
.btn-small.btn-pink:hover { background: #D080C0; }
.btn-small.btn-blue {
  background: #3080B0;
  color: #fff;
}
.btn-small.btn-blue:hover { background: #60B0E0; }

.class-cta-bar {
  margin-top: 36px;
  padding: 28px 36px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.class-cta-bar.pink-bar {
  background: rgba(192,96,168,0.06);
  border-color: rgba(192,96,168,0.25);
}
.class-cta-bar.blue-bar {
  background: rgba(48,128,176,0.06);
  border-color: rgba(48,128,176,0.25);
}
.class-cta-bar-text {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.06em;
}

/* Responsive for class sections */
@media (max-width: 900px) {
  .qa-grid { grid-template-columns: 1fr !important; }
  .class-two-col { grid-template-columns: 1fr !important; gap: 40px !important; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .contact-bar { padding: 8px 20px; font-size: 12px; gap: 16px; }
  .nav-inner { padding: 0 20px; }
  nav ul { display: none; }
  .hamburger { display: flex; }
  #hero > div { grid-template-columns: 1fr !important; }
  #hero > div > div:last-child { display: none; }
  #hero > div > div:first-child > div { padding: 60px 20px !important; }
  .trial-section-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 20px; }
  .trial-photo { height: 300px; }
  section { padding: 60px 20px; }
  .coaches-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .location-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip-item:last-child { display: none; }
  .coaches-inner, .reviews-inner { padding: 0 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  footer { padding: 40px 20px 24px; }
}
@media (max-width: 600px) {
  .coaches-grid { grid-template-columns: 1fr !important; }
  .trial-perks { grid-template-columns: 1fr; }
  .hero-title { font-size: 60px; }
  .contact-bar { justify-content: center; }
  .mobile-menu { padding: 16px 20px; }
  .timetable-legend { gap: 12px; }
}

/* ── ACCORDION / DROPDOWN Q&A ── */
.acc-section {
  border: 1px solid rgba(201,168,76,0.15);
  border-top: none;
}
.acc-section:first-child { border-top: 1px solid rgba(201,168,76,0.15); }
.acc-section.pink-acc   { border-color:rgba(192,96,168,0.2); }
.acc-section.pink-acc:first-child { border-top: 1px solid rgba(192,96,168,0.2); }
.acc-section.blue-acc   { border-color:rgba(48,128,176,0.2); }
.acc-section.blue-acc:first-child { border-top: 1px solid rgba(48,128,176,0.2); }

.acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}
.acc-header:hover { background: rgba(255,255,255,0.03); }
.acc-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.acc-title.pink { color: #D080C0; }
.acc-title.blue { color: #60B0E0; }
.acc-icon {
  font-size: 18px;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s;
  line-height: 1;
}
.acc-icon.pink { color: #D080C0; }
.acc-icon.blue { color: #60B0E0; }
.acc-icon.open { transform: rotate(45deg); }
.acc-body {
  display: none;
  padding: 4px 20px 16px;
  font-size: 14px;
  color: rgba(245,245,240,0.7);
  line-height: 1.75;
}
.acc-body.visible { display: block; }
.acc-body ul { list-style:none; display:flex; flex-direction:column; gap:8px; }
.acc-body ul li { display:flex; align-items:flex-start; gap:10px; }
.acc-body ul li::before { content:'→'; color:var(--gold); font-weight:700; flex-shrink:0; margin-top:1px; }
.acc-body.pink-body ul li::before { color:#D080C0; }
.acc-body.blue-body ul li::before { color:#60B0E0; }

/* ── CLASS HERO (photo + info) ── */
.class-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 28px;
}
.class-hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  height: 260px;
}
.class-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.class-hero-info {}
.class-hero-info .section-label { margin-bottom: 6px; }
.class-hero-info .section-title { margin-bottom: 10px; }
.class-hero-info .section-divider { margin-bottom: 14px; }
.class-hero-desc {
  font-size: 15px;
  color: rgba(245,245,240,0.75);
  line-height: 1.65;
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .class-hero { grid-template-columns: 1fr; gap: 24px; }
  .class-hero-photo { height: 200px; }
}

/* ════════════════════════════════════════════════════════════════ */
/* MOBILE OPTIMIZATIONS — DESKTOP LAYOUT IS NOT AFFECTED            */
/* All rules below apply only at ≤900px and ≤600px viewports.       */
/* They use !important to override inline styles where needed.      */
/* ════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {

  /* ── Header / Contact bar ── */
  .logo img { height: 56px !important; }
  .nav-inner { padding: 4px 16px !important; }
  .contact-bar {
    padding: 6px 14px;
    font-size: 11px;
    gap: 14px;
    flex-wrap: wrap;
  }

  /* ── HERO: stack vertically — photo on top, content below ── */
  #hero > div {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
  }
  /* Text/CTA column moves below the photo */
  #hero > div > div:first-child { order: 2; }
  /* Show the hero photo on mobile (was hidden) and place it on top */
  #hero > div > div:last-child {
    display: none !important;
  }
  #hero > div > div:last-child > img {
    object-position: 50% 70% !important;
  }
  /* "Live Sparring Night" badge — reposition for smaller photo */
  #hero > div > div:last-child > div[style*="background:var(--gold)"] {
    bottom: 14px !important;
    left: 14px !important;
    font-size: 12px !important;
    padding: 8px 14px !important;
  }
  /* Hero text padding */
  #hero > div > div:first-child > div { padding: 38px 22px !important; }
  /* Hero typography */
  .hero-badge {
    font-size: 11px !important;
    padding: 5px 12px !important;
    margin-bottom: 14px !important;
  }
  .hero-title {
    font-size: clamp(34px, 8vw, 50px) !important;
    line-height: 1.05 !important;
  }
  .hero-sub {
    font-size: 14px !important;
    margin-bottom: 22px !important;
  }
  .hero-actions {
    max-width: 100% !important;
    gap: 12px !important;
  }
  /* Hero buttons — slightly smaller padding on mobile */
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-small.btn-pink,
  .hero-actions .btn-small.btn-blue {
    font-size: 15px !important;
    padding: 16px 22px !important;
  }

  /* ── Section padding ── */
  section { padding: 50px 20px; }
  #timetable { padding: 40px 20px !important; }
  #coaches { padding: 0 !important; }
  #reviews { padding: 50px 0 !important; }
  #location { padding: 50px 0 !important; }

  /* Scroll-margin so anchor jumps clear the fixed header on mobile */
  #timetable, #mens-open-mat, #female-classes, #kids-classes,
  #coaches, #reviews, #location {
    scroll-margin-top: var(--header-h) !important;
  }

  /* ── TIMETABLE: switch to mobile per-day card layout ── */
  .timetable-desktop { display: none; }
  .timetable-mobile  { display: block; }

  .day-card {
    background: var(--black-soft);
    border: 1px solid rgba(201,168,76,0.18);
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 14px 16px;
  }
  .day-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }
  .day-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .day-pill {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    border-radius: 4px;
    background: rgba(20,20,20,0.85);
    border-left: 3px solid transparent;
    line-height: 1.3;
  }
  .day-pill-time {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
  }
  .day-pill-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245,245,240,0.65);
  }
  .day-pill-openmat { border-left-color: var(--gold); }
  .day-pill-openmat .day-pill-time { color: var(--gold-light); }
  .day-pill-female { border-left-color: #D080C0; }
  .day-pill-female .day-pill-time { color: #E8A8E0; }
  .day-pill-kids { border-left-color: #60B0E0; }
  .day-pill-kids .day-pill-time { color: #A8D4F0; }
  .day-pill-closed {
    border-left-color: rgba(120,120,120,0.35);
    background: rgba(20,20,20,0.4);
  }
  .day-pill-closed .day-pill-time { color: rgba(255,255,255,0.4); }
  .day-pill-closed .day-pill-label { color: rgba(255,255,255,0.3); }

  /* ── Class hero sections (Open Mat / Female / Kids) ── */
  #mens-open-mat > div,
  #female-classes > div,
  #kids-classes > div {
    padding: 36px 20px 30px !important;
  }
  .class-hero {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  /* Override inline min-height: 450px so the photo isn't oversized */
  .class-hero-photo {
    min-height: 240px !important;
    height: 240px !important;
  }
  .class-hero-info .section-title {
    font-size: clamp(36px, 8vw, 56px) !important;
  }
  /* Pan the Men's Open Mat camera on mobile */
  #mens-open-mat .class-hero-photo img {
    object-position: 60% 40% !important;
  }
  /* Pan the Kids Classes camera on mobile */
  #kids-classes .class-hero-photo img {
    object-position: 50% 45% !important;
  }

  /* Accordion */
  .acc-header { padding: 14px 16px !important; }
  .acc-body { padding: 4px 16px 14px !important; }

  /* ── Coaches ── */
  .coaches-inner { padding: 36px 20px !important; }
  /* Override the inline grid-template-columns:repeat(3,1fr) on coach card grids */
  #coaches .coaches-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  /* Coach trio image (height was 340px inline) */
  #coaches img[alt*="Andrew"],
  #coaches img[alt*="Jess"] {
    height: 240px !important;
  }
  /* Lock female coaches photo position on mobile */
  #coaches img[alt*="Jess"] {
    object-position: center 30% !important;
  }

  /* ── Reviews ── */
  .reviews-inner { padding: 0 20px !important; }
  .reviews-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .review-card { padding: 22px !important; }
  .reviews-grid .review-card:nth-child(n+4) { display: none !important; }

  /* ── Location / Map ── */
  .location-inner {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding: 0 20px !important;
  }
  .map-embed { height: 260px !important; }

  /* ── Footer ── */
  footer { padding: 30px 20px 18px !important; }
  footer .logo img { height: 50px !important; }
  .footer-inner {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
  .footer-copy {
    flex-direction: column !important;
    gap: 8px;
    text-align: center;
    line-height: 1.7;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Privacy Policy link was absolute-positioned right:40px — bring inline */
  .footer-copy a[download] {
    position: static !important;
    right: auto !important;
    margin-top: 4px;
    display: inline-block;
  }
}

/* ── Smallest phones: ≤600px ── */
@media (max-width: 600px) {

  .logo img { height: 50px !important; }
  .contact-bar {
    font-size: 10px;
    gap: 10px;
    padding: 6px 10px;
  }

  /* Hero on tiny screens */
  #hero > div > div:last-child {
    height: 170px !important;
    min-height: 170px !important;
  }
  #hero > div > div:first-child > div { padding: 28px 16px !important; }
  .hero-title { font-size: clamp(30px, 9vw, 42px) !important; }
  .hero-sub { font-size: 13px !important; }
  .hero-badge { font-size: 10px !important; padding: 4px 10px !important; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-small.btn-pink,
  .hero-actions .btn-small.btn-blue {
    font-size: 14px !important;
    padding: 14px 18px !important;
  }

  section { padding: 44px 16px; }

  /* Photo strip — show only the strongest photo on tiny screens */
  .photo-strip { grid-template-columns: 1fr !important; }
  .photo-strip-item:nth-child(2),
  .photo-strip-item:nth-child(3) { display: none !important; }
  .photo-strip-item { aspect-ratio: 16/10 !important; }

  /* Class hero sections — tighter */
  #mens-open-mat > div,
  #female-classes > div,
  #kids-classes > div {
    padding: 28px 16px 22px !important;
  }
  .class-hero-photo {
    min-height: 200px !important;
    height: 200px !important;
  }

  /* Coaches — single column on small mobile */
  .coaches-inner { padding: 32px 16px !important; }
  #coaches .coaches-grid {
    grid-template-columns: 1fr !important;
  }
  #coaches img[alt*="Andrew"],
  #coaches img[alt*="Jess"] {
    height: 220px !important;
  }
  /* Trio caption overlay — shrink the names so 3 fit comfortably */
  #coaches > .coaches-inner > div > div > div[style*="position:absolute"] {
    padding: 12px 10px !important;
  }
  #coaches > .coaches-inner > div > div > div[style*="position:absolute"] div[style*="font-size:18px"] {
    font-size: 14px !important;
  }
  #coaches > .coaches-inner > div > div > div[style*="position:absolute"] div[style*="font-size:11px"] {
    font-size: 9px !important;
    letter-spacing: 0.04em !important;
  }

  /* Reviews / Location */
  .reviews-inner { padding: 0 16px !important; }
  .review-card { padding: 20px !important; }
  .location-inner { padding: 0 16px !important; gap: 28px !important; }
  .map-embed { height: 220px !important; }

  /* Footer */
  footer { padding: 24px 16px 14px !important; }
}

/* ── BOOKING MODAL ── */
.booking-modal-overlay {
  /* Default theme = gold (men's). Overridden by .theme-* classes below. */
  --bm-accent: #C9A84C;
  --bm-accent-light: #E8C96A;
  --bm-accent-rgb: 201, 168, 76;
  --bm-on-accent: #0A0A0A; /* text color when ON the accent (e.g. gold button) */

  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.booking-modal-overlay.theme-mens {
  --bm-accent: #C9A84C;
  --bm-accent-light: #E8C96A;
  --bm-accent-rgb: 201, 168, 76;
  --bm-on-accent: #0A0A0A;
}
.booking-modal-overlay.theme-womens {
  --bm-accent: #C060A8;
  --bm-accent-light: #D080C0;
  --bm-accent-rgb: 192, 96, 168;
  --bm-on-accent: #ffffff;
}
.booking-modal-overlay.theme-kids {
  --bm-accent: #3080B0;
  --bm-accent-light: #60B0E0;
  --bm-accent-rgb: 48, 128, 176;
  --bm-on-accent: #ffffff;
}
.booking-modal-overlay.open {
  display: flex;
  animation: bm-fade 0.2s ease;
}
@keyframes bm-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.booking-modal {
  background: var(--black-soft);
  border: 1px solid rgba(var(--bm-accent-rgb), 0.35);
  border-radius: 8px;
  padding: 36px 32px 32px;
  max-width: 640px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: bm-rise 0.25s ease;
}
@keyframes bm-rise {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.booking-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--grey);
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}
.booking-modal-close:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.booking-modal-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 32px;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.1;
}
.booking-modal-subtitle {
  color: var(--grey);
  font-size: 14px;
  margin-bottom: 22px;
  line-height: 1.5;
}
.booking-field { margin-bottom: 14px; }
.booking-label {
  display: block;
  color: var(--bm-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.booking-input {
  width: 100%;
  background: var(--black);
  border: 1px solid rgba(var(--bm-accent-rgb), 0.25);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.booking-input:focus {
  outline: none;
  border-color: var(--bm-accent);
  background: rgba(var(--bm-accent-rgb), 0.04);
}
.booking-input::placeholder { color: rgba(245,245,240,0.3); }
.booking-section-title {
  color: var(--bm-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 22px;
  margin-bottom: 10px;
}
/* Calendar */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-header {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--grey);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 0;
}
.cal-day {
  background: var(--black);
  border: 1px solid rgba(var(--bm-accent-rgb), 0.18);
  border-radius: 4px;
  padding: 8px 4px;
  font-family: 'Barlow', sans-serif;
  color: var(--white);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 56px;
}
.cal-day:hover:not(:disabled) {
  border-color: var(--bm-accent);
  background: rgba(var(--bm-accent-rgb), 0.08);
  transform: translateY(-1px);
}
.cal-day.selected {
  background: var(--bm-accent);
  border-color: var(--bm-accent);
  color: var(--bm-on-accent);
  font-weight: 700;
}
.cal-day-disabled {
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.08);
  color: rgba(245,245,240,0.22);
  cursor: not-allowed;
}
.cal-day-disabled:hover {
  border-color: rgba(255,255,255,0.08);
  background: transparent;
  transform: none;
}
.cal-day-num {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}
.cal-day-month {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}
.cal-empty { visibility: hidden; }
/* Time options */
.time-options {
  display: none;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.time-options.visible { display: flex; }
.time-option {
  flex: 1;
  min-width: 110px;
  background: var(--black);
  border: 1px solid rgba(var(--bm-accent-rgb), 0.25);
  border-radius: 4px;
  padding: 14px 12px;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s;
}
.time-option:hover {
  border-color: var(--bm-accent);
  background: rgba(var(--bm-accent-rgb), 0.08);
}
.time-option.selected {
  background: var(--bm-accent);
  border-color: var(--bm-accent);
  color: var(--bm-on-accent);
}
.booking-submit {
  width: 100%;
  background: var(--bm-accent);
  color: var(--bm-on-accent);
  border: none;
  border-radius: 4px;
  padding: 16px;
  font-family: 'Bebas Neue', cursive;
  font-size: 19px;
  letter-spacing: 0.14em;
  cursor: pointer;
  margin-top: 22px;
  transition: all 0.2s;
}
.booking-submit:hover:not(:disabled) {
  background: var(--bm-accent-light);
  transform: translateY(-1px);
}
.booking-submit:disabled {
  background: rgba(var(--bm-accent-rgb), 0.18);
  color: rgba(245,245,240,0.35);
  cursor: not-allowed;
}
.booking-success {
  display: none;
  text-align: center;
  padding: 24px 8px 8px;
}
.booking-success.visible { display: block; }
.booking-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bm-accent);
  color: var(--bm-on-accent);
  font-size: 36px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
@media (max-width: 520px) {
  .booking-modal { padding: 28px 18px 22px; }
  .booking-modal-title { font-size: 26px; }
  .cal-grid { gap: 4px; }
  .cal-day { padding: 6px 2px; min-height: 48px; }
  .cal-day-num { font-size: 14px; }
  .cal-day-month { font-size: 8px; }
  .cal-header { font-size: 9px; }
  .time-option { min-width: 90px; padding: 12px 8px; font-size: 14px; }
}

