@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary: #2A3B4C;
  --secondary: #F5F0E1;
  --accent-green: #7BBF8E;
  --accent-gold: #B89C6F;
  --text-dark: #333333;
  --text-light: #666666;
  --border-light: #CCCCCC;
  --bg-alt: #E8E3D5;
  --white: #FFFFFF;
  --container-max: 1280px;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(42,59,76,0.08);
  --shadow-card: 0 4px 24px rgba(42,59,76,0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Open Sans', sans-serif;
  color: var(--primary);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
p { font-size: 1rem; line-height: 1.75; color: var(--text-dark); }

a { color: var(--accent-green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background-color: var(--bg-alt);
}

.section--dark {
  background-color: var(--primary);
  color: var(--secondary);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--secondary);
}

.section--dark p {
  color: rgba(245,240,225,0.85);
}

.section--cream {
  background-color: var(--secondary);
}

.divider {
  width: 56px;
  height: 3px;
  background: var(--accent-green);
  margin: 24px 0;
}

.divider--gold {
  background: var(--accent-gold);
}

.divider--center {
  margin: 24px auto;
}

.tag {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.tag--gold {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-align: center;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--accent-green);
  color: var(--white);
  border-color: var(--accent-green);
}

.btn--primary:hover {
  background-color: #6aad7d;
  border-color: #6aad7d;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(123,191,142,0.35);
  transform: translateY(-1px);
}

.btn--outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn--outline-light:hover {
  background-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.btn--ghost:hover {
  background-color: var(--accent-green);
  color: var(--white);
}

.disclaimer-text {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
  letter-spacing: 0.01em;
}

.disclaimer-text--light {
  color: rgba(245,240,225,0.6);
}

/* =========================================
   HEADER / NAV
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(42,59,76,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,156,111,0.2);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-logo {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo span {
  color: var(--accent-green);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-main a {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(245,240,225,0.8);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all 0.2s;
  position: relative;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--secondary);
  background: rgba(123,191,142,0.15);
}

.nav-main a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent-green);
  border-radius: 1px;
}

.nav-contact-btn {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary) !important;
  background: var(--accent-green) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius) !important;
}

.nav-contact-btn:hover {
  background: #6aad7d !important;
  color: var(--white) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  border-radius: 1px;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--primary);
  border-top: 1px solid rgba(184,156,111,0.2);
  z-index: 999;
  padding: 16px 0;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 14px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: rgba(245,240,225,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav a:hover {
  color: var(--secondary);
  background: rgba(123,191,142,0.1);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 32px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(42,59,76,0.9) 0%, rgba(42,59,76,0.7) 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
}

.hero-content h1 {
  color: var(--secondary);
  margin-bottom: 24px;
}

.hero-content .subtitle {
  font-size: 1.15rem;
  color: rgba(245,240,225,0.85);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-disclaimer {
  font-size: 0.78rem;
  color: rgba(245,240,225,0.5);
  font-style: italic;
  letter-spacing: 0.03em;
}

/* =========================================
   FORMULA BUILDER
   ========================================= */
.formula-section {
  background: var(--secondary);
  padding: 96px 0;
}

.formula-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.categories-panel h2 {
  margin-bottom: 8px;
}

.categories-panel .divider {
  margin-bottom: 32px;
}

.category-group {
  margin-bottom: 40px;
}

.category-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.ingredient-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
  user-select: none;
}

.ingredient-card:hover {
  border-color: var(--accent-green);
  box-shadow: 0 4px 16px rgba(123,191,142,0.18);
  transform: translateY(-2px);
}

.ingredient-card.selected {
  border-color: var(--accent-green);
  background: rgba(123,191,142,0.08);
}

.ingredient-card.selected::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.7rem;
  color: var(--accent-green);
  font-weight: 700;
}

.ingredient-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
  line-height: 1;
}

