/* =========================================================
   Fresh-Pik Produce, Inc. — Clean & Modern design system
   ========================================================= */

:root {
  /* Color — a fresh, airy farm palette. Brand green leads;
     one warm strawberry accent used sparingly for emphasis. */
  --brand:        #2f7d4f;   /* fresh farm green */
  --brand-dark:   #22603c;   /* hover / active / headings */
  --brand-tint:   #eef5ef;   /* pale green surface */
  --accent:       #d9542f;   /* warm strawberry — CTA/emphasis only */
  --accent-dark:  #bd431f;
  --ink:          #1c2620;   /* near-black body text */
  --muted:        #5d6b62;   /* secondary text */
  --bg:           #ffffff;
  --surface:      #f7f9f6;   /* alternating sections / cards */
  --border:       #e6ebe6;   /* thin rules */

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --h1: clamp(2.4rem, 5.5vw, 4rem);
  --h2: clamp(1.75rem, 3.5vw, 2.6rem);
  --h3: clamp(1.15rem, 1.8vw, 1.4rem);
  --body: clamp(1rem, 1.1vw, 1.09rem);

  /* Space & shape */
  --section-y: clamp(3.5rem, 9vw, 7rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 40px rgba(34, 60, 44, .08);
  --shadow-sm: 0 3px 14px rgba(34, 60, 44, .06);
  --maxw: 1140px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 600; }
p { margin: 0 0 1rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface); }
.section--brand { background: var(--brand-tint); }
.narrow { max-width: 65ch; }
.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 .9rem;
}
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  padding: .8rem 1.5rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn-cta { background: var(--accent); color: #fff; }
.btn-cta:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand-dark); border-color: var(--border); }
.btn-ghost:hover { background: #fff; border-color: var(--brand); color: var(--brand-dark); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 74px;
}
.brand-mark { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand-mark:hover { color: var(--ink); }
.brand-mark svg { width: 34px; height: 34px; flex: none; }
.brand-mark .name { font-family: var(--font-head); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; line-height: 1; }
.brand-mark .name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { font-weight: 500; color: var(--ink); font-size: .98rem; }
.site-nav a:not(.btn):hover { color: var(--brand); }
.site-nav .btn { padding: .6rem 1.2rem; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 9px;
  width: 44px; height: 44px; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.hero-copy h1 { margin-bottom: .35em; }
.hero-copy .lede { font-size: 1.2rem; color: var(--muted); max-width: 42ch; }
.hero-tag { font-family: var(--font-head); font-style: italic; color: var(--brand); font-size: 1.15rem; margin-bottom: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.hero-badge {
  position: absolute; left: -14px; bottom: 22px;
  background: #fff; border: 1px solid var(--border); border-radius: 100px;
  box-shadow: var(--shadow-sm);
  padding: .55rem 1.1rem; font-weight: 600; font-size: .92rem;
  display: inline-flex; align-items: center; gap: .5rem;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); flex: none; }

/* trust strip */
.trust-strip { border-top: 1px solid var(--border); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: space-between; padding-block: 1.2rem; }
.trust-item { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .95rem; font-weight: 500; }
.trust-item svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

/* ---------- Feature / about split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.split.reverse .split-media { order: 2; }
.stat-row { display: flex; gap: 2.2rem; flex-wrap: wrap; margin-top: 1.8rem; }
.stat b { font-family: var(--font-head); font-size: 2rem; color: var(--brand-dark); display: block; line-height: 1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.5rem; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.product-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin-bottom: .35rem; }
.product-card .season { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: .6rem; }
.product-card p { color: var(--muted); font-size: .97rem; margin: 0; }
.product-card .pack { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--border); font-size: .88rem; color: var(--muted); }

/* ---------- Certification banner ---------- */
.cert { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem,3vw,2.6rem); align-items: center; }
.cert-seal {
  width: clamp(96px, 12vw, 132px); height: clamp(96px, 12vw, 132px); flex: none;
  border-radius: 50%; background: #fff; border: 2px solid var(--brand);
  display: grid; place-content: center; text-align: center; box-shadow: var(--shadow-sm);
  color: var(--brand-dark); font-family: var(--font-head);
}
.cert-seal b { font-size: 2rem; line-height: 1; display: block; }
.cert-seal span { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; }

/* ---------- Ordering ---------- */
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.order-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.order-card h3 { display: flex; align-items: center; gap: .6rem; }
.order-card p { color: var(--muted); }

/* ---------- Form ---------- */
.lead-form { display: grid; gap: 1rem; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lead-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.lead-form input, .lead-form textarea, .lead-form select {
  font: inherit; font-weight: 400;
  padding: .7rem .85rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,125,79,.15); background: #fff;
}
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-status { font-weight: 600; padding: .4rem 0; min-height: 1.4rem; }
.form-status.ok { color: var(--brand-dark); }
.form-status.err { color: var(--accent-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3rem); align-items: start; }
.contact-list { display: grid; gap: 1.4rem; margin: 0 0 2rem; }
.contact-item { display: flex; gap: .9rem; }
.contact-item svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 3px; }
.contact-item .label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-item a { font-weight: 600; }
.team { display: grid; gap: .8rem; margin-top: .4rem; }
.team-member { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; padding: .8rem 0; border-top: 1px solid var(--border); }
.team-member .who b { display: block; }
.team-member .who span { color: var(--muted); font-size: .9rem; }
.team-member a { font-weight: 600; font-size: .95rem; align-self: center; }
.map { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- Links / partners ---------- */
.partner-list { display: flex; flex-wrap: wrap; gap: .8rem; }
.partner-list a {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--border); border-radius: 100px;
  padding: .6rem 1.15rem; font-weight: 500; font-size: .95rem; color: var(--ink);
  transition: border-color .2s ease, color .2s ease;
}
.partner-list a:hover { border-color: var(--brand); color: var(--brand-dark); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-dark); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 52ch; margin-inline: auto; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: #16271c; color: rgba(255,255,255,.72); padding-block: clamp(2.5rem,5vw,3.5rem) 1.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-mark .name { color: #fff; }
.footer-brand p { max-width: 34ch; font-size: .95rem; }
.footer-links { display: grid; gap: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .85rem; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .split, .contact-grid, .order-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: .5rem 1.1rem 1.2rem;
    box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .28s ease;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: .85rem .2rem; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: .8rem; justify-content: center; padding: .85rem; }
  .lead-form .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .product-card:hover { transform: none; }
}
