/* ==========================================================
   THE FIT CLUB — CLEAN VANILLA CSS
   HTML/CSS selectors are 1:1 with index.html.
   ========================================================== */

:root {
  --bg: #45474a;
  --bg-dark: #3d3f42;
  --bg-deep: #303235;
  --card: #686a6d;
  --card-light: #858585;
  --orange: #f7932f;
  --orange-dark: #e77719;
  --white: #fff;
  --soft: #d0d0d0;
  --muted: #aaa;
  --line: rgba(255, 255, 255, .12);
  --container: 1680px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --section-pad: clamp(72px, 7vw, 110px);
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  font-family: Inter, Arial, sans-serif;
  color: var(--white);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .045;
  background-image: radial-gradient(#fff .65px, transparent .65px);
  background-size: 5px 5px;
  mix-blend-mode: overlay;
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 72px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
}

.outline {
  color: transparent;
  font-family: 'Arial', sans-serif;
  -webkit-text-stroke: 2px #F4F1E6;
}

.orange-label {
  display: block;
  color: var(--orange);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .5px;
}

/* ---------- Loader ---------- */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #3a3c3f;
  transition: opacity .55s ease, visibility .55s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font: 900 64px Georgia, serif;
  animation: loaderPulse 1s ease-in-out infinite alternate;
}

.page-loader span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
}

@keyframes loaderPulse {
  to {
    transform: scale(1.14);
    color: var(--orange);
  }
}

/* ---------- Header / Navbar ---------- */

.hero-section {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 40%, rgba(247, 147, 47, .35), transparent 34%),
    linear-gradient(115deg, #72564a 0%, #57585a 32%, #45474a 68%);
}

.navbar {
  position: relative;
  z-index: 20;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 15px;
  font-weight: 900;
}

.brand-symbol {
  position: relative;
  font: 900 42px/1 Georgia, serif;
}

.brand-symbol::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 9px;
  width: 5px;
  height: 24px;
  background: #fff;
}

.brand-text {
  font-size: 24px;
  line-height: .9;
  letter-spacing: -1px;
}

.brand-text small {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
}

.nav-menu a {
  position: relative;
  transition: color .25s ease, transform .25s ease;
}

.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width .25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--orange);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 14px 23px;
  color: #111;
  background: #fff;
  font-weight: 800;
}

.nav-cta:hover {
  color: #fff !important;
  background: var(--orange);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 2;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: 30px;
}

.hero-copy {
  position: relative;
  z-index: 10;
  padding-top: 84px;
  min-width: 0;
}

.slogan {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 62px;
  max-width: 100%;
  padding: 5px 28px 5px 0;
  background: #303438;
  border-radius: 40px;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}