.ingredient-name {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.flask-panel {
  position: sticky;
  top: 96px;
}

.flask-container {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
}

.flask-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.flask-visual {
  width: 120px;
  height: 160px;
  margin: 0 auto 24px;
  position: relative;
}

.flask-svg {
  width: 100%;
  height: 100%;
}

.flask-fill {
  transition: height 0.6s ease, y 0.6s ease;
}

.flask-selected-list {
  list-style: none;
  margin-bottom: 24px;
  min-height: 80px;
}

.flask-selected-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(204,204,204,0.4);
  font-size: 0.85rem;
  color: var(--text-dark);
  font-family: 'Lato', sans-serif;
}

.flask-selected-list li .remove-item {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(204,204,204,0.5);
  border: none;
  cursor: pointer;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.2s;
  flex-shrink: 0;
}

.flask-selected-list li .remove-item:hover {
  background: #e88;
  color: white;
}

.flask-empty-msg {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  font-style: italic;
  padding: 24px 0;
}

.flask-counter {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 16px;
  text-align: right;
  font-family: 'Lato', sans-serif;
}

.flask-analyze-btn {
  width: 100%;
  margin-bottom: 12px;
}

.flask-reset-btn {
  width: 100%;
  font-size: 0.8rem;
  padding: 10px;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text-light);
  font-family: 'Lato', sans-serif;
  transition: all 0.2s;
}

.flask-reset-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* =========================================
   ANALYSIS RESULT
   ========================================= */
.analysis-panel {
  display: none;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 48px;
  box-shadow: var(--shadow-card);
  animation: fadeInUp 0.4s ease;
}

.analysis-panel.visible {
  display: block;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.analysis-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 16px;
}

.analysis-title h3 {
  margin-bottom: 4px;
}

.balance-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.balance-score-value {
  font-family: 'Open Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1;
}

.balance-score-label {
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analysis-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.analysis-bar-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.analysis-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.analysis-bar-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Lato', sans-serif;
}

.analysis-bar-pct {
  font-size: 0.82rem;
  color: var(--text-light);
  font-family: 'Lato', sans-serif;
}

.analysis-bar-track {
  height: 8px;
  background: var(--bg-alt);
  border-radius: 4px;
  overflow: hidden;
}

.analysis-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--accent-green);
  transition: width 0.8s ease;
  width: 0;
}

.analysis-bar-fill--gold {
  background: var(--accent-gold);
}

.analysis-bar-fill--blue {
  background: var(--primary);
}

.analysis-summary {
  background: rgba(245,240,225,0.6);
  border-left: 3px solid var(--accent-green);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
}

.analysis-summary p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* =========================================
   COMPARISON TABLE
   ========================================= */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
}

.comparison-table th {
  background: var(--primary);
  color: var(--secondary);
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.comparison-table tr:nth-child(even) td {
  background: rgba(245,240,225,0.4);
}

.comparison-table .highlight {
  color: var(--accent-green);
  font-weight: 700;
}

/* =========================================
   POPULAR COMBINATIONS GALLERY
   ========================================= */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.popular-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s ease;
  cursor: pointer;
  border-top: 3px solid var(--accent-gold);
}

.popular-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
  border-top-color: var(--accent-green);
}

.popular-card-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.popular-card-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.popular-card-tag {
  font-size: 0.72rem;
  background: var(--bg-alt);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 2px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

.popular-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* =========================================
   CHAT WIDGET
   ========================================= */
.chat-trigger {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-green);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(123,191,142,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  font-size: 1.4rem;
}

.chat-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(123,191,142,0.55);
}

