:root {
  --bg: #050505;
  --section: #0e0e0e;
  --card: #161616;
  --text: #ffffff;
  --muted: #a7a7a7;
  --accent: #f5c542;
  --accent-ink: #000000;
  --accent-hover: #c78b12;
  --accent-hover-deep: #9f6d0b;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: auto;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--accent-ink);
  background: var(--accent);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #030303;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__inner {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.preloader__inner span,
.preloader__count {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0;
}

.preloader__inner span {
  color: var(--accent);
  font-size: 2rem;
}

.preloader__count {
  color: var(--text);
  font-size: 4rem;
}

.preloader__bar {
  position: fixed;
  left: 32px;
  right: 32px;
  bottom: 32px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.preloader__bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform-origin: left;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 950;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 14px 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  transform: translateX(-50%);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, top 0.35s ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  top: 12px;
  border-color: var(--border);
  background: rgba(12, 12, 12, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand__text {
  font-size: 0.92rem;
  letter-spacing: 0;
}

.brand__logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(245, 197, 66, 0.12));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  will-change: transform;
}

.nav-cta {
  padding: 0 18px;
  color: var(--accent-ink);
  background: var(--accent);
  font-size: 0.82rem;
}

.button {
  min-width: 166px;
  padding: 0 24px;
  border: 1px solid var(--border);
  font-size: 0.86rem;
}

.button--primary {
  border-color: rgba(245, 197, 66, 0.62);
  color: var(--accent-ink);
  background: var(--accent);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button::before,
.nav-cta::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: var(--accent-hover);
  transform: translateY(105%);
  transition: transform 0.34s ease;
}

.button:hover::before,
.button:focus-visible::before,
.nav-cta:hover::before,
.nav-cta:focus-visible::before {
  transform: translateY(0);
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--accent-ink);
}

.button--primary::before,
.nav-cta::before {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent-hover-deep));
}

.button--primary:hover,
.button--primary:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--accent-ink);
}

.dark-join-button,
.dark-join-button:hover,
.dark-join-button:focus-visible {
  border-color: #f5c542;
  background: #1b1608;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(245, 197, 66, 0.18);
}

.dark-join-button::before {
  background: #33280b;
}

