:root {
  --gym-black: #08090a;
  --gym-graphite: #17191c;
  --gym-panel: #202329;
  --gym-gold: #d6a83d;
  --gym-gold-light: #f0cf79;
  --gym-champagne: #e5dfc9;
  --gym-ivory: #f5f1e8;
  --gym-orange: #c94a2d;
  --gym-ink: #121315;
  --gym-muted: #72767d;
  --gym-white: #ffffff;
  --gym-border-dark: rgba(255, 255, 255, 0.12);
  --gym-border-light: rgba(18, 19, 21, 0.14);
  --gym-display: "Barlow Condensed", sans-serif;
  --gym-body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gym-black);
  color: var(--gym-ink);
  font-family: var(--gym-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gym-black);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-mark {
  color: var(--gym-gold);
  font-family: var(--gym-display);
  font-size: 76px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: -5px;
}

.preloader-line {
  width: 150px;
  height: 2px;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.preloader-line::after {
  content: "";
  display: block;
  width: 55%;
  height: 100%;
  background: var(--gym-gold);
  animation: gym-loader 1s ease-in-out infinite alternate;
}

@keyframes gym-loader {
  from { transform: translateX(-100%); }
  to { transform: translateX(180%); }
}

.gym-navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  min-height: 84px;
  padding: 0;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.94), rgba(8, 9, 10, 0));
  transition: background 0.3s ease, min-height 0.3s ease, border-color 0.3s ease;
}

.gym-navbar.scrolled {
  min-height: 70px;
  border-color: var(--gym-border-dark);
  background: rgba(8, 9, 10, 0.97);
  backdrop-filter: blur(18px);
}

.gym-nav-shell {
  max-width: 1540px;
  padding: 0 38px;
}

.gym-brand {
  display: flex;
  align-items: center;
  width: 215px;
  height: 72px;
  padding: 0;
  overflow: hidden;
}

.gym-brand img {
  width: 100%;
  height: 62px;
  object-fit: contain;
}

.gym-navbar .nav-link {
  position: relative;
  padding: 30px 10px !important;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--gym-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.gym-navbar.scrolled .nav-link {
  padding-top: 23px !important;
  padding-bottom: 23px !important;
}

.gym-navbar .nav-link::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 22px;
  left: 10px;
  height: 2px;
  background: var(--gym-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.gym-navbar .nav-link:hover,
.gym-navbar .nav-link.active {
  color: var(--gym-white);
}

.gym-navbar .nav-link:hover::after,
.gym-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.gym-nav-action {
  margin-left: 14px;
}

.gym-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 27px;
  border: 1px solid var(--gym-gold);
  background: var(--gym-gold);
  color: var(--gym-black);
  font-family: var(--gym-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gym-btn:hover {
  background: var(--gym-gold-light);
  color: var(--gym-black);
  transform: translateY(-2px);
}

.gym-btn-small {
  min-height: 42px;
  padding: 11px 20px;
  font-size: 14px;
}

.gym-btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(8, 9, 10, 0.2);
  color: var(--gym-white);
}

.gym-btn-ghost:hover {
  border-color: var(--gym-white);
  background: var(--gym-white);
  color: var(--gym-black);
}

.gym-hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
  background: var(--gym-black);
  color: var(--gym-white);
}

.gym-hero-slides,
.gym-hero-slide,
.gym-hero-overlay,
.gym-hero-grid {
  position: absolute;
  inset: 0;
}

.gym-hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s ease;
}

.gym-hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.gym-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.96) 0%, rgba(8, 9, 10, 0.79) 45%, rgba(8, 9, 10, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 9, 10, 0.72) 0%, transparent 50%);
}

.gym-hero-grid {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.gym-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: space-between;
  padding-top: 120px;
  padding-bottom: 90px;
}

.gym-hero-copy {
  max-width: 790px;
}

.gym-kicker,
.gym-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gym-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.gym-kicker::before,
.gym-eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: currentColor;
}