/* .slogan span {
  width: 105px;
  height: 53px;
  flex: 0 0 auto;
  margin-right: -78px;
  border-radius: 35px;
  background: var(--orange);
  animation: slideInLeft 1s cubic-bezier(0.25, 1, 0.5, 1);
} */
.slogan span {
  position: relative;
  gap: 5rem;
  width: 105px;
  height: 55px;
  flex: 0 0 auto;
  margin-right: -78px;
  border-radius: 35px;
  background: var(--orange);
  z-index: -1; /* Keeps the pill layer under the text */
  will-change: transform, opacity;
  animation: slideRightToLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* Ensure text sits safely above the orange pill */
.slogan {
  color: #fff;
}

/* Animate only when active */
.slogan.is-active span {
  animation: slideRightToLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideRightToLeft {
  from {
    opacity: 0;
    transform: translate3d(100px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


.hero-title {
  margin-top: 42px;
  overflow: visible;
  font-size: clamp(58px, 5.15vw, 104px);
  line-height: 1.05;
  letter-spacing: -3px;
  font-weight: 900;
}

.hero-title .title-line {
  display: block;
  width: max-content;
  max-width: 100%;
}

.hero-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}

.hero-description {
  max-width: 760px;
  margin-top: 25px;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: .35px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 58px;
  margin-top: 37px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-size: 35px;
  font-weight: 500;
  line-height: 1;
}

.hero-stats strong b {
  font-weight: 500;
}

.hero-stats span {
  color: #b6b6b6;
  font-size: 14px;
  letter-spacing: .3px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 37px;
}

.btn {
  min-width: 147px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 26px;
  font-weight: 800;
  transition:
    transform .3s var(--ease),
    background .3s ease,
    color .3s ease,
    box-shadow .3s ease;
}

.btn-orange {
  color: #fff;
  background: var(--orange);
}

.btn-orange:hover {
  background: var(--orange-dark);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(247, 147, 47, .28);
}

.btn-border {
  border: 2px solid var(--orange);
  background: transparent;
}

.btn-border:hover {
  background: var(--orange);
  transform: translateY(-4px);
}

.magnetic {
  will-change: transform;
}

/* ---------- Hero artwork ---------- */

.hero-art {
  position: relative;
  min-height: 590px;
  overflow: visible;
}

.orange-block {
  position: absolute;
  top: -110px;
  right: -25rem;
  width: 40rem;
  height: 80rem;
  background: var(--orange);
  opacity: 0;
  transform: translateX(20px);
  animation: panelIn 1.15s .25s var(--ease) forwards;
  pointer-events: none;
}

@keyframes panelIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-glow {
  position: absolute;
  top: 80px;
  right: 80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(247, 147, 47, .22);
  filter: blur(70px);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}


/* The hero section advance resposive ness */
/* ==========================================================
   RESPONSIVE MOBILE BREAKPOINT — FIXES SIDE OVERFLOW
   ========================================================== */
@media (max-width: 968px) {

  /* 1. Stack the grid vertically so columns don't squeeze out */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 40px;
  }

  .hero-copy {
    padding-top: 40px;
  }

  /* 2. Constrain title element sizing from overflowing */
  .hero-title .title-line {
    width: 100%;
    white-space: normal;
  }

  /* 3. Re-align and scale down the background art elements */
  .hero-art {
    min-height: 450px;
    overflow: hidden;
    /* Clips the background artwork to prevent side scroll */
  }

  .orange-block {
    right: -10rem;
    width: 25rem;
    height: 50rem;
    top: -50px;
  }

  .hero-rings {
    right: 50%;
    transform: translateX(50%);
    /* Centers the rings on mobile */
    top: 40px;
    width: 240px;
    height: 240px;
  }

  .hero-glow {
    right: 50%;
    transform: translateX(50%);
    top: 40px;
    width: 250px;
    height: 250px;
  }

  /* 4. Ensure the navigation header switches gracefully */
  .navbar {
    min-height: 80px;
  }

  .menu-toggle {
    display: flex;
    /* Displays the hamburger toggle icon button */
  }

  .nav-menu {
    display: none;
    /* Hide default desktop horizontal menu items */
    /* Add your mobile menu drop-down or drawer overrides below if needed */
  }
}

@keyframes glowPulse {
  50% {
    transform: scale(1.08);
    opacity: .7;
  }
}

.hero-rings {
  position: absolute;
  top: 80px;
  right: 215px;
  z-index: 2;
  width: 330px;
  height: 330px;
  pointer-events: none;
}

.hero-rings span {
  position: absolute;
  inset: 0;
  border: 8px solid var(--orange);
  border-radius: 50%;
  animation: ringSpin 10s linear infinite;
}

.hero-rings span:nth-child(2) {
  inset: 18px;
  border-color: #d64b28;
  animation-direction: reverse;
  animation-duration: 8s;
}

.hero-rings span:nth-child(3) {
  inset: 38px;
  border: 2px dashed rgba(255, 255, 255, .35);
  animation-duration: 16s;
}

@keyframes ringSpin {
  to {
    transform: rotate(360deg)
  }
}

.hero-back-image,
.hero-main-image {
  position: absolute;
  object-fit: cover;
  max-width: none;
  filter: saturate(.8) contrast(1.05);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}

.hero-back-image {
  z-index: 3;
  right: 220px;
  bottom: 50px;
  width: 310px;
  height: 550px;
  opacity: .55;
  animation: backImageIn 1.2s .35s var(--ease) forwards;
  --hero-back-x: 90px;
  transform: translateX(var(--hero-back-x)) scale(1.04);
}

@keyframes backImageIn {
  to {
    opacity: .55;
    transform: translateX(0) scale(1);
  }
}

.hero-main-image {
  --hero-main-x: 6%;
  z-index: 5;
  right: 10.5rem;
  bottom: 0;
  width: 23rem;
  height: auto;
  clip-path: polygon(2% 0, 98% 0, 100% 100%, 0 100%);
  transform: translate(var(--hero-main-x), 40px) scale(.98);
  animation: heroImageIn 1.15s .5s var(--ease) forwards;
}

@keyframes heroImageIn {
  to {
    opacity: 1;
    transform: translate(var(--hero-main-x), 0) scale(1);
  }
}

.float-card {
  position: absolute;
  z-index: 8;
  background: rgba(69, 72, 75, .96);
  border-radius: 5px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .28);
}

.heart-card {
  top: 20px;
  right: 45px;
  width: 142px;
  padding: 17px;
  animation: cardFloat 4s ease-in-out infinite;
}

.heart {
  margin-bottom: 13px;
  color: #f05e4c;
  font-size: 39px;
  line-height: 1;
}

.float-card>span {
  display: block;
  color: #bbb;
  font-size: 15px;
}

.float-card strong {
  display: block;
  margin-top: 10px;
  font-size: 27px;
  font-weight: 500;
}

.float-card small {
  font-size: 14px;
}

.calories-card {
  left: 0;
  bottom: 67px;
  width: 200px;
  min-height: 145px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  animation: cardFloat 4.5s .4s ease-in-out infinite;
}

@keyframes cardFloat {
  50% {
    transform: translateY(-9px)
  }
}

.bars {
  height: 90px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.bars i {
  display: block;
  width: 5px;
  border-radius: 5px;
  background: var(--orange);
  animation: barPulse 1.3s ease-in-out infinite;
}

.bars i:nth-child(1) {
  height: 45px
}

.bars i:nth-child(2) {
  height: 80px;
  animation-delay: .1s
}

.bars i:nth-child(3) {
  height: 62px;
  animation-delay: .2s
}

.bars i:nth-child(4) {
  height: 83px;
  animation-delay: .3s
}

.bars i:nth-child(5) {
  height: 34px;
  animation-delay: .4s
}

@keyframes barPulse {
  50% {
    transform: scaleY(.65)
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: #aaa;
  font-size: 9px;
  letter-spacing: 3px;
}

.scroll-cue i {
  width: 1px;
  height: 32px;
  background: var(--orange);
  animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {
  50% {
    height: 14px;
    opacity: .35;
  }
}

/* ---------- Reveal states ----------
   Elements stay visible unless JS has initialized the
   animation system. This prevents a broken/missing script
   from hiding the entire page.
*/

.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
}

.js-ready .reveal-up,
.js-ready .reveal-left,
.js-ready .reveal-right {
  opacity: 0;
  transition:
    opacity .85s var(--ease),
    transform .85s var(--ease);
}

.js-ready .reveal-up {
  transform: translateY(45px)
}

.js-ready .reveal-left {
  transform: translateX(-55px)
}

.js-ready .reveal-right {
  transform: translateX(55px)
}

.js-ready .revealed {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: .12s !important
}

.delay-2 {
  transition-delay: .24s !important
}

.delay-3 {
  transition-delay: .36s !important
}

.delay-4 {
  transition-delay: .48s !important
}

/* ---------- Shared section heading ---------- */

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  font-size: clamp(42px, 4.7vw, 82px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -2px;
  text-align: center;
}

.section-heading strong {
  font-style: italic;
}

/* ---------- Programs ---------- */

.programs {
  background: var(--bg);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.program-card {
  position: relative;
  min-width: 0;
  min-height: 305px;
  overflow: hidden;
  padding: 32px 37px;
  background: var(--card-light);
  transition:
    transform .4s var(--ease),
    background .35s ease,
    box-shadow .4s ease;
}

.program-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  transition: .5s ease;
}

.program-card:hover {
  background: #919191;
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, .18);
  background: #ff9800;
  /* Fallback for older browsers */
  background: linear-gradient(to right, #e77719, #F4F1E6);
}

.program-card:hover::before {
  border-color: rgba(247, 147, 47, .4);
  transform: scale(2.2);
}

.program-number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(255, 255, 255, .3);
  font-size: 13px;
  font-weight: 900;
}

.program-icon {
  position: relative;
  z-index: 1;
  height: 67px;
  font-size: 39px;
  color: var(--white);
}

.dumbbell-icon {
  font-size: 31px;
  top: -35px;
  transform: rotate(-25deg);
}

.program-card h3 {
  position: relative;
  z-index: 1;
  font-size: 20px;
}

.program-card p {
  position: relative;
  z-index: 1;
  min-height: 86px;
  margin-top: 27px;
  font-size: 16px;
  line-height: 1.65;
}

.program-card a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 18px;
}

.program-card a b {
  font-size: 30px;
  transition: .3s ease;
}

.program-card:hover a b {
  color: var(--orange);
  transform: translateX(9px);
}

/* ---------- Why Us ---------- */

.why {
  background: var(--bg);
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 55px;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.72fr);
  grid-template-rows: minmax(270px, 315px) minmax(100px, 115px);
  gap: 15px 25px;
  min-width: 0;
  min-height: 550px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  background: #222;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .5s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55));
  opacity: .7;
}

.gallery-item span {
  position: absolute;
  left: 14px;
  bottom: 10px;
  z-index: 2;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.gallery-item:hover img {
  filter: saturate(1.1);
  transform: scale(1.09);
}

.gallery-a {
  grid-column: 1;
  grid-row: 1 / 3;
}

.gallery-b,
.gallery-c {
  grid-column: 2;
}

.gallery-d {
  display: none;
}

.why-copy {
  min-width: 0;
}

.why-copy h2,
.testimonial-head h2 {
  margin-top: 2px;
  font-size: clamp(47px, 4.4vw, 75px);
  line-height: 1.05;
  letter-spacing: -2px;
}

.reasons {
  margin-top: 31px;
  list-style: none;
}

.reasons li {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  font-size: 17px;
}

.reasons li span {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  border: 3px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-size: 21px;
}

.partners {
  margin-top: 46px;
  overflow: hidden;
}

.partners>span {
  color: #aaa;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.partner-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.partner-track {
  position: relative;
  width: 100%;
  display: flex;
  margin-top: 18px;
  height: 40px; /* Adjust height to match your font-size/items */
}

.partner-group {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  gap: 38px;
  color: #aaa;
  font-size: 21px;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  /* Total cycle time is 20s */
  animation: partnerPass 20s linear infinite;
}

/* Stagger Set 2 by exactly half the total cycle time */
.partner-group:nth-child(2) {
  animation-delay: -10s;
}

/* Optional: pause on hover */
.partner-track:hover .partner-group {
  animation-play-state: paused;
}

@keyframes partnerPass {
  from {
    /* Starts completely outside the right edge of the screen */
    transform: translate3d(100vw, 0, 0);
  }
  to {
    /* Clears completely past the left edge of the screen */
    transform: translate3d(-100%, 0, 0);
  }
}

/* ---------- Plans ---------- */

.plans {
  background: var(--bg-dark);
}

.centered {
  margin-bottom: 58px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 25px;
}

.plan {
  position: relative;
  min-width: 0;
  min-height: 415px;
  padding: 38px;
  background: var(--card);
  border: 1px solid transparent;
  transition:
    transform .4s var(--ease),
    box-shadow .4s ease,
    background .3s ease;
}

.plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, .22);
}

