:root {
  /* Dynamic Palette (Strictly No Blue - Light Theme Vitality Source) */
  --bg-canvas: #fbf1f0;
  --bg-surface: rgba(251, 241, 240, 0.85);
  --bg-surface-solid: #fbf1f0;
  --text-primary: #1c1917;
  --text-muted: #4a4542;
  --accent-primary: #6b2155;
  --accent-glow: rgba(107, 33, 85, 0.1);
  --border-subtle: rgba(28, 25, 23, 0.15);
  
  /* Advanced UI Micro-Interactions & Depth */
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(28, 25, 23, 0.1);
  --glass-backdrop: blur(12px);
  
  /* Layout constraints */
  --max-width: 1200px;
  --reading-width: 70ch;
  --radius-panel: 20px;
}

/* Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  lang: en;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.reading-container {
  max-width: var(--reading-width);
  margin: 0 auto;
}

.section-padding {
  padding: 80px 0;
}

/* Header (Floating Box) */
.header-wrapper {
  position: relative;
  z-index: 100;
  padding-top: 20px;
}

.site-header {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  margin: 0 20px;
  padding: 15px 30px;
  border-radius: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-elevation);
  border: 1px solid var(--border-subtle);
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.desktop-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile Nav Toggle (3-dot) */
.mobile-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 5px;
  line-height: 1;
}

/* Mobile Overlay Menu */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-surface-solid);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-kinetic);
}

.nav-overlay.active {
  transform: translateY(0);
}

.nav-overlay ul {
  list-style: none;
  text-align: center;
}

.nav-overlay li {
  margin: 20px 0;
}

.nav-overlay a {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Buttons */
.btn-outline {
  display: inline-block;
  border: 2px solid var(--text-primary);
  border-radius: 0;
  padding: 16px 32px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-kinetic);
  text-align: center;
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg-canvas);
  transform: translateY(-2px);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 40px 20px;
}

.hero-inner {
  position: relative;
  border-radius: var(--radius-panel);
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-solid); /* Fallback */
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
}

.hero-content h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  text-transform: uppercase;
  color: var(--text-primary);
  text-shadow: 0 4px 20px rgba(251,241,240,0.8);
}

/* Floating Facts Card */
.floating-facts {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  padding: 24px;
  border-radius: var(--radius-panel);
  border: 1px solid var(--border-subtle);
  max-width: 340px;
  box-shadow: var(--shadow-elevation);
  z-index: 2;
}

.floating-facts h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.fact-item:last-child {
  margin-bottom: 0;
}

.fact-icon {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
}

/* Vertical Flow & List Rows */
.vertical-flow {
  position: relative;
  padding-left: 50px;
  margin: 60px 0;
}

.vertical-flow::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-subtle);
}

.flow-section {
  position: relative;
  margin-bottom: 60px;
}

.flow-node {
  position: absolute;
  left: -45px;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--bg-canvas);
  border: 2px solid var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--accent-primary);
  z-index: 2;
}

/* List Rows (No Cards) */
.list-row {
  display: flex;
  flex-direction: column;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.list-row-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.list-icon {
  font-size: 1.5rem;
  color: var(--accent-primary);
  line-height: 1;
}

.list-content p {
  margin-bottom: 0;
}

/* Gradients */
.radial-gradient-bg {
  position: relative;
}

.radial-gradient-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150vw;
  height: 150vh;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Internal Page Headers */
.page-header {
  padding: 120px 20px 60px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

/* 3D Renders Image styling */
.render-img {
  border-radius: var(--radius-panel);
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 20px;
  background: #ebe0df; /* subtle placeholder shade matching palette */
}

/* Grid System for mixed content */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Form Styles */
.clinical-form {
  background: transparent;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-solid);
  color: var(--text-primary);
  font-family: inherit;
  border-radius: 0;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  margin: 40px 20px 20px;
  padding: 60px 40px;
  border-radius: 40px;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}

.footer-col h4 {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-legal {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal p {
  margin-bottom: 10px;
  font-size: 0.75rem;
}

/* Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-kinetic);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (min-width: 769px) {
  .desktop-nav {
    display: block;
  }
  .mobile-toggle {
    display: none;
  }
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .list-row {
    flex-direction: row;
  }
  .list-row-header {
    flex: 0 0 250px;
    margin-bottom: 0;
  }
  .hero-inner {
    min-height: 85vh;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .floating-facts {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }
  .vertical-flow {
    padding-left: 30px;
  }
  .vertical-flow::before {
    left: 10px;
  }
  .flow-node {
    left: -25px;
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
}
/* ENDFILE */

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
