/* Royal Fitness Club homepage rebuild overrides */
:root {
  --black: #050505;
  --black-soft: #090909;
  --charcoal: #111111;
  --surface: #161616;
  --gold: #d4a437;
  --gold-light: #e5b84a;
  --gold-soft: #bc8f2e;
  --white: #ffffff;
  --off-white: #f2f2f2;
  --muted: #b6b6b6;
}

html {
  scroll-padding-top: 88px;
}

.site-header,
.site-header.scrolled {
  height: 88px !important;
  background: #050505 !important;
  border-bottom: 1px solid rgba(212, 164, 55, .36) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.nav-shell {
  min-height: 88px !important;
  grid-template-columns: 190px minmax(0, 1fr) auto !important;
  gap: 28px !important;
}

.site-header .brand img {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain !important;
}

.main-nav {
  justify-content: flex-end !important;
  gap: clamp(16px, 1.65vw, 30px) !important;
}

.main-nav a {
  color: rgba(255, 255, 255, .86) !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
}

.main-nav a::after {
  bottom: -18px !important;
  height: 2px !important;
  background: var(--gold) !important;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-light) !important;
}

.nav-cta {
  min-height: 46px !important;
  border-radius: 4px !important;
  background: var(--gold) !important;
  border-color: var(--gold-light) !important;
  color: #090603 !important;
  -webkit-text-fill-color: #090603 !important;
  box-shadow: none !important;
}

.hero.hero-static {
  min-height: 650px !important;
  height: min(650px, calc(100svh - 20px)) !important;
  padding: 88px 0 0 !important;
  background: var(--black) !important;
  overflow: hidden !important;
  border-bottom: 1px solid rgba(212, 164, 55, .2) !important;
}

.hero.hero-static .hero-media {
  position: absolute !important;
  inset: 88px 0 0 !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: var(--black) !important;
}

.hero.hero-static .hero-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  background-size: cover !important;
  background-position: center 50% !important;
  filter: contrast(1.03) saturate(1.02) brightness(.94) !important;
  transform: none !important;
}

.hero.hero-static .hero-image.active {
  opacity: 1 !important;
}

.hero.hero-static .hero-media::after,
.hero.hero-static > .hero-shade,
.hero.hero-static .hero-shade {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .76) 29%, rgba(0, 0, 0, .36) 58%, rgba(0, 0, 0, .10) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .24) 0%, transparent 52%, rgba(0, 0, 0, .22) 100%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.hero-media-badge,
.hero-controls-below,
.hero.hero-static .hero-panel,
.hero.hero-static .hero-trust {
  display: none !important;
}

.hero.hero-static .hero-layout {
  position: relative !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  min-height: 562px !important;
  padding: 0 !important;
}