.plan.featured {
  background: #707275;
  border: 2px solid var(--orange);
}

.plan.featured:hover {
  transform: translateY(-10px);
}

.popular {
  position: absolute;
  top: 0;
  right: 0;
  padding: 9px 16px;
  background: var(--orange);
  font-size: 11px;
  font-weight: 900;
}

.plan-top {
  display: flex;
  justify-content: space-between;
  color: #ddd;
  font-weight: 800;
  letter-spacing: 1px;
}

.plan-top i {
  color: rgba(255, 255, 255, .25);
  font-style: normal;
}

.price {
  margin: 16px 0 28px;
  font-size: clamp(48px, 4vw, 65px);
  font-weight: 900;
  line-height: 1;
}

.price sup {
  margin-right: 4px;
  font-size: 24px;
  vertical-align: top;
}

.price small {
  margin-left: 6px;
  color: #bbb;
  font-size: 13px;
  font-weight: 500;
}

.plan ul {
  list-style: none;
  color: #e2e2e2;
}

.plan li {
  margin: 15px 0;
  line-height: 1.45;
}

.plan-button {
  width: 100%;
  margin-top: 22px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 1px solid var(--orange);
  color: #fff;
  font-weight: 800;
  transition: .25s ease;
}

.plan-button span {
  font-size: 24px;
}

