/* --- CUSTOM THEMATIC VARIABLES (Preset G: Neumorphic Light Theme) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  /* Site specific color tokens */
  --mex-herbs-bg: #f0f3f6;
  --mex-herbs-surface: #f0f3f6;
  --mex-herbs-shadow-dark: rgba(163, 177, 198, 0.6);
  --mex-herbs-shadow-light: rgba(255, 255, 255, 0.85);
  
  --mex-herbs-accent-clay: #d4a373; /* Terracotta/Tejocote Amber */
  --mex-herbs-accent-clay-hover: #c39262;
  --mex-herbs-sage: #588157; /* Sage Herbal Green */
  --mex-herbs-ink: #2b3a42; /* Dark typography Slate */
  --mex-herbs-off-white: #ffffff;
  
  /* Fonts */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Custom Preset Rules */
  --mex-border-radius: 20px; /* soft style style */
  --mex-transition-speed: 0.35s;
}

/* --- SCROLL-DRIVEN ANIMATION LOGIC --- */
@keyframes mex-progress-scale {
  from { width: 0%; }
  to { width: 100%; }
}

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

/* --- RESET & BASIC STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* --- SCROLL PROGRESS PROGRESS ACCORDING TO PRESETS --- */
.mex-scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--mex-herbs-accent-clay);
  z-index: 10000;
  animation: mex-progress-scale linear;
  animation-timeline: scroll();
}

/* --- SCROLL REVEAL UTILITY --- */
.reveal-on-scroll {
  animation: mex-reveal-slide-up linear both;
  animation-timeline: view();
  animation-range: entry 10% entry 40%;
}

/* --- HEADER SYSTEM (Preset G Header) --- */
header.mex-top-header {
  background-color: var(--mex-herbs-surface);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 1.25rem 2rem;
  box-shadow: 6px 6px 12px var(--mex-herbs-shadow-dark), 
              -6px -6px 12px var(--mex-herbs-shadow-light);
}

.mex-header-inner-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.mex-logo-link-anchor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--mex-herbs-sage);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

.mex-logo-vector-graphic {
  width: 32px;
  height: 32px;
  color: var(--mex-herbs-accent-clay);
}

.mex-logo-brand-typography {
  color: var(--mex-herbs-ink);
}

/* Navigation & Hamburger */
.mex-navigation-inner-menu {
  display: flex;
}

.mex-navigation-link-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.mex-navigation-link-item {
  text-decoration: none;
  color: var(--mex-herbs-ink);
  font-weight: 600;
  font-family: var(--font-display);
  padding: 0.5rem 1rem;
  border-radius: var(--mex-border-radius);
  transition: all var(--mex-transition-speed) ease;
  box-shadow: 3px 3px 6px var(--mex-herbs-shadow-dark), 
              -3px -3px 6px var(--mex-herbs-shadow-light);
}

.mex-navigation-link-item:hover,
.mex-navigation-link-item.mex-active-nav-link-state {
  color: var(--mex-herbs-accent-clay);
  box-shadow: inset 3px 3px 6px var(--mex-herbs-shadow-dark), 
              inset -3px -3px 6px var(--mex-herbs-shadow-light);
}

/* Mobile Toggle Hamburger */
.mex-mobile-menu-checkbox {
  display: none;
}

.mex-mobile-menu-trigger-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: 3px 3px 6px var(--mex-herbs-shadow-dark), 
              -3px -3px 6px var(--mex-herbs-shadow-light);
}

.mex-mobile-menu-trigger-label span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--mex-herbs-ink);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* --- NEUMORPHIC BUTTONS --- */
.mex-neumorphic-elevated-button-accent {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: var(--mex-border-radius);
  background-color: var(--mex-herbs-surface);
  color: var(--mex-herbs-sage);
  border: none;
  cursor: pointer;
  transition: all var(--mex-transition-speed) ease;
  box-shadow: 6px 6px 12px var(--mex-herbs-shadow-dark), 
              -6px -6px 12px var(--mex-herbs-shadow-light);
}

.mex-neumorphic-elevated-button-accent:hover {
  color: var(--mex-herbs-accent-clay);
  box-shadow: inset 4px 4px 8px var(--mex-herbs-shadow-dark), 
              inset -4px -4px 8px var(--mex-herbs-shadow-light);
}

