/* ============================================================
   TITANFIT — Premium Gym Website
   style.css
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,900;1,300;1,400&family=Barlow+Condensed:wght@400;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --black:       #0a0a0a;
  --dark:        #111111;
  --dark-2:      #1a1a1a;
  --gray-900:    #1f1f1f;
  --gray-800:    #2a2a2a;
  --gray-700:    #3d3d3d;
  --gray-500:    #6b6b6b;
  --gray-300:    #b0b0b0;
  --gray-100:    #e8e8e8;
  --white:       #ffffff;
  --off-white:   #f5f5f5;
  --red:         #e31b1b;
  --red-dark:    #b51414;
  --red-glow:    rgba(227,27,27,0.25);
  --font-display: 'Bebas Neue', cursive;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --nav-h:       72px;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
  --radius:      4px;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.18);
  --shadow-red:  0 8px 32px rgba(227,27,27,0.35);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
.display-xl { font-family: var(--font-display); font-size: clamp(4rem,10vw,9rem); line-height: 0.9; letter-spacing: 0.02em; }
.display-lg { font-family: var(--font-display); font-size: clamp(2.8rem,6vw,6rem); line-height: 0.95; }
.display-md { font-family: var(--font-display); font-size: clamp(2rem,4vw,3.5rem); line-height: 1; }
.section-label {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem,5vw,4rem);
  line-height: 0.95;
  margin-top: 0.4rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 540px;
  margin-top: 1rem;
  line-height: 1.7;
}

/* ---------- Layout Utilities ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.grid-2     { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3     { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4     { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.flex-center{ display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.text-center{ text-align: center; }
.text-white { color: var(--white) !important; }
.text-red   { color: var(--red); }
.bg-dark    { background: var(--dark); }
.bg-black   { background: var(--black); }
.bg-off     { background: var(--off-white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-110%) skewX(-15deg);
  transition: transform 0.45s ease;
}
.btn:hover::after { transform: translateX(110%) skewX(-15deg); }

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(227,27,27,0.45); }

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { background: var(--white); color: var(--black); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--gray-800); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--dark);
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(12px);
}
#navbar .nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: color var(--transition);
}
.nav-logo span { color: var(--red); }
#navbar.scrolled .nav-logo { color: var(--dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover { color: var(--white); }
#navbar.scrolled .nav-links a { color: var(--gray-700); }
#navbar.scrolled .nav-links a:hover { color: var(--dark); }
.nav-links a.active { color: var(--red); }

.nav-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
#navbar.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 999;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  font-family: var(--font-cond);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu a:hover { color: var(--red); padding-left: 8px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.92) 40%, rgba(227,27,27,0.08) 100%),
    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1600&q=80') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.95) 30%, transparent 100%);
}

/* Animated grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
  0%   { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-h);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227,27,27,0.15);
  border: 1px solid rgba(227,27,27,0.35);
  color: var(--red);
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.8s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  animation: fadeSlideUp 0.8s 0.15s ease both;
}
.hero-title .line-1 { display: block; }
.hero-title .line-2 { display: block; color: var(--red); }
.hero-title .line-3 { display: block; color: var(--gray-300); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-top: 24px;
  line-height: 1.75;
  animation: fadeSlideUp 0.8s 0.3s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  animation: fadeSlideUp 0.8s 0.45s ease both;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  animation: fadeSlideUp 0.8s 0.6s ease both;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
}
.hero-stat-num span { color: var(--red); }
.hero-stat-label {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 4px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeSlideUp 1s 1s ease both;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--red);
  border-radius: 2px;
  animation: scrollBounce 1.5s ease infinite;
}
@keyframes scrollBounce {
  0%,100% { top: 5px; opacity: 1; }
  50%      { top: 18px; opacity: 0.3; }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- TICKER BAND ---------- */
.ticker {
  background: var(--red);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 25s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.ticker-item .sep { opacity: 0.5; font-size: 1.2rem; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- ABOUT SECTION ---------- */
.about-img-wrap {
  position: relative;
  height: 500px;
}
.about-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about-badge-float {
  position: absolute;
  top: 32px;
  right: -24px;
  background: var(--red);
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-red);
}
.about-badge-float .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
}
.about-badge-float .lbl {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}
.about-text { padding-left: 40px; display: flex; flex-direction: column; justify-content: center; }
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
  transition: var(--transition);
}
.about-feature:hover { background: var(--gray-100); transform: translateX(4px); }
.about-feature .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.about-feature h4 { font-family: var(--font-cond); font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; }
.about-feature p  { font-size: 0.88rem; color: var(--gray-500); margin-top: 2px; }

/* ---------- COUNTERS ---------- */
.counters-section { background: var(--dark); padding: 60px 0; }
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.counter-item {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.counter-item:last-child { border-right: none; }
.counter-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--white);
  line-height: 1;
}
.counter-num .suffix { color: var(--red); }
.counter-lbl {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 8px;
}

