@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Oswald:wght@400;600;700&display=swap');

:root {
  /* Thematic CSS Variables */
  --osteo-bg: #f5f7fa;
  --flex-surface: #ffffff;
  --synovial-dark: #1e293b;
  --ligament-ink: #334155;
  --cartilage-light: #e2e8f0;
  --motion-gradient: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  --motion-gradient-overlay: linear-gradient(135deg, rgba(14, 165, 233, 0.85) 0%, rgba(59, 130, 246, 0.85) 100%);
  --cartilage-shadow: 0 20px 30px -10px rgba(14, 165, 233, 0.2), 0 10px 15px -5px rgba(14, 165, 233, 0.1);
  --deep-elevation: 0 25px 50px -12px rgba(30, 41, 59, 0.25);
  
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --space-compact: 6dvh;
  --space-normal: 10dvh;
  --radius-soft: 16px;
}

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

body {
  font-family: var(--font-body);
  color: var(--ligament-ink);
  background-color: var(--osteo-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--synovial-dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* =========================================
   HEADER (Corporate Gradient)
========================================= */
.mobility-topbar {
  background: var(--motion-gradient);
  color: #fff;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--cartilage-shadow);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.brand-mark svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.joint-nav-wrap {
  display: flex;
  gap: 2rem;
}

.nav-item-link {
  color: #fff;
  font-weight: 500;
  position: relative;
  transition: opacity 0.3s ease;
}

.nav-item-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

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

.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle-btn span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

#nav-toggle-check {
  display: none;
}

/* =========================================
   HERO SECTION (Corporate Centered)
========================================= */
.vitality-entry {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-normal) 5%;
  background-image: url('img/bg.webp');
  background-size: cover;
  background-position: center;
}

.vitality-entry::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--motion-gradient-overlay);
  z-index: 1;
}

.entry-core {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #fff;
}

.entry-core h1 {
  color: #fff;
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.entry-lead {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0.9;
}

.action-trigger {
  display: inline-block;
  background: var(--synovial-dark);
  color: #fff;
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  border-radius: var(--radius-soft);
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(30, 41, 59, 0.4);
  border: none;
  cursor: pointer;
}

.action-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(30, 41, 59, 0.5);
  color: #fff;
}

.metrics-row {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.metric-node {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 200px;
  box-shadow: var(--deep-elevation);
}

.metric-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  display: block;
}

