/* --- DESIGN SYSTEM & THEMATIC VARIABLE CONFIGURATIONS --- */
:root {
  /* Colorful Corporate Gradient Palette */
  --ergo-pulse-brand: #0f172a;
  --ergo-pulse-canvas: #f8fafc;
  --ergo-pulse-surface: #ffffff;
  --ergo-pulse-accent-coral: #ff5e62;
  --ergo-pulse-accent-gold: #ff9966;
  --ergo-pulse-gradient-main: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
  --ergo-pulse-gradient-accent: linear-gradient(135deg, #ff5e62 0%, #ff9966 100%);
  --ergo-pulse-gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  
  --ergo-pulse-font-display: 'Montserrat', sans-serif;
  --ergo-pulse-font-body: 'Poppins', sans-serif;
  
  --ergo-pulse-radius: 16px; /* Soft radius configuration */
  --ergo-pulse-shadow-raised: 0 10px 30px rgba(30, 58, 138, 0.08);
  --ergo-pulse-shadow-hover: 0 20px 40px rgba(30, 58, 138, 0.15);
  
  --ergo-pulse-ink-primary: #0f172a;
  --ergo-pulse-ink-muted: #475569;
  --ergo-pulse-ink-light: #ffffff;
}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--ergo-pulse-font-body);
  background-color: var(--ergo-pulse-canvas);
  color: var(--ergo-pulse-ink-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* --- SCROLL PROGRESS INDICATOR --- */
.ergo-scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--ergo-pulse-gradient-accent);
  width: 0;
  z-index: 10000;
  animation: ergo-progress-growth linear;
  animation-timeline: scroll();
}

@keyframes ergo-progress-growth {
  to { width: 100%; }
}

