/* THEMATIC CSS VARIABLES - JOINT & MUSCLE WELLNESS CONCEPT */
:root {
  --artic-wellness-canvas: #fcfbf8;
  --artic-wellness-sheet: #ffffff;
  --artic-wellness-charcoal: #1a231f;
  --artic-wellness-leaf: #235238;
  --artic-wellness-leaf-hover: #173b27;
  --artic-wellness-gold: #c3843d;
  --artic-wellness-gold-rgb: 195, 132, 61;
  --artic-wellness-mint: #eef5f1;
  --artic-wellness-shadow-tint: rgba(35, 82, 56, 0.08);
  --artic-wellness-gradient: linear-gradient(135deg, #235238 0%, #153523 100%);
  --artic-wellness-glow: 0 8px 30px var(--artic-wellness-shadow-tint);
  --artic-radius-soft: 16px;
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Barlow', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* BASE RESET & CONFIGURATION */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--artic-wellness-canvas);
  color: var(--artic-wellness-charcoal);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* SCROLL PROGRESS INDICATOR (PRESET I) */
@keyframes progress-grow {
  to { width: 100%; }
}
.joint-flow-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--artic-wellness-gold);
  z-index: 10000;
  animation: progress-grow linear;
  animation-timeline: scroll();
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--artic-wellness-charcoal);
}

p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: rgb(50, 65, 58);
}

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

/* HEADER PART (COMMON DESIGN) */
.joint-flow-navigation-strip {
  position: sticky;
  top: 0;
  background: var(--artic-wellness-sheet);
  border-bottom: 1px solid var(--artic-wellness-mint);
  z-index: 999;
  box-shadow: 0 2px 15px rgba(0,0,0,0.03);
  padding: 1rem 2rem;
}

.joint-flow-navigation-box-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.joint-flow-logo-anchor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--artic-wellness-leaf);
}

.joint-flow-logo-anchor svg {
  width: 32px;
  height: 32px;
  fill: var(--artic-wellness-gold);
}

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

.joint-flow-nav-option-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--artic-wellness-charcoal);
  position: relative;
  padding: 0.5rem 0;
}

.joint-flow-nav-option-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--artic-wellness-gold);
  transition: width 0.3s ease;
}

.joint-flow-nav-option-link:hover::after,
.joint-flow-nav-option-link.is-active::after {
  width: 100%;
}

.joint-flow-nav-option-link:hover {
  color: var(--artic-wellness-leaf);
}

/* MOBILE NAV WITH SYSTEM CHECKBOX */
.joint-flow-hamburger-trigger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.joint-flow-hamburger-trigger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--artic-wellness-leaf);
  transition: all 0.3s ease;
}

.joint-flow-menu-toggle-input {
  display: none;
}

/* HERO SEGMENTS */
.artic-intro-banner {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10dvh 2rem;
}

.artic-intro-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 35, 31, 0.9) 30%, rgba(26, 35, 31, 0.5) 100%);
  z-index: 1;
}

.artic-intro-banner-content-box {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin-right: auto;
  z-index: 2;
  color: var(--artic-wellness-canvas);
}

.artic-intro-banner-content-box h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.artic-intro-banner-content-box p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--artic-wellness-mint);
  margin-bottom: 2.5rem;
  max-width: 650px;
}

/* BUTTONS / TRIGGERS */
.artic-action-trigger-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background-color: var(--artic-wellness-gold);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--artic-radius-soft);
  box-shadow: 0 6px 20px rgba(195, 132, 61, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.artic-action-trigger-pill:hover {
  background-color: #b0722f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(195, 132, 61, 0.4);
}

.artic-action-trigger-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--artic-wellness-leaf);
  font-weight: 700;
  border: 2px solid var(--artic-wellness-leaf);
  border-radius: var(--artic-radius-soft);
  cursor: pointer;
  transition: all 0.3s ease;
}

