/* Nutri Enrich Global - shared styles. Mobile-first: base rules are for phones,
   min-width media queries add the tablet and desktop layouts. */

:root {
  --green-900: #0f2a20;
  --green-800: #16382b;
  --green-600: #2f6b4f;
  --sage-50: #f4f6f1;
  --sage-100: #e3ece5;
  --sage-200: #dce4dd;
  --white: #ffffff;
  --ink: #1b2b24;
  --ink-soft: #3a4a42;
  --muted: #5b6b62;
  --accent: #e0a21b;
  --radius: 24px;
  --gutter: 20px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sage-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-600); }
a:hover { color: var(--green-800); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[id] { scroll-margin-top: 88px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--green-800);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 { font-size: clamp(2.25rem, 7vw + 0.5rem, 4rem); letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 4vw + 0.75rem, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 1rem, 1.75rem); }
p { margin: 0; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: 56px; }
.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-600);
}
.lead { font-size: 1.125rem; color: var(--ink-soft); }
.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--green-800); }
.btn-accent:hover { color: var(--green-800); background: #eab030; }
.btn-dark { background: var(--green-800); color: var(--white); }
.btn-dark:hover { color: var(--white); background: var(--green-900); }
.btn-outline { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn-outline:hover { background: var(--green-800); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--green-800); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Top strip */
.topstrip { background: var(--green-800); color: #e8efe9; font-size: 0.8125rem; padding: 8px 0; }
.topstrip .container { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: center; text-align: center; }
.topstrip span:nth-child(n+2) { display: none; }

/* Header and navigation */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 241, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sage-200);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-800); }
.brand svg { flex: none; }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.1; }
.brand-text small {
  display: block; font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 12px;
  background: transparent; border: 1.5px solid var(--green-800); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--green-800); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--sage-50); border-bottom: 1px solid var(--sage-200);
  padding: 8px var(--gutter) 24px;
  display: none; flex-direction: column;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  display: block; padding: 14px 4px; color: var(--green-800);
  text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--sage-200);
}
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
.primary-nav .btn { margin-top: 16px; border-bottom: 2px solid transparent; color: var(--white); }