.mex-neumorphic-elevated-button-accent-full {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 1.15rem 2rem;
  border-radius: var(--mex-border-radius);
  background-color: var(--mex-herbs-surface);
  color: var(--mex-herbs-sage);
  border: none;
  cursor: pointer;
  transition: all var(--mex-transition-speed) ease;
  box-shadow: 6px 6px 12px var(--mex-herbs-shadow-dark), 
              -6px -6px 12px var(--mex-herbs-shadow-light);
}

.mex-neumorphic-elevated-button-accent-full:hover {
  color: var(--mex-herbs-accent-clay);
  box-shadow: inset 4px 4px 8px var(--mex-herbs-shadow-dark), 
              inset -4px -4px 8px var(--mex-herbs-shadow-light);
}

/* --- HERO SPLIT (Preset G) --- */
.mex-hero-split-viewport {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.mex-hero-split-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mex-hero-main-title {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 900;
  color: var(--mex-herbs-ink);
  line-height: 1.2;
}

.mex-hero-intro-paragraph {
  font-size: 1.1rem;
  color: #556270;
}

.mex-hero-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}

/* Floating Neumorphic Badge */
.mex-neumorphic-floating-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background-color: var(--mex-herbs-surface);
  border-radius: var(--mex-border-radius);
  box-shadow: 5px 5px 10px var(--mex-herbs-shadow-dark), 
              -5px -5px 10px var(--mex-herbs-shadow-light);
  color: var(--mex-herbs-accent-clay);
}

.mex-badge-number-data {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--mex-herbs-sage);
}

.mex-badge-label-data {
  display: block;
  font-size: 0.75rem;
  color: var(--mex-herbs-ink);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mex-hero-split-visual-col {
  display: flex;
  justify-content: center;
}

.mex-neumorphic-image-frame {
  padding: 1.5rem;
  background-color: var(--mex-herbs-surface);
  border-radius: 32px; /* Preset requirement rounded frame */
  box-shadow: 12px 12px 24px var(--mex-herbs-shadow-dark), 
              -12px -12px 24px var(--mex-herbs-shadow-light);
}

.mex-hero-image-fill {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

/* --- PROBLEM & SOLUTION LAYOUT --- */
.mex-problem-solution-viewport {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.mex-problem-solution-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.mex-problem-neumorphic-pane,
.mex-solution-neumorphic-pane {
  padding: 3rem;
  border-radius: var(--mex-border-radius);
  background-color: var(--mex-herbs-surface);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mex-problem-neumorphic-pane {
  box-shadow: inset 8px 8px 16px var(--mex-herbs-shadow-dark), 
              inset -8px -8px 16px var(--mex-herbs-shadow-light);
  border-left: 5px solid rgba(217, 131, 131, 0.4);
}

.mex-solution-neumorphic-pane {
  box-shadow: 8px 8px 16px var(--mex-herbs-shadow-dark), 
              -8px -8px 16px var(--mex-herbs-shadow-light);
  border-left: 5px solid var(--mex-herbs-sage);
}

.mex-pane-critical-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: #723d3d;
}

.mex-pane-positive-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--mex-herbs-sage);
}

.mex-pane-body-text {
  color: #556270;
}

.mex-pane-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mex-pane-bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--mex-herbs-ink);
}

.mex-pane-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--mex-herbs-accent-clay);
  font-size: 1.5rem;
  line-height: 1;
}

/* Hybrid Banner bg2.webp full width */
.mex-parallax-hybrid-banner {
  height: 40vh;
  border-radius: var(--mex-border-radius);
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  box-shadow: 8px 8px 16px var(--mex-herbs-shadow-dark), 
              -8px -8px 16px var(--mex-herbs-shadow-light);
}

