/* FIT24 - Main Styles (Bootstrap + custom theme) */
:root {
  --black: #050505;
  --white: #f5f3ef;
  --yellow: #fde047;
  --yellow-dark: #d97706;
  --gray: #1a1a1a;
  --gray2: #2c2c2c;
  --gray-accent: #333333;
  --muted: #e0e0e0;
  --red: var(--yellow);
  --red-dark: var(--yellow-dark);
}

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

html, body {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  cursor: default;
}

/* Font Awesome */
.fa-solid, .fas { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.fa-brands, .fab { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }
.fa-regular, .far { font-family: "Font Awesome 6 Free" !important; font-weight: 400 !important; }
.fa-solid, .fa-brands, .fa-regular, .fas, .fab, .far {
  display: inline-block !important; font-style: normal !important; text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important; line-height: 1 !important; color: inherit;
}

/* Section headings - Oswald */
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 60px;
}

/* Hero heading - Bebas Neue */
.hero-title { font-family: 'Bebas Neue', sans-serif; }

/* ─── Bootstrap Navbar theme override ─── */
.navbar-fit24 {
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.95), transparent) !important;
  transition: background 0.3s ease;
  padding: 0.75rem 1rem;
}
.navbar-fit24.scrolled {
  background: rgba(5, 5, 5, 0.97) !important;
  backdrop-filter: blur(12px);
}
.navbar-fit24 .navbar-brand img { height: 60px; width: auto; }
.navbar-fit24 .nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem !important;
}
.navbar-fit24 .nav-link:hover { color: var(--yellow) !important; }
.navbar-fit24 .navbar-toggler {
  border: 2px solid white;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
}
.navbar-fit24 .navbar-toggler:hover {
  border-color: white;
  background: rgba(0, 0, 0, 0.35);
}
/* White hamburger icon on all screen sizes */
.navbar-fit24 .navbar-toggler-icon {
  filter: brightness(0) invert(1);
  width: 1.25rem;
  height: 1.25rem;
  opacity: 1;
}
.navbar-fit24 .navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.35);
}
#userProfile { display: none; align-items: center; gap: 1rem; }
#userProfile span { font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--white); }
#userProfile button { background: none; border: none; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; cursor: pointer; }
#userProfile button:hover { color: var(--red); }

/* Modals */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); z-index: 1050;
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s, visibility 0.3s; padding: 16px;
}
.modal-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-content {
  background: var(--gray); padding: 48px; max-width: 440px; width: 100%; position: relative;
  border-top: 3px solid var(--red); transform: translateY(20px); transition: transform 0.3s;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.modal-close:hover { color: var(--white); }
.modal-title { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; letter-spacing: 2px; margin-bottom: 32px; text-align: center; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-group input {
  width: 100%; padding: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); font-family: inherit; outline: none;
}
.form-group input:focus { border-color: var(--red); background: rgba(255,221,0,0.02); }
.modal-btn {
  width: 100%; padding: 18px; background: var(--red); color: var(--black); font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; border: none; cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); transition: background 0.2s; margin-bottom: 16px;
}
.modal-btn:hover { background: var(--red-dark); }
.modal-switch { text-align: center; font-size: 0.8rem; color: var(--muted); }
.modal-switch button { background: none; border: none; color: var(--white); font-weight: 600; cursor: pointer; text-decoration: underline; font-family: inherit; margin-left: 8px; font-size: 0.8rem; }
.error-msg { color: var(--red); font-size: 0.8rem; margin-top: -16px; margin-bottom: 16px; text-align: center; display: none; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; padding-top: 100px; display: flex; align-items: center; overflow: hidden; box-sizing: border-box;
}
/* Neon FIT24 neatly visible: "24" to the right of content, not behind heading/buttons */
.hero-bg {
  position: absolute; inset: 0;
  background: url('/img/hero.png') no-repeat; background-size: cover; background-position: 12% 44%; filter: none;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(5,5,5,0.86));
}
.ticker {
  position: absolute; top: 50%; transform: translateY(-50%); right: -20px;
  writing-mode: vertical-rl; font-family: 'Bebas Neue', sans-serif; font-size: 18rem; color: rgba(255,255,255,0.025);
  letter-spacing: -10px; white-space: nowrap; animation: ticker-scroll 12s linear infinite; pointer-events: none;
}
@keyframes ticker-scroll { 0% { transform: translateY(-30%) rotate(180deg); } 100% { transform: translateY(-80%) rotate(180deg); } }
.hero-content { position: relative; z-index: 2; margin-top: 2.5rem; }
.hero-title {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(4rem, 10vw, 10rem); line-height: 0.9; letter-spacing: 2px;
  margin-bottom: 32px; opacity: 0; animation: fade-up 0.8s 0.4s forwards;
}
.hero-title .outline { -webkit-text-stroke: 2px var(--white); color: transparent; }
.hero-title .red { color: var(--red); }
.hero-sub {
  font-size: 1.1rem; line-height: 1.7; color: #fff; max-width: 440px; margin-bottom: 48px;
  opacity: 0; animation: fade-up 0.8s 0.6s forwards;
}
.hero-actions { display: flex; align-items: center; gap: 32px; opacity: 0; animation: fade-up 0.8s 0.8s forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.btn-primary {
  background: var(--red); color: var(--black); padding: 18px 44px; font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; border: none; cursor: pointer;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); transition: all 0.25s; text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--red-dark); transform: scale(1.04) translateY(-2px); }