/* Hero */
.hero { padding-block: 36px 56px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; max-width: 34rem; }
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.swatch {
  min-height: 150px; border-radius: 20px; padding: 18px;
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--green-800);
}
.swatch strong { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; }
.swatch span { font-size: 0.875rem; }
.swatch.s-green { background: #a9c57a; }
.swatch.s-pink { background: #eab8c3; }
.swatch.s-yellow { background: #f0c75a; }
.swatch.s-dark { background: var(--green-800); color: var(--white); }
.swatch.s-dark span { color: #d5e2d9; }

/* Trust strip */
.trust { background: var(--white); border-block: 1px solid var(--sage-200); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; padding-block: 22px; }
.trust-label { flex-basis: 100%; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.trust-item { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--green-800); }

/* Section heading row */
.section-head { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.section-head a { font-weight: 600; }

/* Category cards */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--sage-200);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card-top { height: 130px; padding: 18px; display: flex; align-items: flex-end; }
.dots { display: flex; gap: 8px; }
.dot { width: 34px; height: 34px; border-radius: 50%; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body .list { font-size: 0.9375rem; color: var(--muted); }
.card-body a { margin-top: auto; font-weight: 600; padding-top: 6px; }

/* About + Why */
.split { display: grid; gap: 36px; }
.mv { display: grid; gap: 18px; margin-top: 28px; }
.mv > div { border-top: 3px solid var(--accent); padding-top: 12px; }
.mv h3 { font-size: 1.25rem; margin-bottom: 4px; }
.mv p { font-size: 0.9375rem; color: var(--ink-soft); }
.why { background: var(--green-800); color: var(--white); border-radius: 28px; padding: 28px 24px; }
.why h3 { color: var(--white); margin-bottom: 20px; }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.why li { display: flex; gap: 14px; }
.why svg { flex: none; margin-top: 4px; }
.why li div { font-size: 0.9375rem; color: #d5e2d9; }
.why li strong { display: block; color: var(--white); font-size: 1rem; }

/* Spec lists */
.band { background: var(--white); border-block: 1px solid var(--sage-200); }
.spec {
  margin: 0; background: var(--sage-50);
  border: 1px solid var(--sage-200); border-radius: 20px; padding: 4px 20px;
}
.spec > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--sage-200); }
.spec > div:last-child { border-bottom: 0; }
.spec dt { color: var(--muted); font-size: 0.875rem; }
.spec dd { margin: 0; font-weight: 600; }

/* Certifications */
.cert-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 32px; }
.cert { background: var(--white); border: 1px solid var(--sage-200); border-radius: 16px; padding: 18px 20px; font-weight: 500; }

/* Gallery */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.ph {
  min-height: 220px; border-radius: 20px; background: var(--sage-200);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px; color: var(--muted); font-size: 0.9375rem;
}
.ph.alt { background: #e6ebdf; }

/* CTA band */
.cta { background: var(--green-800); color: var(--white); }
.cta .container { display: grid; gap: 24px; padding-block: 56px; }
.cta h2 { color: var(--white); }

/* Footer */
.site-footer { background: var(--green-900); color: #c7d6cc; font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 28px; padding-block: 44px; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--white); margin-bottom: 8px; }
.site-footer h2 { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; color: var(--white); font-weight: 600; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #c7d6cc; }
.site-footer a:hover { color: var(--white); }
.copyright { border-top: 1px solid #24473a; padding: 18px var(--gutter); text-align: center; font-size: 0.8125rem; }

/* Product page */
.crumbs { font-size: 0.875rem; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); }
.product-grid { display: grid; gap: 32px; padding-block: 24px 48px; }
.gallery-main { min-height: 300px; border-radius: 28px; background: #a9c57a; display: flex; align-items: center; justify-content: center; color: var(--green-800); text-align: center; padding: 16px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.thumbs .ph { min-height: 84px; font-size: 0.8125rem; border-radius: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 22px; padding: 0; list-style: none; }
.tags li { background: var(--sage-100); color: var(--green-800); font-weight: 600; font-size: 0.875rem; padding: 6px 14px; border-radius: 999px; }
.note { font-size: 0.875rem; color: var(--muted); margin-top: 16px; }
.product-detail { display: grid; gap: 32px; }
.pack-box { background: var(--green-800); color: var(--white); border-radius: var(--radius); padding: 26px; }
.pack-box h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 14px; }
.pack-box p { color: #d5e2d9; font-size: 0.9375rem; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; padding: 0; list-style: none; }
.pills li { border: 1.5px solid var(--accent); color: var(--accent); font-weight: 600; padding: 6px 16px; border-radius: 999px; }
.side-stack { display: grid; gap: 20px; align-content: start; }
.help-box { background: var(--sage-50); border: 1px solid var(--sage-200); border-radius: var(--radius); padding: 24px; }
.help-box h3 { font-size: 1.25rem; margin-bottom: 6px; }
.help-box p { font-size: 0.9375rem; margin-bottom: 12px; }
.help-box a { font-weight: 600; }
.related { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.rel-card { text-decoration: none; color: var(--green-800); background: var(--white); border: 1px solid var(--sage-200); border-radius: 20px; overflow: hidden; display: block; }
.rel-card i { display: block; height: 100px; }
.rel-card div { padding: 14px 18px; }
.rel-card strong { font-family: var(--font-display); font-size: 1.125rem; }
.rel-card span { display: block; font-size: 0.875rem; color: var(--muted); }

/* Contact page */
.contact-grid { display: grid; gap: 28px; margin-top: 36px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--sage-200); border-radius: 28px; padding: 24px 20px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 18px; }
label { font-weight: 600; font-size: 0.9375rem; }
input, select, textarea {
  width: 100%; font: 400 1rem var(--font-body); color: var(--ink);
  background: var(--white); border: 1.5px solid #b9c7bd; border-radius: 12px;
  padding: 12px 14px; min-height: 48px;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus { border-color: var(--green-600); outline: 3px solid rgba(224, 162, 27, 0.45); }
.form-status { font-size: 0.9375rem; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: var(--green-600); }
.form-status.err { color: #a63a3a; }
.info-card { background: var(--green-800); color: var(--white); border-radius: 28px; padding: 26px 22px; }
.info-card h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 18px; }
.info-card dl { margin: 0; display: grid; gap: 14px; }
.info-card dt { color: #d5e2d9; font-size: 0.875rem; }
.info-card dd { margin: 0; overflow-wrap: anywhere; }
.info-card a { color: var(--accent); font-weight: 600; text-decoration: none; }
.map-ph { margin-top: 20px; min-height: 180px; }

/* Tablet */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .section { padding-block: 72px; }
  .topstrip span:nth-child(2) { display: inline; }
  .mv { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 32px; }
  .spec > div { flex-direction: row; justify-content: space-between; gap: 16px; align-items: baseline; }
  .spec dd { text-align: right; }
  .why { padding: 36px; }
  .trust-label { flex-basis: auto; }
  .trust-inner { justify-content: space-between; }
}

/* Desktop */
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .topstrip span:nth-child(3) { display: inline; }
  .nav-toggle { display: none; }
  .primary-nav {
    position: static; display: flex; flex-direction: row; align-items: center;
    gap: 26px; padding: 0; background: transparent; border: 0;
  }
  .primary-nav a { border: 0; padding: 6px 0; }
  .primary-nav .btn { margin: 0; padding: 12px 22px; }
  .hero { padding-block: 56px 80px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .swatch { min-height: 220px; }
  .swatches .s-pink { margin-top: 36px; }
  .swatches .s-yellow { margin-top: -36px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .cta .container { grid-template-columns: 1.4fr auto; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .gallery-main { min-height: 440px; }
  .product-detail { grid-template-columns: 2fr 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 2fr 1fr; gap: 40px; }
  .gallery .ph:first-child { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-toggle span { transition: none; }
}