:root {
  --active-sitting-bg: #FAF9F6;
  --active-sitting-surface: #F0EEE9;
  --active-sitting-surface-card: #FFFFFF;
  --active-sitting-ink: #2C3E2B;
  --active-sitting-ink-muted: #5A6E58;
  --active-sitting-accent: #4A7C59;
  --active-sitting-accent-hover: #3E6B4B;
  --active-sitting-highlight: #D4A373;
  --active-sitting-highlight-hover: #C39262;
  --active-sitting-gradient: linear-gradient(135deg, #4A7C59 0%, #D4A373 100%);
  --active-sitting-gradient-hover: linear-gradient(135deg, #3E6B4B 0%, #C39262 100%);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --active-sitting-radius: 16px;
  --active-sitting-shadow: 0 10px 30px rgba(44, 62, 43, 0.08);
  --active-sitting-shadow-hover: 0 15px 40px rgba(44, 62, 43, 0.15);
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--active-sitting-ink);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Header & Sticky Progress */
.joint-flow-page-header {
  position: sticky;
  top: 0;
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(8A, 110, 88, 0.15);
}

.joint-flow-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.joint-flow-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--active-sitting-accent);
}

.joint-flow-nav-checkbox {
  display: none;
}

.joint-flow-nav-btn {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.joint-flow-nav-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--active-sitting-ink);
  transition: 0.3s;
}

.joint-flow-navigation-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.joint-flow-navigation-links a {
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.joint-flow-navigation-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--active-sitting-gradient);
  transition: width 0.3s ease;
}

.joint-flow-navigation-links a:hover {
  color: var(--active-sitting-accent);
}

.joint-flow-navigation-links a:hover::after {
  width: 100%;
}

.joint-flow-scroll-progress {
  height: 4px;
  width: 0%;
  background: var(--active-sitting-gradient);
  animation: progress-grow linear;
  animation-timeline: scroll();
}

@keyframes progress-grow {
  to { width: 100%; }
}

/* Scroll Reveal Animations */
.reveal {
  animation: slide-up linear both;
  animation-timeline: view();
  animation-range: entry 10% entry 40%;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Splash Box (Hero) */
.joint-flow-splash-box {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 2rem;
}

.joint-flow-splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(44, 62, 43, 0.9) 0%, rgba(44, 62, 43, 0.5) 100%);
  z-index: 1;
}

.joint-flow-splash-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
  color: #FFFFFF;
}

.joint-flow-splash-inner h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.joint-flow-splash-inner p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 650px;
}

/* Custom interactive pill buttons */
.joint-flow-pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  background: var(--active-sitting-gradient);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  box-shadow: var(--active-sitting-shadow);
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

.joint-flow-pill-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--active-sitting-shadow-hover);
  background: var(--active-sitting-gradient-hover);
}