.artic-action-trigger-outline:hover {
  background-color: var(--artic-wellness-leaf);
  color: #ffffff;
}

/* SECTION PADDINGS AND BASICS */
.artic-reveal-segment {
  padding: 10dvh 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* SCROLL REVEAL (PRESET I SPECIFIC) */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  animation: slide-up 0.6s linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }
}

/* BENTO GRID STYLING (PRESET I) */
.artic-bento-grid-cluster {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.artic-bento-leaf-panel {
  grid-column: span 4;
  background: var(--artic-wellness-gradient);
  color: #ffffff;
  padding: 2.5rem;
  border-radius: var(--artic-radius-soft);
  box-shadow: var(--artic-wellness-glow);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.artic-bento-leaf-panel h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.artic-bento-leaf-panel p {
  color: var(--artic-wellness-mint);
}

.artic-bento-gold-panel {
  grid-column: span 2;
  background: var(--artic-wellness-gold);
  color: #ffffff;
  padding: 2.5rem;
  border-radius: var(--artic-radius-soft);
  box-shadow: var(--artic-wellness-glow);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.artic-bento-gold-panel .stat-huge {
  font-size: 4rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.artic-bento-flat-panel {
  grid-column: span 3;
  background: var(--artic-wellness-sheet);
  border: 1px solid var(--artic-wellness-mint);
  padding: 2.5rem;
  border-radius: var(--artic-radius-soft);
  box-shadow: var(--artic-wellness-glow);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.artic-bento-flat-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--artic-wellness-leaf);
}

.artic-bento-wide-panel {
  grid-column: span 6;
  background: var(--artic-wellness-sheet);
  border: 1px solid var(--artic-wellness-mint);
  padding: 2.5rem;
  border-radius: var(--artic-radius-soft);
  box-shadow: var(--artic-wellness-glow);
  transition: transform 0.3s ease;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.artic-bento-grid-cluster > div:hover {
  transform: scale(1.02);
}

.artic-bento-panel-icon {
  width: 48px;
  height: 48px;
  fill: var(--artic-wellness-gold);
  margin-bottom: 1rem;
}

.artic-bento-wide-panel .artic-bento-panel-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* SECTIONS ALONG INDEX/EXPERT */
.artic-generic-flex-row {
  display: flex;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.artic-generic-flex-row > div {
  flex: 1;
}

.artic-generic-flex-row img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--artic-radius-soft);
  box-shadow: var(--artic-wellness-glow);
}

/* HOW IT WORKS (3 STEPS) */
.artic-timeline-section {
  background-color: var(--artic-wellness-mint);
  padding: 10dvh 2rem;
}

.artic-timeline-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.artic-timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.artic-timeline-node {
  background: var(--artic-wellness-sheet);
  padding: 3rem 2rem;
  border-radius: var(--artic-radius-soft);
  box-shadow: var(--artic-wellness-glow);
  position: relative;
}

.artic-timeline-node::before {
  content: attr(data-step);
  position: absolute;
  top: -2.5rem;
  left: 2rem;
  font-size: 5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--artic-wellness-gold);
  opacity: 0.15;
}

.artic-timeline-node h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--artic-wellness-leaf);
  position: relative;
  z-index: 1;
}

.artic-timeline-node p {
  position: relative;
  z-index: 1;
}

/* BG2.WEBP OUTLINE SECTION */
.artic-outreach-banner {
  position: relative;
  padding: 12dvh 2rem;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artic-outreach-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(35, 82, 56, 0.85);
  z-index: 1;
}

.artic-outreach-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  color: #ffffff;
}

.artic-outreach-banner-content h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.artic-outreach-banner-content p {
  color: var(--artic-wellness-mint);
  margin-bottom: 2rem;
}

/* EXPERT BIO SECTION */
.expert-profile-split {
  display: flex;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.expert-profile-picture-container {
  flex: 1;
  max-width: 500px;
}

.expert-profile-picture-container img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: var(--artic-radius-soft);
  box-shadow: var(--artic-wellness-glow);
}

