:root {
  --cream: #FAF6F0;
  --bark: #8B5E3C;
  --sage: #7A9E7E;
  --clay: #C4704F;
  --moss: #4A6741;
  --linen: #EDE8DF;
  --charcoal: #2E2E2E;
  --white: #FFFFFF;
  --shadow: rgba(139, 94, 60, 0.12);
  --shadow-md: rgba(139, 94, 60, 0.2);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Lato', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

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

body {
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--moss);
}

ul {
  list-style: none;
}

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
}

blockquote, .pull-quote {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--bark);
  border-left: 4px solid var(--sage);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--linen);
  border-radius: 0 var(--radius) var(--radius) 0;
}

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

.section {
  padding: 5rem 0;
}

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

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

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  color: #666;
  max-width: 640px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

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

.btn-primary:hover {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--bark);
  color: var(--white);
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn-sage:hover {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--white);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

.btn-install {
  background: var(--bark);
  color: var(--cream);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.btn-donate {
  background: var(--sage, #7A9E7E);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(122,158,126,0.35);
}
.btn-donate:hover {
  background: #5f8264;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(122,158,126,0.45);
  color: #fff;
}

.btn-install:hover {
  background: var(--clay);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139,94,60,0.25);
}

@media (max-width: 768px) {
  #rr-install-btn.btn-install {
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
    margin-right: 0.4rem;
  }
}

@media (max-width: 420px) {
  #rr-install-btn.btn-install {
    padding: 0.4rem 0.55rem;
    font-size: 0.72rem;
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 246, 240, 0.95);
  border-bottom: 1px solid rgba(139, 94, 60, 0.1);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-inner {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem clamp(0.5rem, 1.2vw, 1.5rem);
  max-width: 1600px;
  margin: 0 auto;
  gap: clamp(0.4rem, 0.8vw, 1rem);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: clamp(70px, 7vw, 120px);
  flex-shrink: 0;
  width: auto;
  display: block;
  max-width: none;
}

@media (max-width: 700px) {
  .nav-logo img {
    height: 84px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 1.5rem);
}

.nav-links a {
  font-size: clamp(0.78rem, 0.85vw, 0.95rem);
  font-weight: 500;
  color: var(--charcoal);
  transition: color var(--transition);
  white-space: nowrap;
}

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

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

.nav-links a.btn-primary {
  color: var(--white);
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px var(--shadow-md);
  padding: 0.5rem;
  min-width: 200px;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}

.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown:focus-within .dropdown-menu {
  display: flex;
}

.nav-links .dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 1rem;
}

.category-heading {
  scroll-margin-top: 130px;
}

.nav-links .dropdown-menu a {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.nav-links .dropdown-menu a:hover {
  background: var(--linen);
}

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

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

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--linen);
  padding: 1rem 1.5rem;
}

.nav-mobile.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 130px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  z-index: 998;
  background: var(--white);
}

@media (min-width: 701px) and (max-width: 768px) {
  .nav-mobile.open { padding-top: 166px; }
}

.nav-mobile a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--linen);
  font-weight: 500;
  color: var(--charcoal);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .lang-switcher { display: none; }
}

.lang-btn {
  background: none;
  border: 1px solid rgba(139,94,60,0.3);
  border-radius: var(--radius-sm);
  padding: clamp(0.2rem, 0.35vw, 0.32rem) clamp(0.3rem, 0.55vw, 0.6rem);
  font-size: clamp(0.68rem, 0.72vw, 0.82rem);
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--charcoal);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
  line-height: 1;
  flex-shrink: 0;
}

.lang-btn:hover {
  color: var(--bark);
  border-color: var(--bark);
  background: var(--linen);
}

.lang-btn.active {
  color: var(--white);
  background: var(--bark);
  border-color: var(--bark);
}

#google_translate_element {
  position: fixed;
  bottom: -9999px;
  left: -9999px;
  z-index: -1;
}

.goog-te-banner-frame,
.goog-te-balloon-frame { display: none !important; }