/* ---------- SERVICES SECTION ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 60px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}
.service-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.service-body { padding: 24px; }
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: var(--red); }
.service-body h3 {
  font-family: var(--font-cond);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.service-body p { font-size: 0.9rem; color: var(--gray-500); margin-top: 8px; line-height: 1.6; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  transition: gap var(--transition);
}
.service-link:hover { gap: 12px; }

/* ---------- TRAINERS SECTION ---------- */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-top: 60px;
}
.trainer-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.trainer-card-img {
  height: 340px;
  position: relative;
  overflow: hidden;
}
.trainer-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(30%);
}
.trainer-card:hover .trainer-card-img img { transform: scale(1.06); filter: grayscale(0%); }
.trainer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  transition: var(--transition);
}
.trainer-card:hover .trainer-overlay { background: linear-gradient(to top, rgba(227,27,27,0.75) 0%, rgba(0,0,0,0.4) 60%, transparent 100%); }
.trainer-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
}
.trainer-name {
  font-family: var(--font-cond);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.05em;
}
.trainer-role {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}
.trainer-socials {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition);
}
.trainer-card:hover .trainer-socials { transform: translateY(0); opacity: 1; }
.trainer-social {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  transition: background var(--transition);
}
.trainer-social:hover { background: var(--red); border-color: var(--red); }

/* ---------- PLANS / PRICING ---------- */
.plans-section { background: var(--black); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 60px;
  align-items: end;
}
.plan-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.plan-card:hover { transform: translateY(-6px); border-color: var(--gray-700); }
.plan-card.featured {
  background: var(--white);
  border-color: var(--red);
  padding-top: 60px;
  padding-bottom: 60px;
  transform: translateY(-16px);
  box-shadow: var(--shadow-red);
}
.plan-card.featured:hover { transform: translateY(-22px); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 2px;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.plan-card.featured .plan-name { color: var(--red); }
.plan-price {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan-currency {
  font-family: var(--font-cond);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 8px;
}
.plan-card.featured .plan-currency { color: var(--dark); }
.plan-amount {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--white);
}
.plan-card.featured .plan-amount { color: var(--dark); }
.plan-period {
  font-size: 0.85rem;
  color: var(--gray-500);
}
.plan-card.featured .plan-period { color: var(--gray-700); }
.plan-desc { font-size: 0.9rem; color: var(--gray-500); margin-top: 12px; }
.plan-card.featured .plan-desc { color: var(--gray-700); }
.plan-divider { height: 1px; background: var(--gray-800); margin: 24px 0; }
.plan-card.featured .plan-divider { background: var(--gray-200); }
.plan-features { display: flex; flex-direction: column; gap: 12px; }
.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-300);
}
.plan-card.featured .plan-feature { color: var(--gray-700); }
.plan-feature .check { color: var(--red); font-size: 0.9rem; }
.plan-feature .cross { color: var(--gray-700); font-size: 0.9rem; }
.plan-card.featured .plan-feature .check { color: var(--red); }
.plan-cta { margin-top: 32px; width: 100%; text-align: center; display: block; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-section { background: var(--off-white); overflow: hidden; }
.testimonials-header { margin-bottom: 60px; }
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 40px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 24px;
  left: 40px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gray-100);
  line-height: 1;
}
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--dark);
  margin-top: 16px;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--red);
}
.testimonial-name { font-family: var(--font-cond); font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.testimonial-role { font-size: 0.82rem; color: var(--gray-500); margin-top: 2px; }
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  color: var(--dark);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.slider-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active { width: 24px; background: var(--red); }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--red);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: 'TITANFIT';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-display);
  font-size: 20vw;
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(2.5rem,6vw,5rem); color: var(--white); }
.cta-band p { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 520px; margin: 16px auto 0; }
.cta-band .btn-wrap { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- CONTACT SECTION ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info-list { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h4 { font-family: var(--font-cond); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-info-item p { font-size: 0.95rem; color: var(--gray-500); margin-top: 2px; }
.contact-form { background: var(--off-white); padding: 48px; border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-group label {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.form-group textarea { min-height: 120px; }
.form-submit { width: 100%; padding: 16px; font-size: 1rem; letter-spacing: 0.15em; }
.form-success { display: none; text-align: center; padding: 24px; }
.form-success .icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h3 { font-family: var(--font-cond); font-size: 1.5rem; font-weight: 800; letter-spacing: 0.05em; }
.form-success p { color: var(--gray-500); margin-top: 6px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black);
  padding-top: 80px;
  padding-bottom: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--gray-900);
}
.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  letter-spacing: 0.06em;
}
.footer-brand .logo span { color: var(--red); }
.footer-brand p { font-size: 0.9rem; color: var(--gray-500); margin-top: 14px; max-width: 300px; line-height: 1.7; }
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.footer-social {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-800);
  border-radius: var(--radius);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-col h4 {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-hours { display: flex; flex-direction: column; gap: 8px; }
.footer-hour {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-900);
}
.footer-hour .day { color: var(--gray-500); }
.footer-hour .time { color: var(--white); font-family: var(--font-cond); font-weight: 600; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
  color: var(--gray-700);
}
.footer-bottom a { color: var(--gray-700); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--red); }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  height: 420px;
  background: var(--black);
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: grayscale(40%);
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.9) 30%, rgba(10,10,10,0.6));
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-cond);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--gray-500); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--gray-700); }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ---------- BACK TO TOP ---------- */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 500;
  box-shadow: var(--shadow-red);
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--red-dark); transform: translateY(-3px); }