/* Bento Grid System */
.joint-flow-bento-matrix {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.joint-flow-bento-cell {
  background-color: var(--active-sitting-surface-card);
  border-radius: var(--active-sitting-radius);
  padding: 2.5rem;
  box-shadow: var(--active-sitting-shadow);
  border: 1px solid rgba(8A, 110, 88, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.joint-flow-bento-cell:hover {
  transform: scale(1.02);
  box-shadow: var(--active-sitting-shadow-hover);
}

.joint-flow-bento-cell-extended {
  grid-column: span 4;
}

.joint-flow-bento-cell-slim {
  grid-column: span 2;
  background-color: var(--active-sitting-surface);
}

.joint-flow-bento-cell-half {
  grid-column: span 3;
}

.joint-flow-bento-cell-full {
  grid-column: span 6;
  background: var(--active-sitting-gradient);
  color: #FFFFFF;
  border: none;
}

.joint-flow-bento-cell-full h2, 
.joint-flow-bento-cell-full h3 {
  color: #FFFFFF;
}

.joint-flow-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(74, 124, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--active-sitting-accent);
  margin-bottom: 1.5rem;
}

.joint-flow-bento-cell-full .joint-flow-icon-circle {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.joint-flow-stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--active-sitting-accent);
  margin-bottom: 0.5rem;
}

/* Walkthrough Stepper */
.joint-flow-walkthrough {
  background-color: var(--active-sitting-surface);
  padding: 6rem 2rem;
}

.joint-flow-walkthrough-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.joint-flow-section-title-holder {
  text-align: center;
  margin-bottom: 4rem;
}

.joint-flow-section-title-holder h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.joint-flow-step-element {
  position: relative;
  background-color: var(--active-sitting-surface-card);
  padding: 3rem 2rem;
  border-radius: var(--active-sitting-radius);
  box-shadow: var(--active-sitting-shadow);
  border: 1px solid rgba(8A, 110, 88, 0.08);
}

.joint-flow-step-bg-num {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: var(--active-sitting-accent);
  opacity: 0.07;
  line-height: 1;
}

.joint-flow-step-element h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.joint-flow-step-element p {
  color: var(--active-sitting-ink-muted);
  position: relative;
  z-index: 2;
}

/* Detailed Content Section with bg2.webp */
.joint-flow-visual-backdrop-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 8rem 2rem;
  color: #FFFFFF;
}

.joint-flow-visual-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 62, 43, 0.85);
  z-index: 1;
}

.joint-flow-visual-backdrop-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.joint-flow-visual-backdrop-content h2 {
  color: #FFFFFF;
  font-size: 2.22rem;
  margin-bottom: 1.5rem;
}

.joint-flow-visual-backdrop-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Action Strip (CTA) */
.joint-flow-action-strip {
  background: var(--active-sitting-gradient);
  padding: 5rem 2rem;
  text-align: center;
  color: #FFFFFF;
}

.joint-flow-action-strip-inner {
  max-width: 800px;
  margin: 0 auto;
}

.joint-flow-action-strip-inner h2 {
  color: #FFFFFF;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.joint-flow-action-strip-inner p {
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.joint-flow-pill-button-secondary {
  background-color: var(--active-sitting-surface-card);
  color: var(--active-sitting-accent);
}

.joint-flow-pill-button-secondary:hover {
  background-color: var(--active-sitting-surface);
  color: var(--active-sitting-accent-hover);
}

/* Footer Section */
.joint-flow-page-footer {
  background-color: var(--active-sitting-ink);
  color: #FAF9F6;
  padding: 4rem 2rem 2rem;
  border-top: 4px solid var(--active-sitting-accent);
}

.joint-flow-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.joint-flow-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.joint-flow-footer-logo-box {
  max-width: 320px;
}

.joint-flow-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.joint-flow-footer-logo svg {
  color: var(--active-sitting-highlight);
}

.joint-flow-footer-links-group {
  display: flex;
  gap: 4rem;
}

.joint-flow-footer-nav h4 {
  color: var(--active-sitting-highlight);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.joint-flow-footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.joint-flow-footer-nav-links a {
  font-size: 0.9rem;
  opacity: 0.8;
}

.joint-flow-footer-nav-links a:hover {
  opacity: 1;
  color: var(--active-sitting-highlight);
}

.joint-flow-footer-disclaimer-panel {
  border-top: 1px solid rgba(250, 249, 246, 0.1);
  padding-top: 2rem;
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: center;
  line-height: 1.5;
}

.joint-flow-copyright-text {
  margin-top: 1rem;
}

/* Cookie Banner styling */
.joint-flow-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--active-sitting-ink);
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  z-index: 10000;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
  display: none;
}

.joint-flow-cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.joint-flow-cookie-buttons {
  display: flex;
  gap: 1rem;
}