body { top: 0 !important; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: safe center;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 3rem;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(74, 103, 65, 0.75) 0%,
    rgba(139, 94, 60, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-actions {
  margin: 1.75rem 0 0.5rem;
}
.hero-primary-cta {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
  box-shadow: 0 8px 28px rgba(139,94,60,0.35);
}
.hero-quick-links {
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
  opacity: 0.92;
  font-style: italic;
  font-family: var(--font-accent, 'Cormorant Garamond', serif);
}
.hero-quick-links a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.45);
  text-underline-offset: 4px;
  margin: 0 0.15rem;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.hero-quick-links a:hover {
  text-decoration-color: var(--cream);
  color: var(--cream);
}
.hero-link-sep {
  opacity: 0.55;
  margin: 0 0.25rem;
}
@media (max-width: 480px) {
  .hero-primary-cta { padding: 0.95rem 1.5rem; font-size: 0.95rem; width: 100%; text-align: center; justify-content: center; }
  .hero-quick-links { font-size: 0.9rem; text-align: center; }
}

.hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-badge {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.page-hero {
  padding: 120px 0 3rem;
  min-height: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
}
.page-hero h1,
.page-hero .hero-content {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.page-hero .hero-content {
  max-width: 800px;
}

.stats-bar {
  background: var(--bark);
  color: var(--white);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.4;
}

.stat-ref {
  font-size: 0.65em;
  margin-left: 0.15em;
  vertical-align: super;
  line-height: 0;
}
.stat-ref a {
  color: var(--cream);
  text-decoration: none;
  opacity: 0.7;
}
.stat-ref a:hover { opacity: 1; text-decoration: underline; }

.stats-sources {
  margin-top: 2rem;
  font-size: 0.78rem;
  opacity: 0.78;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
}
.stats-sources summary {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  list-style: none;
  padding: 0.25rem 0;
  outline: none;
}
.stats-sources summary::-webkit-details-marker { display: none; }
.stats-sources summary::before {
  content: '▸ ';
  display: inline-block;
  margin-right: 0.35em;
  transition: transform 0.2s;
}
.stats-sources[open] summary::before { transform: rotate(90deg); }
.stats-sources-list {
  margin: 0.85rem 0 0;
  padding-left: 1.4rem;
  line-height: 1.55;
}
.stats-sources-list li {
  padding: 0.25rem 0;
  scroll-margin-top: 130px;
}
.stats-sources-list li:target {
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding-left: 0.4rem;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.chart-container {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 20px var(--shadow);
}

.chart-container canvas {
  max-height: 300px;
}

.chart-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 1rem;
}

.divider {
  text-align: center;
  padding: 1rem 0;
  overflow: hidden;
}

.divider svg {
  color: var(--sage);
  opacity: 0.4;
}

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

.food-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  text-align: center;
  transition: transform var(--transition);
}

.food-item:hover {
  transform: translateY(-3px);
}

.food-item img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.food-item span {
  display: block;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--charcoal);
}

.food-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.food-section-label.avoid { color: var(--clay); }
.food-section-label.eat { color: var(--sage); }

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.25rem;
}

.symptom-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
}

.symptom-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.symptom-item p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
}

.protocol-timeline {
  position: relative;
  padding-left: 2rem;
}

.protocol-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--sage), var(--bark), var(--clay));
  border-radius: 3px;
}

.timeline-block {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-block::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--sage);
}

.timeline-time {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--bark);
  margin-bottom: 1rem;
}

.supplement-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.supplement-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 6px var(--shadow);
}

.supplement-item .supp-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.supplement-item .supp-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--bark);
}

.supplement-item .supp-info span {
  font-size: 0.8rem;
  color: #777;
}

.meal-card {
  background: var(--linen);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  align-items: flex-start;
}

.meal-card img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .meal-card {
    flex-direction: column;
    align-items: stretch;
  }
  .meal-card img {
    width: 100%;
    height: 220px;
  }
}

.meal-card-body h5 {
  color: var(--moss);
  margin-bottom: 0.25rem;
}

.meal-card-body p {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

.four-r-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px var(--shadow-md);
}

