/* THEME CREATED EXCLUSIVELY FOR MOVIMIENTO LIBRE - HEALTHY LIFESTYLE */
:root {
  --joint-bg: #FAFAF9; /* Warm, very light background representing lightness and clean energy */
  --joint-surface: #FFFFFF;
  --joint-ink: #1C1917; /* Slate dark slate representing grounded stability */
  --joint-ink-muted: #6B6661;
  --joint-accent: #0D9488; /* Active teal representing joints, fluidity, hydration and motion */
  --joint-accent-light: #CCFBF1;
  --joint-accent-dark: #115E59;
  --joint-border: #E7E5E4;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Preset Radius */
  --joint-radius: 16px; /* Soft borders as specified */
}

/* Scroll Progress Tracker */
@keyframes progress-grow {
  to { width: 100%; }
}

/* Global resets and standards */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body.joint-body-layout {
  background-color: var(--joint-bg);
  color: var(--joint-ink);
  font-family: var(--font-body);
  line-height: 1.62;
  overflow-x: hidden;
}

/* Common Text Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

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

/* Header Navbar Styles */
.joint-header-bar {
  background-color: var(--joint-surface);
  border-bottom: 1px solid var(--joint-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

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

.joint-logo-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.joint-logo-icon {
  flex-shrink: 0;
}

.joint-logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--joint-ink);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

/* CSS-only Hamburger Menu */
.joint-menu-checkbox {
  display: none;
}

.joint-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1002;
}

.joint-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--joint-ink);
  transition: all 0.3s ease;
}

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

.joint-nav-item {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--joint-ink-muted);
  padding: 0.4rem 0px;
}

.joint-nav-item:hover,
.joint-nav-item.active {
  color: var(--joint-accent);
  border-bottom: 2px solid var(--joint-accent);
}

/* HERO SECTION (Preset H: Word-by-word bold layout) */
.joint-hero-stage {
  padding: 14dvh 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  min-height: 85vh;
}