.metric-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.trust-band {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(5px);
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 3rem;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.9rem;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* =========================================
   SCROLL TRACK CONTENT (Mobile Scroll)
========================================= */
.habit-track-zone {
  padding: var(--space-normal) 5%;
  background-image: url('img/bg2.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.habit-track-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 247, 250, 0.92);
}

.track-heading {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.habit-scroll-view {
  position: relative;
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.habit-slide {
  flex: 1;
  background: var(--flex-surface);
  padding: 2.5rem;
  border-radius: var(--radius-soft);
  box-shadow: var(--deep-elevation);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slide-icon {
  width: 60px;
  height: 60px;
  background: var(--motion-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-icon svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* =========================================
   FEATURES GRID (Color Flip)
========================================= */
.motion-grid-zone {
  padding: var(--space-normal) 5%;
  background: var(--flex-surface);
}

.grid-heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.motion-cluster {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.motion-cell {
  background: var(--osteo-bg);
  padding: 2rem;
  border-radius: var(--radius-soft);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: default;
}

.cell-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--motion-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

.cell-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.motion-cell h3 {
  font-size: 1.5rem;
  transition: color 0.4s ease;
}

.motion-cell p {
  transition: color 0.4s ease;
}

.motion-cell:hover {
  background: var(--motion-gradient);
  box-shadow: var(--cartilage-shadow);
  transform: translateY(-5px);
}

.motion-cell:hover h3,
.motion-cell:hover p {
  color: #fff;
}

.motion-cell:hover .cell-icon-wrap {
  background: rgba(255,255,255,0.2);
}

/* =========================================
   PROCESS BAR (How it works)
========================================= */
.progress-path-zone {
  padding: var(--space-normal) 5%;
  background: linear-gradient(to bottom, var(--osteo-bg), var(--flex-surface));
}

.path-heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.path-line-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.path-line-wrapper::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: var(--cartilage-light);
  z-index: 1;
}

.path-milestone {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 1rem;
}

.milestone-dot {
  width: 64px;
  height: 64px;
  background: var(--flex-surface);
  border: 4px solid #3b82f6;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

/* =========================================
   CTA STRIP
========================================= */
.final-call-box {
  padding: var(--space-normal) 5%;
  background: var(--motion-gradient);
  color: #fff;
}

.final-call-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.final-call-inner h2 {
  color: #fff;
  font-size: 2.5rem;
  margin: 0;
}

.action-trigger.dark-variant {
  background: var(--synovial-dark);
}

/* =========================================
   EXPERT PAGE SPECIFICS
========================================= */
.expert-intro-zone {
  background: var(--motion-gradient);
  padding: calc(var(--space-compact) * 2) 5%;
  text-align: center;
  color: #fff;
}

.expert-intro-zone h1 {
  color: #fff;
  font-size: 3.5rem;
}

.bio-split-zone {
  display: flex;
  max-width: 1200px;
  margin: -40px auto var(--space-normal);
  background: var(--flex-surface);
  border-radius: var(--radius-soft);
  box-shadow: var(--deep-elevation);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.bio-visual {
  width: 40%;
  background-image: url('img/bg3.webp');
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.bio-text {
  width: 60%;
  padding: 4rem;
}

.bio-text h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.metrics-grid-zone {
  padding: var(--space-normal) 5%;
  background: var(--osteo-bg);
}

.metrics-grid-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card-clean {
  background: var(--flex-surface);
  padding: 2rem;
  border-radius: var(--radius-soft);
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.stat-card-clean .num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: #3b82f6;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* =========================================
   RESERVE PAGE SPECIFICS
========================================= */
.booking-split-wrap {
  display: flex;
  max-width: 1200px;
  margin: var(--space-normal) auto;
  gap: 4rem;
  padding: 0 5%;
}

.booking-info-pane {
  flex: 1;
}

.sticky-inform {
  position: sticky;
  top: 120px;
}

.sticky-inform h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: var(--motion-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.booking-form-pane {
  flex: 1;
  background: var(--flex-surface);
  padding: 3rem;
  border-radius: var(--radius-soft);
  box-shadow: var(--deep-elevation);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--cartilage-light);
  border-radius: 8px;
  font-family: var(--font-body);
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
}

.check-group {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.action-trigger.full-width {
  width: 100%;
}

.info-cards-stack {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: var(--motion-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.faq-accordion-zone {
  max-width: 800px;
  margin: var(--space-normal) auto;
  padding: 0 5%;
}

.faq-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.faq-item-box {
  background: var(--flex-surface);
  border: 1px solid var(--cartilage-light);
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.faq-item-box h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--synovial-dark);
}

/* =========================================
   GENERIC CONTENT PAGES (Privacy, Terms)
========================================= */
.legal-content-zone {
  max-width: 800px;
  margin: var(--space-normal) auto;
  padding: 0 5%;
  background: var(--flex-surface);
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-radius: var(--radius-soft);
  box-shadow: var(--cartilage-shadow);
}

.legal-content-zone h1 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.legal-content-zone h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content-zone p {
  margin-bottom: 1rem;
}

/* =========================================
   FOOTER
========================================= */
.base-footer {
  background: var(--synovial-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-compact) 5% 2rem;
  text-align: center;
}

.footer-brand {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a:hover {
  color: #fff;
}

.legal-mark {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  font-size: 0.85rem;
}

/* =========================================
   COOKIE BANNER
========================================= */
.consent-dialog {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--flex-surface);
  padding: 1.5rem 5%;
  box-shadow: 0 -10px 25px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.consent-dialog.show-dialog {
  transform: translateY(0);
}

.consent-text {
  font-size: 0.9rem;
  max-width: 600px;
}

.consent-actions {
  display: flex;
  gap: 1rem;
}

.btn-accept {
  background: var(--motion-gradient);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn-decline {
  background: transparent;
  color: var(--ligament-ink);
  border: 1px solid var(--cartilage-light);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
}

/* =========================================
   MEDIA QUERIES
========================================= */
@media (max-width: 992px) {
  .entry-core h1 { font-size: 3rem; }
  .booking-split-wrap { flex-direction: column; }
  .sticky-inform { position: relative; top: 0; }
  .bio-split-zone { flex-direction: column; margin-top: 0; border-radius: 0; }
  .bio-visual { height: 300px; width: 100%; }
  .bio-text { width: 100%; padding: 2rem; }
  .metrics-grid-inner { grid-template-columns: repeat(2, 1fr); }
  .final-call-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .joint-nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--synovial-dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
  }
  
  #nav-toggle-check:checked ~ .joint-nav-wrap {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .mobile-toggle-btn { display: flex; }
  
  .motion-cluster { grid-template-columns: 1fr; }
  .path-line-wrapper { flex-direction: column; gap: 3rem; }
  .path-line-wrapper::before { display: none; }
  
  /* Horizontal scroll for process/habits on mobile */
  .habit-scroll-view {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    justify-content: flex-start;
  }
  .habit-slide {
    min-width: 85vw;
    scroll-snap-align: center;
  }
  
  .consent-dialog { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .entry-core h1 { font-size: 2.2rem; }
  .metrics-grid-inner { grid-template-columns: 1fr; }
  .metric-node { min-width: 100%; }
}