:root {
  --bg: #050608;
  --bg-alt: #0b0e11;
  --bg-section-light: #f9fafb;
  --text: #f9fafb;
  --muted: #9ca3af;
  --primary: #2563eb;
  --primary-soft: #1d4ed8;
  --border-subtle: #1f2937;
  --font-heading: "Anton", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 72px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #111827 0, #020617 40%, #000 100%);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
}

h1 {
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
}

h2 {
  font-weight: 400;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.15;
}

h3 {
  font-weight: 400;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
}

p {
  margin: 0 0 12px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.subtitle,
.lead {
  color: var(--muted);
}

.lead {
  font-size: 1.02rem;
}

.pull-quote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--primary-soft);
  font-style: italic;
  color: #e5e7eb;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--primary), var(--primary-soft));
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.btn-small {
  padding: 8px 14px;
  font-size: 0.7rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(156, 163, 175, 0.7);
}

/* Header & Nav */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(3, 7, 18, 0.9);
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  transform: translateY(-100%) !important;
  transition: transform 0.3s ease-in-out !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.site-header:not(.scrolled) {
  transform: translateY(-100%) !important;
}

.site-header.scrolled {
  transform: translateY(0) !important;
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-text {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1rem;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: rgba(31, 41, 55, 0.9);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(156, 163, 175, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #f9fafb;
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle span:nth-child(1) {
  top: 13px;
}

.menu-toggle span:nth-child(2) {
  top: 19px;
}

.menu-toggle span:nth-child(3) {
  top: 25px;
}

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

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

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

/* Theme selector */
.theme-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(31, 41, 55, 0.8);
}

.theme-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.theme-buttons {
  display: flex;
  gap: 4px;
}

.theme-btn {
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(156, 163, 175, 0.9);
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.theme-btn-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  padding: 72px 0 80px;
}

.hero .container {
  padding-left: 48px;
  padding-right: 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-text .subtitle {
  max-width: 520px;
}

.hero-ctas {
  margin-top: 18px;
}

.hero-media .hero-placeholder {
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(37, 99, 235, 0.5);
  padding: 32px 24px;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  color: rgba(209, 213, 219, 0.95);
  font-size: 0.9rem;
}

/* Brighten all site photos */
img[src*="/images/site/"] {
  filter: brightness(1.15);
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  overflow: hidden;
}

.hero-slide {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide[src*="DSC08883"] {
  object-position: center 35%;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

/* About photo crossfade */
.about-photo {
  position: relative;
}

.about-slide {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.about-slide.active {
  position: relative;
  opacity: 1;
}

/* About */
.about {
  position: relative;
  padding: 72px 0;
  background: radial-gradient(circle at top, #020617 0, #000 55%, #020617 100%);
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}

.about-text {
  max-width: 100%;
}

.about-photo {
  width: 280px;
  max-width: 100%;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
}

/* Services */
.services {
  padding: 72px 0;
  background: var(--bg-alt);
}

.offer-tagline {
  margin: 8px 0 0;
  font-size: 1rem;
  color: var(--primary-soft);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.offer-prose {
  margin-top: 24px;
}

.offer-prose p {
  margin-bottom: 16px;
}

.offer-prose p:last-child {
  margin-bottom: 0;
}

.offer-subhead {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  letter-spacing: 0.1em;
  color: var(--primary-soft);
}

.offer-u {
  padding-bottom: 2px;
  border-bottom: 2px solid var(--primary-soft);
}

.offer-cta {
  margin-top: 28px;
}

.offer-cta .btn {
  display: inline-flex;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.card {
  background: #020617;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  padding: 24px 20px 22px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
}

.card h3 {
  margin-bottom: 8px;
}

/* Testimonials */
.testimonials {
  padding: 72px 0;
  background: radial-gradient(circle at top, #020617 0, #050608 45%, #000 100%);
}

.testimonials-header {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.testimonials-header h2 {
  margin: 0;
}

.selected-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.selected-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.selected-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.clear-filters-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.clear-filters-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-soft);
  color: var(--primary-soft);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.testimonial-card {
  background: #020617;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  padding: 20px 18px 18px;
}

.testimonial-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.injury-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  background: var(--primary-soft);
  color: #ffffff;
}

.testimonial-placeholder {
  font-style: italic;
}

.testimonial-author {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Injury map */
.injury-map {
  padding: 72px 0;
  background: var(--bg-alt);
}

.injury-figure-wrapper {
  margin: 32px auto 0;
}

.injury-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  max-width: 600px;
  margin: 0 auto;
  /* No transition - instant change */
}

.injury-layout-grid.has-selection {
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
}

.injury-figure-inner {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.12), rgba(15, 23, 42, 0.96));
  padding: 20px 80px;
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* No transition - instant move */
}

.injury-figure-inner img {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  filter: invert(1) opacity(0.9);
  position: relative;
  z-index: 1;
}

/* SVG overlay for connection lines */
.injury-connectors-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.connector-line {
  stroke: var(--primary-soft);
  stroke-width: 2.5;
  transition: stroke 0.2s ease;
}

.connector-dot {
  fill: var(--primary-soft);
  transition: fill 0.2s ease;
}

.injury-figure-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.injury-figure-markers .injury-btn {
  position: absolute;
  pointer-events: auto;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.7);
  background: transparent;
  color: var(--primary-soft);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.injury-figure-markers .injury-btn:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--primary-soft);
}

.injury-figure-markers .injury-btn.injury-btn-active {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  color: #fff;
}

/* Left side buttons (3) */
.injury-btn-left {
  left: 15%;
}

.injury-figure-markers .injury-btn-left[data-region="neck"] {
  top: 10%;
}

.injury-figure-markers .injury-btn-left[data-region="shoulder"] {
  top: 22%;
  left: 10%;
}

.injury-figure-markers .injury-btn-left[data-region="lower-back"] {
  top: 42%;
  left: 7%;
}

/* Right side buttons (4) */
.injury-btn-right {
  right: 15%;
}

.injury-figure-markers .injury-btn-right[data-region="spine"] {
  top: 23%;
}

.injury-figure-markers .injury-btn-right[data-region="hip"] {
  top: 50%;
}

.injury-figure-markers .injury-btn-right[data-region="knee"] {
  top: 65%;
}

.injury-figure-markers .injury-btn-right[data-region="ankle"] {
  top: 82%;
}

/* Injury info cards container */
.injury-info-cards-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.injury-layout-grid.has-selection .injury-info-cards-container {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.injury-info-cards-container::-webkit-scrollbar {
  width: 6px;
}

.injury-info-cards-container::-webkit-scrollbar-track {
  background: transparent;
}

.injury-info-cards-container::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}

.injury-info-cards-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-soft);
}

/* Individual injury info card */
.injury-info-card {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: #020617;
  padding: 20px 18px;
  display: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.injury-info-card.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.injury-info-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
  color: var(--primary-soft);
}

.injury-info-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
}

.injury-info-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--text);
  font-size: clamp(0.9rem, 1.8vw, 1rem);
}