.joint-flow-cookie-btn {
  padding: 0.5rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.joint-flow-cookie-accept {
  background-color: var(--active-sitting-accent);
  color: #FFFFFF;
}

.joint-flow-cookie-accept:hover {
  background-color: var(--active-sitting-accent-hover);
}

.joint-flow-cookie-decline {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.joint-flow-cookie-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Reservation Page Layout elements */
.joint-flow-reservation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.joint-flow-reservation-info-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.joint-flow-interactive-card {
  background-color: var(--active-sitting-surface-card);
  padding: 2rem;
  border-radius: var(--active-sitting-radius);
  box-shadow: var(--active-sitting-shadow);
  border-top: 4px solid var(--active-sitting-accent);
}

.joint-flow-bullet-group {
  margin-top: 1rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.joint-flow-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.joint-flow-bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--active-sitting-accent);
}

.joint-flow-form-casing {
  background-color: var(--active-sitting-surface-card);
  padding: 3rem;
  border-radius: var(--active-sitting-radius);
  box-shadow: var(--active-sitting-shadow);
}

.joint-flow-form-casing h2 {
  margin-bottom: 2rem;
}

.joint-flow-form-element {
  margin-bottom: 1.5rem;
}

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

.joint-flow-form-element input,
.joint-flow-form-element textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(8A, 110, 88, 0.3);
  font-family: var(--font-body);
  background-color: var(--active-sitting-bg);
}

.joint-flow-form-element input:focus,
.joint-flow-form-element textarea:focus {
  outline: none;
  border-color: var(--active-sitting-accent);
}

.joint-flow-form-element-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.joint-flow-form-element-checkbox input {
  width: auto;
  margin-top: 3px;
}

/* FAQ Accordion */
.joint-flow-faq-wrapper {
  max-width: 800px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.joint-flow-faq-wrapper h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.joint-flow-accordion-item {
  background-color: var(--active-sitting-surface-card);
  border-radius: var(--active-sitting-radius);
  box-shadow: var(--active-sitting-shadow);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(8A, 110, 88, 0.08);
}

.joint-flow-accordion-summary {
  padding: 1.5rem 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  outline: none;
  user-select: none;
}

.joint-flow-accordion-content {
  padding: 0 2rem 2rem;
  color: var(--active-sitting-ink-muted);
}

/* Expert Page elements */
.joint-flow-bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
  align-items: center;
}

.joint-flow-bio-img-frame {
  position: relative;
  border-radius: var(--active-sitting-radius);
  overflow: hidden;
  box-shadow: var(--active-sitting-shadow);
  aspect-ratio: 4/5;
}

.joint-flow-bio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.joint-flow-bio-text h2 {
  font-size: 2.22rem;
  margin-bottom: 1.5rem;
}

.joint-flow-bio-text h3 {
  color: var(--active-sitting-accent);
  margin-bottom: 1rem;
}

.joint-flow-bio-text p {
  color: var(--active-sitting-ink-muted);
  margin-bottom: 1rem;
}

/* Thank You & Legal Page styles */
.joint-flow-standalone-box {
  max-width: 800px;
  margin: 6rem auto;
  padding: 0 2rem;
  min-height: 50vh;
}

.joint-flow-standalone-box-centered {
  text-align: center;
}

.joint-flow-standalone-box h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.joint-flow-standalone-box p {
  margin-bottom: 1.5rem;
  color: var(--active-sitting-ink-muted);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .joint-flow-nav-btn {
    display: flex;
    z-index: 1001;
  }

  .joint-flow-navigation-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--active-sitting-surface-card);
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  }

  .joint-flow-nav-checkbox:checked ~ .joint-flow-navigation-links {
    right: 0;
  }

  .joint-flow-nav-checkbox:checked ~ .joint-flow-nav-btn span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .joint-flow-nav-checkbox:checked ~ .joint-flow-nav-btn span:nth-child(2) {
    opacity: 0;
  }

  .joint-flow-nav-checkbox:checked ~ .joint-flow-nav-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .joint-flow-steps-layout,
  .joint-flow-reservation-layout,
  .joint-flow-bio-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .joint-flow-form-casing {
    padding: 2rem;
  }

  .joint-flow-footer-links-group {
    gap: 2rem;
    flex-wrap: wrap;
  }
}