.chat-box {
  position: fixed;
  bottom: 104px;
  right: 32px;
  z-index: 500;
  width: 340px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(42,59,76,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.chat-box.open {
  display: flex;
}

.chat-header {
  background: var(--primary);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.chat-header-info h4 {
  color: var(--secondary);
  font-size: 0.9rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  margin-bottom: 2px;
}

.chat-header-info span {
  font-size: 0.72rem;
  color: rgba(245,240,225,0.6);
  font-family: 'Lato', sans-serif;
}

.chat-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(245,240,225,0.7);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.chat-close:hover { color: var(--secondary); }

.chat-messages {
  padding: 20px 16px;
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  background: var(--bg-alt);
  border-radius: 4px 12px 12px 4px;
  padding: 12px 14px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-family: 'Lato', sans-serif;
  max-width: 88%;
}

.chat-msg.user-msg {
  background: rgba(123,191,142,0.15);
  border-radius: 12px 4px 4px 12px;
  align-self: flex-end;
  color: var(--primary);
}

.chat-suggestions {
  padding: 0 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-suggestion-btn {
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.78rem;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  font-family: 'Lato', sans-serif;
  transition: all 0.2s;
}

.chat-suggestion-btn:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(123,191,142,0.06);
}

.chat-disclaimer {
  padding: 10px 16px;
  border-top: 1px solid var(--border-light);
  font-size: 0.7rem;
  color: var(--text-light);
  font-style: italic;
  font-family: 'Lato', sans-serif;
  line-height: 1.5;
}

/* =========================================
   FAQ
   ========================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 22px 28px;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-question.open {
  background: var(--secondary);
  color: var(--accent-green);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.25s;
  font-weight: 700;
}

.faq-question.open .faq-icon {
  background: var(--accent-green);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 28px 22px;
  background: var(--secondary);
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.75;
}

.faq-answer.open {
  display: block;
}

/* =========================================
   INFO CARDS
   ========================================= */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1.5px solid var(--border-light);
  border-top: 3px solid var(--accent-gold);
  transition: all 0.25s ease;
  position: relative;
}

.info-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
  border-top-color: var(--accent-green);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(123,191,142,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.info-card h3 {
  margin-bottom: 12px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* =========================================
   SECTION WITH IMAGE + TEXT
   ========================================= */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 480px;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-img {
  overflow: hidden;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-text {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--secondary);
}

.split-text--dark {
  background: var(--primary);
}

.split-text--dark h2 {
  color: var(--secondary);
}

.split-text--dark p {
  color: rgba(245,240,225,0.85);
}

.split-text--dark .divider {
  background: var(--accent-green);
}

.split-text--alt {
  background: var(--bg-alt);
}

/* =========================================
   STABLE FORMULAS SECTION
   ========================================= */
.stable-formula-visual {
  background: var(--primary);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.stable-formula-visual img {
  width: 200px;
  height: 260px;
  object-fit: contain;
  opacity: 0.85;
}

.stable-formula-components {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.stable-component-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(245,240,225,0.06);
  padding: 12px 16px;
  border-radius: var(--radius);
  border-left: 2px solid var(--accent-green);
}

.stable-component-row span:first-child {
  font-size: 1.2rem;
}

.stable-component-row p {
  font-size: 0.82rem;
  color: rgba(245,240,225,0.75);
  line-height: 1.4;
  margin-bottom: 0;
}

.stable-component-row strong {
  color: var(--secondary);
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 2px;
}

/* =========================================
   STAT STRIP
   ========================================= */
.stat-strip {
  background: var(--primary);
  padding: 56px 0;
  border-top: 3px solid var(--accent-gold);
  border-bottom: 3px solid var(--accent-gold);
}

.stat-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 24px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-family: 'Open Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent-green);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(245,240,225,0.7);
  font-family: 'Lato', sans-serif;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

/* =========================================
   GALLERY GRID (index photos)
   ========================================= */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.photo-grid-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
  background: var(--bg-alt);
}

.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-grid-item:hover img {
  transform: scale(1.04);
}

.photo-grid-item.tall {
  aspect-ratio: 3/4;
  grid-row: span 2;
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-hero {
  background: var(--primary);
  padding: 160px 32px 96px;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-green) 100%);
}

.about-hero h1 {
  color: var(--secondary);
  max-width: 720px;
  margin-bottom: 24px;
}

.about-hero p {
  color: rgba(245,240,225,0.8);
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.75;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-green) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding: 28px 32px;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  transition: all 0.25s ease;
  cursor: default;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -48px;
  top: 32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 2px solid var(--secondary);
  box-shadow: 0 0 0 2px var(--accent-gold);
  transition: all 0.25s;
}

.timeline-item:hover {
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
  border-color: var(--accent-green);
}

.timeline-item:hover::before {
  background: var(--accent-green);
  box-shadow: 0 0 0 2px var(--accent-green);
}

.timeline-year {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.timeline-item h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.principle-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-left: 4px solid var(--accent-gold);
  transition: all 0.25s ease;
}

.principle-card:nth-child(2n) {
  border-left-color: var(--accent-green);
}

.principle-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.principle-num {
  font-family: 'Open Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--bg-alt);
  line-height: 1;
  margin-bottom: 12px;
}

.principle-card h3 {
  margin-bottom: 12px;
}

.principle-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-hero {
  background: var(--primary);
  padding: 160px 32px 96px;
  position: relative;
}

.contact-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-green) 100%);
}