.plan-button:hover {
  background: var(--orange);
}

/* ---------- Testimonials ---------- */

.testimonials {
  background: var(--bg);
}

.testimonial-head {
  text-align: center;
}

.testimonial-head .orange-label {
  margin-bottom: 20px;
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 55px;
  align-items: center;
  gap: 20px;
  margin-top: 45px;
}

.testimonial-stage {
  min-width: 0;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.testimonial {
  display: none;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  animation: testimonialIn .55s var(--ease);
}

.testimonial.active {
  display: block;
}

@keyframes testimonialIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.quote {
  font: 900 90px/.6 Georgia, serif;
  color: var(--orange);
}

.testimonial p {
  font-size: 19px;
  line-height: 1.8;
  color: #d3d3d3;
}

.person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 25px;
  text-align: left;
}

.person img,
.person-letter {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  object-fit: cover;
}

.person-letter {
  display: grid;
  place-items: center;
  background: var(--orange);
  font-weight: 900;
}

.person strong,
.person span {
  display: block;
}

.person span {
  margin-top: 4px;
  color: #aaa;
  font-size: 12px;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  border: 1px solid var(--orange);
  background: transparent;
  color: #fff;
  font-size: 25px;
  transition: .25s ease;
}

.slider-arrow:hover {
  background: var(--orange);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #777;
  padding: 0;
}

