@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&family=Caveat:wght@500&display=swap');

:root {
  --cream: #F7F3EC;
  --warm-white: #FDFAF5;
  --sage: #7A9E7E;
  --sage-dark: #5C7D60;
  --sage-light: #B2CEB5;
  --terracotta: #C47B5A;
  --terracotta-light: #E2A080;
  --brown: #6B4C3B;
  --brown-light: #A67C6A;
  --tan: #D4B896;
  --tan-light: #EAD9C4;
  --charcoal: #2E2926;
  --text-body: #4A3F38;
  --text-muted: #8A7A72;
  --leaf: #4E7C52;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--warm-white);
  color: var(--text-body);
  line-height: 1.7;
}

/* ── NAV ── */
nav {
  background: var(--cream);
  border-bottom: 1px solid var(--tan-light);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-icon { font-size: 1.6rem; }

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--brown);
  font-weight: 700;
  line-height: 1.1;
}

.logo-text span {
  font-family: 'Caveat', cursive;
  color: var(--sage-dark);
  font-size: 0.9rem;
  display: block;
  font-weight: 500;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--sage-dark); }

.nav-links .cta-btn {
  background: var(--sage-dark);
  color: white !important;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  transition: background 0.2s, transform 0.2s;
}

.nav-links .cta-btn:hover {
  background: var(--leaf);
  transform: translateY(-1px);
}

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

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

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #EDE4D8 0%, #D6E8D7 50%, #E8DDD0 100%);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(122,158,126,0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(196,123,90,0.1) 0%, transparent 40%);
}

.hero-content { position: relative; max-width: 750px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: var(--sage-light);
  color: var(--leaf);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--brown);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--terracotta);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(196,123,90,0.3);
}

.btn-primary:hover {
  background: #B36848;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196,123,90,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--brown);
  padding: 0.85rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--tan);
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--brown);
  background: var(--tan-light);
}

/* ── SECTION HEADERS ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  font-family: 'Caveat', cursive;
  color: var(--terracotta);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.3rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--brown);
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ── CATEGORIES SECTION ── */
.categories {
  padding: 5rem 2rem;
  background: var(--warm-white);
}

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

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.cat-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-body);
  border: 1px solid var(--tan-light);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(107,76,59,0.12);
  border-color: var(--sage-light);
}

.cat-icon { font-size: 2.5rem; margin-bottom: 0.8rem; display: block; }

.cat-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 0.4rem;
}

.cat-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ── SWAP CARDS (Product Recommendations) ── */
.swaps {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #EDE4D8 0%, var(--warm-white) 100%);
}

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

.swap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.swap-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--tan-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.swap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(107,76,59,0.12);
}

.swap-card-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  border-bottom: 1px solid var(--tan-light);
}

.swap-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.tag-danger { background: #FDECEA; color: #C0392B; }
.tag-safe { background: #EAF5EA; color: var(--leaf); }

.swap-card-body { padding: 1.5rem; }

.swap-comparison {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.swap-from, .swap-to {
  flex: 1;
  padding: 0.8rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.swap-from {
  background: #FFF5F5;
  color: #C0392B;
  text-align: center;
  border: 1px solid #FDECEA;
}

.swap-to {
  background: #F0F8F0;
  color: var(--leaf);
  text-align: center;
  border: 1px solid #D4EDDA;
}

.swap-arrow {
  font-size: 1.2rem;
  color: var(--sage);
  flex-shrink: 0;
}

.swap-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.swap-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.toxin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.toxin-tag {
  font-size: 0.7rem;
  background: #FEF3CD;
  color: #856404;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-weight: 700;
}

.swap-btn {
  display: block;
  background: var(--sage-dark);
  color: white;
  text-align: center;
  padding: 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}

.swap-btn:hover { background: var(--leaf); transform: translateY(-1px); }

/* ── WHY SECTION ── */
.why {
  padding: 5rem 2rem;
  background: var(--cream);
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-visual {
  background: linear-gradient(135deg, var(--sage-light), var(--tan));
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  font-size: 5rem;
  line-height: 1.4;
  box-shadow: inset 0 2px 20px rgba(0,0,0,0.05);
}

.why-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--brown);
  margin-bottom: 1rem;
}

.why-list { list-style: none; margin: 1.5rem 0; }

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-body);
}

.why-list li::before {
  content: '✓';
  background: var(--sage-dark);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--brown);
  padding: 4rem 2rem;
  text-align: center;
}

.newsletter h2 {
  font-family: 'Playfair Display', serif;
  color: var(--tan-light);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.newsletter p {
  color: var(--tan);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border-radius: 40px;
  border: none;
  font-size: 0.95rem;
  font-family: 'Lato', sans-serif;
  outline: none;
  min-width: 200px;
  background: var(--cream);
  color: var(--charcoal);
}

.newsletter-form button {
  background: var(--terracotta);
  color: white;
  border: none;
  padding: 0.85rem 1.8rem;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
}

.newsletter-form button:hover { background: var(--terracotta-light); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: #A89C95;
  padding: 3rem 2rem 1.5rem;
}

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

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

.footer-brand .logo-text { color: var(--tan-light); }
.footer-brand .logo-text span { color: var(--sage-light); }
.footer-brand p { font-size: 0.85rem; margin-top: 0.8rem; line-height: 1.6; }

.footer-col h4 {
  color: var(--tan-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: #A89C95;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--tan-light); }

.footer-bottom {
  border-top: 1px solid #3D3530;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.affiliate-disclosure {
  background: rgba(255,255,255,0.04);
  border: 1px solid #3D3530;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.78rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  color: #8A7A72;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #EDE4D8, #D6E8D7);
  padding: 4rem 2rem;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--brown);
  margin-bottom: 0.8rem;
}

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

/* ── FILTER BAR ── */
.filter-bar {
  padding: 2rem;
  background: var(--cream);
  border-bottom: 1px solid var(--tan-light);
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: white;
  border: 1.5px solid var(--tan);
  color: var(--text-body);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: white;
}

/* ── PRODUCTS PAGE GRID ── */
.products-section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── ABOUT PAGE ── */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.about-content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--brown);
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
}

.mission-box {
  background: var(--cream);
  border-left: 4px solid var(--sage-dark);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brown);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.value-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--tan-light);
}

.value-card .v-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.value-card h3 { font-family: 'Playfair Display', serif; color: var(--brown); margin-bottom: 0.4rem; }
.value-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ── CONTACT PAGE ── */
.contact-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--brown); letter-spacing: 0.03em; }

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--tan);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Lato', sans-serif;
  color: var(--text-body);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}

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

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

.form-submit {
  background: var(--terracotta);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}

.form-submit:hover { background: #B36848; transform: translateY(-2px); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--sage-dark);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s;
  z-index: 1000;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.fade-up:nth-child(1) { animation-delay: 0.1s; }
.fade-up:nth-child(2) { animation-delay: 0.2s; }
.fade-up:nth-child(3) { animation-delay: 0.3s; }
.fade-up:nth-child(4) { animation-delay: 0.4s; }
.fade-up:nth-child(5) { animation-delay: 0.5s; }
.fade-up:nth-child(6) { animation-delay: 0.6s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--cream); padding: 1.5rem 2rem; border-bottom: 1px solid var(--tan-light); gap: 1rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .why-inner { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
