/* --- CUSTOM COLOR PALETTE (Light Theme - Medical/Healthy Vibe) --- */
:root {
  --cartilage-bg: #FAFAF9;                /* Warm soft cream-white background */
  --cartilage-surface: #FFFFFF;           /* Core component blocks solid white */
  --cartilage-surface-alt: #E6F3F1;       /* Light teal-grey accent surface */
  
  --cartilage-action: #0F766E;            /* Dark mint/teal for main links, primary tone */
  --cartilage-action-hover: #115E59;      /* Darker shade of teal for interactive hover states */
  --cartilage-accent: #D97706;            /* Accent warm amber for highlights and trust indicators */
  
  --cartilage-ink: #1F2937;               /* Very deep slate grey for high readability */
  --cartilage-ink-muted: #4B5563;         /* Medium slate grey for paragraphs */
  
  --cartilage-gradient: linear-gradient(135deg, #0F766E 0%, #115E59 100%);
  --cartilage-gradient-light: linear-gradient(135deg, #E6F3F1 0%, #FAFAF9 100%);
  
  /* Typography Configuration from Config Variables */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

/* --- GENERAL RESET & GLOBAL CLASSES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

scroll-behavior {
  scroll-behavior: smooth;
}

.cartilage-safe-body {
  background-color: var(--cartilage-bg);
  color: var(--cartilage-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cartilage-safe-zone {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- SECTION STRUCTURAL DESIGN PRESETS --- */
.anatomical-plate {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

/* --- SCROLL TIMELINE ANIMATION (CSS only) --- */
@keyframes progress-grow {
  to { width: 100%; }
}

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--cartilage-accent);
  width: 0;
  z-index: 9999;
  animation: progress-grow linear;
  animation-timeline: scroll();
}

/* --- HEADER NAVIGATION (Variant 2: Navigation Left, Logo Right) --- */
.motion-nav-bar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navigation-hatch {
  display: flex;
}

.navigation-hatch ul {
  list-style: none;
  gap: 1.52rem;
}

.nav-anchor {
  color: var(--cartilage-ink-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.25s ease-in-out;
  padding: 0.5rem 0.25rem;
}

.nav-anchor:hover {
  color: var(--cartilage-action);
}

.brand-identity img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

/* Mobile Hamburger Style */
.mobile-hamburger-trigger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 50;
}

.mobile-hamburger-trigger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--cartilage-action);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger state handling when checkbox checked */
#mobile-menu-toggle:checked ~ .navigation-hatch {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--cartilage-surface);
  padding: 2rem;
  box-shadow: 0 10px 15px rgba(0,0,0,0.05);
  border-top: 1px solid rgba(0,0,0,0.05);
}

#mobile-menu-toggle:checked ~ .navigation-hatch ul {
  flex-direction: column;
  gap: 1.5rem;
}

/* --- HERO SCREEN (Preset C Layout): Gradient Background, Large Typography Left --- */
.gradient-prime-hub {
  background: var(--cartilage-gradient);
  color: var(--cartilage-surface);
}

.decorative-abstract-shape-1 {
  position: absolute;
  width: 35vw;
  height: 35vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, rgba(217,119,6,0) 70%);
  top: -10vw;
  right: -5vw;
}

.decorative-abstract-shape-2 {
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 243, 241, 0.12) 0%, rgba(255,255,255,0) 80%);
  bottom: -20vw;
  left: -10vw;
}

.prime-display-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--cartilage-surface);
}

@media (min-width: 768px) {
  .prime-display-heading {
    font-size: 4rem;
  }
}

.sub-display-heading {
  font-size: 1.125rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 2.5rem;
  color: #E6F3F1;
}

/* Action Button Core Styles with Pill-style radius option as requested */
.action-trigger-pill {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2.2rem;
  border-radius: 999px; /* Pill border radius */
  background: var(--cartilage-accent);
  color: var(--cartilage-surface);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
}

.action-trigger-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(217, 119, 6, 0.4);
}