.contact-hero h1 { color: var(--secondary); margin-bottom: 16px; }
.contact-hero p { color: rgba(245,240,225,0.8); max-width: 540px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(123,191,142,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 4px;
  font-family: 'Lato', sans-serif;
}

.contact-info-value {
  font-size: 0.92rem;
  color: var(--text-dark);
  font-family: 'Lato', sans-serif;
  line-height: 1.5;
}

.contact-map-icon {
  background: var(--primary);
  padding: 40px 28px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.map-pin-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.contact-map-icon p {
  color: rgba(245,240,225,0.85);
  font-size: 0.88rem;
  line-height: 1.6;
}

.contact-map-icon strong {
  color: var(--secondary);
  font-size: 1rem;
  display: block;
  margin-bottom: 4px;
  font-family: 'Open Sans', sans-serif;
}

.contact-form-box {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
}

.contact-form-box h2 {
  margin-bottom: 8px;
}

.form-disclaimer {
  background: rgba(245,240,225,0.6);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent-gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 28px;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.65;
}

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

.form-label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(123,191,142,0.15);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 0.95rem;
  margin-top: 8px;
}

/* =========================================
   THANK YOU PAGE
   ========================================= */
.thankyou-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  padding: 120px 32px 80px;
}

.thankyou-box {
  max-width: 560px;
  width: 100%;
  text-align: center;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 64px 48px;
  box-shadow: var(--shadow-card);
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  background: rgba(123,191,142,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 32px;
  border: 2px solid var(--accent-green);
}

.thankyou-box h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.thankyou-box p {
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.7;
}

/* =========================================
   POLICY PAGES
   ========================================= */
.policy-hero {
  background: var(--primary);
  padding: 160px 32px 80px;
  position: relative;
}

.policy-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-green) 100%);
}

.policy-hero h1 { color: var(--secondary); margin-bottom: 16px; }
.policy-hero p { color: rgba(245,240,225,0.75); font-size: 0.9rem; }

.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 32px;
}

.policy-content h2 {
  font-size: 1.3rem;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--primary);
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  margin-bottom: 16px;
  font-size: 0.94rem;
  color: #444;
  line-height: 1.8;
}

.policy-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.policy-content ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 0.94rem;
  color: #444;
  line-height: 1.7;
  border-bottom: 1px solid rgba(204,204,204,0.25);
}

.policy-content ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

.policy-section-block {
  background: rgba(245,240,225,0.5);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent-gold);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
}

.policy-section-block p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--primary);
  padding: 80px 0 0;
  border-top: 3px solid var(--accent-gold);
}