.btn-ghost {
  color: var(--white); font-weight: 600; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 4px; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.hero-stats {
  position: absolute; bottom: 60px; right: 60px; display: flex; gap: 48px; z-index: 2;
  opacity: 0; animation: fade-up 0.8s 1s forwards;
}
.stat { text-align: right; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; line-height: 1; color: var(--white); }
.stat-num span { color: var(--red); font-size: 2rem; }
.stat-label { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.scroll-hint {
  position: absolute; bottom: 60px; left: 60px; z-index: 2; display: flex; align-items: center; gap: 16px;
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); opacity: 0; animation: fade-up 0.8s 1.2s forwards;
}
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--red), transparent); animation: scroll-line 1.5s ease-in-out infinite; }
@keyframes scroll-line { 0%, 100% { opacity: 1; transform: scaleY(1); } 50% { opacity: 0.3; transform: scaleY(0.6); } }

/* Marquee */
.marquee-wrap { background: var(--red); color: var(--black); padding: 14px 0; overflow: hidden; display: flex; }
.marquee-track { display: flex; animation: marquee 20s linear infinite; white-space: nowrap; flex-shrink: 0; }
.marquee-track span { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; letter-spacing: 4px; padding: 0 40px; color: var(--black); }
.marquee-track span.dot { color: rgba(255,255,255,0.4); padding: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
section { padding: 120px 60px; }
.section-label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--red); margin-bottom: 16px;
  display: flex; align-items: center; gap: 16px;
}
.section-label::before { content: ''; width: 30px; height: 2px; background: var(--red); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; aspect-ratio: 3/4; background: var(--gray); clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%); overflow: hidden; }
.about-visual-inner {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/img/about.png') center/cover no-repeat;
  filter: hue-rotate(60deg); display: flex; align-items: center; justify-content: center;
}
.about-visual-text { font-family: 'Bebas Neue', sans-serif; font-size: 8rem; color: rgba(255,255,255,0.05); letter-spacing: -4px; transform: rotate(-15deg); }
.about-badge { position: absolute; bottom: 32px; right: -20px; background: var(--red); color: var(--black); padding: 24px 32px; clip-path: polygon(10px 0%, 100% 0%, 100% 100%, 0 100%, 0 10px); }
.about-badge-num { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; line-height: 1; }
.about-badge-text { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; }
.about-text p { font-size: 1.1rem; line-height: 1.8; color: #fff; margin-bottom: 24px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.feature-item { padding: 20px; border: 1px solid var(--gray2); background: var(--gray-accent); transition: border-color 0.3s, background 0.3s; }
.feature-item:hover { border-color: var(--red); background: rgba(253,224,71,0.05); }
.feature-icon { font-size: 1.5rem; margin-bottom: 8px; }
.feature-name { font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.feature-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* Classes */
.classes-section { background: var(--gray); }
.classes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.class-card { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--gray2); cursor: pointer; }
.class-card-bg { position: absolute; inset: 0; transition: transform 0.5s ease; }
.class-card:hover .class-card-bg { transform: scale(1.08); }
.class-card:nth-child(1) .class-card-bg { background: url('/img/strength.png') center/cover no-repeat; filter: hue-rotate(60deg); }
.class-card:nth-child(2) .class-card-bg { background: url('/img/boxing.png') center/cover no-repeat; filter: hue-rotate(60deg); }
.class-card:nth-child(3) .class-card-bg { background: url('/img/yoga.png') center/cover no-repeat; filter: hue-rotate(60deg); }
.class-card:nth-child(4) .class-card-bg { background: url('/img/cycle.png') center/cover no-repeat; filter: hue-rotate(60deg); }
.class-card:nth-child(5) .class-card-bg { background: url('/img/hero.png') center/cover no-repeat; filter: hue-rotate(60deg); }
.class-card:nth-child(6) .class-card-bg { background: url('/img/about.png') center/cover no-repeat; filter: hue-rotate(60deg); }
.class-card-pattern { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent 0px, transparent 30px, rgba(255,255,255,0.03) 30px, rgba(255,255,255,0.03) 31px); pointer-events: none; }
.class-card-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%); }
.class-card-icon { font-size: 2.5rem; margin-bottom: 12px; }
.class-tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.class-name { font-family: 'Oswald', sans-serif; font-size: 2rem; letter-spacing: 1px; line-height: 1; margin-bottom: 8px; }
.class-desc { font-size: 0.85rem; color: #fff; line-height: 1.5; }
.class-hover { position: absolute; inset: 0; background: rgba(255,221,0,0.9); color: var(--black); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 3px; font-weight: 700; cursor: pointer; }
.class-card:hover .class-hover { opacity: 1; }

/* Schedule */
.schedule-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.days-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.day-btn { padding: 10px 20px; background: var(--gray); border: none; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: all 0.2s; }
.day-btn.active { background: var(--red); color: var(--white); }
.day-btn:hover:not(.active) { background: var(--gray2); color: var(--white); }
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th { text-align: left; font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); padding: 16px 24px; border-bottom: 1px solid var(--gray2); }
.schedule-table td { padding: 20px 24px; border-bottom: 1px solid var(--gray2); }
.schedule-table tr:hover td { background: rgba(255,255,255,0.02); }
.schedule-time { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: var(--red); }
.schedule-class { font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.schedule-trainer { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

/* Pricing */
.pricing { background: var(--gray); }
.pricing-header { padding: 80px 60px 0; }
.pricing-body { padding: 0 60px 80px; max-width: 1400px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.plan-card { background: var(--black); padding: 48px 32px; position: relative; overflow: hidden; transition: all 0.4s; border: 1px solid rgba(255,255,255,0.05); min-height: 320px; display: flex; flex-direction: column; }
.plan-card .plan-features { flex: 1; }
.recommend-badge { position: absolute; top: 15px; right: 20px; background: var(--red); color: var(--black); padding: 5px 12px; border-radius: 4px; font-family: 'Bebas Neue', sans-serif; font-size: 0.8rem; display: none; z-index: 5; }
.recommended-plan { background: var(--red) !important; color: var(--black) !important; transform: scale(1.05) translateY(-10px); border: 1px solid var(--black) !important; box-shadow: 0 20px 40px rgba(253,224,71,0.3); z-index: 2; }
.recommended-plan .plan-label, .recommended-plan .plan-price, .recommended-plan .plan-period, .recommended-plan .plan-features li, .recommended-plan .plan-features li::before { color: var(--black) !important; }
.recommended-plan .recommend-badge { display: block; background: var(--black) !important; color: var(--red) !important; }
.recommended-plan .btn-plan { background: var(--black) !important; color: var(--red) !important; border: 1px solid var(--black) !important; }
.recommended-plan .btn-plan:hover { background: rgba(0,0,0,0.8) !important; }
.plan-card:hover { transform: translateY(-10px); }
.plan-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); }
.plan-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.plan-price { font-family: 'Bebas Neue', sans-serif; font-size: 5rem; line-height: 1; letter-spacing: -2px; margin-bottom: 8px; }
.plan-period { font-size: 0.85rem; color: #fff; margin-bottom: 40px; }
.plan-features { list-style: none; margin-bottom: 48px; }
.plan-features li { font-size: 0.9rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; gap: 12px; color: #fff; }
.plan-features li::before { content: '—'; color: var(--red); font-weight: 700; }
.btn-plan { width: 100%; padding: 18px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; border: 2px solid var(--red); background: transparent; color: var(--red); cursor: pointer; transition: all 0.25s; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); }
.btn-plan:hover { background: var(--red); color: var(--white); }

/* Trainers */
#trainers { padding-top: 120px; }
.trainers-section { background: var(--black); }
.trainers-container { max-width: 1040px; margin-left: auto; margin-right: auto; }
.trainer-card {
  flex-shrink: 0;
  background: var(--gray);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.trainer-card:hover { border-color: rgba(255,255,255,0.15); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.trainers-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.trainers-grid {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.trainers-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.trainers-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
  display: inline-block;
}
.trainers-dot.active {
  background: #fde047;
  width: 28px;
  border-radius: 4px;
}
.trainer-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: var(--gray2);
  display: block;
}
.trainer-exp-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  left: auto;
  display: inline-block;
  background: #fde047;
  color: #000;
  font-weight: 700;
  padding: 6px 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 1.4px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  line-height: 1;
  white-space: nowrap;
}
.trainer-info { padding: 18px 20px 20px; }
.trainer-name { font-family: 'Oswald', sans-serif; font-size: 1.4rem; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 4px; color: var(--white); }
.trainer-spec { font-size: 0.72rem; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 0; display: block; }
.trainer-certs { list-style: none; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.trainer-certs li { font-size: 0.9rem; color: #fff; padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.trainer-certs li::before { content: '✓'; color: #00c864; font-weight: bold; }

/* Testimonials - Modern Carousel */
.testi-section { padding: 120px 60px 100px; background: linear-gradient(180deg, #0a0a0a 0%, #141414 35%, #1a1a1a 65%, #0d0d0d 100%); text-align: center; overflow: hidden; position: relative; }
.testi-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 50% at 50% 20%, rgba(253,224,71,0.03), transparent 70%); pointer-events: none; }
.testi-section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 3.5rem); letter-spacing: 2px; color: var(--white); margin-bottom: 20px; }
.testi-rating-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-bottom: 12px; }
.testi-google-logo { display: inline-flex; align-items: center; }
.testi-google-logo svg { display: block; }
.testi-rating-text { color: var(--yellow); font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.testi-rating-label { font-size: 0.9rem; color: var(--muted); }
.testi-view-reviews-wrap { position: relative; z-index: 10; margin-bottom: 48px; }
.testi-view-reviews { display: inline-flex; align-items: center; gap: 10px; color: var(--yellow); font-weight: 600; font-size: 0.95rem; letter-spacing: 1px; text-decoration: none; transition: color 0.25s; padding: 12px 20px; border: 1px solid rgba(253,224,71,0.4); border-radius: 8px; cursor: pointer; position: relative; z-index: 10; pointer-events: auto; }
.testi-view-reviews:hover { color: var(--white); border-color: var(--yellow); background: rgba(253,224,71,0.1); }
.testi-view-reviews-icon { display: inline-flex; align-items: center; }
.testi-view-reviews-icon svg { display: block; }
.testi-carousel-wrapper { position: relative; max-width: 1400px; margin: 0 auto; padding: 0 72px; }
.testi-carousel-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 24px 0; }
.testi-carousel-track::-webkit-scrollbar { display: none; }
.testi-card { flex: 0 0 calc(33.333% - 16px); min-width: calc(33.333% - 16px); scroll-snap-align: start; background: rgba(255,255,255,0.04); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 32px 28px 28px; text-align: center; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s; box-shadow: 0 8px 32px rgba(0,0,0,0.35); position: relative; }
.testi-card:hover { transform: translateY(-10px); box-shadow: 0 20px 56px rgba(0,0,0,0.45), 0 0 40px rgba(253,224,71,0.12), 0 0 0 1px rgba(253,224,71,0.2); border-color: rgba(253,224,71,0.15); }
.testi-card-quote-icon { color: rgba(253,224,71,0.35); font-size: 1.75rem; margin-bottom: 10px; line-height: 1; }
.testi-card-name { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; letter-spacing: 0.5px; }
.testi-card-stars { color: #fcd34d; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card-quote { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.9); margin-bottom: 16px; font-style: italic; }
.testi-card-badge { display: inline-block; font-size: 0.7rem; font-weight: 600; color: var(--black); background: var(--yellow); padding: 4px 10px; border-radius: 4px; letter-spacing: 1px; text-transform: uppercase; }
.testi-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 2px solid var(--yellow); background: rgba(253,224,71,0.12); color: var(--yellow); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); z-index: 5; font-size: 1.1rem; }
.testi-carousel-btn:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); transform: translateY(-50%) scale(1.08); }
.testi-carousel-btn--prev { left: 12px; }
.testi-carousel-btn--next { right: 12px; }

