/* NutriTrust — static site stylesheet */

:root {
  --forest-dark: #0f2f1a;
  --forest: #1a4a2b;
  --forest-light: #235c37;
  --sage: #5cab6f;
  --sage-light: #7cc28d;
  --cream: #f7f8f3;
  --white: #ffffff;
  --ink: #16211a;
  --ink-soft: #3d4a41;
  --orange: #f0a020;
  --orange-dark: #d98a10;
  --border: #e1e6df;
  --radius: 10px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Oswald", "Roboto", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--ink);
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: #241300;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--forest);
  color: var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.site-header .logo img { height: 46px; width: auto; }

.site-nav {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--forest);
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    z-index: 20;
  }
  .site-nav.open { display: flex; }
  .site-nav a { display: block; padding: 12px 24px; }
  .nav-toggle { display: block; }
}

.site-header-wrap { position: relative; border-bottom: 1px solid var(--border); }

/* Hero */
.hero {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 40px, rgba(255,255,255,0) 40px 80px),
    linear-gradient(135deg, var(--forest-dark), var(--forest) 55%, var(--forest-light));
  color: var(--white);
  padding: 72px 0 96px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--orange);
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--white);
  max-width: 22ch;
}

.hero-img img { max-width: 420px; margin: 0 auto; }

@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-img img { margin: 0 auto; }
}

/* Section spacing */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.bg-cream { background: var(--cream); }
.bg-sage { background: var(--sage); color: #0c2313; }
.bg-sage h2, .bg-sage h3 { color: #0c2313; }

.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  font-family: "Oswald", sans-serif;
  color: var(--orange-dark);
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* Continuous sage-green block: Who We Are + Why Choose Us + Features */
.bg-brand-green {
  background: #4cb67b;
  color: #10230f;
}
.bg-brand-green h2,
.bg-brand-green h3,
.bg-brand-green h4 { color: #10230f; }
.bg-brand-green .eyebrow { color: #414726; }

/* Who we are */
.who-we-are { max-width: 760px; }
.who-we-are h3 { margin-top: 1.2em; }

/* Why choose (two column) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Features (two column: stacked items + single photo) */
.features-layout {
  display: grid;
  grid-template-columns: 56% 44%;
  gap: 40px;
  align-items: center;
}

.feature-item { padding: 16px 0; }

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #045228;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon-circle img { width: 30px; height: 30px; margin: 0; }

.features-photo img { border-radius: var(--radius); }

@media (max-width: 900px) {
  .features-layout { grid-template-columns: 1fr; }
  .features-photo { order: -1; }
}

.checklist {
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
  columns: 2;
  column-gap: 24px;
}

.checklist li {
  break-inside: avoid;
  padding: 6px 0 6px 26px;
  position: relative;
}

.checklist li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  color: var(--orange-dark);
  font-size: 0.9em;
}

@media (max-width: 600px) {
  .checklist { columns: 1; }
}

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

.feature-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.feature-card img { width: 44px; height: 44px; margin-bottom: 16px; }

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

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 6px 18px rgba(15, 47, 26, 0.06);
}

.stars { color: var(--orange); margin-bottom: 10px; letter-spacing: 2px; }

.testimonial-card blockquote {
  margin: 0 0 12px;
  font-style: italic;
  font-size: 1.05rem;
}

.testimonial-card ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.testimonial-card ul li { padding: 3px 0; }

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

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

/* Video section */
.video-section {
  background: #0b0b0b;
  padding: 0;
}

.video-frame {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  aspect-ratio: 16 / 6.2;
  overflow: hidden;
}

.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--forest-dark);
}

.video-play-btn:hover { background: var(--white); }

/* Products page */
.product-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.product-card:last-child { border-bottom: none; }

.product-card img { border-radius: var(--radius); }

.product-price {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  color: var(--forest);
  margin: 6px 0 18px;
}

.product-price .was {
  font-size: 1rem;
  color: var(--ink-soft);
  text-decoration: line-through;
  margin-left: 10px;
  font-family: "Roboto", sans-serif;
}

.product-card h3.kicker {
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  color: var(--orange-dark);
  margin-bottom: 6px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.95rem;
}

.spec-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.spec-table td:first-child {
  color: var(--ink-soft);
  width: 40%;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 18px 0 0;
  font-size: 0.92rem;
  color: var(--forest);
}

@media (max-width: 820px) {
  .product-card { grid-template-columns: 1fr; }
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-info-item .label {
  font-family: "Oswald", sans-serif;
  font-size: 0.85rem;
  color: var(--orange-dark);
  display: block;
  margin-bottom: 2px;
}

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.98rem;
}

.form-field textarea { min-height: 130px; resize: vertical; }

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

/* Footer */
.site-footer {
  background: var(--forest-dark);
  color: #cfe2d3;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid img { height: 42px; margin-bottom: 12px; }

.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li { margin-bottom: 10px; }

.site-footer a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #9db8a3;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--orange);
  color: #241300;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
