﻿/* ==========================================================================
   ZielarniaZdrowia Polska - Clean Modern Design System & Google Ads Compliance
   ========================================================================== */

:root {
  --primary: #15803d;
  --primary-dark: #14532d;
  --primary-light: #22c55e;
  --primary-bg: #f0fdf4;
  --primary-tint: #dcfce7;
  
  --accent: #b45309;
  --accent-light: #f59e0b;
  --accent-bg: #fef3c7;
  
  --text-heading: #0f172a;
  --text-main: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1260px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-heading);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

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

/* ==========================================================================
   Editorial Top Bar & Meta Bar (Google Ads Trust Signals)
   ========================================================================== */

.editorial-top-bar {
  background-color: #fefce8;
  border-bottom: 1px solid #fef08a;
  color: #713f12;
  font-size: 13px;
  padding: 8px 16px;
  text-align: center;
  line-height: 1.4;
}

.editorial-top-bar a {
  color: #854d0e;
  text-decoration: underline;
  font-weight: 600;
}

.header-meta-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 0;
}

.header-meta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-item i {
  color: var(--primary);
}

.map-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
}

.map-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--text-heading);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo:hover {
  color: var(--text-heading);
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.25);
  flex-shrink: 0;
}

.brand-tag {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  background-color: var(--primary-tint);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 18px;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #ffffff !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.25);
}

.nav-cta:hover {
  background-color: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-heading);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  padding: 64px 0 80px;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 42px;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-lead {
  font-size: 17px;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: var(--text-heading);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--bg-alt);
  color: var(--primary);
  border-color: #cbd5e1;
}

.hero-stats-row {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.hero-stat-item strong {
  display: block;
  font-size: 26px;
  font-family: 'Outfit', sans-serif;
  color: var(--primary-dark);
}

.hero-stat-item span {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-card:hover img {
  transform: scale(1.02);
}

.floating-pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-heading);
}

.floating-pill i {
  color: var(--primary);
  font-size: 22px;
  flex-shrink: 0;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background-color: var(--primary-tint);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 34px;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* ==========================================================================
   Pillars Section
   ========================================================================== */

.pillars-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.pillar-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  background-color: #ffffff;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.55;
}

/* ==========================================================================
   Botanicals Encyclopedia Section
   ========================================================================== */

.botanicals-section {
  padding: 80px 0;
  background-color: var(--bg-page);
}

.botanicals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.botanical-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.botanical-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.botanical-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.botanical-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.botanical-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--bg-alt);
  color: var(--text-muted);
}

.botanical-badge.popular {
  background-color: var(--accent-bg);
  color: var(--accent);
}