.slider-dot.active {
  background: var(--orange);
}

/* ---------- Join ---------- */

.join {
  background: linear-gradient(120deg, #55585b, #3e4043);
}

.join-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

.join-copy {
  min-width: 0;
  flex: 1 1 0;
}

.join-copy h2 {
  margin-top: 20px;
  font-size: clamp(48px, 4.6vw, 77px);
  line-height: 1;
  letter-spacing: -2px;
}

.join-copy p {
  max-width: 560px;
  margin-top: 20px;
  color: #bbb;
  line-height: 1.7;
}

.join-form {
  position: relative;
  width: min(100%, 500px);
  flex: 1 1 430px;
  display: flex;
  align-items: stretch;
}

.join-form label {
  min-width: 0;
  flex: 1 1 auto;
}

.join-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.join-form input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: #fff;
  color: #222;
}

.join-form input::placeholder {
  color: #777;
}

.join-form .btn {
  height: 54px;
  flex: 0 0 auto;
}

.join-form small {
  position: absolute;
  top: 65px;
  left: 0;
  color: #f6b46d;
  font-size: 13px;
}

/* ---------- Footer ---------- */

.footer {
  padding-top: 65px;
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 55px;
  padding-bottom: 55px;
}

.footer-grid>div {
  min-width: 0;
}

.footer-main p {
  max-width: 360px;
  margin-top: 18px;
  color: #999;
  line-height: 1.7;
}

.footer-grid h4 {
  margin-bottom: 17px;
  font-size: 14px;
  letter-spacing: 2px;
}

.footer-grid>div:not(.footer-main) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-grid>div:not(.footer-main) a,
.footer-grid>div:not(.footer-main) span {
  color: #999;
  transition: color .2s ease;
}

.footer-grid a:hover {
  color: var(--orange);
}

.socials {
  display: flex !important;
  flex-direction: row !important;
  gap: 9px !important;
}

.socials a {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid #666;
  font-size: 11px;
  font-weight: 800;
}

.socials a:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px;
  color: #777;
  font-size: 11px;
  letter-spacing: 1px;
  text-align: center;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 10000;
  transform: translate(-50%, 100px);
  padding: 13px 20px;
  background: #fff;
  color: #222;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
  font-weight: 700;
  transition: .35s ease;
  pointer-events: none;
}

.toast.show {
  transform: translate(-50%, 0);
}

/* ---------- Tablet ---------- */

@media (max-width:1200px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .nav-menu {
    gap: 22px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 20px;
  }

  .hero-title {
    font-size: clamp(54px, 6vw, 82px);
  }

  .section-heading {
    gap: 28px;
  }

  .program-card {
    padding: 28px;
  }

  .why-layout {
    gap: 32px;
  }

  .gallery {
    gap: 12px 18px;
  }

  .footer-grid {
    gap: 32px;
  }
}

/* ---------- Mobile navigation / tablet ---------- */

