/* ============================================================
   Vitablendz — design system
   Palette sampled from logo.jpg:
     leaf green  #1F7A30 / #287C38
     apple red   #B40A0A / #C81010
   Cool mint/ice whites only — no beige, no gold.
   ============================================================ */

:root {
  --green: #1f7a30;
  --green-2: #287c38;
  --green-deep: #0e3b18;
  --mint: #e8f6eb;
  --ice: #f4fbf5;
  --paper: #ffffff;
  --red: #b40a0a;
  --red-2: #c81010;
  --ink: #102016;
  --muted: #4d6153;
  --line: rgba(16, 32, 22, 0.1);
  --shadow: 0 18px 40px rgba(14, 59, 24, 0.1);
  --radius: 22px;
  --header-h: 82px;
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute; left: 12px; top: -40px;
  background: var(--green); color: #fff; padding: 8px 12px; z-index: 200;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.72rem; font-weight: 700; color: var(--green);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.35rem; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 54ch; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s;
}
.site-header.is-scrolled,
.site-header.solid {
  background: rgba(244, 251, 245, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  width: min(1140px, calc(100% - 28px));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; }
.brand img {
  height: 48px; width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 4px 8px;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
}
.nav-link:hover, .nav-link.is-active { color: var(--green); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: 999px;
  padding: 13px 22px; font-weight: 700; font-size: 0.86rem;
  transition: transform .22s var(--ease), background .22s, color .22s;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink);
}

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 24px;
  padding: calc(var(--header-h) + 28px) 0 48px;
}
.hero-copy { padding-right: 12px; }
.hero-copy .tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--red);
  font-size: 1.35rem;
  margin: 12px 0 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-visual {
  position: relative;
  background: var(--mint);
  border-radius: 36px;
  min-height: 520px;
  overflow: hidden;
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; min-height: 520px;
}
.float-chip {
  position: absolute; left: 18px; bottom: 18px;
  background: #fff; color: var(--ink);
  border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow); font-size: 0.88rem;
}
.float-chip strong { display: block; color: var(--green); }

.meta-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 36px;
}
.meta-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 16px;
}
.meta-card span {
  display: block; font-size: 0.72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green); font-weight: 700;
}

/* Sections */
.section { padding: 88px 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 36px; }
.section-head.center { text-align: center; justify-items: center; }
.band { background: var(--green-deep); color: #fff; }
.band .lead, .band .eyebrow { color: #b7e3c0; }
.band .eyebrow::before { background: #ff8a8a; }

.split, .about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.photo-card {
  background: #fff; border-radius: 28px; padding: 18px;
  box-shadow: var(--shadow);
}
.photo-card img {
  width: 100%; height: 420px; object-fit: contain;
  background: var(--ice); border-radius: 18px;
}

/* Product cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product {
  background: #fff; border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media {
  background: var(--mint); height: 220px;
  display: grid; place-items: center; padding: 16px;
}
.product-media img { max-height: 190px; width: auto; object-fit: contain; }
.product-body { padding: 18px 18px 22px; display: grid; gap: 8px; }
.price { color: var(--red); font-weight: 800; }

.juice-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.juice-row figure {
  margin: 0; background: #fff; border-radius: 20px; padding: 12px;
  border: 1px solid var(--line); text-align: center;
}
.juice-row img { height: 210px; margin-inline: auto; object-fit: contain; }
.juice-row figcaption { padding: 8px 4px 6px; font-weight: 700; color: var(--green-deep); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; }
.info-card, .form-card, .map-wrap {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.info-list { list-style: none; margin: 18px 0 0; padding: 0; }
.info-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.info-list strong {
  display: block; font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green);
}
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700;
}
.socials a:hover { background: var(--green); color: #fff; border-color: var(--green); }

.form-grid { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: .82rem; color: var(--muted); }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; background: var(--ice);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--green); border-color: transparent;
}
.form-status { display: none; background: var(--mint); color: var(--green-deep); padding: 12px; border-radius: 12px; }
.form-status.is-visible { display: block; }
.hidden { display: none !important; }
.map-wrap { padding: 0; overflow: hidden; min-height: 360px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

.page-hero {
  padding: 140px 0 40px;
  background:
    radial-gradient(circle at 90% 0%, rgba(31,122,48,.12), transparent 38%),
    radial-gradient(circle at 10% 20%, rgba(180,10,10,.08), transparent 32%),
    var(--ice);
}

.site-footer {
  background: var(--green-deep); color: #e7f6ea; padding: 52px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer a:hover { color: #fff; }
.legal { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; font-size: .85rem; color: #9ec9a8; }

@media (max-width: 900px) {
  .hero, .split, .about-grid, .contact-grid, .footer-grid,
  .card-grid, .juice-row, .meta-row { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 16px); }
  .hero-visual, .hero-visual img { min-height: 320px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: fixed; inset: var(--header-h) 14px auto 14px;
    background: #fff; border-radius: 16px; box-shadow: var(--shadow);
    padding: 16px; flex-direction: column; align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .nav .btn { width: 100%; }
  .site-header { background: rgba(244,251,245,.94); }
}