.mex-parallax-content-box {
  max-width: 750px;
  color: var(--mex-off-white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mex-parallax-main-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.mex-parallax-sub-text {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* --- FEATURES SECTION: Neumorphic Grid --- */
.mex-features-neumorphic-section {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.mex-section-title-wrapper-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mex-section-main-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--mex-herbs-ink);
}

.mex-section-subtitle-description {
  color: #556270;
}

.mex-features-neumorphic-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

/* Inset neumorphic features card swapping on hover */
.mex-feature-neumorphic-card-item {
  padding: 3rem 2rem;
  border-radius: 24px;
  background-color: var(--mex-herbs-surface);
  box-shadow: inset 6px 6px 12px var(--mex-herbs-shadow-dark), 
              inset -6px -6px 12px var(--mex-herbs-shadow-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  transition: all var(--mex-transition-speed) ease;
}

.mex-feature-neumorphic-card-item:hover {
  box-shadow: 8px 8px 16px var(--mex-herbs-shadow-dark), 
              -8px -8px 16px var(--mex-herbs-shadow-light);
  transform: translateY(-4px);
}

.mex-feature-neumorphic-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--mex-herbs-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mex-herbs-sage);
  box-shadow: 4px 4px 8px var(--mex-herbs-shadow-dark), 
              -4px -4px 8px var(--mex-herbs-shadow-light);
}

.mex-feature-neumorphic-icon-box svg {
  width: 32px;
  height: 32px;
}

.mex-feature-card-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.mex-feature-card-summary {
  font-size: 0.95rem;
  color: #556270;
}

/* --- STEPPER WORK SECTION: Horizontal Stepper (Preset G) --- */
.mex-stepper-work-section {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.mex-neumorphic-stepper-track-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4rem auto 2rem auto;
  max-width: 900px;
  position: relative;
}

.mex-neumorphic-step-node {
  z-index: 2;
}

.mex-neumorphic-step-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px; /* Pill Requirement */
  background-color: var(--mex-herbs-surface);
  box-shadow: 6px 6px 12px var(--mex-herbs-shadow-dark), 
              -6px -6px 12px var(--mex-herbs-shadow-light);
}

.mex-step-pill-number {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--mex-herbs-accent-clay);
  font-size: 1.1rem;
}

.mex-step-pill-word {
  font-weight: 600;
  color: var(--mex-herbs-ink);
  font-size: 0.95rem;
}

.mex-neumorphic-stepper-connector-line {
  flex-grow: 1;
  height: 2px;
  border-top: 2px dashed #b8c6d9;
  margin: 0 1rem;
}

.mex-stepper-details-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.mex-stepper-detail-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mex-stepper-detail-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.mex-stepper-detail-body {
  font-size: 0.9rem;
  color: #556270;
}