.four-r-step {
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.four-r-step:nth-child(1) { background: #E8F0E8; }
.four-r-step:nth-child(2) { background: #F0EAE0; }
.four-r-step:nth-child(3) { background: #E8F0E8; }
.four-r-step:nth-child(4) { background: #F0EAE0; }

.four-r-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--sage);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.four-r-step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.four-r-step p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

@media (max-width: 768px) {
  .four-r-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .four-r-grid { grid-template-columns: 1fr; }
}

.footer {
  background: var(--moss);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-conditions-section {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 2rem;
  margin-bottom: 2.5rem;
}

.footer-conditions-section > h4 {
  color: var(--cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-conditions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: start;
}

.footer-conditions-grid > .footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-cat-block.span-rows {
  grid-row: auto;
}

.footer-cat-block {
  display: flex;
  flex-direction: column;
}

.footer-cat-title {
  color: var(--cream);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
}

.footer-cat-block a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  padding: 0.2rem 0;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-cat-block a:hover {
  color: var(--cream);
}

.footer-brand h3 {
  color: var(--cream);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.footer-disclaimer {
  background: rgba(0,0,0,0.15);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .footer-conditions-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-cat-block.span-rows { grid-row: span 1; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .footer-conditions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-conditions-grid { grid-template-columns: 1fr; }
}

.text-center { text-align: center; }
.text-sage { color: var(--sage); }
.text-bark { color: var(--bark); }
.text-clay { color: var(--clay); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }

.page-body {
  padding-top: 72px;
}

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }

  .lang-btn {
    min-height: 36px;
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }

  .hero { padding-top: 80px; }
  .hero-content p { font-size: 1.05rem; }
}

@media (max-width: 480px) {

  .container { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }

  .grid.grid-2 { gap: 2rem !important; }

  .hero-content p { font-size: 1rem; }
  .hero-badges { gap: 0.5rem; }
  .hero-badge { font-size: 0.78rem; padding: 0.4rem 0.8rem; }

  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }

  .condition-card-img { height: 160px; }

  .stat-item .stat-num { font-size: 1.8rem; }
}

.nav-mobile-lang {
  display: none;
}

.nav-globe-wrap { display: none; position: relative; align-items: center; margin-right: 0.4rem; }
@media (max-width: 900px) { .nav-globe-wrap { display: flex; } }
.nav-globe {
  background: none;
  border: 1px solid rgba(139,94,60,0.3);
  border-radius: var(--radius-sm);
  width: 40px; height: 40px;
  font-size: 1.15rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--bark);
}
.nav-globe:hover { border-color: var(--bark); background: var(--linen); }
.nav-globe-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  padding: 0.5rem;
  min-width: 92px;
  z-index: 1200;
}
.nav-globe-wrap.open .nav-globe-menu { display: flex; }
.nav-globe-menu .lang-btn {
  text-align: center; justify-content: center;
  min-height: 38px;
  border: 1px solid var(--linen);
  border-radius: var(--radius-sm);
}

.nav-mobile-lang .lang-btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--linen);
  border-radius: var(--radius-sm);
}

.condition-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.condition-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow-md);
}

.condition-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.condition-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.condition-card:hover .condition-card-img img {
  transform: scale(1.05);
}

.condition-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--sage);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.condition-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.condition-card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.condition-card-body p {
  color: #666;
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1.5rem;
}

.condition-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.tag {
  background: var(--linen);
  color: var(--bark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
}

.treatment-toggle-wrapper {
  background: var(--linen);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.toggle-switch-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.toggle-label {
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: color var(--transition);
  user-select: none;
}

.toggle-label.conventional {
  color: var(--clay);
}

.toggle-label.holistic {
  color: var(--sage);
}

.toggle-label.inactive {
  opacity: 0.45;
}

.toggle-pill {
  position: relative;
  width: 64px;
  height: 32px;
  background: var(--sage);
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}

.toggle-pill.conventional-mode {
  background: var(--clay);
}

.toggle-pill-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.toggle-pill.conventional-mode .toggle-pill-knob {
  transform: translateX(32px);
}

.treatment-panels {
  position: relative;
}

.treatment-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.treatment-panel.active {
  display: block;
}

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

.treatment-panel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid;
}

.panel-holistic .treatment-panel-header {
  border-color: var(--sage);
}

.panel-conventional .treatment-panel-header {
  border-color: var(--clay);
}

.panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.panel-holistic .panel-icon {
  background: rgba(122, 158, 126, 0.2);
}

.panel-conventional .panel-icon {
  background: rgba(196, 112, 79, 0.2);
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .treatment-grid { grid-template-columns: 1fr; }
}

.treatment-metric {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 2px 10px var(--shadow);
}

.treatment-metric .metric-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 0.5rem;
}

.treatment-metric .metric-value {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.4;
}

.panel-holistic .metric-value { color: var(--moss); }
.panel-conventional .metric-value { color: var(--clay); }

.treatment-list {
  margin-top: 1.5rem;
}

