:root {
  --bg: #080909;
  --panel: rgba(9, 12, 13, 0.92);
  --panel-solid: #111414;
  --text: #f5f1e8;
  --muted: #c7c0b4;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #b52025;
  --accent-dark: #86161a;
  --gold: #d4b15f;
  --purple: #6c61e6;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
}

a {
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(8, 9, 9, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  overflow: hidden;
  background: #050606;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.menu-toggle {
  display: none;
  justify-self: end;
  padding: 8px 12px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(12px, 2.4vw, 26px);
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-nav .nav-trial {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 680px;
  padding: clamp(36px, 6vw, 78px) clamp(18px, 4vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 22%, rgba(212, 177, 95, 0.16), transparent 24%),
    radial-gradient(circle at 82% 76%, rgba(181, 32, 37, 0.14), transparent 30%),
    linear-gradient(90deg, rgba(4, 5, 5, 1) 0%, rgba(8, 9, 9, 0.96) 46%, rgba(17, 20, 20, 0.94) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(-160px, -7vw, -60px);
  top: 50%;
  width: min(48vw, 680px);
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  background: url("../img/monlogo.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(330px, 430px);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.hero-copy-card,
.trial-card,
.training-card,
.faq-list details,
.gymdesk-widget-card,
.direction-card,
.map-card,
.closure-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero-copy-card {
  padding: clamp(24px, 4vw, 42px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 5.2vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lead {
  max-width: 560px;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  color: var(--text);
}

.hero-copy-card p,
.section-copy p,
.training-card p,
.faq-list p,
.direction-card p,
.closure-card p {
  color: var(--muted);
}

.eyebrow {
  color: var(--gold) !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.button.primary {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.akf-note {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.trial-card {
  padding: 22px;
}

.trial-art {
  display: block;
  width: 100%;
  max-height: 190px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 10px;
  background: #f6f3ec;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.trial-intro {
  margin: 0 0 18px;
  padding: 12px;
  text-align: center;
  color: var(--text);
  background: rgba(108, 97, 230, 0.18);
  border: 1px solid rgba(108, 97, 230, 0.34);
  border-radius: 4px;
  font-size: 0.92rem;
}

.trial-intro strong {
  color: var(--gold);
}

.trial-policy {
  margin: 0 0 18px;
  padding: 16px;
  text-align: left;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.07);
}

.trial-policy h2 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0;
}

.trial-policy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.booking-widget-shell {
  margin-top: 18px;
  padding: 14px;
  background: #f7f4ed;
  color: #111414;
  border: 1px solid rgba(212, 177, 95, 0.36);
  border-radius: 10px;
  overflow: visible;
}

.booking-widget-shell .gymdesk-booking {
  width: 100%;
  min-height: 420px;
  color: #111414;
}

.privacy-note {
  margin: 14px 0 0;
  color: rgba(245, 241, 232, 0.72);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.proof-strip {
  padding: 22px clamp(18px, 4vw, 48px);
  background: #050606;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 430px) 1fr;
  gap: 24px;
  align-items: center;
}

.video-proof {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  border: 1px solid var(--line);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  font-size: 1.1rem;
  padding-left: 3px;
}

.video-proof strong,
.video-proof em {
  display: block;
}

.video-proof strong {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.video-proof em {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
}

.proof-points {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-points span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 9px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.proof-points strong {
  color: var(--gold);
}

.content-section {
  padding: clamp(54px, 8vw, 100px) clamp(18px, 4vw, 48px);
}

.content-section.alt {
  background: #111414;
}

.section-copy,
.training-grid,
.faq-list,
.gymdesk-widget-card,
.pricing-grid,
.location-layout,
.closure-card {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-copy {
  max-width: 860px;
}

.training-section {
  background: #080909;
}

.training-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.training-card {
  padding: 22px;
  border-radius: 14px;
}

.training-card h3 {
  color: var(--gold);
}

.training-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.gymdesk-widget-card {
  margin-top: 30px;
  padding: clamp(18px, 3vw, 30px);
  background: #ffffff;
  color: #111414;
  border-radius: 14px;
  overflow: visible;
}

.gymdesk-widget-card a {
  color: #111414;
}

.pricing-section {
  background: #111414;
}

.pricing-grid {
  max-width: 860px;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  padding: 28px;
  background:
    radial-gradient(circle at 82% 16%, rgba(212, 177, 95, 0.08), transparent 28%),
    rgba(9, 12, 13, 0.92);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.pricing-card h3 {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1.45rem;
}

.pricing-subtitle {
  margin-bottom: 22px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-card ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.pricing-card li {
  margin: 10px 0;
}

.price {
  margin: 0;
  color: var(--text);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
}

.signup-fee {
  margin: 6px 0 0;
  color: rgba(212, 177, 95, 0.78);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured-pricing-card {
  border-color: rgba(212, 177, 95, 0.62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(212, 177, 95, 0.14);
}

.closure-card {
  margin-top: 28px;
  padding: 22px;
  border-radius: 14px;
}

.closure-card h3 {
  color: var(--gold);
}

.closure-card p {
  margin-bottom: 12px;
}

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

.location-section {
  background: #080909;
}

.location-intro {
  text-align: center;
  max-width: 850px;
}

.location-layout {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(420px, 1.5fr) minmax(220px, 0.82fr);
  gap: 20px;
  align-items: stretch;
}

.location-info-column {
  display: grid;
  gap: 16px;
  align-content: start;
}

.direction-card,
.map-card {
  border-radius: 14px;
}

.direction-card {
  padding: 18px;
}

.direction-card h3 {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

.direction-card p {
  margin-bottom: 0;
  font-size: 0.93rem;
  line-height: 1.55;
}

.map-card {
  min-height: 450px;
  overflow: hidden;
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 450px;
}

.map-button {
  width: 100%;
  margin-top: 2px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-top: 30px;
}

.faq-list details {
  padding: 18px 20px;
  border-radius: 10px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.faq-list p {
  margin: 12px 0 0;
}

.final-cta {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 100px) clamp(18px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
}

.final-cta img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
}

.site-footer {
  padding: 34px clamp(18px, 4vw, 48px);
  text-align: center;
  background: #050606;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0 0 8px;
  color: var(--muted);
}

.floating-form-widgets {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 120;
  pointer-events: none;
}

.floating-form {
  position: absolute;
  bottom: 0;
  pointer-events: auto;
}

.floating-form-left {
  left: clamp(14px, 4vw, 48px);
}

.floating-form-right {
  right: clamp(14px, 4vw, 48px);
}

.floating-form button,
.floating-form a,
.floating-form input[type="button"],
.floating-form input[type="submit"] {
  min-height: 50px;
  padding: 14px 24px;
  border: 0;
  border-radius: 7px;
  background: var(--purple);
  color: #ffffff !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.36);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

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

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
  }

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

  .hero {
    min-height: auto;
  }

  .hero::after {
    width: min(78vw, 460px);
    right: -140px;
    top: 22%;
    opacity: 0.07;
  }

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

  .trial-card {
    max-width: 540px;
  }

  .proof-strip-inner {
    grid-template-columns: 1fr;
  }

  .proof-points {
    justify-content: flex-start;
  }

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

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

  .map-card {
    grid-column: 1 / -1;
    order: -1;
  }
}

@media (max-width: 800px) {
  .pricing-grid,
  .training-grid,
  .location-layout,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta img {
    max-width: 220px;
  }
}

@media (max-width: 700px) {
  .map-card,
  .map-card iframe {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 118px;
  }

  .brand-text {
    font-size: 0.92rem;
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .video-proof {
    grid-template-columns: 1fr;
  }

  .proof-points {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-form-widgets {
    bottom: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 12px;
  }

  .floating-form {
    position: static;
    width: 100%;
  }

  .floating-form button,
  .floating-form a,
  .floating-form input[type="button"],
  .floating-form input[type="submit"] {
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    font-size: 0.78rem;
  }
}


/* v24: Intentional samurai image section.
   The image is no longer a hero background, so it is visible and controlled. */
.samurai-visual-section {
  padding: clamp(42px, 7vw, 88px) clamp(18px, 4vw, 48px);
  background: #080909;
}

.samurai-visual-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
}

.samurai-image-card,
.samurai-copy-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  border-radius: 16px;
  overflow: hidden;
}

.samurai-image-card {
  min-height: 360px;
}

.samurai-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.samurai-copy-card {
  padding: clamp(24px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.samurai-copy-card p {
  color: var(--muted);
  max-width: 620px;
}

.samurai-copy-card h2 {
  max-width: 640px;
}

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

  .samurai-image-card,
  .samurai-image-card img {
    min-height: 300px;
  }
}


/* v25: Training Culture section */
.culture-section {
  background: #111414;
}

.culture-grid {
  max-width: var(--max);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.culture-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.culture-card h3 {
  color: var(--gold);
}

.culture-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

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


/* v26: Samurai image as controlled background with left text overlay */
.samurai-visual-section {
  position: relative;
  min-height: 560px;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.76) 0%, rgba(5, 6, 6, 0.46) 42%, rgba(5, 6, 6, 0.18) 72%, rgba(5, 6, 6, 0.08) 100%),
    url("../img/samuraicoast.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.samurai-visual-grid,
.samurai-image-card {
  display: none;
}

.samurai-overlay-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  min-height: 390px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.samurai-copy-card {
  width: min(100%, 620px);
  padding: clamp(24px, 4vw, 42px);
  background: rgba(9, 12, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(3px);
}

.samurai-copy-card h2 {
  max-width: 560px;
}

.samurai-copy-card p {
  color: var(--muted);
  max-width: 560px;
}

@media (max-width: 900px) {
  .samurai-visual-section {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(5, 6, 6, 0.78), rgba(5, 6, 6, 0.48)),
      url("../img/samuraicoast.jpg") center center / cover no-repeat;
  }

  .samurai-overlay-content {
    min-height: 340px;
  }

  .samurai-copy-card {
    width: 100%;
  }
}


/* v27: Gymdesk popup/modal text fix.
   Gymdesk popups render as light modals, so their internal text must be dark.
   Floating launch buttons are reset separately so they stay white on purple. */
.maonrails-form,
.maonrails-form *,
[class*="maonrails"],
[class*="maonrails"] *,
[class*="maonrails"] p,
[class*="maonrails"] label,
[class*="maonrails"] span,
[class*="maonrails"] div,
[class*="maonrails"] h1,
[class*="maonrails"] h2,
[class*="maonrails"] h3,
[class*="maonrails"] h4 {
  color: #1f2933;
}

.maonrails-form input,
.maonrails-form textarea,
.maonrails-form select,
[class*="maonrails"] input,
[class*="maonrails"] textarea,
[class*="maonrails"] select {
  color: #1f2933;
  background-color: #f8fafc;
}

.maonrails-form input::placeholder,
.maonrails-form textarea::placeholder,
[class*="maonrails"] input::placeholder,
[class*="maonrails"] textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

/* Keep popup submit buttons and floating trigger buttons legible. */
.maonrails-form button,
.maonrails-form input[type="button"],
.maonrails-form input[type="submit"],
[class*="maonrails"] button,
[class*="maonrails"] input[type="button"],
[class*="maonrails"] input[type="submit"],
.floating-form button,
.floating-form a,
.floating-form input[type="button"],
.floating-form input[type="submit"] {
  color: #ffffff !important;
}

/* Floating trigger buttons are intentionally purple/white. */
.floating-form .maonrails-form,
.floating-form .maonrails-form * {
  color: inherit;
}

.floating-form button,
.floating-form a,
.floating-form input[type="button"],
.floating-form input[type="submit"] {
  background: var(--purple);
  color: #ffffff !important;
}


/* v28: Trial booking moved into in-page modal */
.trial-actions-panel {
  margin-top: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.trial-actions-panel p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.button.full {
  width: 100%;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.booking-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(4px);
}

.booking-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: 88vh;
  overflow: auto;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(9, 12, 13, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.6);
}

.booking-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.booking-modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.booking-modal-header {
  padding-right: 44px;
}

.booking-modal-header h2 {
  margin-bottom: 10px;
}

.booking-modal-header p {
  color: var(--muted);
  max-width: 640px;
}

.modal-booking-shell {
  margin-top: 22px;
  max-height: none;
  min-height: 0;
}

.modal-booking-shell .gymdesk-booking {
  min-height: 420px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .booking-modal {
    padding: 0;
    align-items: stretch;
  }

  .booking-modal-dialog {
    width: 100%;
    max-height: 100vh;
    min-height: 100vh;
    border-radius: 0;
  }

  .booking-modal-close {
    top: 10px;
    right: 10px;
  }
}


/* v29: Prevent the page behind the booking modal from shifting.
   Gymdesk steps can trigger scroll/focus behavior; this locks the document position while the modal is open. */
body.modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

.booking-modal {
  overscroll-behavior: contain;
}

.booking-modal-dialog {
  overscroll-behavior: contain;
  scroll-behavior: auto;
}

.modal-booking-shell,
.modal-booking-shell * {
  overflow-anchor: none;
}

