/* Custom CSS Variables inspired by stable energy metabolism, vitality, and cellular balance */
:root {
  --essence-bg-primary: #f6f8f5;
  --essence-surface-pure: #ffffff;
  --essence-ink-dark: #1b2421;
  --essence-ink-muted: #4e5d58;
  --essence-stable-green: #2a5c43;
  --essence-stable-green-light: #e8f0eb;
  --essence-energy-amber: #d97706;
  --essence-energy-amber-light: #fef3c7;
  --essence-accent-neutral: #e2ebd9;
  --essence-gradient-vitality: linear-gradient(135deg, #2a5c43 0%, #3b82f6 100%);
  --essence-gradient-bg: linear-gradient(135deg, #f6f8f5 0%, #eef3eb 100%);
  --font-display: 'Raleway', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Preset I Styles */
  --border-radius-soft: 20px;
  --shadow-depth-raised: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-depth-deep: 0 20px 40px rgba(42, 92, 67, 0.08);
}

/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--essence-bg-primary);
  color: var(--essence-ink-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--essence-ink-dark);
}

/* Scroll Progress Bar (Preset I) */
.scroll-progress-indicator {
  position: fixed;
  top: 70px;
  left: 0;
  height: 4px;
  width: 100%;
  background: transparent;
  z-index: 1001;
}

.scroll-progress-line {
  height: 100%;
  width: 0;
  background: var(--essence-stable-green);
  animation: progress-grow linear;
  animation-timeline: scroll();
}

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

/* Scroll-Driven Appearances (Preset I) */
.reveal-on-scroll {
  animation: slide-up-reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-timeline: view();
  animation-range: entry 5% entry 35%;
}

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

/* Header Component */
.top-navigation-hub {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  height: 70px;
}

.nav-hub-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--essence-stable-green);
  font-size: 1.25rem;
}

.brand-identity svg {
  fill: currentColor;
  width: 32px;
  height: 32px;
}

