:root {
  /* THEME: LIGHT, PALETTE: Emerald (Health/Músculos) & Amber Gold (Movimiento) */
  --joint-wellness-bg: #f9fbf7;         /* Soft greenish-cream */
  --joint-wellness-bg-alt: #f0f4ee;     /* Warm greyish-green */
  --joint-wellness-surface: #ffffff;    /* Pure crisp layout surfaces */
  --joint-wellness-emerald: #1e4d34;    /* Rich organic deep green */
  --joint-wellness-emerald-light: #e2f0e6; /* Active light teal background tint */
  --joint-wellness-gold: #c27d13;       /* Balanced gold amber */
  --joint-wellness-gold-light: #fdf5e6;  /* Soft golden glow backplate */
  --joint-wellness-ink: #1a251f;        /* Highly readable dark organic slate */
  --joint-wellness-ink-muted: #536357;  /* Soft supporting content gray */
  
  /* FONTS Choice: Montserrat (Headings) / Poppins (Body) */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* VISUAL PARAMS */
  --joint-border-radius-soft: 16px;
  --joint-shadow-raised: 0 10px 15px -3px rgba(30, 77, 52, 0.05), 0 4px 6px -2px rgba(30, 77, 52, 0.03);
  --joint-shadow-hover: 0 20px 25px -5px rgba(30, 77, 52, 0.1), 0 10px 10px -5px rgba(30, 77, 52, 0.04);
}

/* BASE RULES & LAYOUT */
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* HEADER COMPONENT */
.joint-wellness-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--joint-wellness-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--joint-wellness-bg-alt);
}
.joint-logo-wrapper img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}
.joint-nav-list {
  gap: 1.5rem;
}
.joint-nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--joint-wellness-ink);
  transition: color 0.2s ease-in-out;
}
.joint-nav-list a:hover {
  color: var(--joint-wellness-emerald);
}
.joint-nav-cta-link {
  padding: 0.5rem 1rem;
  background-color: var(--joint-wellness-emerald);
  color: var(--joint-wellness-surface) !important;
  border-radius: var(--joint-border-radius-soft);
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}
.joint-nav-cta-link:hover {
  background-color: var(--joint-wellness-gold) !important;
  transform: translateY(-2px);
}

/* CSS-ONLY BURGER MENU */
.joint-menu-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.joint-menu-burger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--joint-wellness-ink);
  border-radius: 2px;
  transition: 0.25s ease-in-out;
}

/* MOBILE NAV SUPPORTED VIA INLINE MEDIA QUERIES BELOW */

/* HERO ELEMENTS */
.joint-main-title {
  font-size: 2.25rem;
}
@media (min-width: 768px) {
  .joint-main-title {
    font-size: 3rem;
  }
}
.articular-action-trigger {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--joint-wellness-gold);
  color: var(--joint-wellness-surface);
  border-radius: var(--joint-border-radius-soft);
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: var(--joint-shadow-raised);
}
.articular-action-trigger:hover {
  background-color: var(--joint-wellness-emerald);
  transform: translateY(-3px);
}

/* TIMELINE (PRESET B) */
.joint-timeline-track {
  border-left: 2px dashed var(--joint-wellness-emerald-light);
}
.joint-timeline-node {
  margin-bottom: 2rem;
}
.joint-timeline-num-circle {
  position: absolute;
  left: -42px;
  top: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 0 6px var(--joint-wellness-bg-alt);
}
@media (min-width: 768px) {
  .joint-timeline-num-circle {
    left: -74px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}
.joint-timeline-content {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.joint-timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--joint-shadow-hover);
}

/* BADGES AND BULLETS */
.joint-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  border-radius: 999px;
  text-transform: uppercase;
}
.joint-bullet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

/* CTA STRIP PRESET B STYLE */
.joint-cta-link-underline {
  border-bottom: 2px solid var(--joint-wellness-emerald);
  transition: color 0.2s, border-color 0.2s;
}
.joint-cta-link-underline:hover {
  color: var(--joint-wellness-gold);
  border-color: var(--joint-wellness-gold);
}

/* TESTIMONIALS BLOCKQUOTES */
.joint-wide-blockquote::before {
  content: '“';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 8rem;
  font-family: var(--font-display);
  color: var(--joint-wellness-emerald);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}

/* FAQ STACKS */
.joint-faq-node {
  transition: transform 0.22s ease-in-out;
}
.joint-faq-node:hover {
  transform: scale(1.015);
}
.joint-faq-bg-num {
  position: absolute;
  right: 15px;
  bottom: -15px;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 900;
  color: var(--joint-wellness-emerald);
  opacity: 0.05;
  pointer-events: none;
}

/* LEAD CAPTURE FORM CONTROLS */
.joint-form-input:focus {
  border-color: var(--joint-wellness-emerald) !important;
  box-shadow: 0 0 0 2px var(--joint-wellness-emerald-light);
}
.joint-submit-trigger {
  transition: background-color 0.2s, transform 0.2s;
}
.joint-submit-trigger:shadow-hover {
  background-color: var(--joint-wellness-emerald);
}
.joint-submit-trigger:hover {
  background-color: var(--joint-wellness-emerald);
  transform: translateY(-2px);
}

/* SCROLL REVEAL ANIMATIONS (CSS Only - Standard requirement) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.articular-scroll-reveal {
  animation: fadeInUp 0.7s ease-out both;
  animation-timeline: view();
  animation-range: entry 5% cover 25%;
}

/* MOBILE MEDIA ADAPTATIONS */
@media (max-width: 767px) {
  /* Hamburger trigger integration */
  .joint-menu-burger {
    display: flex;
  }
  .joint-nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--joint-wellness-bg);
    border-bottom: 2px solid var(--joint-wellness-bg-alt);
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
  }
  .joint-menu-checkbox:checked ~ .joint-nav-list {
    display: flex;
  }
  .joint-menu-checkbox:checked ~ .joint-menu-burger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .joint-menu-checkbox:checked ~ .joint-menu-burger span:nth-child(2) {
    opacity: 0;
  }
  .joint-menu-checkbox:checked ~ .joint-menu-burger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}