@media (max-width: 900px) {
  .injury-layout-grid {
    grid-template-columns: 1fr !important;
    max-width: 600px !important;
    gap: 24px;
  }

  .injury-layout-grid.has-selection {
    grid-template-columns: 1fr !important;
    max-width: 600px !important;
  }

  .injury-info-cards-container {
    position: static;
    max-height: none;
  }
  .injury-figure-inner {
    padding: 20px 60px;
    aspect-ratio: 1 / 1;
    min-height: auto;
  }
  
  .injury-figure-inner img {
    max-width: 320px;
  }

  .injury-figure-markers .injury-btn {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
}

@media (max-width: 600px) {
  .injury-layout-grid {
    grid-template-columns: 1fr !important;
    max-width: 600px !important;
    gap: 20px;
  }

  .injury-layout-grid.has-selection {
    grid-template-columns: 1fr !important;
    max-width: 600px !important;
  }

  .injury-figure-inner {
    padding: 15px 50px;
    aspect-ratio: 1 / 1;
    min-height: auto;
  }
  
  .injury-figure-inner img {
    max-width: 280px;
  }

  .injury-figure-markers .injury-btn {
    font-size: 0.65rem;
    padding: 4px 8px;
  }

  .injury-info-card {
    padding: 18px 16px;
  }
}

/* Booking modal */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2147483647;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.booking-modal-overlay.active {
  display: flex;
}

.booking-modal {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  height: 90vh;
  max-height: 900px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.booking-modal iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.booking-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.booking-modal-close:hover {
  background: rgba(0, 0, 0, 0.85);
}

.calendar-header {
  margin-bottom: 24px;
}

.calendar-header h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 6px;
  color: var(--text);
}

.calendar-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.calendar-week {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.calendar-day {
  display: flex;
  flex-direction: column;
}

.day-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.day-name {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 4px;
}

.day-date {
  font-size: 0.75rem;
  color: var(--muted);
}

.time-slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 4px;
}

.time-slots::-webkit-scrollbar {
  width: 6px;
}

.time-slots::-webkit-scrollbar-track {
  background: transparent;
}

.time-slots::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}