/* CTA */
.cta-section { background: var(--red); padding: 120px 60px; text-align: center; position: relative; overflow: hidden; color: var(--black); }
.cta-section .section-title { margin-bottom: 24px; }
.cta-section .section-label { justify-content: center; }
.cta-section .section-label::before { display: none; }
.cta-sub { font-size: 1.1rem; color: rgba(0,0,0,0.7); max-width: 500px; margin: 0 auto 48px; }
.cta-actions { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.btn-white { background: var(--white); color: var(--black); padding: 18px 48px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; border: none; cursor: pointer; clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); transition: all 0.25s; text-decoration: none; display: inline-block; }
.btn-white:hover { background: var(--black); color: var(--white); }

/* Footer - extra right padding for WhatsApp button */
footer { background: var(--black); padding: 80px 60px 40px; padding-right: 80px; border-top: 1px solid var(--gray2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .logo { display: block; margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; color: #fff; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 24px; color: var(--white); }
.footer-col ul { list-style: none; }
.footer-col ul li a { font-size: 0.9rem; color: #fff; text-decoration: none; transition: all 0.3s; }
.footer-col ul li a:hover { color: var(--yellow); transform: translateX(8px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; padding-right: 80px; border-top: 1px solid var(--gray2); font-size: 0.8rem; color: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Arena / Gallery Carousel */
#gallery { scroll-margin-top: 100px; }
.arena-section { background: var(--black); padding: 120px 0; overflow: hidden; position: relative; }
.arena-header { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 60px; margin-bottom: 48px; }
.arena-carousel-wrapper { position: relative; width: 100%; padding: 0 56px; }
.arena-nav-btn { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,0.15); background: var(--gray); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.arena-nav-btn:hover { background: var(--red); color: var(--black); border-color: var(--red); transform: translateY(-50%) translateX(-2px); }
.arena-nav-btn--next { transform: translateY(-50%); right: 8px; }
.arena-nav-btn--next:hover { transform: translateY(-50%) translateX(2px); }
.arena-nav-btn--prev { left: 8px; }
.arena-nav-bottom { display: none; }
.arena-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding: 24px 0 40px; scrollbar-width: none; -ms-overflow-style: none; }
.arena-carousel::-webkit-scrollbar { display: none; }
.arena-item { flex: 0 0 280px; width: 280px; min-width: 280px; scroll-snap-align: center; }
.arena-item .facility-card { cursor: pointer; }
.facility-card { position: relative; overflow: hidden; border-radius: 12px; background: var(--gray); border: 1px solid rgba(255,255,255,0.05); transition: all 0.4s; }
.facility-img-wrapper { aspect-ratio: 4/3; overflow: hidden; }
.facility-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; pointer-events: none; }
.facility-card:hover .facility-img { transform: scale(1.08); }

/* Gallery lightbox */
.gallery-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.96); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.gallery-lightbox.is-open { opacity: 1; visibility: visible; }
.gallery-lightbox__content { max-width: 90vw; max-height: 90vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px 20px; }
.gallery-lightbox__content img { max-width: 100%; max-height: 90vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
/* Close & nav: same professional style as arena buttons (clip-path, red hover) */
.gallery-lightbox__close { position: absolute; top: 24px; right: 24px; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,0.15); background: var(--gray); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; font-size: 1.35rem; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); z-index: 10; }
.gallery-lightbox__close:hover { background: var(--red); border-color: var(--red); color: var(--black); transform: translateY(-2px); }
.gallery-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 1px solid rgba(255,255,255,0.15); background: var(--gray); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; font-size: 1.1rem; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); z-index: 10; }
.gallery-lightbox__nav:hover { background: var(--red); border-color: var(--red); color: var(--black); transform: translateY(-50%) translateX(-3px); }
.gallery-lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }
.gallery-lightbox__nav--prev { left: 24px; }
.gallery-lightbox__nav--next { right: 24px; }