.botanical-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.botanical-compound {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.botanical-desc {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.botanical-action-box {
  background-color: var(--bg-page);
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--text-heading);
}

/* ==========================================================================
   Interactive Assessment Quiz Section
   ========================================================================== */

.assessment-section {
  padding: 84px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.quiz-container {
  max-width: 760px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.quiz-header {
  text-align: center;
  margin-bottom: 30px;
}

.quiz-header h3 {
  font-size: 26px;
  margin: 12px 0 10px;
}

.quiz-header p {
  font-size: 15px;
  color: var(--text-muted);
}

.quiz-progress-bar-wrap {
  width: 100%;
  height: 8px;
  background-color: var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 32px;
}

.quiz-progress-fill {
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-full);
  transition: width 0.35s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.step-indicator {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.question-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 22px;
  line-height: 1.4;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: var(--bg-page);
  border: 2px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-heading);
}

.quiz-option:hover {
  background-color: #ffffff;
  border-color: var(--primary-light);
  transform: translateX(4px);
}

.quiz-option.selected {
  background-color: var(--primary-bg);
  border-color: var(--primary);
  color: var(--primary-dark);
  font-weight: 600;
}

.quiz-option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.quiz-option.selected .quiz-option-radio {
  border-color: var(--primary);
}

.quiz-option.selected .quiz-option-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
}

.quiz-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.btn-quiz-prev,
.btn-quiz-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-quiz-prev {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.btn-quiz-prev:hover {
  background-color: var(--bg-alt);
  color: var(--text-heading);
}

.btn-quiz-next {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.25);
}

.btn-quiz-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-quiz-next:not(:disabled):hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

/* Quiz Loading Box */
.quiz-loading-box {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.scanner-ring {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 6px solid var(--primary-tint);
  border-top-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  animation: spinRing 1.8s linear infinite;
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.scanner-step-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.scanner-sub {
  font-size: 14px;
  color: var(--text-muted);
}

/* Quiz Result Box */
.quiz-result {
  display: none;
  animation: fadeIn 0.4s ease;
}

.radial-score-box {
  text-align: center;
  margin-bottom: 24px;
}

.radial-score-number {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.radial-score-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.result-heading {
  font-size: 24px;
  text-align: center;
  margin-bottom: 12px;
}

.result-summary-text {
  font-size: 15px;
  text-align: center;
  color: var(--text-main);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.result-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.metric-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.metric-card span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-card strong {
  font-size: 17px;
  color: var(--text-heading);
}

.result-action-box {
  background-color: var(--primary-bg);
  border: 1px solid var(--primary-tint);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
}

.result-action-box h4 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-action-box ul {
  list-style: square;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-main);
}

/* ==========================================================================
   Recipes Section & Modals
   ========================================================================== */

.recipes-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.recipe-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.recipe-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.recipe-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recipe-card:hover .recipe-image-wrap img {
  transform: scale(1.05);
}

.recipe-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.recipe-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recipe-meta-row {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.recipe-meta-row i {
  color: var(--primary);
  margin-right: 4px;
}

.recipe-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.recipe-excerpt {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.recipe-ingredients-preview {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 13px;
}

.recipe-ingredients-preview h5 {
  font-size: 13px;
  color: var(--text-heading);
  margin-bottom: 6px;
  font-weight: 700;
}

.recipe-ingredients-preview ul {
  list-style: disc;
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-recipe-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background-color: #ffffff;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-recipe-modal:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* Modal Popup */
.recipe-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.recipe-modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.recipe-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.recipe-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-alt);
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.recipe-modal-close:hover {
  background-color: #e2e8f0;
  color: var(--text-heading);
}

/* ==========================================================================
   Workflow Routine Section
   ========================================================================== */

.workflow-section {
  padding: 80px 0;
  background-color: var(--bg-page);
}

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

.step-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 16px;
}

.step-box h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-box p {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.55;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-row {
  color: #eab308;
  font-size: 14px;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 24px;
}

.author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-tint);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h6 {
  font-size: 15px;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  padding: 80px 0;
  background-color: var(--bg-page);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  gap: 16px;
}

.faq-chevron {
  color: var(--primary);
  font-size: 14px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-main);
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.25s ease;
}

/* ==========================================================================
   Footer & Legal Bars
   ========================================================================== */

.site-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid #1e293b;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 16px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 18px;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
}

.footer-links a:hover {
  color: #22c55e;
  padding-left: 4px;
}

.map-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #86efac;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 6px;
}

.map-card-link:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  font-size: 13px;
  color: #64748b;
}

.bottom-disclaimer-strip {
  background-color: #020617;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.55;
  padding: 16px 0;
  border-top: 1px solid #1e293b;
  text-align: center;
}

.bottom-disclaimer-strip strong {
  color: #e2e8f0;
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  display: none;
  animation: slideUp 0.3s ease;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-content p {
  font-size: 13px;
  color: var(--text-main);
  flex: 1 1 320px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.btn-cookie-accept {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-decline {
  background-color: var(--bg-alt);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   Scroll Top Button
   ========================================================================== */

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: var(--shadow-md);
  font-size: 16px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: var(--transition);
}

.scroll-top-btn.visible {
  display: flex;
}

.scroll-top-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   Legal & Static Page Specific Styles
   ========================================================================== */

.page-hero {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  padding: 48px 0;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-hero h1 {
  font-size: 34px;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.content-wrapper {
  padding: 60px 0;
}

.legal-article {
  max-width: 820px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.legal-article h2 {
  font-size: 24px;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.legal-article h2:first-of-type {
  margin-top: 0;
}

.legal-article h3 {
  font-size: 18px;
  margin: 20px 0 10px;
}

.legal-article p,
.legal-article ul,
.legal-article ol {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 16px;
}

.legal-article ul,
.legal-article ol {
  padding-left: 24px;
}

.legal-article li {
  margin-bottom: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}

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

/* ==========================================================================
   Animations & Responsive Breakpoints
   ========================================================================== */

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

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

@media (max-width: 1080px) {
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: none;
    gap: 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-cta {
    display: inline-flex !important;
    text-align: center;
    justify-content: center;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image-card img {
    height: 340px;
  }
  .pillars-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .botanicals-grid,
  .recipes-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .pillars-grid,
  .steps-grid,
  .botanicals-grid,
  .recipes-grid,
  .testimonials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .quiz-container {
    padding: 24px 20px;
  }
  .result-metric-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
  .header-meta-bar {
    display: none;
  }
}