/* --- CONTENT SECTION 1: Offset Left Image --- */
.offset-image-container {
  margin-left: -2rem; /* Decorative CSS offset extending slightly out of typical bounds */
  position: relative;
}

.offset-image-container::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: -1.5rem;
  width: 100%;
  height: 100%;
  background: var(--cartilage-surface-alt);
  border-radius: 16px; /* Soft style (12-20px) */
  z-index: -1;
}

.section-title-node {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.25;
  color: var(--cartilage-ink);
  margin-bottom: 1.5rem;
}

.body-paragraph-node {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cartilage-ink-muted);
}

.trust-badge-pill {
  background: var(--cartilage-surface-alt);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
}

.badge-icon-bullet {
  color: var(--cartilage-action);
  font-weight: bold;
}

.badge-text-inside {
  font-weight: 600;
  color: var(--cartilage-action-hover);
  font-size: 0.88rem;
}

/* --- FEATURES SECTION (Preset C style: Horizontal flow rows with thin divider) --- */
.horizontal-flow-list {
  background: var(--cartilage-surface);
  border-radius: 16px; /* Soft style (12-20px) */
  padding: 1.5rem 3rem;
  box-shadow: 0 10px 15px -3px rgba(15, 118, 110, 0.05); /* Raised Depth */
}

.row-step-item {
  transition: transform 0.25s ease;
}

.row-step-item:hover {
  transform: translateX(8px);
}

.icon-circle-shell {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title-node {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cartilage-ink);
}

/* --- CTA STRIP (Preset C style: Gradient, centered, solid button) --- */
.gradient-call-strip {
  background: var(--cartilage-gradient);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.cta-display-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1.25;
}

.cta-display-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* --- CONTENT SECTION 2: Custom Clipped Image Shape --- */
.clipped-image-holder {
  position: relative;
  border-radius: 50%; /* Hex-clip shape / circular decoration */
  overflow: hidden;
  border: 8px solid var(--cartilage-surface);
  box-shadow: 0 10px 15px -3px rgba(15, 118, 110, 0.1);
}

/* --- TESTIMONIALS (Preset C style: Masonry columns, borderless, large italic quotes) --- */
.masonry-opinion-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .masonry-opinion-layout {
    grid-template-columns: repeat(3, 1fr);
  }
}

.opinion-bubble-card {
  background: var(--cartilage-surface);
  padding: 2rem;
  border-radius: 16px; /* Soft Style */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* Standard raised */
  transition: all 0.3s ease;
}

.opinion-bubble-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(15, 118, 110, 0.08);
}

.opinion-phrase {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--cartilage-ink-muted);
}

.feedback-stars {
  color: var(--cartilage-accent);
  font-size: 1.1rem;
}

/* --- FORM SECTION (Preset C style: Centered, inputs with large border-radius) --- */
.input-pill-field {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 14px; /* Large border radius */
  padding: 0.9rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cartilage-ink);
  outline: none;
  transition: all 0.25s ease-in-out;
}

.input-pill-field::placeholder {
  color: #9CA3AF;
}

.input-pill-field:focus {
  background: var(--cartilage-surface);
  border-color: var(--cartilage-accent);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.2);
}

/* --- FAQ SECTION (Preset C style: open questions, static '+' icon) --- */
.faq-static-accordion {
  display: flex;
  flex-direction: column;
}

.faq-accordion-item {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.faq-static-icon {
  background: var(--cartilage-surface-alt);
  color: var(--cartilage-action);
  font-size: 1.4rem;
  height: 36px;
  width: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* --- FOOTER LAYOUT & ADAPTABILITY --- */
.motion-footer {
  border-top: 2px solid rgba(255, 255, 255, 0.05);
}

.footer-policy-link {
  color: #E2ECE9;
  text-decoration: none;
}

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

/* --- MOBILE RESPONSIVENESS AND TOGGLES --- */
@media (max-width: 767px) {
  .mobile-hamburger-trigger {
    display: flex;
  }
  .navigation-hatch {
    display: none;
  }
  .offset-image-container {
    margin-left: 0;
  }
  .offset-image-container::after {
    display: none;
  }
}