.treatment-list h5 {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

.treatment-list ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.treatment-list ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.treatment-list ul li::before {
  content: '•';
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 0.05rem;
}

.panel-holistic .treatment-list ul li::before { color: var(--sage); }
.panel-conventional .treatment-list ul li::before { color: var(--clay); }

.treatment-side-effects {
  margin-top: 1.5rem;
  background: rgba(196, 112, 79, 0.08);
  border-left: 3px solid var(--clay);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
}

.panel-holistic .treatment-side-effects {
  background: rgba(122, 158, 126, 0.08);
  border-color: var(--sage);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.data-table thead th {
  background: var(--bark);
  color: var(--white);
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.data-table tbody tr {
  border-bottom: 1px solid var(--linen);
  transition: background var(--transition);
}

.data-table tbody tr:last-child {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: var(--linen);
}

.data-table tbody td {
  padding: 0.9rem 1.25rem;
  vertical-align: top;
  line-height: 1.5;
}

.data-table tbody td:first-child {
  font-weight: 600;
  color: var(--bark);
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius);
}

.causes-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.causes-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--linen);
  transition: background var(--transition);
}

.causes-row:last-child { border-bottom: none; }
.causes-row:hover { background: #FDF9F5; }

.causes-row.header {
  background: var(--bark);
}

.causes-cell {
  padding: 0.9rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-right: 1px solid var(--linen);
}

.causes-cell:last-child { border-right: none; }

.causes-row.header .causes-cell {
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-color: rgba(255,255,255,0.2);
}

.causes-row:not(.header) .causes-cell:first-child {
  font-weight: 600;
  color: var(--bark);
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
  border-top: 4px solid var(--sage);
}

.info-card.bark-accent { border-color: var(--bark); }
.info-card.clay-accent { border-color: var(--clay); }
.info-card.sage-accent { border-color: var(--sage); }
.info-card.moss-accent { border-color: var(--moss); }

.info-card h3 {
  margin-bottom: 1rem;
}

.info-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-card ul li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.info-card ul li::before {
  content: '→';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}

.info-card ul.lifestyle-list {
  display: block;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
  gap: 0;
}

.info-card ul.lifestyle-list li {
  display: block;
  position: relative;
  padding: 0 0 0.4rem 1.5rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #555;
}

.info-card ul.lifestyle-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sage);
  font-weight: 700;
  line-height: 1.65;
}

.info-card ul.lifestyle-list li strong {
  color: var(--bark);
  font-weight: 600;
}

.philosophy-strip {
  background: linear-gradient(135deg, var(--moss) 0%, var(--bark) 100%);
  padding: 4rem 0;
  color: var(--white);
}

.philosophy-steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.philosophy-step {
  text-align: center;
  padding: 1.5rem;
}

.philosophy-step .step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.philosophy-step h4 {
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.philosophy-step p {
  font-size: 0.875rem;
  opacity: 0.85;
  margin: 0;
}

.philosophy-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .philosophy-steps {
    grid-template-columns: 1fr;
  }
  .philosophy-arrow { display: none; }
}

.cta-strip {
  background: var(--linen);
  padding: 5rem 0;
  text-align: center;
}

.cta-strip h2 {
  margin-bottom: 1rem;
}

.cta-strip p {
  color: #666;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--bark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--linen);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B5E3C' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.highlight-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.highlight-box .hb-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.highlight-box h4 {
  margin-bottom: 0.5rem;
}

.highlight-box p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.callout {
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.callout-info {
  background: rgba(122, 158, 126, 0.12);
  border-left: 4px solid var(--sage);
  color: var(--moss);
}

.callout-warn {
  background: rgba(196, 112, 79, 0.1);
  border-left: 4px solid var(--clay);
  color: #8B3A1C;
}

.callout-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.mini-stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 16px var(--shadow);
  text-align: center;
  border-top: 3px solid var(--sage);
}

.mini-stat .mstat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.mini-stat .mstat-label {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.4;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  line-height: 1.5;
}

.checklist li .check-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 1rem;
}

.section-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px var(--shadow-md);
}

.section-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb-sep {
  opacity: 0.5;
}

.healing-timeline-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 600px) {
  .healing-timeline-comparison { grid-template-columns: 1fr; }
}