.expert-profile-text-container {
  flex: 1.2;
}

.expert-profile-text-container h2 {
  font-size: 2.2rem;
  color: var(--artic-wellness-leaf);
  margin-bottom: 1rem;
}

.expert-profile-text-container h3 {
  font-size: 1.2rem;
  color: var(--artic-wellness-gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* RESERVATION SYSTEM */
.artic-booking-layout {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-top: 3rem;
}

.artic-booking-info-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.artic-booking-single-card {
  background: var(--artic-wellness-sheet);
  border: 1px solid var(--artic-wellness-mint);
  padding: 2rem;
  border-radius: var(--artic-radius-soft);
  box-shadow: var(--artic-wellness-glow);
}

.artic-booking-single-card h3 {
  font-size: 1.3rem;
  color: var(--artic-wellness-leaf);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.artic-booking-single-card svg {
  width: 24px;
  height: 24px;
  fill: var(--artic-wellness-gold);
}

.artic-booking-single-card ul {
  list-style: none;
  margin-top: 1rem;
}

.artic-booking-single-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.artic-booking-single-card ul li::before {
  content: '•';
  color: var(--artic-wellness-gold);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.25rem;
}

.artic-booking-form-panel {
  flex: 1.2;
  background: var(--artic-wellness-sheet);
  border: 1px solid var(--artic-wellness-mint);
  padding: 3rem;
  border-radius: var(--artic-radius-soft);
  box-shadow: var(--artic-wellness-glow);
}

/* FORM FIELDS */
.artic-form-group {
  margin-bottom: 1.5rem;
}

.artic-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--artic-wellness-charcoal);
}

.artic-form-group input[type="text"],
.artic-form-group input[type="tel"],
.artic-form-group input[type="email"],
.artic-form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--artic-wellness-mint);
  border-radius: var(--artic-radius-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--artic-wellness-charcoal);
  background: var(--artic-wellness-canvas);
  transition: border-color 0.3s ease;
}

.artic-form-group input:focus,
.artic-form-group textarea:focus {
  outline: none;
  border-color: var(--artic-wellness-leaf);
}

.artic-form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.4;
}

.artic-form-checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
}

/* FAQ STYLING (CSS ONLY) */
.artic-faq-section {
  margin-top: 6rem;
}

.artic-faq-accordion-box {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.artic-faq-item-row {
  background: var(--artic-wellness-sheet);
  border: 1px solid var(--artic-wellness-mint);
  border-radius: var(--artic-radius-soft);
  overflow: hidden;
}

.artic-faq-checkbox {
  display: none;
}

.artic-faq-question-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--artic-wellness-leaf);
  user-select: none;
}

.artic-faq-question-label::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--artic-wellness-gold);
  transition: transform 0.3s ease;
}

.artic-faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 2rem;
  background: var(--artic-wellness-canvas);
  border-top: 1px solid transparent;
}

.artic-faq-answer-content p {
  margin: 1rem 0;
  font-size: 0.95rem;
}

.artic-faq-checkbox:checked + .artic-faq-question-label::after {
  transform: rotate(45deg);
}

.artic-faq-checkbox:checked ~ .artic-faq-answer-content {
  max-height: 250px;
  padding: 0.5rem 2rem 1.5rem 2rem;
  border-top: 1px solid var(--artic-wellness-mint);
}

/* LEGAL PAGES & THANK YOU */
.legal-main-container {
  min-height: 100vh;
  padding: 10dvh 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-main-container h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--artic-wellness-leaf);
}

.legal-main-container section {
  margin-bottom: 2.5rem;
}

.legal-main-container h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--artic-wellness-gold);
}

.thanks-centralized-pane {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.thanks-centralized-pane img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: var(--artic-radius-soft);
  margin-bottom: 2.5rem;
}