/* --- CTA STRIP CENTER: Centered Neumorphic Card (Preset G) --- */
.mex-cta-strip-center-viewport {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.mex-neumorphic-centered-cta-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 3rem;
  background-color: var(--mex-herbs-surface);
  border-radius: 24px;
  box-shadow: 9px 9px 18px var(--mex-herbs-shadow-dark), 
              -9px -9px 18px var(--mex-herbs-shadow-light);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.mex-cta-centered-heading {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
}

.mex-cta-centered-description {
  color: #556270;
  margin-bottom: 1rem;
}

/* --- EXPERT PAGE STYLES --- */
.mex-expert-hero-viewport {
  max-width: 1200px;
  margin: 4.5rem auto 2rem auto;
  padding: 0 2rem;
}

.mex-neumorphic-centered-image-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.mex-neumorphic-rounded-card-frame {
  padding: 1.5rem;
  background-color: var(--mex-herbs-surface);
  border-radius: 32px;
  box-shadow: 10px 10px 20px var(--mex-herbs-shadow-dark), 
              -10px -10px 20px var(--mex-herbs-shadow-light);
}

.mex-expert-rounded-image {
  width: 100%;
  max-width: 650px;
  height: auto;
  border-radius: 20px;
}

/* Stats 2x2 Grid Expert */
.mex-expert-stats-section {
  max-width: 900px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.mex-expert-stats-neumorphic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.mex-stat-neumorphic-cell {
  padding: 2.5rem;
  background-color: var(--mex-herbs-surface);
  border-radius: var(--mex-border-radius);
  box-shadow: inset 5px 5px 10px var(--mex-herbs-shadow-dark), 
              inset -5px -5px 10px var(--mex-herbs-shadow-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mex-stat-numeric-display {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--mex-herbs-sage);
}

.mex-stat-label-explanation {
  font-size: 0.95rem;
  color: var(--mex-herbs-ink);
  font-weight: 500;
}

/* Alternating text column expert */
.mex-expert-alternate-details {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.mex-alternate-row-wrapper-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.mex-alternate-text-content-pane {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mex-alternate-title-heading {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}

.mex-alternate-body-paragraph {
  color: #556270;
}

.mex-alternate-highlight-aside-pane {
  padding: 2.5rem;
  background-color: var(--mex-herbs-surface);
  border-radius: var(--mex-border-radius);
  box-shadow: 6px 6px 12px var(--mex-herbs-shadow-dark), 
              -6px -6px 12px var(--mex-herbs-shadow-light);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mex-aside-accent-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--mex-herbs-sage);
}

.mex-aside-bullets-guide {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.mex-aside-bullets-guide li {
  position: relative;
  padding-left: 1.25rem;
}

.mex-aside-bullets-guide li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--mex-herbs-accent-clay);
}

/* Expert visual block using bg2 */
.mex-expert-visual-split-showcase {
  padding: 6rem 2rem;
  margin-top: 6rem;
}

.mex-expert-visual-split-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
}

.mex-expert-visual-text-block {
  max-width: 650px;
  padding: 3.5rem;
  background-color: var(--mex-herbs-surface);
  border-radius: var(--mex-border-radius);
  box-shadow: 10px 10px 20px var(--mex-herbs-shadow-dark), 
              -10px -10px 20px var(--mex-herbs-shadow-light);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mex-visual-block-large-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
}

.mex-visual-block-body-text {
  color: #556270;
  font-size: 0.95rem;
}

/* --- RESERVE / INSCRIBE FORM LAYOUT --- */
.mex-reserve-layout-viewport {
  max-width: 1200px;
  margin: 4.5rem auto;
  padding: 0 2rem;
}

.mex-reserve-inner-split-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.mex-reserve-instructions-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mex-reserve-intro-main-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
}

.mex-reserve-intro-subtitle {
  color: #556270;
}

.mex-reserve-info-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.mex-reserve-neumorphic-mini-card {
  padding: 2rem;
  background-color: var(--mex-herbs-surface);
  border-radius: var(--mex-border-radius);
  box-shadow: 6px 6px 12px var(--mex-herbs-shadow-dark), 
              -6px -6px 12px var(--mex-herbs-shadow-light);
  display: flex;
  gap: 1.5rem;
}

.mex-reserve-mini-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--mex-herbs-surface);
  box-shadow: inset 3px 3px 6px var(--mex-herbs-shadow-dark), 
              inset -3px -3px 6px var(--mex-herbs-shadow-light);
  color: var(--mex-herbs-sage);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mex-reserve-mini-card-icon svg {
  width: 24px;
  height: 24px;
}

.mex-reserve-mini-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mex-mini-card-subject-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.mex-mini-card-description-paragraph {
  font-size: 0.9rem;
  color: #556270;
}

.mex-mini-card-ordered-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.85rem;
}

.mex-mini-card-ordered-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mex-color-bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--mex-herbs-accent-clay);
}

.mex-mini-card-contact-reference {
  font-style: normal;
  font-size: 0.85rem;
}

.mex-interactive-anchor-link {
  color: var(--mex-herbs-sage);
  text-decoration: underline;
  font-weight: 600;
}

/* Form Column (Preset G Centered Card max-width 620px inside columns) */
.mex-reserve-form-column {
  width: 100%;
}

.mex-neumorphic-elevated-form-wrapper {
  background-color: var(--mex-herbs-surface);
  padding: 3rem 2.5rem;
  border-radius: 28px;
  box-shadow: 10px 10px 20px var(--mex-herbs-shadow-dark), 
              -10px -10px 20px var(--mex-herbs-shadow-light);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mex-form-main-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
}

.mex-form-sub-instructions {
  font-size: 0.9rem;
  color: #556270;
}

.mex-neumorphic-interactive-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mex-form-form-control-node {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mex-form-control-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mex-herbs-ink);
}

.mex-neumorphic-inset-text-input {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: var(--mex-border-radius);
  background-color: var(--mex-herbs-surface);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--mex-herbs-ink);
  box-shadow: inset 4px 4px 8px var(--mex-herbs-shadow-dark), 
              inset -4px -4px 8px var(--mex-herbs-shadow-light);
  outline: none;
  transition: all var(--mex-transition-speed) ease;
}

.mex-neumorphic-inset-text-input:focus {
  border-color: var(--mex-herbs-accent-clay);
}

.mex-textarea-multiline-input {
  min-height: 100px;
  resize: vertical;
}