.htc-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.htc-header {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.htc-header.holistic { background: var(--sage); color: var(--white); }
.htc-header.conventional { background: var(--clay); color: var(--white); }

.htc-body {
  padding: 1.5rem;
}

.htc-phase {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.htc-phase:last-child { margin-bottom: 0; }

.htc-phase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.holistic .htc-phase-dot { background: var(--sage); }
.conventional .htc-phase-dot { background: var(--clay); }

.htc-phase-info .phase-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  margin-bottom: 0.2rem;
}

.htc-phase-info p {
  font-size: 0.875rem;
  color: var(--charcoal);
  margin: 0;
}

.connection-diagram {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 20px var(--shadow);
  text-align: center;
}

.connection-center {
  display: inline-block;
  background: linear-gradient(135deg, var(--bark), var(--clay));
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.connection-arrows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.connection-node {
  background: var(--linen);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.connection-node .cn-icon { font-size: 1.75rem; }
.connection-node p { font-size: 0.82rem; font-weight: 600; color: var(--bark); margin: 0; }

@media (max-width: 600px) {
  .connection-arrows { grid-template-columns: repeat(2, 1fr); }
}

.mind-gut-diagram {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
}

.mgd-title {
  text-align: center;
  font-family: var(--font-heading);
  color: var(--bark);
  margin-bottom: 2rem;
}

.mgd-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mgd-node {
  background: var(--linen);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 130px;
}

.mgd-node .mgd-icon { font-size: 1.75rem; margin-bottom: 0.4rem; }
.mgd-node strong { display: block; font-size: 0.85rem; color: var(--bark); }
.mgd-node span { font-size: 0.75rem; color: #777; }

.mgd-arrow {
  font-size: 1.5rem;
  color: var(--sage);
  font-weight: 700;
}

.plate-diagram {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
}

.plate-visual {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: conic-gradient(
    var(--sage) 0deg 144deg,
    var(--bark) 144deg 216deg,
    #D4A853 216deg 360deg
  );
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

@media (max-width: 600px) {
  .plate-diagram { flex-direction: column; }
  .plate-visual { width: 160px; height: 160px; }
}

.plate-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plate-legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.plate-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.herx-box {
  background: linear-gradient(135deg, rgba(196, 112, 79, 0.08), rgba(139, 94, 60, 0.05));
  border: 1px solid rgba(196, 112, 79, 0.25);
  border-radius: var(--radius);
  padding: 2rem;
}

.herx-box h4 {
  color: var(--clay);
  margin-bottom: 1rem;
}

.research-quote {
  background: var(--linen);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.research-quote::before {
  content: '"';
  font-family: var(--font-accent);
  font-size: 6rem;
  color: var(--sage);
  opacity: 0.3;
  position: absolute;
  top: -1rem;
  left: 1rem;
  line-height: 1;
}

.research-quote p {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  position: relative;
}

.research-quote cite {
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: var(--bark);
}

#testimonials .section-header { margin-bottom: 1.5rem; }

.placeholder-banner {
  background: #FFF4D6;
  border: 1px solid #E8C56C;
  border-left: 5px solid #C09732;
  color: #6B4F18;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.placeholder-banner strong { color: #6B4F18; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 980px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 4px 24px var(--shadow);
  border-top: 4px solid var(--sage);
  display: flex;
  flex-direction: column;
}
.testimonial-card .ph-pill {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #FFF4D6;
  color: #6B4F18;
  border: 1px solid #E8C56C;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.testimonial-card .stars {
  color: #E0A82E;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
}
.testimonial-card .quote {
  font-family: var(--font-accent, 'Cormorant Garamond', serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--charcoal);
  font-style: italic;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}
.testimonial-card .t-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--linen);
}
.testimonial-card .t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage) 0%, var(--moss) 100%);
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.testimonial-card .t-name {
  font-weight: 700;
  color: var(--bark);
  font-size: 0.95rem;
  line-height: 1.2;
}
.testimonial-card .t-meta {
  font-size: 0.78rem;
  color: #777;
  margin-top: 0.15rem;
}

.testimonials-disclaimer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.testimonials-disclaimer a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#newsletter { padding-top: 3rem; padding-bottom: 4rem; }
.newsletter-card {
  background: linear-gradient(135deg, var(--cream) 0%, var(--linen) 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 36px rgba(139,94,60,0.15);
  border: 1px solid rgba(139,94,60,0.12);
  text-align: center;
}
@media (max-width: 600px) {
  .newsletter-card { padding: 2.25rem 1.5rem; border-radius: 16px; }
}
.newsletter-icon {
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.newsletter-card h2 {
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  color: var(--bark);
  margin-bottom: 0.85rem;
}
.newsletter-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #555;
  max-width: 540px;
  margin: 0 auto;
}
.newsletter-form { margin-top: 1.75rem; }
.newsletter-fields {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-fields input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  border: 2px solid rgba(139,94,60,0.18);
  border-radius: 10px;
  font-family: inherit;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter-fields input::placeholder { color: #999; }
.newsletter-fields input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122,158,126,0.18);
}
.newsletter-fields button {
  flex-shrink: 0;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}
@media (max-width: 540px) {
  .newsletter-fields { flex-direction: column; gap: 0.6rem; }
  .newsletter-fields input,
  .newsletter-fields button { width: 100%; }
}
.newsletter-fineprint {
  font-size: 0.78rem !important;
  color: #888 !important;
  margin: 1.25rem auto 0 !important;
  line-height: 1.6 !important;
  max-width: 480px;
}

.ml-embedded {
  margin-top: 1.5rem;
}

.ml-embedded .ml-form-embedHeader,
.ml-embedded .ml-form-embedBodyContent,
.ml-embedded .ml-form-embedContent,
.ml-embedded h4,
.ml-embedded .description {
  display: none !important;
}

.ml-embedded .ml-form-embedContainer,
.ml-embedded .ml-form-embedWrapper,
.ml-embedded .ml-form-align-center {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: 480px;
  margin: 0 auto;
}
.ml-embedded .ml-form-embedWrapper.embedForm {
  background: transparent !important;
}

.ml-embedded .ml-form-formContent input[type="email"],
.ml-embedded input.form-control {
  border: 2px solid rgba(139,94,60,0.18) !important;
  border-radius: 10px !important;
  padding: 0.85rem 1rem !important;
  font-size: 0.95rem !important;
  background: var(--white) !important;
  color: var(--charcoal) !important;
  font-family: 'Inter', sans-serif !important;
  height: auto !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
.ml-embedded input.form-control:focus {
  outline: none !important;
  border-color: var(--sage) !important;
  box-shadow: 0 0 0 3px rgba(122,158,126,0.18) !important;
}

.ml-embedded button,
.ml-embedded input[type="submit"],
.ml-embedded [type="submit"],
.ml-embedded button[type="submit"],
.ml-embedded .ml-form-embedSubmit button,
.ml-embedded .ml-form-embedSubmit input,
.ml-embedded .ml-form-embedSubmitLoad button,
.ml-embedded .ml-form-embedSubmitLoad input,
.ml-embedded .primary,
.ml-embedded button.primary,
.ml-embedded .ml-block-form button {
  background-color: #7A9E7E !important;
  background: #7A9E7E !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 0.95rem 1.5rem !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: background 0.2s, transform 0.1s !important;
  box-shadow: 0 4px 14px rgba(122,158,126,0.32) !important;
  letter-spacing: 0.02em !important;
  text-shadow: none !important;
}
.ml-embedded button:hover,
.ml-embedded input[type="submit"]:hover,
.ml-embedded .ml-form-embedSubmit button:hover,
.ml-embedded .primary:hover {
  background-color: #5f8264 !important;
  background: #5f8264 !important;
}
.ml-embedded button:active,
.ml-embedded .ml-form-embedSubmit button:active {
  transform: translateY(1px) !important;
}

.ml-embedded .ml-form-successBody,
.ml-embedded .ml-form-successContent {
  background: var(--white) !important;
  border-radius: 10px !important;
  padding: 1.25rem !important;
  color: var(--bark) !important;
  text-align: center !important;
}
.ml-embedded .ml-form-successBody h4 {
  display: block !important;
  color: var(--bark) !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 1.15rem !important;
  margin: 0 0 0.5rem !important;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.hero-list li {
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.65;
  font-size: 0.92rem;
  color: #555;
  margin: 0.32rem 0;
}
.hero-list li::before {
  content: '-';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bark);
  font-weight: 700;
}
.hero-list li strong { color: var(--bark); }

.meal-with-image {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}
.meal-with-image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: block;
}
.meal-with-image.meal-reverse {
  direction: rtl;
}
.meal-with-image.meal-reverse > * {
  direction: ltr;
}
@media (max-width: 760px) {
  .meal-with-image,
  .meal-with-image.meal-reverse {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .meal-with-image.meal-reverse { direction: ltr; }
  .meal-with-image img { order: -1; }
}

#rr-chat-root {
  --rr-chat-sage: #7A9E7E;
  --rr-chat-moss: #4A6741;
  --rr-chat-bark: #8B5E3C;
  --rr-chat-cream: #FAF6F0;
  --rr-chat-linen: #EDE8DF;
  --rr-chat-charcoal: #2E2E2E;
  --rr-chat-shadow: 0 12px 40px rgba(74,103,65,0.25);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

#rr-chat-bubble {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem 0.85rem 1rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rr-chat-sage) 0%, var(--rr-chat-moss) 100%);
  color: var(--rr-chat-cream);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--rr-chat-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#rr-chat-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(74,103,65,0.35);
}
.rr-chat-bubble-icon { font-size: 1.4rem; line-height: 1; }
.rr-chat-bubble-label { white-space: nowrap; }

@media (max-width: 600px) {
  #rr-chat-bubble {
    right: 1rem;
    bottom: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  .rr-chat-bubble-icon { font-size: 1.2rem; }
}

#rr-chat-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  width: 380px;
  max-width: calc(100vw - 2.5rem);
  height: 600px;
  max-height: calc(100vh - 2.5rem);
  background: var(--rr-chat-cream);
  border-radius: 18px;
  box-shadow: var(--rr-chat-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(74,103,65,0.15);
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
#rr-chat-panel[aria-hidden="false"] {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 600px) {
  #rr-chat-panel {
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
}

.rr-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, var(--rr-chat-moss) 0%, var(--rr-chat-sage) 100%);
  color: var(--rr-chat-cream);
}
.rr-chat-title { display: flex; align-items: center; gap: 0.65rem; }
.rr-chat-title-icon { font-size: 1.5rem; }
.rr-chat-title strong { display: block; font-size: 0.98rem; font-weight: 700; letter-spacing: 0.01em; }
.rr-chat-title small { display: block; font-size: 0.75rem; opacity: 0.85; }
#rr-chat-close {
  background: transparent;
  border: none;
  color: var(--rr-chat-cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.15s ease;
}
#rr-chat-close:hover { background: rgba(255,255,255,0.15); }

.rr-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--rr-chat-cream);
}
.rr-msg {
  max-width: 88%;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--rr-chat-charcoal);
  word-wrap: break-word;
}
.rr-msg a { color: var(--rr-chat-moss); text-decoration: underline; font-weight: 600; }
.rr-msg a:hover { color: var(--rr-chat-bark); }
.rr-msg-user {
  align-self: flex-end;
  background: var(--rr-chat-sage);
  color: var(--rr-chat-cream);
  border-bottom-right-radius: 4px;
}
.rr-msg-user a { color: var(--rr-chat-cream); }
.rr-msg-assistant {
  align-self: flex-start;
  background: var(--rr-chat-linen);
  border-bottom-left-radius: 4px;
}
.rr-typing {
  display: inline-flex;
  gap: 4px;
  padding: 0.85rem 1rem;
}
.rr-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rr-chat-moss);
  opacity: 0.4;
  animation: rr-blink 1.2s infinite ease-in-out;
}
.rr-typing span:nth-child(2) { animation-delay: 0.15s; }
.rr-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes rr-blink {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

.rr-chat-disclaimer {
  font-size: 0.72rem;
  color: #6a6a6a;
  background: var(--rr-chat-linen);
  padding: 0.5rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(74,103,65,0.08);
}

.rr-chat-form {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: var(--rr-chat-cream);
  border-top: 1px solid var(--rr-chat-linen);
}
#rr-chat-input {
  flex: 1;
  resize: none;
  border: 1px solid rgba(74,103,65,0.2);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: var(--rr-chat-charcoal);
  line-height: 1.4;
  min-height: 38px;
  max-height: 120px;
  outline: none;
  transition: border-color 0.15s ease;
}
#rr-chat-input:focus { border-color: var(--rr-chat-sage); }
#rr-chat-send {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--rr-chat-sage);
  color: var(--rr-chat-cream);
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
#rr-chat-send:hover { background: var(--rr-chat-moss); }
#rr-chat-send:disabled { opacity: 0.5; cursor: not-allowed; }