.gym-hero-title {
  max-width: 780px;
  margin: 20px 0 18px;
  font-family: var(--gym-display);
  font-size: clamp(76px, 10vw, 150px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.76;
  text-transform: uppercase;
}

.gym-hero-title span {
  color: transparent;
  -webkit-text-stroke: 2px var(--gym-gold);
}

.gym-hero-text {
  max-width: 610px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.gym-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.gym-hero-rail {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 185px;
  margin-left: 50px;
  border: 1px solid var(--gym-border-dark);
  background: rgba(8, 9, 10, 0.55);
  backdrop-filter: blur(10px);
}

.gym-hero-rail-item {
  padding: 22px;
  border-bottom: 1px solid var(--gym-border-dark);
}

.gym-hero-rail-item:last-child {
  border-bottom: 0;
}

.gym-hero-rail-item strong,
.gym-hero-rail-item span {
  display: block;
}

.gym-hero-rail-item strong {
  color: var(--gym-gold-light);
  font-family: var(--gym-display);
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
}

.gym-hero-rail-item span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gym-scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.gym-scroll-cue i {
  color: var(--gym-gold);
  animation: gym-bounce 1.4s ease-in-out infinite;
}

@keyframes gym-bounce {
  50% { transform: translateY(6px); }
}

.gym-section {
  position: relative;
  padding: 112px 0;
}

.gym-title {
  margin: 16px 0 22px;
  font-family: var(--gym-display);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.gym-lead {
  margin-bottom: 18px;
  font-family: var(--gym-display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.25;
}

.gym-body-copy {
  color: #555a61;
}

.gym-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 54px;
}

.gym-section-head > div {
  max-width: 760px;
}

.gym-section-head .gym-title {
  margin-bottom: 0;
}

.gym-section-head > p,
.gym-section-head > div > p {
  max-width: 480px;
  margin: 0;
  color: var(--gym-muted);
}

.gym-section-head.centered {
  justify-content: center;
  text-align: center;
}

.gym-section-head.centered .gym-eyebrow {
  justify-content: center;
}

.gym-section-head.centered > div > p {
  margin-right: auto;
  margin-left: auto;
}

.gym-about {
  background:
    linear-gradient(135deg, rgba(214, 168, 61, 0.08), transparent 36%),
    var(--gym-ivory);
}

.gym-about-visual {
  position: relative;
  padding: 0 42px 42px 0;
}

.gym-about-visual::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 62%;
  height: 72%;
  border: 1px solid var(--gym-gold);
}

.gym-about-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 610px;
  object-fit: cover;
}

.gym-about-stamp {
  position: absolute;
  right: 8px;
  bottom: 45px;
  z-index: 2;
  display: flex;
  width: 132px;
  height: 132px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gym-black);
  color: var(--gym-white);
  text-align: center;
}

.gym-about-stamp strong {
  color: var(--gym-gold);
  font-family: var(--gym-display);
  font-size: 43px;
  font-style: italic;
  line-height: 0.9;
}

.gym-about-stamp span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gym-about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 30px;
}

.gym-about-points div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.gym-about-points i {
  margin-top: 5px;
  color: var(--gym-gold);
}

.gym-facilities,
.gym-schedule,
.gym-gallery {
  overflow: hidden;
  background: var(--gym-black);
  color: var(--gym-white);
}

.gym-facilities::before,
.gym-gallery::before {
  content: "";
  position: absolute;
  top: -320px;
  right: -250px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(214, 168, 61, 0.18);
  border-radius: 50%;
}

.gym-facilities .gym-section-head > p,
.gym-schedule .gym-section-head > p,
.gym-gallery .gym-section-head > p {
  color: rgba(255, 255, 255, 0.56);
}

.gym-facility-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--gym-border-dark);
  border-left: 1px solid var(--gym-border-dark);
}

.gym-facility-card {
  position: relative;
  min-height: 330px;
  padding: 36px 28px;
  border-right: 1px solid var(--gym-border-dark);
  border-bottom: 1px solid var(--gym-border-dark);
  background: rgba(255, 255, 255, 0.025);
  transition: background 0.3s ease, transform 0.3s ease;
}

.gym-facility-card:hover {
  z-index: 2;
  background: var(--gym-gold);
  color: var(--gym-black);
  transform: translateY(-8px);
}