.nav-links-deck {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link-item {
  text-decoration: none;
  color: var(--essence-ink-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-link-item:hover {
  color: var(--essence-stable-green);
}

.nav-link-item.accentuated-link {
  background-color: var(--essence-stable-green);
  color: var(--essence-surface-pure);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-link-item.accentuated-link:hover {
  background-color: var(--essence-ink-dark);
}

/* CSS-Only Mobile Menu Hamburger */
.hamburger-toggle-input {
  display: none;
}

.hamburger-visual-trigger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1002;
}

.hamburger-visual-trigger span {
  width: 25px;
  height: 3px;
  background-color: var(--essence-ink-dark);
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger-visual-trigger {
    display: flex;
  }
  
  .nav-links-deck {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--essence-surface-pure);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }
  
  .hamburger-toggle-input:checked ~ .nav-links-deck {
    transform: translateY(0);
  }

  .hamburger-toggle-input:checked ~ .hamburger-visual-trigger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger-toggle-input:checked ~ .hamburger-visual-trigger span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-toggle-input:checked ~ .hamburger-visual-trigger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* Hero Section (Preset I Layout) */
.energy-hero-block {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 1.5rem;
}

.energy-hero-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(246, 248, 245, 0.95) 40%, rgba(246, 248, 245, 0.7) 100%);
  z-index: 1;
}

.energy-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.energy-hero-content-box {
  max-width: 650px;
}

.vital-tagline {
  display: inline-block;
  background-color: var(--essence-stable-green-light);
  color: var(--essence-stable-green);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-primary-text {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .hero-primary-text {
    font-size: 2.25rem;
  }
}

.hero-secondary-text {
  font-size: 1.15rem;
  color: var(--essence-ink-muted);
  margin-bottom: 2.5rem;
}

.pill-action-anchor {
  display: inline-block;
  background: var(--essence-stable-green);
  color: var(--essence-surface-pure);
  padding: 1rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(42, 92, 67, 0.25);
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.pill-action-anchor:hover {
  transform: translateY(-2px);
  background-color: var(--essence-ink-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Bento Grid Features Section (Preset I Layout) */
.vital-bento-grid-wrapper {
  padding: 8vh 1.5rem;
  background-color: var(--essence-surface-pure);
}

.bento-section-header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.bento-section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.vital-bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-cell-item {
  background: var(--essence-bg-primary);
  border-radius: var(--border-radius-soft);
  padding: 2.5rem;
  box-shadow: var(--shadow-depth-raised);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-cell-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-depth-deep);
}

.bento-cell-item svg {
  width: 44px;
  height: 44px;
  fill: var(--essence-stable-green);
  margin-bottom: 1.5rem;
}

.bento-cell-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.bento-cell-description {
  color: var(--essence-ink-muted);
  font-size: 0.95rem;
}

/* Bento Span styles */
.bento-span-4 {
  grid-column: span 4;
  background: var(--essence-stable-green-light);
  border: 1px solid rgba(42, 92, 67, 0.1);
}

.bento-span-4 .bento-cell-title {
  color: var(--essence-stable-green);
}

.bento-span-2 {
  grid-column: span 2;
  background: var(--essence-energy-amber-light);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bento-big-stat {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--essence-energy-amber);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.bento-span-3 {
  grid-column: span 3;
}

.bento-span-6 {
  grid-column: span 6;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.bento-span-6 svg {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

@media (max-width: 992px) {
  .bento-span-4, .bento-span-3, .bento-span-2 {
    grid-column: span 6;
  }
  .bento-span-6 {
    flex-direction: column;
    align-items: flex-start;
  }
  .bento-span-6 svg {
    margin-bottom: 1.5rem;
  }
}

/* "How it Works" Step System (Preset I) */
.how-it-works-fluid-segment {
  padding: 8vh 1.5rem;
  background: var(--essence-bg-primary);
}

.steps-conceptual-columns {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step-conceptual-card {
  flex: 1;
  background: var(--essence-surface-pure);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-soft);
  box-shadow: var(--shadow-depth-raised);
  position: relative;
  overflow: hidden;
}

.step-number-watermark {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 6rem;
  font-weight: 900;
  color: var(--essence-ink-dark);
  opacity: 0.05;
  line-height: 1;
}

.step-conceptual-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.step-conceptual-card p {
  color: var(--essence-ink-muted);
}

@media (max-width: 768px) {
  .steps-conceptual-columns {
    flex-direction: column;
  }
}

/* Split content row (bg2.webp layout) */
.split-text-image-flow {
  display: flex;
  min-height: 60vh;
  max-width: 1200px;
  margin: 6rem auto;
  background: var(--essence-surface-pure);
  border-radius: var(--border-radius-soft);
  overflow: hidden;
  box-shadow: var(--shadow-depth-raised);
}

.split-image-half {
  flex: 1;
  background-size: cover;
  background-position: center;
  min-height: 350px;
}

.split-text-half {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-text-half h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.split-text-half p {
  color: var(--essence-ink-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
  .split-text-image-flow {
    flex-direction: column;
    margin: 3rem 1.5rem;
  }
  .split-text-half {
    padding: 2.5rem;
  }
}

/* CTA Strip (Preset I) */
.action-strip-segment {
  background: var(--essence-gradient-vitality);
  color: var(--essence-surface-pure);
  text-align: center;
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.action-strip-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.action-strip-content h2 {
  font-size: 2.75rem;
  color: var(--essence-surface-pure);
  margin-bottom: 1.5rem;
}

.action-strip-content p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.action-strip-btn {
  display: inline-block;
  background: var(--essence-surface-pure);
  color: var(--essence-stable-green);
  font-weight: 700;
  padding: 1rem 3rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.action-strip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.2);
}

/* Expert Page Custom CSS */
.expert-profile-layout {
  display: flex;
  gap: 4rem;
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 1.5rem;
  align-items: flex-start;
}

.expert-image-card {
  flex: 1;
  position: sticky;
  top: 100px;
}

.expert-image-card img {
  width: 100%;
  border-radius: var(--border-radius-soft);
  box-shadow: var(--shadow-depth-deep);
  display: block;
}

.expert-biography-block {
  flex: 1.2;
}

.expert-biography-block h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.expert-biography-block p {
  color: var(--essence-ink-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.expert-credo-box {
  background: var(--essence-stable-green-light);
  border-left: 4px solid var(--essence-stable-green);
  padding: 1.5rem;
  border-radius: 0 var(--border-radius-soft) var(--border-radius-soft) 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--essence-stable-green);
}

@media (max-width: 992px) {
  .expert-profile-layout {
    flex-direction: column;
  }
  .expert-image-card {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Reserve Page Specific CSS */
.reserve-system-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 1.5rem;
}

.reserve-info-track {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reserve-info-bullet {
  background: var(--essence-surface-pure);
  padding: 2rem;
  border-radius: var(--border-radius-soft);
  box-shadow: var(--shadow-depth-raised);
  display: flex;
  gap: 1.5rem;
}

.reserve-bullet-icon {
  background: var(--essence-stable-green-light);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reserve-bullet-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--essence-stable-green);
}

.reserve-bullet-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.reserve-bullet-text p {
  color: var(--essence-ink-muted);
  font-size: 0.95rem;
}

.reserve-interactive-card {
  background: var(--essence-surface-pure);
  padding: 3rem;
  border-radius: var(--border-radius-soft);
  box-shadow: var(--shadow-depth-deep);
}

.reserve-form-headline {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--essence-stable-green);
}

.reserve-form-element {
  margin-bottom: 1.5rem;
}

.reserve-form-element label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.reserve-form-element input[type="text"],
.reserve-form-element input[type="tel"],
.reserve-form-element textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.reserve-form-element input:focus,
.reserve-form-element textarea:focus {
  border-color: var(--essence-stable-green);
}

.checkbox-consent-wrap {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.checkbox-consent-wrap input[type="checkbox"] {
  margin-top: 0.25rem;
}

.checkbox-consent-wrap label {
  font-size: 0.85rem;
  color: var(--essence-ink-muted);
}

.reserve-submit-action {
  width: 100%;
  background: var(--essence-stable-green);
  color: var(--essence-surface-pure);
  border: none;
  padding: 1rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  transition: background-color 0.3s;
}

.reserve-submit-action:hover {
  background-color: var(--essence-ink-dark);
}

.reserve-mailto-direct {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.reserve-mailto-direct a {
  color: var(--essence-stable-green);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 992px) {
  .reserve-system-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Accordion FAQ Area */
.faq-accordion-zone {
  max-width: 800px;
  margin: 6rem auto;
  padding: 0 1.5rem;
}

.faq-section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.faq-accordion-card {
  background: var(--essence-surface-pure);
  border-radius: var(--border-radius-soft);
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-depth-raised);
}

.faq-accordion-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--essence-stable-green);
  margin-bottom: 0.75rem;
}

.faq-accordion-answer {
  color: var(--essence-ink-muted);
  font-size: 0.95rem;
}

/* Cookie Banner (Index Only) */
.cookie-transparency-layer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--essence-surface-pure);
  box-shadow: 0 -10px 45px rgba(0,0,0,0.1);
  z-index: 9999;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-transparency-layer.is-fully-visible {
  transform: translateY(0);
}

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

.cookie-prose-column {
  font-size: 0.9rem;
  color: var(--essence-ink-muted);
}

.cookie-button-deck {
  display: flex;
  gap: 1rem;
}

.cookie-anchor-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: var(--font-display);
}

.cookie-btn-primary {
  background: var(--essence-stable-green);
  color: var(--essence-surface-pure);
}

.cookie-btn-secondary {
  background: transparent;
  color: var(--essence-ink-muted);
  border: 1px solid rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .cookie-content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .cookie-button-deck {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Legal Pages */
.legal-prose-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  min-height: 70vh;
}

.legal-prose-container h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--essence-stable-green);
}

.legal-prose-container h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-prose-container p {
  color: var(--essence-ink-muted);
  margin-bottom: 1.2rem;
}

/* Thank You Page */
.thank-conceptual-viewport {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background-size: cover;
  background-position: center;
  position: relative;
}

.thank-conceptual-viewport::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(246, 248, 245, 0.9);
  z-index: 1;
}

.thank-center-card {
  position: relative;
  z-index: 2;
  background: var(--essence-surface-pure);
  padding: 4rem 3rem;
  border-radius: var(--border-radius-soft);
  box-shadow: var(--shadow-depth-deep);
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.thank-center-card h1 {
  font-size: 3rem;
  color: var(--essence-stable-green);
  margin-bottom: 1rem;
}

.thank-center-card p {
  color: var(--essence-ink-muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

/* Footer Section */
.bottom-footer-anchor {
  background: var(--essence-ink-dark);
  color: var(--essence-surface-pure);
  padding: 5rem 1.5rem 2rem 1.5rem;
}

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

.footer-top-matrix {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.footer-brand-segment {
  max-width: 350px;
}

.footer-brand-segment .brand-identity {
  color: var(--essence-surface-pure);
  margin-bottom: 1rem;
}

.footer-brand-segment p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-navigation-links-box {
  display: flex;
  gap: 4rem;
}

.footer-link-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link-column h4 {
  color: var(--essence-surface-pure);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-link-column a:hover {
  color: var(--essence-stable-green-light);
}

.footer-disclaimer-card {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.footer-copyright-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .footer-top-matrix {
    flex-direction: column;
  }
  .footer-navigation-links-box {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }
}