.time-slots::-webkit-scrollbar-thumb:hover {
  background: var(--primary-soft);
}

.time-slot {
  padding: 10px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-family: var(--font-body);
}

.time-slot.available:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--primary-soft);
  color: var(--primary-soft);
  transform: translateY(-1px);
}

.time-slot.available.selected {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  color: #fff;
  font-weight: 600;
}

.time-slot.booked {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: line-through;
}

.calendar-selected {
  margin-top: 20px;
  padding: 16px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--primary-soft);
  border-radius: 10px;
  text-align: center;
}

.calendar-selected p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.calendar-selected #selected-time {
  color: var(--primary-soft);
  font-weight: 600;
}

.calendar-selected #setup-call-btn {
  margin-top: 16px;
  width: 100%;
}

.calendar-disclaimer {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .calendar-week {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .calendar-booking {
    padding: 20px 16px;
  }

  .calendar-week {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .time-slots {
    max-height: 300px;
  }

  .time-slot {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}

/* Contact */
.contact {
  padding: 72px 0 80px;
  background: var(--bg-alt);
}

.contact-centered {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form-inner {
  margin-top: 24px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: #020617;
  padding: 28px 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #e5e7eb;
}

.form-group input,
.form-group textarea {
  border-radius: 10px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #f9fafb;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.honeypot {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

.contact-form-inner .btn {
  width: 100%;
  margin-top: 6px;
}

.disclaimer {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: #020617;
}

.footer-inner {
  padding: 18px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Accreditation */
.accreditation {
  padding: 60px 0 72px;
  background: radial-gradient(circle at bottom, #020617 0, #000 45%, #020617 100%);
}

.accreditation-card {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.accreditation-card-inner {
  background: #ffffff;
  color: #111827;
  border-radius: 18px;
  padding: 20px 24px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(209, 213, 219, 0.9);
  max-width: 420px;
  width: 100%;
}

.accreditation-card-inner img {
  width: 96px;
  height: auto;
  flex-shrink: 0;
}

.accreditation-card-inner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 600px) {
  .accreditation-card-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Scroll animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.08s;
}

.stagger-2 {
  transition-delay: 0.16s;
}

.stagger-3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 16px;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    background: #020617;
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    padding: 0;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.25s ease, opacity 0.18s ease, transform 0.18s ease;
    z-index: 90;
  }

  .nav.open {
    max-height: 80vh;
    opacity: 1;
    transform: translateY(0);
    padding: 10px 10px 12px;
  }

  .nav a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 999px;
    text-align: center;
  }

  .theme-selector {
    border-left: none;
    padding-left: 0;
    margin-top: 8px;
    justify-content: center;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding: 64px 0 40px;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
  }

  .hero .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-media {
    order: -1;
  }

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

  .hero-text .subtitle {
    margin-bottom: 16px;
  }

  .hero-ctas {
    display: flex;
    justify-content: center;
    margin-top: 16px;
  }

  .about-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .about-photo {
    order: -1;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

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

  .injury-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 48px 0 32px;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
  }

  .hero .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-inner {
    gap: 20px;
  }

  .hero-text .subtitle {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .hero-ctas {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    gap: 12px;
  }

  .hero-ctas .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-media img {
    max-height: 200px;
    object-fit: cover;
  }

  .contact-form-inner {
    padding: 22px 18px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Loading Screen */
#loading-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.8s ease-out;
}

#loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease-out;
}

.loading-text {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 10vw, 8rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  text-align: center;
  padding: 0 20px;
  word-break: keep-all;
  white-space: nowrap;
  max-width: calc(100vw - 60px) !important;
  box-sizing: border-box;
  width: auto !important;
  overflow: visible !important;
  text-overflow: clip !important;
  display: inline-block;
}

.loading-text.step-1,
.loading-text.step-2,
.loading-text.step-3,
.loading-text.step-4 {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .loading-text {
    font-size: clamp(2rem, 9vw, 6rem);
    letter-spacing: 0.05em;
    padding: 0 15px;
    max-width: calc(100vw - 30px);
  }
}

@media (max-width: 600px) {
  .loading-text {
    font-size: clamp(1.8rem, 8vw, 4.5rem);
    letter-spacing: 0.04em;
    padding: 0 10px;
    max-width: calc(100vw - 20px);
  }
}

@media (max-width: 400px) {
  .loading-text {
    font-size: clamp(1.5rem, 7vw, 3.5rem);
    letter-spacing: 0.03em;
    padding: 0 8px;
    max-width: calc(100vw - 16px);
  }
}