.gym-facility-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(255, 255, 255, 0.24);
  font-family: var(--gym-display);
  font-size: 18px;
  font-weight: 700;
}

.gym-facility-card:hover .gym-facility-number {
  color: rgba(8, 9, 10, 0.42);
}

.gym-facility-card > i {
  display: block;
  margin-top: 62px;
  color: var(--gym-gold);
  font-size: 36px;
}

.gym-facility-card:hover > i {
  color: var(--gym-black);
}

.gym-facility-card h3 {
  margin: 24px 0 12px;
  font-family: var(--gym-display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
}

.gym-facility-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.gym-facility-card:hover p {
  color: rgba(8, 9, 10, 0.72);
}

.gym-access,
.gym-memberships,
.gym-contact {
  background: var(--gym-ivory);
}

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

.gym-access-card {
  position: relative;
  display: flex;
  min-height: 460px;
  align-items: flex-end;
  overflow: hidden;
  background: var(--gym-panel);
  color: var(--gym-white);
}

.gym-access-card img,
.gym-access-card::before,
.gym-access-card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gym-access-card img {
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gym-access-card:hover img {
  transform: scale(1.05);
}

.gym-access-card::before {
  content: "";
  z-index: 1;
  background: linear-gradient(0deg, rgba(8, 9, 10, 0.96), rgba(8, 9, 10, 0.08) 78%);
}

.gym-access-card::after {
  content: "";
  z-index: 2;
  border: 1px solid rgba(214, 168, 61, 0.5);
  transform: scale(0.96);
}

.gym-access-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 36px;
}

.gym-access-tag,
.gym-plan-tag {
  display: inline-flex;
  padding: 5px 10px;
  background: var(--gym-gold);
  color: var(--gym-black);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gym-access-content h3 {
  margin: 14px 0 8px;
  font-family: var(--gym-display);
  font-size: 43px;
  font-weight: 800;
  text-transform: uppercase;
}

.gym-access-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.gym-loading,
.gym-empty,
.gym-error {
  grid-column: 1 / -1;
  padding: 54px 24px;
  border: 1px solid currentColor;
  text-align: center;
  opacity: 0.72;
}

.gym-loading span {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(214, 168, 61, 0.22);
  border-top-color: var(--gym-gold);
  border-radius: 50%;
  animation: gym-spin 0.8s linear infinite;
}

.gym-loading p {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes gym-spin {
  to { transform: rotate(360deg); }
}

.gym-schedule-controls {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.gym-schedule-tabs {
  display: flex;
  flex: 1;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gym-schedule-tabs::-webkit-scrollbar {
  display: none;
}

.gym-schedule-tab,
.gym-calendar-btn {
  min-width: 94px;
  padding: 12px 18px;
  border: 1px solid var(--gym-border-dark);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--gym-body);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gym-schedule-tab span {
  display: block;
}

.gym-schedule-tab strong {
  display: block;
  font-family: var(--gym-display);
  font-size: 17px;
  line-height: 1.1;
  text-transform: uppercase;
}

.gym-schedule-tab small {
  font-size: 10px;
  font-weight: 700;
}

.gym-schedule-tab:hover,
.gym-schedule-tab.active,
.gym-calendar-btn:hover {
  border-color: var(--gym-gold);
  background: var(--gym-gold);
  color: var(--gym-black);
}

.gym-calendar-btn {
  min-width: 52px;
  height: 57px;
  padding: 0;
  font-size: 21px;
}

.gym-date-input {
  position: absolute;
  right: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.gym-schedule-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.gym-schedule-table th {
  padding: 18px 20px;
  border-bottom: 1px solid var(--gym-border-dark);
  color: var(--gym-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.gym-schedule-table td {
  padding: 22px 20px;
  border-bottom: 1px solid var(--gym-border-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.gym-schedule-table tbody tr:last-child td {
  border-bottom: 0;
}

.gym-class-name {
  color: var(--gym-white);
  font-family: var(--gym-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.gym-spots.full {
  color: #ef7e6a;
}

.gym-book-btn,
.gym-card-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid var(--gym-gold);
  background: var(--gym-gold);
  color: var(--gym-black);
  font-family: var(--gym-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

button.gym-book-btn:disabled {
  border-color: #4c4f54;
  background: #35383d;
  color: #8a8d91;
  cursor: not-allowed;
}

.gym-schedule-cards {
  display: none;
}

.gym-pricing-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gym-pricing-grid.collapsed {
  max-height: 910px;
  overflow: hidden;
}

.gym-pricing-grid.collapsed::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 160px;
  background: linear-gradient(transparent, var(--gym-ivory));
  pointer-events: none;
}

.gym-plan-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--gym-border-light);
  background: rgba(255, 255, 255, 0.54);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.gym-plan-card:hover {
  border-color: var(--gym-gold);
  box-shadow: 0 22px 55px rgba(18, 19, 21, 0.09);
  transform: translateY(-6px);
}

.gym-plan-card.featured {
  border-color: var(--gym-gold);
  background: var(--gym-black);
  color: var(--gym-white);
}

.gym-plan-card h3 {
  margin: 22px 0 8px;
  font-family: var(--gym-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.gym-plan-description {
  min-height: 48px;
  margin-bottom: 22px;
  color: var(--gym-muted);
  font-size: 13px;
}

.featured .gym-plan-description {
  color: rgba(255, 255, 255, 0.55);
}

.gym-plan-price {
  display: flex;
  align-items: flex-start;
  color: var(--gym-ink);
  font-family: var(--gym-display);
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.featured .gym-plan-price {
  color: var(--gym-gold-light);
}

.gym-plan-price small {
  margin-top: 5px;
  margin-right: 4px;
  font-family: var(--gym-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.gym-plan-duration {
  margin-top: 10px;
  color: var(--gym-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gym-plan-features {
  margin: 26px 0 30px;
  padding: 22px 0 0;
  border-top: 1px solid var(--gym-border-light);
  list-style: none;
}

.featured .gym-plan-features {
  border-top-color: var(--gym-border-dark);
}

.gym-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 12px;
}

.gym-plan-features i {
  margin-top: 4px;
  color: var(--gym-gold);
}

.gym-plan-card .gym-btn {
  width: 100%;
  margin-top: auto;
}

.gym-expand-wrap {
  margin-top: 38px;
  text-align: center;
}

.gym-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: var(--gym-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.gym-expand-btn i {
  transition: transform 0.2s ease;
}

.gym-expand-btn.expanded i {
  transform: rotate(180deg);
}

.gym-gallery-shell {
  max-width: 1540px;
  padding-right: 38px;
  padding-left: 38px;
}

.gym-gallery-grid {
  display: grid;
  grid-auto-rows: 250px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gym-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--gym-panel);
}

.gym-gallery-item::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--gym-white);
  font-family: var(--gym-display);
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.gym-gallery-item:hover::after {
  background: var(--gym-gold);
  color: var(--gym-black);
  opacity: 1;
}

.gym-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.45s ease, transform 0.6s ease;
}

.gym-gallery-item:hover img {
  filter: brightness(0.65);
  transform: scale(1.045);
}

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

.gym-gallery-item.tall {
  grid-row: span 2;
}

.gym-gallery-extra {
  display: none;
}

.gym-gallery-grid.expanded .gym-gallery-extra {
  display: block;
}

.gym-gallery .gym-expand-btn {
  color: var(--gym-gold-light);
}

.gym-cta {
  position: relative;
  display: flex;
  min-height: 560px;
  align-items: center;
  background-position: center;
  background-size: cover;
  color: var(--gym-white);
  text-align: center;
}

.gym-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 10, 0.92), rgba(8, 9, 10, 0.7));
}

.gym-cta-content {
  position: relative;
  z-index: 1;
}

.gym-cta .gym-eyebrow {
  justify-content: center;
}

.gym-cta h2 {
  max-width: 900px;
  margin: 20px auto;
  font-family: var(--gym-display);
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-transform: uppercase;
}

.gym-cta p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.68);
}

.gym-contact-list {
  border-top: 1px solid var(--gym-border-light);
}

.gym-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--gym-border-light);
}

.gym-contact-item > i {
  flex: 0 0 42px;
  margin-top: 2px;
  color: var(--gym-gold);
  font-size: 24px;
  text-align: center;
}

.gym-contact-item span {
  color: #36393e;
  font-size: 13px;
}

.gym-contact-item small {
  display: block;
  margin-bottom: 3px;
  color: var(--gym-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gym-whatsapp-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 26px;
  padding: 15px;
  background: #1f9d63;
  color: var(--gym-white);
  font-family: var(--gym-display);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gym-whatsapp-btn:hover {
  background: #187e50;
  color: var(--gym-white);
}

.gym-social-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.gym-social-links a {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--gym-border-light);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.gym-map {
  height: 100%;
  min-height: 580px;
  border: 1px solid var(--gym-border-light);
  background: #ded9ce;
}

.gym-map iframe {
  width: 100%;
  height: 100%;
  min-height: 580px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

.gym-footer {
  padding: 76px 0 24px;
  background: #050606;
  color: rgba(255, 255, 255, 0.6);
}

.gym-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1fr;
  gap: 55px;
  padding-bottom: 55px;
}

.gym-footer-brand img {
  width: 250px;
  height: 90px;
  object-fit: contain;
}

.gym-footer-brand p {
  max-width: 330px;
  margin: 16px 0 0;
  font-size: 13px;
}

.gym-footer h3 {
  margin: 12px 0 18px;
  color: var(--gym-gold);
  font-family: var(--gym-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gym-footer-grid > div > a {
  display: block;
  margin: 7px 0;
  font-size: 12px;
  transition: color 0.2s ease;
}

.gym-footer-grid > div > a:hover {
  color: var(--gym-gold-light);
}

.gym-footer-grid p {
  font-size: 12px;
}

.gym-footer-grid strong {
  color: var(--gym-white);
  font-weight: 700;
}

.gym-footer-grid > div > .gym-footer-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  line-height: 1.65;
}

.gym-footer-detail i {
  flex: 0 0 16px;
  margin-top: 3px;
  color: var(--gym-gold);
  font-size: 15px;
  text-align: center;
}

.gym-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--gym-border-dark);
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gym-footer-powered {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  transition: color 0.2s ease;
}

.gym-footer-powered:hover {
  color: var(--gym-gold-light);
}

.gym-footer-powered img {
  width: auto;
  height: 20px;
  opacity: 0.6;
}

.gym-back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gym-gold);
  background: var(--gym-black);
  color: var(--gym-gold);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.gym-back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gym-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: rgba(0, 0, 0, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gym-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.gym-lightbox img {
  max-width: 95vw;
  max-height: 88vh;
  object-fit: contain;
}

.gym-lightbox button {
  position: absolute;
  top: 20px;
  right: 28px;
  border: 0;
  background: transparent;
  color: var(--gym-white);
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
}

.gym-reveal,
.gym-reveal-left,
.gym-reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.gym-reveal {
  transform: translateY(30px);
}

.gym-reveal-left {
  transform: translateX(-36px);
}

.gym-reveal-right {
  transform: translateX(36px);
}

.gym-reveal.revealed,
.gym-reveal-left.revealed,
.gym-reveal-right.revealed {
  opacity: 1;
  transform: translate(0);
}

@media (max-width: 1199px) {
  .gym-nav-shell {
    padding: 0 24px;
  }

  .gym-navbar {
    background: rgba(8, 9, 10, 0.97);
  }

  .gym-navbar .navbar-collapse {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 12px 0 24px;
    border-top: 1px solid var(--gym-border-dark);
  }

  .gym-navbar .nav-link,
  .gym-navbar.scrolled .nav-link {
    padding: 12px 0 !important;
  }

  .gym-navbar .nav-link::after {
    right: auto;
    bottom: 8px;
    left: 0;
    width: 30px;
  }

  .gym-nav-action {
    margin: 12px 0 0;
  }

  .gym-navbar .navbar-toggler {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
  }

  .gym-navbar .navbar-toggler span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gym-gold);
  }

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

  .gym-facility-card {
    min-height: 290px;
  }
}

@media (max-width: 991px) {
  .gym-section {
    padding: 88px 0;
  }

  .gym-hero-inner {
    align-items: flex-end;
    padding-bottom: 115px;
  }

  .gym-hero-rail {
    display: none;
  }

  .gym-hero-overlay {
    background: linear-gradient(0deg, rgba(8, 9, 10, 0.98) 0%, rgba(8, 9, 10, 0.55) 72%, rgba(8, 9, 10, 0.4) 100%);
  }

  .gym-section-head {
    display: block;
  }

  .gym-section-head > p {
    margin-top: 20px;
  }

  .gym-about-visual img {
    height: 540px;
  }

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

  .gym-pricing-grid.collapsed {
    max-height: 905px;
  }

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

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

@media (max-width: 767px) {
  .gym-nav-shell,
  .gym-gallery-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .gym-brand {
    width: 170px;
  }

  .gym-section {
    padding: 72px 0;
  }

  .gym-hero-title {
    font-size: clamp(68px, 23vw, 108px);
    line-height: 0.8;
  }

  .gym-hero-text {
    font-size: 15px;
  }

  .gym-title {
    font-size: 50px;
  }

  .gym-about-visual {
    padding: 0 24px 26px 0;
  }

  .gym-about-visual img {
    height: 430px;
  }

  .gym-about-stamp {
    right: 0;
    bottom: 20px;
    width: 105px;
    height: 105px;
  }

  .gym-about-points {
    grid-template-columns: 1fr;
  }

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

  .gym-facility-card {
    min-height: 250px;
    padding: 26px 22px;
  }

  .gym-facility-card > i {
    margin-top: 46px;
  }

  .gym-data-grid,
  .gym-pricing-grid {
    grid-template-columns: 1fr;
  }

  .gym-pricing-grid.collapsed {
    max-height: 1290px;
  }

  .gym-schedule-table-wrap {
    display: none;
  }

  .gym-schedule-cards {
    display: grid;
    gap: 12px;
  }

  .gym-schedule-card {
    padding: 22px;
    border: 1px solid var(--gym-border-dark);
  }

  .gym-schedule-card-time {
    color: var(--gym-gold);
    font-family: var(--gym-display);
    font-size: 21px;
    font-weight: 800;
  }

  .gym-schedule-card-name {
    margin: 5px 0;
    font-family: var(--gym-display);
    font-size: 25px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .gym-schedule-card-meta,
  .gym-schedule-card-spots {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
  }

  .gym-card-book {
    width: 100%;
    margin-top: 16px;
  }

  .gym-gallery-grid {
    grid-auto-rows: 210px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gym-cta {
    min-height: 500px;
  }

  .gym-map,
  .gym-map iframe {
    min-height: 430px;
  }

  .gym-footer-grid {
    gap: 34px;
  }

  .gym-lightbox {
    padding: 20px;
  }
}

@media (max-width: 575px) {
  .gym-hero-actions {
    display: grid;
  }

  .gym-btn {
    width: 100%;
  }

  .gym-facility-grid {
    grid-template-columns: 1fr;
  }

  .gym-facility-card {
    min-height: 220px;
  }

  .gym-about-visual img {
    height: 360px;
  }

  .gym-access-card {
    min-height: 420px;
  }

  .gym-access-content {
    padding: 28px;
  }

  .gym-schedule-tab {
    min-width: 84px;
    padding: 11px 13px;
  }

  .gym-plan-card {
    min-height: 395px;
    padding: 28px;
  }

  .gym-gallery-grid {
    display: block;
  }

  .gym-gallery-item {
    height: 280px;
    margin-bottom: 10px;
  }

  .gym-social-links,
  .gym-footer-bottom {
    display: block;
  }

  .gym-social-links a {
    margin-top: 10px;
  }

  .gym-footer-grid {
    grid-template-columns: 1fr;
  }

  .gym-footer-bottom span {
    display: block;
    margin: 5px 0;
  }

  .gym-footer-powered {
    display: inline-flex;
    margin-top: 10px;
  }
}

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