/* Checkbox Neumorphic styling */
.mex-form-form-checkbox-node {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.mex-neumorphic-inset-checkbox-element {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background-color: var(--mex-herbs-surface);
  box-shadow: inset 2px 2px 5px var(--mex-herbs-shadow-dark), 
              inset -2px -2px 5px var(--mex-herbs-shadow-light);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  outline: none;
  border: none;
}

.mex-neumorphic-inset-checkbox-element:checked::before {
  content: "✔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--mex-herbs-sage);
  font-size: 0.75rem;
}

.mex-form-checkbox-label {
  font-size: 0.75rem;
  color: #556270;
  line-height: 1.4;
}

/* --- FAQ ACCORDION LAYOUT (Preset G open layout) --- */
.mex-faq-accordion-viewport {
  max-width: 900px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.mex-faq-accordion-stack-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mex-faq-item-neumorphic-card {
  padding: 2.25rem;
  background-color: var(--mex-herbs-surface);
  border-radius: var(--mex-border-radius);
  box-shadow: 6px 6px 12px var(--mex-herbs-shadow-dark), 
              -6px -6px 12px var(--mex-herbs-shadow-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mex-faq-card-question-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--mex-herbs-sage);
}

.mex-faq-card-answer-body {
  font-size: 0.95rem;
  color: #556270;
}

/* --- LEGAL DOCUMENT VIEWPORT (Privacy / Terms) --- */
.mex-legal-document-viewport {
  max-width: 900px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.mex-legal-document-inner-box {
  padding: 4rem 3.5rem;
  background-color: var(--mex-herbs-surface);
  border-radius: 28px;
  box-shadow: 8px 8px 16px var(--mex-herbs-shadow-dark), 
              -8px -8px 16px var(--mex-herbs-shadow-light);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mex-legal-document-main-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
}

.mex-legal-last-updated-date {
  font-size: 0.85rem;
  color: #8899a6;
}

.mex-legal-body-paragraph {
  font-size: 0.95rem;
  color: #556270;
  text-align: justify;
}

.mex-legal-horizontal-separator {
  border: none;
  height: 2px;
  border-top: 2px dashed #b8c6d9;
  margin: 1.5rem 0;
}

.mex-legal-document-section-subtitle {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mex-herbs-sage);
}

/* --- THANK YOU SCREEN --- */
.mex-thank-you-layout-viewport {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
}

.mex-neumorphic-elevated-thank-card {
  max-width: 650px;
  padding: 4rem 3rem;
  background-color: var(--mex-herbs-surface);
  border-radius: 28px;
  box-shadow: 10px 10px 20px var(--mex-herbs-shadow-dark), 
              -10px -10px 20px var(--mex-herbs-shadow-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.mex-thank-card-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--mex-herbs-surface);
  box-shadow: inset 4px 4px 8px var(--mex-herbs-shadow-dark), 
              inset -4px -4px 8px var(--mex-herbs-shadow-light);
  color: var(--mex-herbs-sage);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mex-thank-card-success-icon svg {
  width: 36px;
  height: 36px;
}

.mex-thank-card-main-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
}

.mex-thank-card-body-text {
  color: #556270;
  font-size: 0.95rem;
}

.mex-thank-card-image-divider {
  width: 100%;
  display: flex;
  justify-content: center;
}

.mex-neumorphic-mini-image-holder {
  padding: 0.75rem;
  background-color: var(--mex-herbs-surface);
  border-radius: 20px;
  box-shadow: 5px 5px 10px var(--mex-herbs-shadow-dark), 
              -5px -5px 10px var(--mex-herbs-shadow-light);
}

.mex-thank-rounded-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 12px;
}

/* --- FOOTER SYSTEM --- */
footer.mex-bottom-footer-bar {
  background-color: var(--mex-herbs-surface);
  padding: 5rem 2rem 2rem 2rem;
  box-shadow: inset 6px 6px 12px var(--mex-herbs-shadow-dark), 
              inset -6px -6px 12px var(--mex-herbs-shadow-light);
  margin-top: 8rem;
}

.mex-footer-inner-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 2px dashed #b8c6d9;
}

.mex-footer-branding-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mex-footer-brief-intro {
  color: #556270;
  max-width: 450px;
  font-size: 0.9rem;
}

.mex-footer-navigation-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mex-footer-column-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.mex-footer-nav-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mex-footer-nav-link-item {
  text-decoration: none;
  color: #556270;
  font-size: 0.9rem;
  transition: color var(--mex-transition-speed) ease;
}