/* BMI */
.bmi-cta .section-title { margin-bottom: 24px; }
.bmi-icon-badge { background: var(--red); color: var(--black); width: 50px; height: 50px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-weight: bold; }

/* WhatsApp panel – gym theme, fits viewport, no overlap */
.navbar-fit24 { z-index: 1050 !important; }

.wa-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1098;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.wa-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.chat-window {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 120px);
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(253, 224, 71, 0.15);
  z-index: 1099;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  display: flex;
  flex-direction: column;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateY(20px) scale(0.96);
  isolation: isolate;
}
.chat-window__inner {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.chat-window__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.chat-window__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.chat-window__title {
  margin: 0 0 4px 0;
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}
.chat-window__subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}
.chat-window__success { text-align: center; padding: 24px 0; }
.chat-window__success-title { color: #25D366; font-weight: 700; font-size: 1.1rem; margin: 0 0 8px 0; }
.chat-window__success-text { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }

.wa-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wa-form__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.wa-form__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.wa-form__input::placeholder { color: rgba(255, 255, 255, 0.4); }
.wa-form__input:focus {
  outline: none;
  border-color: #fde047;
  box-shadow: 0 0 0 3px rgba(253, 224, 71, 0.15);
}
.wa-form__submit {
  margin-top: 8px;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #25D366 0%, #20bd5a 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.wa-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 1045;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-toggle:hover { transform: scale(1.05); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5); }
.chat-toggle i { font-size: 28px; }
