/* ============================================
   TM Fitness Hub - Main Stylesheet
   Design System: Performance-first, SEO-first
   Target: PageSpeed 90+
   ============================================
   
   TABLE OF CONTENTS:
   ------------------
   1. CSS Custom Properties (Design Tokens)   - Line ~20
   2. Reset & Base Styles                     - Line ~60
   3. Typography                              - Line ~110
   4. Layout (Container, Section, Grid)       - Line ~150
   5. Header & Navigation                     - Line ~180
   6. Mobile Navigation                       - Line ~260
   7. Buttons                                 - Line ~320
   8. Hero Section                            - Line ~400
   9. Cards                                   - Line ~450
   10. Pricing Cards                          - Line ~500
   11. Grid Layouts                           - Line ~550
   12. Features / Highlights                  - Line ~600
   13. Amenities                              - Line ~640
   14. Testimonials                           - Line ~680
   15. FAQ Accordion                          - Line ~720
   16. Contact Strip                          - Line ~780
   17. Forms                                  - Line ~820
   18. Map                                    - Line ~900
   19. Gallery                                - Line ~920
   20. Coach Cards                            - Line ~1000
   21. Menu Cards                             - Line ~1050
   22. Footer                                 - Line ~1080
   23. Utility Classes                        - Line ~1200
   
   BRAND COLORS:
   -------------
   Primary (Dragon's Fury): #de2c2c
   Secondary (Boysen Red):  #b32d2e
   Body Text (Gray Cape):   #525252
   Muted (Boysen Gray):     #787878
   Headings:                #000000
   Background:              #ffffff
   
   TYPOGRAPHY:
   -----------
   Headings: Oswald (Google Fonts)
   Body: Inter (Google Fonts) with system font fallbacks
   
   BREAKPOINTS:
   ------------
   Mobile: < 640px
   Tablet: 640px - 767px
   Desktop: 768px+
   Large Desktop: 1024px+
   
   PERFORMANCE NOTES:
   ------------------
   - Total CSS target: < 80KB gzipped
   - Uses CSS custom properties for consistency
   - Minimal use of complex selectors
   - No CSS frameworks (vanilla CSS only)
   - Responsive images handled via HTML srcset
   
   ============================================ */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Brand Colors */
  --color-primary: #de2c2c;        /* Dragon's Fury - Primary accents/CTAs */
  --color-primary-hover: #b32d2e;  /* Boysen Red - Hovers */
  --color-primary-dark: #8a2323;   /* Darker red for active states */
  
  /* Neutrals */
  --color-text: #525252;           /* Gray Cape - Body text */
  --color-text-muted: #787878;     /* Boysen Gray - Muted text */
  --color-heading: #000000;        /* Black - Headings */
  --color-white: #ffffff;          /* White - Background */
  --color-bg-light: #f8f8f8;       /* Light gray background */
  --color-bg-alt: #f3f3f3;         /* Alternate section background */
  --color-border: #e0e0e0;         /* Border color */
  
  /* Typography */
  --font-heading: 'Oswald', 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Container */
  --container-max: 1200px;
  --container-padding: 1rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  
  /* Header height for sticky */
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

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

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

a:hover {
  color: var(--color-primary-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

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

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

.text-primary {
  color: var(--color-primary);
}

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-muted);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  z-index: 1000;
  transition: box-shadow var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-heading);
  text-decoration: none;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.logo img {
  height: 45px;
  width: auto;
}

.logo:hover {
  color: var(--color-primary);
}

@media (max-width: 640px) {
  .logo span {
    display: inline;
    font-size: 1.25rem;
    line-height: 1.1;
  }
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-sm) 0;
  position: relative;
}

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

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

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