.joint-hero-content-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.motion-hero-heading {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.motion-word-left {
  display: block;
  text-align: left;
  margin-left: 5%;
}

.motion-word-right {
  display: block;
  text-align: right;
  margin-right: 5%;
}

.motion-highlight-accent {
  color: var(--joint-accent);
  text-decoration: underline;
  text-decoration-color: var(--joint-accent-light);
}

.joint-hero-subtitle {
  font-size: 1.25rem;
  color: var(--joint-ink-muted);
  max-width: 680px;
  margin: 2rem auto;
  line-height: 1.6;
}

.joint-hero-cta-holder {
  margin-top: 2rem;
}

/* Button Pill Style */
.joint-action-link-pill {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--joint-accent);
  color: var(--joint-surface);
  border-radius: var(--joint-radius);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.joint-action-link-pill:hover {
  background-color: var(--joint-accent-dark);
  transform: translateY(-2px);
}

.joint-action-link-pill.light-style {
  background-color: var(--joint-surface);
  color: var(--joint-ink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.joint-action-link-pill.light-style:hover {
  background-color: var(--joint-bg);
}

.joint-action-link-pill.outline-style {
  background-color: transparent;
  border: 2px solid var(--joint-surface);
  color: var(--joint-surface);
  box-shadow: none;
}

.joint-action-link-pill.outline-style:hover {
  background-color: var(--joint-surface);
  color: var(--joint-ink);
}

.joint-action-link-pill.block-style {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
  text-align: center;
}

/* CONTENT SECTION (Preset H: 3-column masonry list of text) */
.joint-editorial-block {
  padding: 10dvh 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-editorial-title-box {
  text-align: center;
  margin-bottom: 4rem;
}

.joint-overline {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--joint-accent);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.joint-overline-light {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--joint-accent-light);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.joint-main-title {
  font-size: 2.2rem;
  font-weight: 900;
}

.joint-masonry-pillars {
  columns: 3;
  column-gap: 3rem;
  column-rule: 1px solid var(--joint-border);
  margin-bottom: 6rem;
}

.joint-masonry-item {
  break-inside: avoid;
  margin-bottom: 2rem;
}

.joint-pillar-heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.joint-pillar-text {
  font-size: 0.95rem;
  color: var(--joint-ink-muted);
  margin-bottom: 1.5rem;
}

.joint-pillar-decor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--joint-accent);
  border-radius: 50%;
}

/* Parallax Banner with bg2.webp */
.joint-banner-parallax {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: var(--joint-radius);
  overflow: hidden;
  padding: 8dvh 3rem;
  text-align: center;
}

.joint-parallax-interior {
  max-width: 800px;
  margin: 0 auto;
  color: var(--joint-surface);
}

.joint-parallax-heading {
  font-size: 2.22rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.joint-parallax-sub {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* FEATURES SECTION (Preset H: Inline manifesto-lines) */
.joint-manifesto-strip {
  border-top: 1px solid var(--joint-border);
  border-bottom: 1px solid var(--joint-border);
  padding: 10dvh 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-manifesto-list {
  max-width: 900px;
  margin: 0 auto;
}

.joint-manifesto-row {
  display: flex;
  align-items: baseline;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--joint-border);
}

.joint-manifesto-row:last-child {
  border-bottom: none;
}

.joint-manifesto-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--joint-accent);
  width: 60px;
  flex-shrink: 0;
}

.joint-manifesto-title {
  font-size: 1.25rem;
  font-weight: 700;
  width: 250px;
  flex-shrink: 0;
  margin-right: 2rem;
}

.joint-manifesto-desc {
  font-size: 0.95rem;
  color: var(--joint-ink-muted);
  flex-grow: 1;
}

/* HOW IT WORKS (Preset H: rotated step-numbers with asymmetrical margins) */
.joint-steps-asymmetry-block {
  padding: 10dvh 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-steps-asym-row {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
}

.joint-step-asym-card {
  flex: 1;
  position: relative;
  padding: 2rem;
  background-color: var(--joint-surface);
  border-radius: var(--joint-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

.joint-step-bg-num {
  font-family: var(--font-display);
  font-size: 6.5rem;
  font-weight: 900;
  color: var(--joint-accent);
  opacity: 0.12;
  position: absolute;
  top: -20px;
  right: 15px;
  transform: rotate(-10deg);
  line-height: 1;
}

.joint-step-content {
  position: relative;
  z-index: 2;
}

.joint-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.joint-step-text {
  font-size: 0.92rem;
  color: var(--joint-ink-muted);
}

/* CTA STRIP (Preset H: Typographical style, left slogan, right ghost button) */
.joint-asym-cta-banner {
  background-color: var(--joint-ink);
  color: var(--joint-surface);
  padding: 8dvh 2rem;
}

.joint-asym-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.joint-asym-cta-text-side {
  max-width: 700px;
}

.joint-asym-cta-slogan {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.joint-asym-cta-sub {
  font-size: 1.1rem;
  opacity: 0.85;
}

/* EXPERT MINIMAL HERO */
.joint-hero-stage-mini {
  padding: 10dvh 2rem;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--joint-surface);
}

.joint-hero-inner-mini {
  max-width: 800px;
  margin: 0 auto;
}

.joint-mini-hero-heading {
  font-size: 2.5rem;
}

/* EXPERT EDITORIAL BIO */
.joint-editorial-block-asym {
  padding: 10dvh 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-asym-bio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.joint-bio-sub-heading {
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
}

.joint-bio-paragraph-drop {
  font-size: 1.1rem;
  color: var(--joint-ink);
  margin-bottom: 1.5rem;
}

.joint-drop-cap {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  float: left;
  line-height: 0.8;
  padding-right: 10px;
  color: var(--joint-accent);
}

.joint-bio-paragraph {
  font-size: 0.95rem;
  color: var(--joint-ink-muted);
  margin-bottom: 2rem;
}

/* PLAIN TEXT STATS */
.joint-plain-stats-strip {
  padding: 10dvh 2rem;
  background-color: var(--joint-surface);
}

.joint-plain-stats-row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.joint-plain-stat-item {
  flex: 1;
  text-align: center;
}

.joint-plain-stat-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  display: block;
  color: var(--joint-accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.joint-plain-stat-label {
  font-size: 0.95rem;
  color: var(--joint-ink-muted);
}

/* RESERVE PAGE */
.joint-reserve-block {
  padding: 10dvh 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-reserve-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.joint-reserve-title {
  font-size: 2.8rem;
}

.joint-reserve-intro {
  font-size: 1.1rem;
  color: var(--joint-ink-muted);
}

.joint-asym-reserve-container {
  max-width: 640px;
  margin: 0 auto 4rem auto;
  background-color: var(--joint-surface);
  padding: 3rem;
  border-radius: var(--joint-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

/* Underline-only inputs styles */
.joint-underline-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.joint-form-field {
  position: relative;
}

.joint-input-underline {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--joint-border);
  padding: 0.8rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--joint-ink);
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
}

.joint-input-underline:focus {
  border-bottom: 2px solid var(--joint-accent);
}

.joint-input-underline.textarea {
  resize: none;
}

.joint-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.joint-checkbox-custom {
  margin-top: 0.3rem;
  accent-color: var(--joint-accent);
}

.joint-consent-label {
  font-size: 0.85rem;
  color: var(--joint-ink-muted);
}

.joint-consent-label a {
  text-decoration: underline;
  color: var(--joint-accent);
}

.joint-contact-direct {
  text-align: center;
  margin-top: 1.5rem;
  border-top: 1px dashed var(--joint-border);
  padding-top: 1.5rem;
}

.joint-direct-label {
  font-size: 0.85rem;
  color: var(--joint-ink-muted);
  margin-bottom: 0.4rem;
}

.joint-direct-email {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--joint-accent);
}

/* Reserve Side Cards under Form */
.joint-form-side-cards-holder {
  max-width: 640px;
  margin: 0 auto 4rem auto;
}

.joint-side-info-card {
  background-color: var(--joint-surface);
  padding: 2.5rem;
  border-radius: var(--joint-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.02);
}

.joint-card-icon {
  margin-bottom: 1rem;
}

.joint-side-card-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.joint-side-card-text {
  font-size: 0.95rem;
  color: var(--joint-ink-muted);
  margin-bottom: 1.5rem;
}

.joint-side-card-list {
  list-style: none;
}

.joint-side-card-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.joint-bullet-circle {
  width: 6px;
  height: 6px;
  background-color: var(--joint-accent);
  border-radius: 50%;
  display: inline-block;
}

/* FAQ SECTION (Accordion) */
.joint-faq-asym-section {
  max-width: 800px;
  margin: 6rem auto 0 auto;
}

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

.joint-faq-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.joint-faq-item {
  border-bottom: 1px solid var(--joint-border);
  padding-bottom: 1.5rem;
}

.joint-faq-item:last-child {
  border-bottom: none;
}

.joint-faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.joint-faq-answer {
  font-size: 0.95rem;
  color: var(--joint-ink-muted);
}

/* LEGAL TEXT PAGES */
.joint-legal-text-stage {
  padding: 10dvh 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.joint-legal-main-title {
  font-size: 2.5rem;
  margin-bottom: 0.4rem;
}

.joint-legal-updated {
  font-size: 0.9rem;
  color: var(--joint-ink-muted);
  margin-bottom: 3rem;
}

.joint-legal-section-block {
  margin-bottom: 2.5rem;
}

.joint-legal-section-block h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.joint-legal-section-block p {
  font-size: 0.95rem;
  color: var(--joint-ink-muted);
  margin-bottom: 1rem;
}

/* THANK YOU PAGE */
.joint-thank-container {
  padding: 15dvh 2rem;
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.joint-thank-inner-box {
  background-color: var(--joint-surface);
  border-radius: var(--joint-radius);
  padding: 4rem 3rem;
  text-align: center;
  max-width: 680px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.05);
}

.joint-thank-heading {
  font-size: 2.4rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.joint-thank-text {
  font-size: 1.1rem;
  color: var(--joint-ink-muted);
  margin-bottom: 2.5rem;
}

/* FOOTER STYLES */
.joint-footer-shield {
  background-color: var(--joint-ink);
  color: var(--joint-surface);
  padding: 6rem 2rem 3rem 2rem;
}

.joint-footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

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

.joint-footer-links-box {
  display: flex;
  gap: 2rem;
}

.joint-footer-link {
  font-size: 0.85rem;
  color: #D6D3D1;
}

.joint-footer-link:hover {
  color: var(--joint-accent);
}

.joint-footer-divider {
  border: none;
  border-top: 1px solid #44403C;
  margin: 3rem 0;
}

.joint-footer-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.joint-disclaimer {
  font-size: 0.8rem;
  color: #A8A29E;
  line-height: 1.6;
}

.joint-copyright {
  font-size: 0.8rem;
  color: #78716C;
}

/* COOKIE BANNER STYLE */
.joint-cookie-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--joint-ink);
  color: var(--joint-surface);
  padding: 1.5rem 2rem;
  z-index: 9999;
  border-top: 2px solid var(--joint-accent);
  display: none;
}

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

.joint-cookie-text {
  font-size: 0.85rem;
  color: #D6D3D1;
  max-width: 850px;
}

.joint-cookie-btn-group {
  display: flex;
  gap: 1rem;
}

.joint-cookie-btn {
  padding: 0.6rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.joint-cookie-btn.accept {
  background-color: var(--joint-accent);
  color: var(--joint-surface);
}

.joint-cookie-btn.accept:hover {
  background-color: var(--joint-accent-dark);
}

.joint-cookie-btn.decline {
  background-color: transparent;
  color: #A8A29E;
  border: 1px solid #78716C;
}

.joint-cookie-btn.decline:hover {
  background-color: rgba(255,255,255,0.05);
  color: var(--joint-surface);
}

/* RESPONSIVENESS AND COLLAPSIBLES */
@media (max-width: 992px) {
  .joint-masonry-pillars {
    columns: 2;
  }
  .joint-plain-stats-row {
    flex-direction: column;
    gap: 3rem;
  }
  .joint-asym-bio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .motion-hero-heading {
    font-size: 2.5rem;
  }
  .joint-masonry-pillars {
    columns: 1;
  }
  .joint-manifesto-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .joint-manifesto-title {
    width: 100%;
  }
  .joint-steps-asym-row {
    flex-direction: column;
    gap: 2rem;
  }
  .joint-step-asym-card {
    margin-top: 0 !important;
  }
  .joint-asym-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .joint-asym-cta-slogan {
    font-size: 1.8rem;
  }
  .joint-header-inner {
    padding: 1rem 1.5rem;
  }

  /* Mobile menu implementation */
  .joint-menu-btn {
    display: flex;
  }
  .joint-nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--joint-surface);
    flex-direction: column;
    gap: 2rem;
    padding-top: 3rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
  }
  .joint-menu-checkbox:checked ~ .joint-nav-links {
    transform: translateX(0);
  }
  .joint-menu-checkbox:checked ~ .joint-menu-btn span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .joint-menu-checkbox:checked ~ .joint-menu-btn span:nth-child(2) {
    opacity: 0;
  }
  .joint-menu-checkbox:checked ~ .joint-menu-btn span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .joint-asym-reserve-container {
    padding: 1.5rem;
  }
  .joint-footer-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .joint-footer-links-box {
    flex-direction: column;
    gap: 0.8rem;
  }
}