/* --- HEADER NAVIGATION --- */
.ergo-header-navigation-wrapper {
  background: var(--ergo-pulse-gradient-main);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.ergo-header-layout-limit {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ergo-logo-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--ergo-pulse-font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ergo-pulse-ink-light);
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.ergo-logo-brand-link svg {
  fill: currentColor;
  width: 32px;
  height: 32px;
}

/* Menu Toggle (Checkbox Hack) */
.ergo-menu-control-input {
  display: none;
}

.ergo-menu-trigger-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.ergo-menu-trigger-icon span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--ergo-pulse-ink-light);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.ergo-navigation-links-collection {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.ergo-navigation-link-item {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: var(--ergo-pulse-font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.ergo-navigation-link-item:hover,
.ergo-navigation-link-item.ergo-link-state-active {
  color: var(--ergo-pulse-ink-light);
  border-bottom-color: var(--ergo-pulse-accent-coral);
}

/* --- HERO SECTION --- */
.active-work-hero-wrapper {
  position: relative;
  min-height: 90vh;
  background: var(--ergo-pulse-gradient-dark);
  color: var(--ergo-pulse-ink-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8dvh 2rem;
  overflow: hidden;
}

.active-work-hero-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95)), url('img/bg.webp');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.active-work-hero-content-cluster {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.active-work-hero-eyebrow {
  font-family: var(--ergo-pulse-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ergo-pulse-accent-gold);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.active-work-hero-main-title {
  font-family: var(--ergo-pulse-font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.active-work-hero-narrative {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #cbd5e1;
  margin-bottom: 3rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* Button & Triggers */
.ergolife-primary-trigger-button {
  display: inline-block;
  background: var(--ergo-pulse-gradient-accent);
  color: var(--ergo-pulse-ink-light);
  font-family: var(--ergo-pulse-font-display);
  font-weight: 700;
  text-transform: uppercase;
  padding: 1.25rem 2.5rem;
  border-radius: var(--ergo-pulse-radius);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 94, 98, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  letter-spacing: 1px;
}

.ergolife-primary-trigger-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 94, 98, 0.6);
}

/* Counters Row */
.active-work-counters-belt {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.active-work-counter-slot {
  text-align: center;
  min-width: 150px;
}

.active-work-counter-numeral {
  font-family: var(--ergo-pulse-font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--ergo-pulse-accent-coral);
  display: block;
}

.active-work-counter-label {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Trust Belt */
.active-work-trust-strip {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  margin-top: 5rem;
}

.active-work-trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.6;
}

.active-work-trust-badge {
  color: var(--ergo-pulse-ink-light);
  font-family: var(--ergo-pulse-font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- SCROLL REVEAL UTILITY --- */
.ergo-viewport-reveal-panel {
  animation: ergo-reveal-slide-up both;
  animation-timeline: view();
  animation-range: entry 5% entry 35%;
}

@keyframes ergo-reveal-slide-up {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- MOBILE SCROLL-TRACK CONTENT BLOCK --- */
.active-work-content-section-outer {
  padding: 12dvh 2rem;
  background-image: linear-gradient(to bottom, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0.95)), url('img/bg2.webp');
  background-size: cover;
  background-position: center;
}

.active-work-section-header-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.active-work-section-eyebrow {
  font-family: var(--ergo-pulse-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ergo-pulse-accent-coral);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
}

.active-work-section-title {
  font-family: var(--ergo-pulse-font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ergo-pulse-ink-primary);
}

.active-work-desktop-grid-mobile-track {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.active-work-editorial-article-card {
  flex: 1;
  background: var(--ergo-pulse-surface);
  padding: 3rem 2.5rem;
  border-radius: var(--ergo-pulse-radius);
  box-shadow: var(--ergo-pulse-shadow-raised);
  border-top: 5px solid var(--ergo-pulse-accent-gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.active-work-editorial-article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ergo-pulse-shadow-hover);
}

.active-work-editorial-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ergo-pulse-gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ergo-pulse-ink-light);
  margin-bottom: 1.5rem;
}

.active-work-editorial-icon-box svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.active-work-editorial-card-headline {
  font-family: var(--ergo-pulse-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--ergo-pulse-ink-primary);
}

.active-work-editorial-card-paragraph {
  color: var(--ergo-pulse-ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- FEATURES GRID (2X3 WITH COLOR-FLIP) --- */
.habits-grid-container-wrapper {
  padding: 12dvh 2rem;
  background: var(--ergo-pulse-canvas);
}

.habits-interactive-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.habit-tile-card {
  background: var(--ergo-pulse-surface);
  padding: 2.5rem;
  border-radius: var(--ergo-pulse-radius);
  box-shadow: var(--ergo-pulse-shadow-raised);
  transition: background 0.4s ease, color 0.4s ease, transform 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.habit-tile-icon-envelope {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ergo-pulse-gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ergo-pulse-ink-light);
  margin-bottom: 2rem;
  transition: background 0.4s ease;
}

.habit-tile-icon-envelope svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.habit-tile-headline {
  font-family: var(--ergo-pulse-font-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.habit-tile-body-text {
  color: var(--ergo-pulse-ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color 0.4s ease;
}

/* Color-flip hover mechanism */
.habit-tile-card:hover {
  background: var(--ergo-pulse-gradient-main);
  color: var(--ergo-pulse-ink-light);
  transform: translateY(-5px);
}

.habit-tile-card:hover .habit-tile-icon-envelope {
  background: var(--ergo-pulse-gradient-accent);
}

.habit-tile-card:hover .habit-tile-body-text {
  color: rgba(255, 255, 255, 0.9);
}

/* --- HOW IT WORKS STEPPER --- */
.flow-stepper-panel-wrapper {
  padding: 12dvh 2rem;
  background: var(--ergo-pulse-surface);
}

.flow-stepper-horizontal-track {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  position: relative;
  gap: 3rem;
}

/* Connector Line behind steps */
.flow-stepper-horizontal-track::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: var(--ergo-pulse-gradient-main);
  z-index: 1;
}

.flow-stepper-node {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
}

.flow-stepper-node-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--ergo-pulse-gradient-accent);
  color: var(--ergo-pulse-ink-light);
  font-family: var(--ergo-pulse-font-display);
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 4px 15px rgba(255, 94, 98, 0.3);
}

.flow-stepper-node-title {
  font-family: var(--ergo-pulse-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--ergo-pulse-ink-primary);
}

.flow-stepper-node-explanation {
  color: var(--ergo-pulse-ink-muted);
  font-size: 0.9rem;
  max-width: 250px;
  margin: 0 auto;
}

/* --- CTA STRIP --- */
.action-trigger-banner-space {
  padding: 10dvh 2rem;
  background: var(--ergo-pulse-gradient-main);
  color: var(--ergo-pulse-ink-light);
}

.action-trigger-banner-split {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.action-trigger-banner-headline {
  font-family: var(--ergo-pulse-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.3;
}

.action-trigger-banner-headline span {
  display: block;
  color: var(--ergo-pulse-accent-gold);
}

.action-trigger-alternative-button {
  background: var(--ergo-pulse-gradient-dark);
  color: var(--ergo-pulse-ink-light);
  font-family: var(--ergo-pulse-font-display);
  font-weight: 700;
  text-transform: uppercase;
  padding: 1.25rem 2.75rem;
  border-radius: var(--ergo-pulse-radius);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.action-trigger-alternative-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* --- EXPERT PAGE BIO SPLIT --- */
.expert-profile-panel-outer {
  padding: 12dvh 2rem;
  background: var(--ergo-pulse-surface);
}

.expert-profile-asymmetric-split {
  display: flex;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.expert-profile-portrait-column {
  flex: 4;
}

.expert-profile-portrait-frame {
  border-radius: var(--ergo-pulse-radius);
  overflow: hidden;
  box-shadow: var(--ergo-pulse-shadow-hover);
  border: 10px solid var(--ergo-pulse-canvas);
  background: var(--ergo-pulse-gradient-main);
  line-height: 0;
}

.expert-profile-portrait-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(10%) contrast(105%);
}

.expert-profile-narrative-column {
  flex: 6;
}

.expert-profile-credibility-tag {
  background: rgba(255, 94, 98, 0.1);
  color: var(--ergo-pulse-accent-coral);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-family: var(--ergo-pulse-font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: inline-block;
  letter-spacing: 1px;
}

.expert-profile-main-title {
  font-family: var(--ergo-pulse-font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ergo-pulse-ink-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.expert-profile-biography-core {
  font-size: 1.05rem;
  color: var(--ergo-pulse-ink-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* --- RESERVE PAGE FORM COLUMN LAYOUT --- */
.reserve-panel-asymmetric-arrangement {
  padding: 12dvh 2rem;
}

.reserve-panel-split-layout {
  display: flex;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.reserve-informational-sticky-aside {
  flex: 5;
  position: sticky;
  top: 120px;
}

.reserve-aside-title {
  font-family: var(--ergo-pulse-font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  text-transform: uppercase;
  color: var(--ergo-pulse-ink-primary);
  margin-bottom: 2rem;
}

.reserve-aside-bullet-deck {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reserve-aside-bullet-node {
  background: var(--ergo-pulse-surface);
  padding: 1.5rem;
  border-radius: var(--ergo-pulse-radius);
  box-shadow: var(--ergo-pulse-shadow-raised);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.reserve-aside-bullet-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ergo-pulse-gradient-accent);
  color: var(--ergo-pulse-ink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reserve-aside-bullet-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.reserve-aside-bullet-title {
  font-family: var(--ergo-pulse-font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--ergo-pulse-ink-primary);
  margin-bottom: 0.25rem;
}

.reserve-aside-bullet-desc {
  color: var(--ergo-pulse-ink-muted);
  font-size: 0.9rem;
}

.reserve-interactive-form-column {
  flex: 5;
  background: var(--ergo-pulse-surface);
  padding: 4rem 3rem;
  border-radius: var(--ergo-pulse-radius);
  box-shadow: var(--ergo-pulse-shadow-hover);
  border-top: 6px solid var(--ergo-pulse-accent-coral);
}

.reserve-interactive-form-title {
  font-family: var(--ergo-pulse-font-display);
  font-weight: 800;
  font-size: 1.75rem;
  text-transform: uppercase;
  color: var(--ergo-pulse-ink-primary);
  margin-bottom: 0.5rem;
}

.reserve-interactive-form-subtitle {
  color: var(--ergo-pulse-ink-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.reserve-registration-form-element {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.reserve-form-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reserve-form-input-label {
  font-family: var(--ergo-pulse-font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--ergo-pulse-ink-primary);
  letter-spacing: 0.5px;
}

.reserve-form-input-control {
  border: 2px solid #e2e8f0;
  padding: 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.reserve-form-input-control:focus {
  border-color: var(--ergo-pulse-accent-coral);
}

.reserve-checkbox-option-cluster {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}

.reserve-checkbox-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--ergo-pulse-accent-coral);
}

.reserve-checkbox-label {
  font-size: 0.85rem;
  color: var(--ergo-pulse-ink-muted);
  line-height: 1.4;
}

.reserve-checkbox-label a {
  color: var(--ergo-pulse-accent-coral);
  text-decoration: underline;
}

.reserve-form-submit-trigger {
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--ergo-pulse-gradient-accent);
  color: var(--ergo-pulse-ink-light);
  font-family: var(--ergo-pulse-font-display);
  font-weight: 800;
  text-transform: uppercase;
  padding: 1.25rem;
  border-radius: var(--ergo-pulse-radius);
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(255, 94, 98, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  letter-spacing: 1px;
}

.reserve-form-submit-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 94, 98, 0.6);
}

.reserve-mailto-direct-channel {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--ergo-pulse-ink-muted);
}

.reserve-mailto-direct-channel a {
  color: var(--ergo-pulse-ink-primary);
  font-weight: 700;
  text-decoration: none;
}

/* --- FAQ SECTION (CSS ACCORDION SETUP) --- */
.faq-section-panel-container {
  padding: 10dvh 2rem;
  background: var(--ergo-pulse-canvas);
}

.faq-collapsible-stack {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-node-card {
  background: var(--ergo-pulse-surface);
  border-radius: var(--ergo-pulse-radius);
  box-shadow: var(--ergo-pulse-shadow-raised);
  overflow: hidden;
}

.faq-node-question-label {
  font-family: var(--ergo-pulse-font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.05rem;
  padding: 2rem;
  color: var(--ergo-pulse-ink-primary);
  display: block;
  border-bottom: 1px solid #f1f5f9;
}

.faq-node-answer-cabinet {
  padding: 2rem;
  color: var(--ergo-pulse-ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- POLICY LAYOUT PAGES --- */
.legal-layout-document-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 12dvh 2rem;
  background-color: var(--ergo-pulse-surface);
  border-radius: var(--ergo-pulse-radius);
  box-shadow: var(--ergo-pulse-shadow-raised);
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.legal-document-heading {
  font-family: var(--ergo-pulse-font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ergo-pulse-ink-primary);
  margin-bottom: 2rem;
  border-bottom: 4px solid var(--ergo-pulse-accent-coral);
  padding-bottom: 1rem;
}

.legal-document-section-title {
  font-family: var(--ergo-pulse-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ergo-pulse-ink-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-document-paragraph {
  color: var(--ergo-pulse-ink-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* --- FOOTER LAYOUT --- */
.ergolife-footer-panel {
  background: var(--ergo-pulse-gradient-dark);
  color: var(--ergo-pulse-ink-light);
  padding: 8dvh 2rem 4dvh;
  border-top: 5px solid var(--ergo-pulse-accent-coral);
}

.ergolife-footer-top-belt {
  max-width: 1200px;
  margin: 0 auto 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.ergolife-footer-quicklinks-cluster {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.ergolife-footer-quicklink-endpoint {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--ergo-pulse-font-display);
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.ergolife-footer-quicklink-endpoint:hover {
  color: var(--ergo-pulse-accent-gold);
}

.ergolife-footer-regulatory-notice-panel {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  text-align: center;
}

.ergolife-footer-disclaimer-copy {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.ergolife-footer-copyright-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #475569;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- COOKIE CONSENT DRAWER --- */
.ergo-cookie-overlay-cabinet {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--ergo-pulse-surface);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  border-top: 4px solid var(--ergo-pulse-accent-coral);
  z-index: 99999;
  padding: 1.5rem 2rem;
  display: none;
}

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

.ergo-cookie-cabinet-text-body {
  font-size: 0.9rem;
  color: var(--ergo-pulse-ink-muted);
  flex: 1;
  min-width: 280px;
}

.ergo-cookie-cabinet-button-cluster {
  display: flex;
  gap: 1rem;
}

.ergo-cookie-cabinet-button-element {
  border: none;
  outline: none;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: var(--ergo-pulse-font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ergo-cookie-cabinet-button-element.ergo-cookie-accept {
  background: var(--ergo-pulse-gradient-accent);
  color: var(--ergo-pulse-ink-light);
}

.ergo-cookie-cabinet-button-element.ergo-cookie-reject {
  background: var(--ergo-pulse-canvas);
  color: var(--ergo-pulse-ink-primary);
}

.ergo-cookie-cabinet-button-element:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* --- RESPONSIVE OVERRIDES --- */
@media (max-width: 991px) {
  .ergo-menu-trigger-icon {
    display: flex;
  }
  
  .ergo-navigation-links-collection {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--ergo-pulse-gradient-dark);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
  }
  
  /* Menu Trigger Checkbox Logic */
  .ergo-menu-control-input:checked ~ .ergo-navigation-links-collection {
    display: flex;
  }
  
  .ergo-menu-control-input:checked ~ .ergo-menu-trigger-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .ergo-menu-control-input:checked ~ .ergo-menu-trigger-icon span:nth-child(2) {
    opacity: 0;
  }
  
  .ergo-menu-control-input:checked ~ .ergo-menu-trigger-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Responsive layout conversions */
  .active-work-desktop-grid-mobile-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
  }
  
  .active-work-editorial-article-card {
    min-width: 280px;
    scroll-snap-align: start;
    flex: 0 0 auto;
  }
  
  .habits-interactive-mosaic-grid {
    grid-template-columns: 1fr;
  }
  
  .flow-stepper-horizontal-track {
    flex-direction: column;
    gap: 4rem;
  }
  
  .flow-stepper-horizontal-track::before {
    top: 0;
    bottom: 0;
    left: 40px;
    width: 4px;
    height: auto;
  }
  
  .flow-stepper-node {
    display: flex;
    text-align: left;
    align-items: center;
    gap: 2rem;
  }
  
  .flow-stepper-node-circle {
    margin: 0;
  }
  
  .flow-stepper-node-explanation {
    margin: 0;
    max-width: none;
  }
  
  .action-trigger-banner-split {
    flex-direction: column;
    text-align: center;
  }
  
  .expert-profile-asymmetric-split {
    flex-direction: column;
  }
  
  .reserve-panel-split-layout {
    flex-direction: column;
  }
  
  .reserve-informational-sticky-aside {
    position: static;
  }
}