@media (max-width:900px) {
  .hero-section {
    min-height: 0;
  }

  .navbar {
    min-height: 82px;
    padding-block: 15px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
  }

  button.menu-toggle {
    padding-left: 180px;
  }

  .nav-menu {
    position: absolute;
    top: 74px;
    right: 0;
    width: min(280px, calc(100vw - 30px));
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #303236;
    border: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu a {
    padding: 13px 10px;
  }

  .nav-cta {
    padding: 10px 8px;
    margin-top: 10px;
    position: relative;
    font-size: medium;
    text-align: center;
    top: 55rem;
    right: 6rem;
    white-space: nowrap;

  }

  .hero {
    display: block;
    min-height: 0;
    padding-bottom: 70px;
  }

  .hero-copy {
    padding-top: 45px;
  }

  .hero-title {
    font-size: clamp(52px, 10vw, 82px);
  }

  .hero-art {
    height: 490px;
    min-height: 0;
    margin-top: 25px;
  }

  .orange-block {
    right: -68px;
    display: none;
  }

  .hero-main-image {
    --hero-main-x: 50%;
    right: 60%;
  }

  .hero-back-image {
    right: calc(50% + 30px);
  }

  .hero-rings {
    right: calc(50% - 180px);
  }

  .heart-card {
    right: 5%;
  }

  .calories-card {
    left: 5%;
  }

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

  .section-heading {
    flex-wrap: wrap;
    white-space: normal;
  }

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

  .why-copy {
    padding-right: 0;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .plan.featured,
  .plan.featured:hover {
    transform: none;
  }

  .join-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .join-form {
    width: 100%;
    max-width: 600px;
  }

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

/* ---------- Small mobile ---------- */

@media (max-width:600px) {
  .container {
    width: calc(100% - 30px);
  }

  .section {
    padding-block: 70px;
  }

  .brand-text {
    font-size: 19px;
  }

  .brand-text small {
    font-size: 12px;
  }

  .brand-symbol {
    font-size: 34px;
  }

  .slogan {
    min-height: 49px;
    padding-right: 16px;
    font-size: 11px;
  }

  .slogan span {
    width: 70px;
    height: 43px;
    margin-right: -53px;
  }

  .hero-title {
    margin-top: 31px;
    font-size: 48px;
    letter-spacing: -1.5px;
  }

  .hero-title em {
    -webkit-text-stroke: 1px #fff;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-stats {
    gap: 22px;
  }

  .hero-stats strong {
    font-size: 28px;
  }

  .hero-stats span {
    font-size: 10px;
  }

  .hero-buttons {
    gap: 10px;
  }

  .btn {
    min-width: 0;
    padding: 13px 18px;
  }

  .hero-art {
    height: 475px;
  }

  .orange-block {
    width: 245px;
    height: 540px;
  }

  .hero-main-image {
    width: 260px;
    height: 445px;
    clip-path: polygon(0 0, 97% 0, 100% 100%, 0 100%);
  }

  .hero-back-image {
    width: 210px;
    height: 380px;
  }

  .hero-rings {
    top: 50px;
    right: calc(50% - 100px);
    width: 215px;
    height: 215px;
  }

  .hero-rings span {
    border-width: 5px;
  }

  .heart-card {
    width: 112px;
    right: 0;
    padding: 13px;
  }

  .heart {
    font-size: 29px;
  }

  .float-card>span {
    font-size: 11px;
  }

  .float-card strong {
    font-size: 21px;
  }

  .calories-card {
    left: 0;
    bottom: 15px;
    width: 165px;
    min-height: 112px;
  }

  .bars {
    height: 70px;
  }

  .section-heading {
    gap: 15px;
    font-size: 40px;
  }

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

  .program-card {
    min-height: 0;
    padding: 30px;
  }

  .gallery {
    min-height: 410px;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    grid-template-rows: 245px 100px;
    gap: 10px 12px;
  }

  .why-copy h2,
  .testimonial-head h2 {
    font-size: 43px;
  }

  .reasons li {
    gap: 12px;
    font-size: 13px;
  }

  .reasons li span {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
  }

  .partner-track {
    gap: 22px;
    font-size: 17px;
  }

  .plans-grid {
    gap: 16px;
  }

  .plan {
    padding: 30px;
  }

  .price {
    font-size: 55px;
  }

  .testimonial-wrap {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .testimonial p {
    font-size: 14px;
  }

  .join-copy h2 {
    font-size: 43px;
  }

  .join-form {
    flex-direction: column;
    gap: 10px;
  }

  .join-form input,
  .join-form .btn {
    width: 100%;
  }

  .join-form small {
    top: auto;
    bottom: -22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}