.dark-whatsapp-button,
.dark-whatsapp-button:hover,
.dark-whatsapp-button:focus-visible {
  border-color: #25d366;
  background: #075e54;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

.dark-whatsapp-button::before {
  background: #06483f;
}

.dark-join-button span,
.dark-whatsapp-button span {
  position: relative;
  z-index: 1;
  color: #ffffff !important;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.32s ease;
}

.site-header.menu-active .menu-toggle span:first-child {
  transform: translateX(6px) rotate(45deg);
}

.site-header.menu-active .menu-toggle span:last-child {
  transform: translateX(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 920;
  display: grid;
  place-items: center;
  padding: 100px 28px 40px;
  background: rgba(5, 5, 5, 0.94);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  backdrop-filter: blur(22px);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
  gap: 18px;
  width: min(420px, 100%);
}

.mobile-menu a {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.3rem;
  letter-spacing: 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: 90svh;
  align-items: center;
  overflow: hidden;
  padding: 132px max(24px, calc((100vw - 1180px) / 2)) 86px;
  border-bottom: 1px solid var(--border);
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 57% center;
  opacity: 0.78;
  transform: translateY(-5%);
  will-change: transform;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.68) 36%, rgba(5, 5, 5, 0.28) 68%, rgba(5, 5, 5, 0.86)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.78));
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero__title,
.section-title {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero__title {
  max-width: 820px;
  font-size: 8rem;
}

.hero__title .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.hero__title .word {
  display: inline-block;
  will-change: transform;
}

.hero__lead {
  margin: 24px 0 0;
  color: var(--text);
  font-size: 1.24rem;
  font-weight: 700;
}

.hero__meta,
.hero__address,
.section-copy {
  max-width: 660px;
  color: var(--muted);
  line-height: 1.75;
}

.hero__meta {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.hero__address {
  margin: 8px 0 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.rating-card {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 92px;
  z-index: 2;
  width: 220px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(22, 22, 22, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.rating-card span,
.rating-card small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.rating-card strong {
  display: block;
  margin: 10px 0;
  color: var(--accent);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 0.86;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  width: 1px;
  height: 54px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.scroll-cue span {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--accent);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(260%);
  }
}

.section,
.section-tight {
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
}

.section {
  position: relative;
  background: var(--section);
  border-bottom: 1px solid var(--border);
}

.section:nth-of-type(odd) {
  background: var(--bg);
}

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

.stats.section-tight {
  position: relative;
  z-index: 5;
  margin-top: -128px;
  padding-top: 0;
  padding-bottom: 92px;
  background: linear-gradient(180deg, transparent 0, var(--bg) 112px);
}

.section__intro {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-bottom: 42px;
}

.section__grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 64px;
  align-items: start;
}

.section__grid--about {
  align-items: center;
}

.section-title {
  font-size: 5.2rem;
}

.about__copy p,
.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.about__tags span {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.stat-card,
.timing-card,
.pricing-card,
.review-card,
.trainer-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.stat-card {
  min-height: 156px;
  padding: 28px;
}

.stat-card strong {
  display: block;
  color: var(--accent);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 0.92;
}

.stat-card span:last-child {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.marquee {
  overflow: hidden;
  padding: 24px 0;
  border-block: 1px solid var(--border);
  background: var(--accent);
  color: var(--accent-ink);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee span {
  padding-right: 28px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.media-grid {
  display: grid;
  gap: 16px;
}

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

.media-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  clip-path: inset(0 0 0 0);
}

.media-card:nth-child(1),
.media-card:nth-child(2) {
  grid-column: span 3;
}

.media-card:nth-child(n + 3) {
  grid-column: span 2;
  min-height: 360px;
}

.media-card::after,
.gallery-item::after,
.trainer-card__photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.05), rgba(5, 5, 5, 0.82));
  pointer-events: none;
}

.media-card img,
.gallery-item img,
.trainer-card__photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease, filter 0.75s ease;
}

.media-card:hover img,
.gallery-item:hover img,
.trainer-card:hover img {
  filter: saturate(1.16) contrast(1.08);
  transform: scale(1.08) skewX(-1deg);
}

.media-card div {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
}

.media-card span {
  color: var(--accent);
  font-weight: 900;
}

.media-card h3,
.trainer-card h3,
.pricing-card h3 {
  margin: 8px 0 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.trainer-grid,
.timing-grid,
.pricing-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trainer-card {
  overflow: hidden;
  padding: 14px 14px 24px;
}

.trainer-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.trainer-card span {
  display: block;
  min-height: 42px;
  margin: 20px 0 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trainer-card p,
.pricing-card p,
.review-card p {
  color: var(--muted);
  line-height: 1.65;
}

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

.timing-card {
  display: grid;
  min-height: 168px;
  align-content: space-between;
  padding: 24px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.timing-card:hover {
  border-color: rgba(245, 197, 66, 0.4);
  transform: translateY(-8px);
}

.timing-card span,
.pricing-card span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.timing-card strong {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
}

.timing-card--closed strong {
  color: var(--accent-hover);
}

.pricing-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.pricing-card:hover {
  border-color: rgba(245, 197, 66, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-10px);
}

.pricing-card--featured {
  border-color: rgba(245, 197, 66, 0.48);
  background:
    linear-gradient(160deg, rgba(245, 197, 66, 0.16), rgba(255, 59, 48, 0.06)),
    var(--card);
}

.pricing-card em {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--accent-ink);
  background: var(--accent);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin-top: 26px;
  color: var(--text);
  font-size: 4.3rem;
}

.pricing-card .button {
  margin-top: 24px;
}

.review-card {
  min-height: 236px;
  padding: 28px;
}

.review-card p {
  margin-top: 0;
  font-size: 1.05rem;
}

.review-card strong {
  color: var(--accent);
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion__item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.accordion__item button {
  position: relative;
  width: 100%;
  padding: 22px 56px 22px 22px;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.accordion__item button::before,
.accordion__item button::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 16px;
  height: 2px;
  content: "";
  background: var(--accent);
  transition: transform 0.28s ease;
}

.accordion__item button::after {
  transform: rotate(90deg);
}

.accordion__item button[aria-expanded="true"]::after {
  transform: rotate(0deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}

.accordion__panel p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.65;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
  padding: 0;
}

.gallery-item--tall {
  grid-row: span 2;
  min-height: 576px;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
}

.map-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 197, 66, 0.13), rgba(255, 59, 48, 0.08)),
    #111;
}

.map-card__grid {
  position: absolute;
  inset: -40px;
  opacity: 0.52;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: rotate(-8deg) scale(1.1);
}

.map-card::before,
.map-card::after {
  position: absolute;
  content: "";
  background: rgba(245, 197, 66, 0.42);
}

.map-card::before {
  top: 42%;
  left: -10%;
  width: 120%;
  height: 8px;
  transform: rotate(-14deg);
}

.map-card::after {
  top: -6%;
  left: 54%;
  width: 8px;
  height: 118%;
  transform: rotate(18deg);
}

.map-pin {
  position: absolute;
  top: 44%;
  left: 56%;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 8px solid var(--accent);
  border-radius: 50% 50% 50% 0;
  background: var(--accent-hover);
  box-shadow: 0 0 0 14px rgba(245, 197, 66, 0.12);
  transform: rotate(-45deg);
  animation: pulsePin 1.9s ease-in-out infinite;
}

@keyframes pulsePin {
  50% {
    box-shadow: 0 0 0 24px rgba(245, 197, 66, 0.02);
  }
}

.map-card__label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.68);
  backdrop-filter: blur(18px);
}