.footer-main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand .site-logo {
  font-size: 1.6rem;
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  color: rgba(245,240,225,0.7);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-mission-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(123,191,142,0.12);
  border: 1px solid rgba(123,191,142,0.3);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--accent-green);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-col-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(245,240,225,0.7);
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Lato', sans-serif;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-list li span:first-child {
  font-size: 0.95rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.footer-contact-list li span:last-child {
  font-size: 0.85rem;
  color: rgba(245,240,225,0.7);
  font-family: 'Lato', sans-serif;
  line-height: 1.5;
}

.footer-hours {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-hours-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
  font-family: 'Lato', sans-serif;
}

.footer-hours p {
  font-size: 0.82rem;
  color: rgba(245,240,225,0.65);
  line-height: 1.6;
}

.footer-disclaimer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-disclaimer-bar p {
  font-size: 0.78rem;
  color: rgba(245,240,225,0.5);
  line-height: 1.7;
  font-style: italic;
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 20px 32px;
}

.footer-bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(245,240,225,0.45);
  font-family: 'Lato', sans-serif;
}

.footer-policy-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-policy-links a {
  font-size: 0.78rem;
  color: rgba(245,240,225,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-policy-links a:hover {
  color: var(--accent-green);
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--primary);
  border-top: 2px solid var(--accent-gold);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.85rem;
  color: rgba(245,240,225,0.85);
  line-height: 1.6;
  flex: 1;
  min-width: 280px;
  font-family: 'Lato', sans-serif;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.cookie-btn--accept {
  background: var(--accent-green);
  color: var(--white);
  border-color: var(--accent-green);
}

.cookie-btn--accept:hover {
  background: #6aad7d;
  color: var(--white);
}

.cookie-btn--reject {
  background: transparent;
  color: rgba(245,240,225,0.8);
  border-color: rgba(245,240,225,0.3);
}

.cookie-btn--reject:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.cookie-btn--more {
  background: transparent;
  color: var(--accent-gold);
  border-color: transparent;
  font-weight: 400;
  text-decoration: underline;
  padding: 10px 8px;
}

.cookie-btn--more:hover {
  color: var(--secondary);
}

/* =========================================
   INFO NOTICE
   ========================================= */
.info-notice {
  background: rgba(184,156,111,0.1);
  border: 1px solid rgba(184,156,111,0.35);
  border-left: 4px solid var(--accent-gold);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 48px;
}

.info-notice h3 {
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-notice p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 6px;
}

.info-notice p:last-child { margin-bottom: 0; }

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
  .formula-layout {
    grid-template-columns: 1fr;
  }
  .flask-panel {
    position: static;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .stat-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-bottom: none; }
  .stat-item:nth-child(4) { border-right: none; border-bottom: none; }
}

@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-section.reverse {
    direction: ltr;
  }
  .split-img {
    min-height: 300px;
  }
  .split-text {
    padding: 48px 32px;
  }
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .popular-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .principles-grid {
    grid-template-columns: 1fr;
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-grid-item.tall {
    aspect-ratio: 3/2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .nav-main { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 100px 24px 64px; }
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .container--narrow { padding: 0 20px; }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px 48px;
  }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .footer-policy-links { gap: 16px; }
  .info-grid { grid-template-columns: 1fr; }
  .popular-grid { grid-template-columns: 1fr; }
  .cookie-banner { padding: 20px 20px; }
  .analysis-panel { padding: 28px 20px; }
  .contact-form-box { padding: 32px 24px; }
  .thankyou-box { padding: 40px 24px; }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .header-inner { padding: 0 20px; }
  .about-hero { padding: 120px 20px 72px; }
  .contact-hero { padding: 120px 20px 72px; }
  .policy-hero { padding: 120px 20px 64px; }
  .policy-content { padding: 48px 20px; }
  .timeline { padding-left: 28px; }
  .timeline-item { padding: 20px 20px; }
  .timeline-item::before { left: -36px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; }
  .analysis-header { flex-direction: column; }
  .balance-score { align-items: flex-start; }
  .stat-strip-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .comparison-table { font-size: 0.78rem; }
  .comparison-table th,
  .comparison-table td { padding: 10px 12px; }
}