.header-cta {
  display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

@media (max-width: 768px) {
  .header {
    padding: 0 var(--space-md);
  }

  .header .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-md);
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 6px;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    align-items: center;
    position: static;
    justify-self: end;
    flex: 0 0 40px;
  }
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  padding: var(--space-xl);
  display: none;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-nav-link {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

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

.mobile-nav-cta {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  
  .mobile-nav {
    display: none;
  }
  
  .nav {
    display: block;
  }
  
  .header-cta {
    display: flex;
    gap: var(--space-sm);
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: transparent;
  padding: 0.5rem 1rem;
}

.btn-tertiary:hover {
  text-decoration: underline;
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-white:hover {
  background-color: var(--color-bg-light);
  color: var(--color-primary-hover);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl);
  background: linear-gradient(135deg, var(--color-heading) 0%, #333 100%);
  color: var(--color-white);
  overflow: hidden;
}

.hero .container {
  min-width: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0.3;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ============================================
   Cards
   ============================================ */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: var(--color-bg-alt);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image.menu-board {
  aspect-ratio: 3 / 4;
  background-color: var(--color-bg-alt);
}

.card-image.menu-board img {
  object-fit: contain;
}

.card-body {
  padding: var(--space-lg);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* Pricing Card */
.pricing-card {
  text-align: center;
  position: relative;
  overflow: visible;
}

.pricing-card.popular {
  border: 2px solid var(--color-primary);
}

.pricing-card .popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-card .card-body {
  padding: var(--space-xl);
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

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

.pricing-duration {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.pricing-features {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.pricing-features li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-features li:last-child {
  border-bottom: none;
}

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

/* ============================================
   Grid Layouts
   ============================================ */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   Features / Highlights
   ============================================ */
.highlight-card {
  text-align: center;
  padding: var(--space-xl);
}

.highlight-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(222, 44, 44, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-primary);
}

.highlight-icon svg {
  width: 32px;
  height: 32px;
}

.highlight-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

/* Amenities */
.amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.amenity-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-full);
  font-weight: 500;
}

.amenity-badge svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
  padding: var(--space-xl);
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: #fbbf24;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-heading);
}

.testimonial-source {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-heading);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding-bottom: var(--space-lg);
  color: var(--color-text);
}

/* ============================================
   Contact Strip
   ============================================ */
.contact-strip {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) 0;
}

.contact-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.contact-strip h3 {
  color: var(--color-white);
  margin-bottom: 0;
}

.contact-strip-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-white);
  font-weight: 500;
}

.contact-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .contact-strip-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ============================================
   Forms
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-heading);
}

.form-label .required {
  color: var(--color-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-hint {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.form-row {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-success {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background-color: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #1f7a3b;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

/* Honeypot */
.ohnohoney {
  position: absolute;
  left: -9999px;
}

/* ============================================
   Map
   ============================================ */
.map-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-bg-alt);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-bg-alt);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-bg-alt);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================
   Equipment Modal
   ============================================ */
.equipment-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background: rgba(9, 9, 10, 0.75);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  z-index: 2000;
}

.equipment-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.equipment-modal-content {
  position: relative;
  width: min(900px, 100%);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  overflow: auto;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.equipment-modal-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.equipment-modal-figure img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  background-color: var(--color-bg-alt);
}

.equipment-modal-caption {
  padding: var(--space-lg);
}

.equipment-modal-caption h4 {
  margin-bottom: var(--space-sm);
}

.equipment-modal-focus {
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  font-size: 0.95rem;
}

.equipment-modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: var(--color-white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.equipment-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.equipment-modal-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0 var(--space-lg) var(--space-lg);
}

.equipment-modal-nav-btn {
  flex: 1;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.equipment-modal-nav-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.equipment-modal-nav-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--color-bg-alt);
  color: var(--color-text);
  border-color: var(--color-border);
}

@media (max-width: 640px) {
  .equipment-modal {
    padding: var(--space-md);
  }

  .equipment-modal-figure img {
    max-height: 45vh;
  }

  .equipment-modal-caption {
    padding: var(--space-md);
  }
}

/* ============================================
   Coach Cards
   ============================================ */
.coach-card {
  text-align: center;
}

.coach-image {
  width: 150px;
  height: 150px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-full);
  overflow: hidden;
  background-color: var(--color-bg-alt);
}

.coach-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-name {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.coach-role {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.coach-experience {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.coach-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
}

.coach-specialty {
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ============================================
   Menu Cards
   ============================================ */
.menu-card .card-body {
  display: flex;
  flex-direction: column;
}

.menu-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.menu-addons {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: var(--color-heading);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0;
  justify-content: center;
  margin-top: 0;
}

.footer-logo img {
  height: 100px;
  width: auto;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-top: var(--space-md);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--color-white);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .footer-grid {
    text-align: center;
    justify-items: center;
  }

  .footer-grid > * {
    align-items: center;
  }

  .footer-brand {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact li {
    justify-content: center;
    text-align: center;
  }

  .footer-contact svg {
    margin-top: 0;
  }
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  justify-content: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-white);
  transition: background-color var(--transition-fast);
}

.footer-social a:hover {
  background-color: var(--color-primary);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-credit-link {
  display: block;
  line-height: 0;
  opacity: 0.95;
  transition: opacity var(--transition-fast);
}

.footer-credit-link:hover {
  opacity: 1;
}

.footer-credit img {
  display: block;
  width: 83px;
  height: auto;
}

/* ============================================
   Utility Classes
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-2 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-3 { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-4 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

/* Image Placeholder */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-align: center;
  padding: var(--space-md);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn,
  .mobile-nav {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
}