.thanks-centralized-pane h1 {
  font-size: 3rem;
  color: var(--artic-wellness-leaf);
  margin-bottom: 1rem;
}

.thanks-centralized-pane p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* FOOTER PART */
.joint-flow-footer-strip {
  background: var(--artic-wellness-charcoal);
  color: var(--artic-wellness-mint);
  padding: 5rem 2rem 2rem 2rem;
  font-size: 0.9rem;
  border-top: 4px solid var(--artic-wellness-gold);
}

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

.joint-flow-footer-main-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.joint-flow-footer-branding-block svg {
  width: 40px;
  height: 40px;
  fill: var(--artic-wellness-gold);
  margin-bottom: 1rem;
}

.joint-flow-footer-branding-block h2 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.joint-flow-footer-links-block h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.joint-flow-footer-links-block ul {
  list-style: none;
}

.joint-flow-footer-links-block ul li {
  margin-bottom: 0.75rem;
}

.joint-flow-footer-links-block ul li a:hover {
  color: var(--artic-wellness-gold);
}

.joint-flow-footer-disclaimer-card {
  border-top: 1px solid rgba(238,245,241,0.1);
  padding-top: 2rem;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(238,245,241,0.6);
}

.joint-flow-footer-copyright-line {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(238,245,241,0.1);
  padding-top: 1.5rem;
  color: rgba(238,245,241,0.4);
}

/* COOKIE BANNER (ONLY ON INDEX) */
.joint-flow-cookie-shelf {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--artic-wellness-sheet);
  border-top: 2px solid var(--artic-wellness-mint);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
  z-index: 9999;
  padding: 1.5rem 2rem;
  display: none;
}

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

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

.joint-flow-cookie-btn-accept {
  padding: 0.75rem 1.5rem;
  background: var(--artic-wellness-leaf);
  color: #ffffff;
  border: none;
  border-radius: var(--artic-radius-soft);
  font-weight: 600;
  cursor: pointer;
}

.joint-flow-cookie-btn-decline {
  padding: 0.75rem 1.5rem;
  background: var(--artic-wellness-mint);
  color: var(--artic-wellness-charcoal);
  border: none;
  border-radius: var(--artic-radius-soft);
  font-weight: 600;
  cursor: pointer;
}

/* RESPONSIVE DESIGN - MEDIA QUERIES */
@media (max-width: 992px) {
  .artic-bento-grid-cluster {
    grid-template-columns: 1fr;
  }
  
  .artic-bento-leaf-panel,
  .artic-bento-gold-panel,
  .artic-bento-flat-panel,
  .artic-bento-wide-panel {
    grid-column: span 6;
  }
  
  .artic-bento-wide-panel {
    flex-direction: column;
    text-align: center;
  }
  
  .artic-generic-flex-row {
    flex-direction: column;
  }
  
  .artic-timeline-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .expert-profile-split {
    flex-direction: column;
    text-align: center;
  }
  
  .expert-profile-picture-container {
    max-width: 100%;
  }
  
  .artic-booking-layout {
    flex-direction: column;
  }
  
  .artic-booking-info-cards,
  .artic-booking-form-panel {
    width: 100%;
  }
  
  .joint-flow-footer-main-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .joint-flow-nav-options {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background: var(--artic-wellness-sheet);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2.5rem;
    transition: left 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  
  .joint-flow-hamburger-trigger {
    display: flex;
  }
  
  .joint-flow-menu-toggle-input:checked ~ .joint-flow-nav-options {
    left: 0;
  }
  
  .joint-flow-menu-toggle-input:checked ~ .joint-flow-hamburger-trigger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .joint-flow-menu-toggle-input:checked ~ .joint-flow-hamburger-trigger span:nth-child(2) {
    opacity: 0;
  }
  
  .joint-flow-menu-toggle-input:checked ~ .joint-flow-hamburger-trigger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  
  .joint-flow-cookie-shelf-inner {
    flex-direction: column;
    text-align: center;
  }
}