.map-card__label span {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
}

.map-card__label strong {
  display: block;
  margin-top: 8px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 0;
}

.contact-lines {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-lines a {
  width: fit-content;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input,
.contact-form select {
  height: 52px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 122px;
  resize: vertical;
  padding: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(245, 197, 66, 0.62);
  box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.12);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px max(24px, calc((100vw - 1180px) / 2));
  background: #030303;
}

.footer strong {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.1rem;
  font-weight: 400;
  letter-spacing: 0;
}

.footer__logo {
  width: 152px;
  height: auto;
  object-fit: contain;
}

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

.footer nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 910;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #051106;
  background: #26d366;
  box-shadow: 0 14px 40px rgba(38, 211, 102, 0.28);
  font-weight: 900;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-5px) scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 980;
  display: grid;
  place-items: center;
  padding: 42px;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1080px, 90vw);
  max-height: 82vh;
  border: 1px solid var(--border);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.lightbox__close {
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
}

.lightbox__close::before,
.lightbox__close::after {
  position: absolute;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--text);
}

.lightbox__close::before {
  transform: rotate(45deg);
}

.lightbox__close::after {
  transform: rotate(-45deg);
}

.lightbox__nav {
  top: 50%;
  width: 52px;
  height: 52px;
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

.lightbox__nav::before {
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--text);
  border-left: 2px solid var(--text);
  content: "";
}

.lightbox__nav--prev::before {
  transform: rotate(-45deg);
}

.lightbox__nav--next::before {
  transform: rotate(135deg);
}

.reveal-up,
.reveal-left,
.reveal-right,
.image-reveal {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1040px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

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

  .hero__title {
    font-size: 6.2rem;
  }

  .section-title {
    font-size: 4.2rem;
  }

  .section__grid,
  .section__grid--about {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .media-grid--equipment,
  .trainer-grid,
  .pricing-grid,
  .review-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-card,
  .media-card:nth-child(1),
  .media-card:nth-child(2),
  .media-card:nth-child(n + 3) {
    grid-column: span 1;
    min-height: 340px;
  }

  .rating-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(320px, 100%);
    margin-top: 44px;
  }

  .hero {
    align-items: end;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 104px;
  }

  .brand__logo {
    width: 96px;
    height: 96px;
  }

  .brand__text {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: 112px;
    padding-bottom: 64px;
  }

  .hero__image {
    object-position: 63% center;
  }

  .hero__title {
    font-size: 4.1rem;
  }

  .hero__lead {
    font-size: 1.05rem;
  }

  .section,
  .section-tight {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .section-title {
    font-size: 3.2rem;
  }

  .hero__actions,
  .footer,
  .footer nav {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stats__grid,
  .media-grid--equipment,
  .trainer-grid,
  .timing-grid,
  .pricing-grid,
  .review-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 132px;
  }

  .media-card,
  .media-card:nth-child(1),
  .media-card:nth-child(2),
  .media-card:nth-child(n + 3) {
    min-height: 320px;
  }

  .gallery-item,
  .gallery-item--tall,
  .gallery-item--wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 300px;
  }

  .pricing-card h3 {
    font-size: 3.5rem;
  }

  .map-card {
    min-height: 360px;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 22px;
  }
}

@media (max-width: 420px) {
  .hero__title {
    font-size: 3.35rem;
  }

  .section-title {
    font-size: 2.7rem;
  }

  .stat-card strong {
    font-size: 3.5rem;
  }

  .marquee span {
    font-size: 1.7rem;
  }
}