.mex-footer-nav-link-item:hover {
  color: var(--mex-herbs-accent-clay);
}

.mex-footer-disclaimer-wrapper {
  max-width: 1200px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mex-footer-disclaimer-text {
  font-size: 0.75rem;
  color: #8899a6;
  text-align: justify;
  line-height: 1.5;
}

.mex-footer-copyright-text {
  font-size: 0.75rem;
  color: #8899a6;
  text-align: center;
}

/* --- COOKIES CONSENT BANNER --- */
.mex-cookie-consent-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  padding: 1.5rem 2rem;
}

.mex-cookie-banner-inner-box {
  max-width: 1100px;
  margin: 0 auto;
  background-color: var(--mex-herbs-surface);
  padding: 2rem;
  border-radius: var(--mex-border-radius);
  box-shadow: 8px 8px 24px rgba(0, 0, 0, 0.15), 
              -8px -8px 24px rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.mex-cookie-banner-message-text {
  font-size: 0.85rem;
  color: var(--mex-herbs-ink);
  line-height: 1.5;
}

.mex-cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.mex-cookie-button-accept-node {
  padding: 0.75rem 1.75rem;
  border-radius: var(--mex-border-radius);
  background-color: var(--mex-herbs-surface);
  color: var(--mex-herbs-sage);
  border: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 4px 4px 8px var(--mex-herbs-shadow-dark), 
              -4px -4px 8px var(--mex-herbs-shadow-light);
  transition: all var(--mex-transition-speed) ease;
}

.mex-cookie-button-accept-node:hover {
  box-shadow: inset 2px 2px 5px var(--mex-herbs-shadow-dark), 
              inset -2px -2px 5px var(--mex-herbs-shadow-light);
}

.mex-cookie-button-decline-node {
  padding: 0.75rem 1.75rem;
  border-radius: var(--mex-border-radius);
  background-color: var(--mex-herbs-surface);
  color: #723d3d;
  border: none;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 4px 4px 8px var(--mex-herbs-shadow-dark), 
              -4px -4px 8px var(--mex-herbs-shadow-light);
  transition: all var(--mex-transition-speed) ease;
}

.mex-cookie-button-decline-node:hover {
  box-shadow: inset 2px 2px 5px var(--mex-herbs-shadow-dark), 
              inset -2px -2px 5px var(--mex-herbs-shadow-light);
}

/* --- RESPONSIVE ADAPTATIONS --- */
@media (max-width: 991px) {
  .mex-hero-split-viewport {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .mex-hero-cta-wrapper {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .mex-problem-solution-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mex-features-neumorphic-grid-layout {
    grid-template-columns: 1fr;
  }
  
  .mex-neumorphic-stepper-track-wrapper {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .mex-neumorphic-stepper-connector-line {
    display: none;
  }
  
  .mex-stepper-details-grid-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mex-expert-stats-neumorphic-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mex-alternate-row-wrapper-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .mex-reserve-inner-split-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .mex-cookie-banner-inner-box {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Hamburger Menu Toggle Display */
  header.mex-top-header {
    padding: 1rem 1.5rem;
  }

  .mex-mobile-menu-trigger-label {
    display: flex;
  }
  
  .mex-navigation-inner-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: -1.5rem;
    width: 250px;
    background-color: var(--mex-herbs-surface);
    padding: 2rem;
    border-radius: 0 0 0 var(--mex-border-radius);
    box-shadow: 4px 8px 16px var(--mex-herbs-shadow-dark);
    z-index: 1000;
  }
  
  .mex-navigation-link-list {
    flex-direction: column;
    gap: 1.25rem;
  }
  
  .mex-mobile-menu-checkbox:checked ~ .mex-navigation-inner-menu {
    display: flex;
  }
  
  .mex-mobile-menu-checkbox:checked ~ .mex-mobile-menu-trigger-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mex-mobile-menu-checkbox:checked ~ .mex-mobile-menu-trigger-label span:nth-child(2) {
    opacity: 0;
  }
  
  .mex-mobile-menu-checkbox:checked ~ .mex-mobile-menu-trigger-label span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  
  .mex-hero-main-title {
    font-size: 2.15rem;
  }
  
  .mex-footer-inner-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .mex-legal-document-inner-box {
    padding: 2.5rem 1.5rem;
  }
}