.hero.hero-static .hero-copy {
  width: min(650px, 92vw) !important;
  margin-left: clamp(6px, 2vw, 34px) !important;
  padding: 0 !important;
  transform: translateY(0) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hero.hero-static .eyebrow {
  display: none !important;
  margin: 0 0 16px !important;
  color: var(--gold-light) !important;
  -webkit-text-fill-color: var(--gold-light) !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: clamp(16px, 1.4vw, 20px) !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

.hero.hero-static .hero-title::before {
  content: "STEP TO FITNESS";
  display: block;
  margin: 0 0 16px;
  color: var(--gold-light);
  -webkit-text-fill-color: var(--gold-light);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

.hero.hero-static .hero-title {
  display: block !important;
  max-width: 700px !important;
  margin: 0 !important;
  font-family: "Bebas Neue", Oswald, Impact, sans-serif !important;
  font-size: clamp(88px, 8vw, 112px) !important;
  line-height: .88 !important;
  letter-spacing: 0 !important;
  color: #fff !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: 0 16px 60px rgba(0, 0, 0, .75) !important;
}

.hero.hero-static .hero-title span {
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  white-space: nowrap !important;
}

.hero.hero-static .hero-title span:nth-child(2) {
  color: var(--gold-light) !important;
  -webkit-text-fill-color: var(--gold-light) !important;
  font-size: .86em !important;
}

.hero.hero-static .hero-line,
.hero.hero-static .hero-desc {
  max-width: 560px !important;
  color: rgba(255, 255, 255, .9) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .9) !important;
  font-family: Montserrat, Arial, sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-shadow: 0 8px 34px rgba(0, 0, 0, .75) !important;
}

.hero.hero-static .hero-line {
  margin-top: 22px !important;
  font-size: clamp(18px, 1.65vw, 24px) !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.hero.hero-static .hero-desc,
.hero.hero-static .location-line {
  margin-top: 12px !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  font-weight: 600 !important;
}

.hero.hero-static .location-line {
  color: rgba(229, 184, 74, .86) !important;
  -webkit-text-fill-color: rgba(229, 184, 74, .86) !important;
}

.hero.hero-static .hero-actions {
  margin-top: 30px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.btn,
.hero-actions .btn,
.contact-buttons .btn {
  border-radius: 4px !important;
  letter-spacing: .08em !important;
}

.hero.hero-static .btn {
  min-height: 56px !important;
  padding-inline: 34px !important;
  box-shadow: none !important;
}

.hero.hero-static .btn.secondary {
  background: rgba(0, 0, 0, .36) !important;
  border: 1px solid rgba(212, 164, 55, .62) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.home-stats {
  position: relative;
  z-index: 8;
  background: var(--black);
  padding: 0 0 34px;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 118px;
  border: 1px solid rgba(212, 164, 55, .48);
  background: linear-gradient(180deg, #101010, #060606);
}

.home-stats-grid article {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  min-width: 0;
  padding: 20px 14px;
  text-align: center;
  border-right: 1px solid rgba(212, 164, 55, .34);
}

.home-stats-grid article:last-child {
  border-right: 0;
}

.home-stats-grid span {
  color: var(--gold-light);
  font-size: 22px;
  line-height: 1;
}

.home-stats-grid strong {
  color: #fff;
  font-family: "Bebas Neue", Oswald, sans-serif;
  font-size: clamp(34px, 3vw, 46px);
  line-height: .9;
  font-weight: 400;
  text-transform: uppercase;
}

.home-stats-grid small {
  color: var(--gold-light);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.trial-strip {
  display: none !important;
}

.about,
.section.about {
  background: #080808 !important;
  color: #fff !important;
}

.about-grid {
  grid-template-columns: .86fr 1fr !important;
  gap: clamp(34px, 5vw, 74px) !important;
}

.about-text {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.about-gallery {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.about-text h2,
.facilities-head-wrap h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: "Bebas Neue", Oswald, sans-serif !important;
  font-size: clamp(58px, 5.8vw, 86px) !important;
  line-height: .92 !important;
}

.section-label {
  color: var(--gold-light) !important;
  -webkit-text-fill-color: var(--gold-light) !important;
}

.about-text p {
  max-width: 660px;
  color: rgba(242, 242, 242, .76) !important;
  -webkit-text-fill-color: rgba(242, 242, 242, .76) !important;
}

.mission-grid {
  display: none !important;
}

.about-feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 22px;
  max-width: 560px;
}

.about-feature-row span {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(212, 164, 55, .34);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.text-link-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold-light);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-gallery {
  display: block !important;
}

.about-gallery .image-card {
  display: none !important;
}

.about-gallery .image-card:first-child {
  display: block !important;
  min-height: 500px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(212, 164, 55, .42) !important;
}

.about-gallery .image-card:first-child img {
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.facilities,
.section-dark.facilities {
  background: #050505 !important;
  color: #fff !important;
}

.facilities-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.facilities-grid .facility-card {
  min-height: 380px !important;
  padding: 0 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  background: #0b0b0b !important;
  border: 1px solid rgba(212, 164, 55, .34) !important;
  box-shadow: none !important;
}

.facility-card .facility-top,
.facility-card .facility-icon,
.facility-card .facility-note,
.facility-card .facility-accent-line {
  display: none !important;
}

.facility-card .facility-photo {
  display: block !important;
  aspect-ratio: 4 / 3 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.facility-card .facility-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: none !important;
}

.facility-card h3 {
  margin: 18px 18px 8px !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: "Bebas Neue", Oswald, sans-serif !important;
  font-size: 34px !important;
  line-height: 1 !important;
}

.facility-card p {
  margin: 0 18px 20px !important;
  color: rgba(242, 242, 242, .72) !important;
  -webkit-text-fill-color: rgba(242, 242, 242, .72) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.gallery {
  scroll-margin-top: 90px;
}

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: 120px minmax(0, 1fr) auto !important;
  }

  .main-nav {
    gap: 14px !important;
  }

  .main-nav a {
    font-size: 10.5px !important;
  }

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

@media (max-width: 860px) {
  html {
    scroll-padding-top: 70px;
  }

  body {
    padding-bottom: 78px !important;
  }

  .site-header,
  .site-header.scrolled {
    height: 68px !important;
    background: rgba(5, 5, 5, .96) !important;
  }

  .nav-shell {
    min-height: 68px !important;
    grid-template-columns: 1fr auto !important;
  }

  .site-header .brand img {
    width: 56px !important;
    height: 56px !important;
  }

  .menu-toggle {
    display: block !important;
  }

  .main-nav {
    position: fixed !important;
    inset: 68px 0 0 !important;
    min-height: calc(100svh - 68px) !important;
    display: grid !important;
    align-content: start !important;
    justify-content: stretch !important;
    gap: 0 !important;
    padding: 20px 28px 130px !important;
    background: #050505 !important;
    border-top: 1px solid rgba(212, 164, 55, .22) !important;
    transform: translateX(100%) !important;
    overflow-y: auto !important;
  }

  .main-nav.open {
    transform: translateX(0) !important;
  }

  .main-nav a {
    padding: 19px 0 !important;
    border-bottom: 1px solid rgba(212, 164, 55, .16) !important;
    font-size: 18px !important;
    letter-spacing: .1em !important;
  }

  .main-nav::after {
    content: "WhatsApp  |  Call";
    margin-top: 24px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
  }

  .nav-cta {
    display: none !important;
  }

  .hero.hero-static {
    min-height: min(86svh, 780px) !important;
    height: min(86svh, 780px) !important;
    padding-top: 68px !important;
  }

  .hero.hero-static .hero-media {
    inset: 68px 0 0 !important;
  }

  .hero.hero-static .hero-image {
    background-position: 46% 50% !important;
  }

  .hero.hero-static .hero-media::after,
  .hero.hero-static > .hero-shade,
  .hero.hero-static .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .56) 0%, transparent 28%, rgba(0, 0, 0, .78) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .44) 55%, rgba(0, 0, 0, .18) 100%) !important;
  }

  .hero.hero-static .hero-layout {
    min-height: calc(86svh - 68px) !important;
    max-height: 712px !important;
    align-items: end !important;
    padding: 0 0 clamp(38px, 9vh, 82px) !important;
  }

  .hero.hero-static .hero-copy {
    width: min(100%, 430px) !important;
    margin-inline: 0 !important;
    padding-top: 34px !important;
    transform: none !important;
  }

  .hero.hero-static .eyebrow {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }

  .hero.hero-static .hero-title::before {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .hero.hero-static .hero-title {
    font-size: clamp(58px, 17vw, 70px) !important;
    line-height: .9 !important;
  }

  .hero.hero-static .hero-title span:nth-child(2) {
    font-size: .84em !important;
  }

  .hero.hero-static .hero-line {
    margin-top: 18px !important;
    max-width: 27ch !important;
    font-size: 17px !important;
  }

  .hero.hero-static .hero-desc {
    display: none !important;
  }

  .hero.hero-static .location-line {
    max-width: 32ch !important;
    font-size: 12px !important;
  }

  .hero.hero-static .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: min(100%, 360px) !important;
  }

  .hero.hero-static .btn {
    min-height: 50px !important;
    padding-inline: 12px !important;
    font-size: 11px !important;
  }

  .home-stats {
    padding-bottom: 0;
  }

  .home-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .home-stats-grid article {
    min-height: 98px;
    border-bottom: 1px solid rgba(212, 164, 55, .34);
  }

  .home-stats-grid article:nth-child(2n) {
    border-right: 0;
  }

  .home-stats-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .about-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  .about-gallery {
    order: 1;
  }

  .about-text {
    order: 2;
  }

  .about-gallery .image-card:first-child {
    min-height: 390px !important;
  }

  .about-text h2,
  .facilities-head-wrap h2 {
    font-size: clamp(48px, 13vw, 60px) !important;
  }

  .about-feature-row {
    grid-template-columns: 1fr 1fr;
  }

  .facilities-grid,
  .coaches-grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(286px, 86vw) !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    padding: 4px 14px 20px !important;
    margin-inline: -14px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .facilities-grid::-webkit-scrollbar,
  .coaches-grid::-webkit-scrollbar {
    display: none;
  }

  .facilities-grid .facility-card,
  .coaches-grid .coach-card {
    scroll-snap-align: center !important;
  }

  .floating-actions {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    display: none !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
    background: rgba(5, 5, 5, .97) !important;
    border-top: 1px solid rgba(212, 164, 55, .4) !important;
  }

  body.show-floating-actions .floating-actions {
    display: grid !important;
  }

  .floating-actions a {
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 4px !important;
  }
}

@media (max-width: 430px) {
  .hero.hero-static .hero-title {
    font-size: clamp(55px, 16.2vw, 66px) !important;
  }

  .hero.hero-static .hero-actions {
    width: 100% !important;
  }

  .home-stats-grid strong {
    font-size: 33px;
  }

  .about-gallery .image-card:first-child {
    min-height: 330px !important;
  }

  .about-feature-row {
    gap: 10px;
  }

  .about-feature-row span {
    font-size: 10px;
  }
}