/* ---------- ABOUT PAGE SPECIFIC ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.value-card {
  padding: 32px;
  background: var(--off-white);
  border-radius: var(--radius);
  border-top: 3px solid transparent;
  transition: var(--transition);
}
.value-card:hover { border-top-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon { font-size: 2.5rem; margin-bottom: 16px; }
.value-card h3 { font-family: var(--font-cond); font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.value-card p { font-size: 0.9rem; color: var(--gray-500); margin-top: 8px; line-height: 1.65; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--gray-100); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--red);
  line-height: 1;
}
.timeline-item h4 { font-family: var(--font-cond); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.timeline-item p { font-size: 0.9rem; color: var(--gray-500); margin-top: 6px; }

/* ---------- SERVICES PAGE SPECIFIC ---------- */
.services-hero-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 32px;
}
.service-detail-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.service-detail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-detail-img { height: 260px; overflow: hidden; }
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-detail-card:hover .service-detail-img img { transform: scale(1.05); }
.service-detail-body { padding: 28px; }
.service-detail-body h3 { font-family: var(--font-cond); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.service-detail-body p { font-size: 0.92rem; color: var(--gray-500); margin-top: 8px; line-height: 1.65; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service-tag-item {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 2px;
  color: var(--gray-700);
}

.schedule-table { width: 100%; border-collapse: collapse; margin-top: 32px; }
.schedule-table th, .schedule-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--gray-100); }
.schedule-table th { font-family: var(--font-cond); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); background: var(--off-white); }
.schedule-table tr:hover td { background: var(--off-white); }
.schedule-table td { font-size: 0.92rem; color: var(--gray-700); }
.schedule-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-family: var(--font-cond);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-beginner { background: #dcfce7; color: #16a34a; }
.badge-intermediate { background: #fef9c3; color: #ca8a04; }
.badge-advanced { background: #fee2e2; color: #dc2626; }

/* ---------- PLANS PAGE SPECIFIC ---------- */
.plans-compare { margin-top: 80px; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem;
}
.compare-table th { font-family: var(--font-cond); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; background: var(--dark); color: var(--white); }
.compare-table th.featured-col { background: var(--red); }
.compare-table td:first-child { text-align: left; font-weight: 500; color: var(--gray-700); }
.compare-table td.featured-col { background: rgba(227,27,27,0.04); font-weight: 600; }
.compare-table tr:hover td { background: var(--off-white); }
.check-ico { color: var(--red); font-size: 1.1rem; }
.cross-ico { color: var(--gray-300); }
.faq-list { margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--red); }
.faq-icon { font-size: 1.2rem; transition: transform 0.3s ease; color: var(--red); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 20px; }

/* ---------- TRAINERS PAGE SPECIFIC ---------- */
.trainer-featured {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  background: var(--off-white);
  border-radius: var(--radius);
}
.trainer-featured-img {
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
}
.trainer-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.trainer-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.trainer-spec-tag {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  padding: 6px 14px;
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
}
.trainer-stats-row { display: flex; gap: 32px; margin-top: 28px; }
.trainer-stat .n { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; color: var(--red); }
.trainer-stat .l { font-family: var(--font-cond); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-500); margin-top: 2px; }

.trainers-full-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  margin-top: 60px;
}
.trainer-full-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.trainer-full-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.trainer-full-card-img { height: 300px; overflow: hidden; position: relative; }
.trainer-full-card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: all 0.5s ease; }
.trainer-full-card:hover .trainer-full-card-img img { transform: scale(1.04); filter: grayscale(0%); }
.trainer-full-card-body { padding: 24px; }
.trainer-full-card-body h3 { font-family: var(--font-cond); font-size: 1.25rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.trainer-full-card-body .role { font-family: var(--font-cond); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-top: 2px; }
.trainer-full-card-body p { font-size: 0.88rem; color: var(--gray-500); margin-top: 10px; line-height: 1.6; }
.trainer-social-row { display: flex; gap: 8px; margin-top: 16px; }
.t-social {
  width: 30px;
  height: 30px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.75rem;
  transition: var(--transition);
}
.t-social:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- CONTACT PAGE SPECIFIC ---------- */
.map-embed {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-top: 40px;
  position: relative;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--gray-400);
}
.map-placeholder .icon { font-size: 3rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .trainers-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .trainer-featured { grid-template-columns: 1fr; }
  .trainer-featured-img { height: 340px; }
}
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4,
  .services-grid, .plans-grid,
  .counters-grid, .about-text,
  .values-grid, .team-grid,
  .services-hero-grid,
  .trainers-full-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-text { padding-left: 0; }
  .grid-2, .plans-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  .counters-grid { grid-template-columns: repeat(2,1fr); }
  .counter-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .counter-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .hero-stats { gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .trainer-featured { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-slide { padding: 0 12px; }
  .testimonial-card { padding: 32px 24px; }
  .contact-form { padding: 28px 24px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .team-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: 1fr; }
  .counter-item { border-right: none !important; }
}