/* ==========================================================================
   THE GYM FITNESS CLUB - DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  --primary: #009080;
  --primary-hover: #00A890;
  --primary-glow: rgba(0, 144, 128, 0.25);
  --primary-subtle: rgba(0, 144, 128, 0.12);
  --background: #080808;
  --surface: #181818;
  --surface-2: #242424;
  --surface-3: #2d2d2d;
  --border: #303030;
  --border-light: #444444;
  --text: #F8F8F8;
  --text-muted: #A8A8A8;
  --text-dim: #707070;
  
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --container-max: 1240px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--background);
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scroll progress bar at the top */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  z-index: 1001;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

button, .btn {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
  text-decoration: none;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  background: var(--primary-subtle);
  border: 1px solid rgba(0, 144, 128, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 168, 144, 0.4);
}

.btn-secondary {
  background-color: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background-color: var(--surface-3);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Top Right Dashboard Button */
.btn-dashboard {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  color: var(--text);
  border: 1px solid rgba(0, 144, 128, 0.45);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.btn-dashboard::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 144, 128, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-dashboard:hover {
  border-color: var(--primary);
  background: var(--surface-2);
  color: #ffffff;
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-dashboard:hover::after {
  left: 100%;
}

.btn-dashboard svg {
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.btn-dashboard:hover svg {
  transform: scale(1.15);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(48, 48, 48, 0.5);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(8, 8, 8, 0.95);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--primary);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (VIDEO BACKGROUND)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: contrast(1.1) brightness(0.85);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(8, 8, 8, 0.4) 0%, rgba(8, 8, 8, 0.88) 75%, #080808 100%),
              linear-gradient(to bottom, rgba(8, 8, 8, 0.5) 0%, rgba(8, 8, 8, 0.2) 50%, #080808 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 4rem 1.5rem 6rem 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(24, 24, 24, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 144, 128, 0.7);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(0, 144, 128, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 144, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 144, 128, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #D1D5DB;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background: var(--primary);
  border-radius: 2px;
  animation: scroll-wheel 1.6s infinite ease-in-out;
}

@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */

.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
  position: relative;
  z-index: 4;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border);
  padding: 0 1rem;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-number span {
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ==========================================================================
   ABOUT / EXPERIENCE SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-video-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  height: 440px;
}

.about-video-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-subtle);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.badge-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.badge-text p {
  font-size: 0.8rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-feat {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.about-feat:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.about-feat-icon {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.about-feat h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.about-feat p {
  font-size: 0.85rem;
}

/* ==========================================================================
   PROGRAMS / CLASSES
   ========================================================================== */

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.program-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height var(--transition-normal);
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 144, 128, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.program-card:hover::before {
  height: 100%;
}

.program-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.program-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.program-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.program-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.program-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.program-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.825rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   WEEKLY SCHEDULE / PLANNING DE LA SEMAINE
   ========================================================================== */

.schedule-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--surface) 50%, var(--background) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.schedule-hours-pill {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hour-badge {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hour-badge span {
  color: var(--primary);
  font-weight: 600;
}

/* Day Selector Buttons */
.day-selector-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.day-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

.day-btn .day-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

.day-btn:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--primary);
}

.day-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.day-btn.active .day-sub {
  color: rgba(255, 255, 255, 0.8);
}

/* Schedule Cards Grid */
.schedule-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.schedule-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.schedule-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.card-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.time-pill {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--surface-2);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.class-type-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.class-type-badge.spinning { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.class-type-badge.circuit { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.class-type-badge.pump { background: rgba(248, 113, 113, 0.15); color: #f87171; }
.class-type-badge.abs { background: rgba(192, 132, 252, 0.15); color: #c084fc; }
.class-type-badge.yoga { background: rgba(244, 114, 182, 0.15); color: #f472b6; }
.class-type-badge.boxe { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.class-type-badge.default { background: var(--primary-subtle); color: var(--primary); }

.card-activity-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.card-coach-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.coach-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.coach-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.view-original-btn-wrapper {
  text-align: center;
  margin-top: 2.5rem;
}

/* Modal view for original timetable image */
.original-schedule-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.original-schedule-modal.active {
  display: flex;
}

.modal-content-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

/* ==========================================================================
   COACHES SECTION
   ========================================================================== */

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.coach-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.coach-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.coach-photo-wrapper {
  height: 220px;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coach-initials-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-subtle);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
  transition: transform var(--transition-normal);
}

.coach-card:hover .coach-initials-badge {
  transform: scale(1.1);
}

.coach-info-body {
  padding: 1.5rem;
}

.coach-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.coach-name {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.coach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.coach-tag {
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   PRICING / MEMBERSHIPS
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(0, 144, 128, 0.08) 0%, var(--surface) 100%);
  border-color: var(--primary);
  transform: scale(1.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-tier-name {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin: 1rem 0 0.5rem 0;
}

.pricing-price span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.pricing-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   VIDEO BANNER / HIGHLIGHT
   ========================================================================== */

.video-banner-section {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 3rem 0;
  background: var(--surface);
}

.video-banner {
  width: 100%;
  height: 360px;
  object-fit: cover;
  opacity: 0.5;
}

.video-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.4) 50%, rgba(8, 8, 8, 0.92) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
}

.banner-content {
  max-width: 500px;
}

.banner-content h3 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin: 1.25rem 0 1.5rem 0;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--primary);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.opening-hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}

.opening-hours-list li span:last-child {
  color: var(--primary);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   SCROLL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Notification toast */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--surface-2);
  border: 1px solid var(--primary);
  color: var(--text);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .coaches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .coaches-grid {
    grid-template-columns: 1fr;
  }
  .video-banner-overlay {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


/* =========================================================
   GYM MAIN WEBSITE — MOBILE RESPONSIVE
   ========================================================= */
html,body{max-width:100%;overflow-x:hidden}
*,*:before,*:after{box-sizing:border-box}
img,video,iframe{max-width:100%;height:auto}
button,a,input,select,textarea{touch-action:manipulation}
.mobile-nav-btn{display:none}
.mobile-nav-overlay{display:none}

@media (max-width: 900px){
  .mobile-nav-btn{
    display:flex; flex-direction:column; justify-content:center; gap:5px;
    width:44px;height:44px;border:1px solid #303030;border-radius:12px;
    background:#181818;color:#F8F8F8;cursor:pointer;position:relative;z-index:1200;
    padding:10px;
  }
  .mobile-nav-btn span{display:block;width:100%;height:2px;background:#F8F8F8;border-radius:2px}
  .mobile-nav-overlay{
    display:block;position:fixed;inset:0;background:rgba(0,0,0,.65);
    opacity:0;pointer-events:none;transition:opacity .25s ease;z-index:1090;
  }
  body.mobile-nav-open .mobile-nav-overlay{opacity:1;pointer-events:auto}

  /* Common nav selectors used by the existing Synergy page. */
  nav ul, nav .nav-links, .nav-links, .navigation-links, .navbar-links{
    transition:transform .25s ease, opacity .25s ease;
  }

  .hero,.hero-section,.hero-content{
    min-height:100svh;
  }
  .hero-content,.hero .container,.hero-section .container{
    padding-left:18px!important;padding-right:18px!important;
  }
  h1,.hero h1{font-size:clamp(38px,11vw,72px)!important;line-height:.95!important}
  h2{font-size:clamp(28px,7vw,44px)!important}
  h3{font-size:clamp(20px,5vw,28px)!important}

  .container,.section-container,.content-container{
    width:100%!important;max-width:100%!important;padding-left:18px!important;padding-right:18px!important;
  }

  .grid,.cards,.features,.programs-grid,.coaches-grid,.pricing-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
  }

  .stats,.statistics,.stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }

  .section{padding-top:64px!important;padding-bottom:64px!important}

  .table-wrapper,.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}

  .btn,.button,button{min-height:44px}

  .form-grid{grid-template-columns:1fr!important}
}

@media (max-width:600px){
  .grid,.cards,.features,.programs-grid,.coaches-grid,.pricing-grid,
  .stats,.statistics,.stats-grid{
    grid-template-columns:1fr!important;
  }

  .container,.section-container,.content-container{
    padding-left:14px!important;padding-right:14px!important;
  }

  .section{padding-top:52px!important;padding-bottom:52px!important}

  .hero-content{padding-left:14px!important;padding-right:14px!important}

  .hero p,.hero .subtitle{font-size:15px!important;line-height:1.6!important}

  .hero .actions,.hero-actions,.cta-group{
    display:grid!important;grid-template-columns:1fr!important;gap:10px!important;
    width:100%;
  }
  .hero .actions>*{width:100%!important}

  .navbar,.nav-container,.header-container{
    padding-left:14px!important;padding-right:14px!important;
  }

  /* When the site's nav uses these common classes, turn it into a drawer. */
  body.mobile-nav-open nav ul,
  body.mobile-nav-open .nav-links,
  body.mobile-nav-open .navigation-links,
  body.mobile-nav-open .navbar-links{
    transform:translateY(0)!important;opacity:1!important;pointer-events:auto!important;
  }

  footer .footer-grid,.footer-grid{
    grid-template-columns:1fr!important;gap:28px!important;
  }

  input,select,textarea{width:100%;min-height:46px}

  .modal-content{width:calc(100% - 24px)!important;max-height:90vh;overflow:auto}

  .toast{left:12px!important;right:12px!important;width:auto!important}
}

@media (max-width:380px){
  .container,.section-container,.content-container,.hero-content{padding-left:12px!important;padding-right:12px!important}
  h1,.hero h1{font-size:36px!important}
}
