/* =========================================================
   FOOD AND VEGETABLES LTD — Global Stylesheet
   ========================================================= */

/* --- Reset / Base --- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* --- Design tokens --- */
:root {
  --green-900: #1b4332;
  --green-800: #2d6a4f;
  --green-700: #40916c;
  --green-600: #52b788;
  --green-500: #74c69d;
  --green-300: #b7e4c7;
  --green-100: #e9f5ec;
  --earth-600: #bc6c25;
  --earth-500: #d4a373;
  --earth-200: #faedcd;
  --cream: #fdfcf7;
  --ink: #14251d;
  --text: #1f2d25;
  --muted: #5a6b63;
  --line: #e2eadf;
  --white: #ffffff;
  --bg: #fdfcf7;
  --shadow-sm: 0 1px 2px rgba(20, 37, 29, 0.06), 0 2px 6px rgba(20, 37, 29, 0.04);
  --shadow-md: 0 4px 12px rgba(20, 37, 29, 0.08), 0 12px 32px rgba(20, 37, 29, 0.06);
  --shadow-lg: 0 12px 32px rgba(20, 37, 29, 0.12), 0 24px 56px rgba(20, 37, 29, 0.08);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1200px;
  --transition: 200ms cubic-bezier(.4,.0,.2,1);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 62ch;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-800);
  background: var(--green-100);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--green-700);
}

/* --- Layout helpers --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--cream { background: var(--earth-200); }
.section--mint { background: var(--green-100); }
.section--dark { background: var(--green-900); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: rgba(255,255,255,0.8); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  transition: var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--green-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-900); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn svg { width: 18px; height: 18px; }

/* --- Header / Navigation --- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253, 252, 247, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; color: var(--ink);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
}
.nav-links a:hover { background: var(--green-100); color: var(--green-900); }
.nav-links a.active { background: var(--green-100); color: var(--green-900); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: transparent;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; color: var(--ink); }
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 72px; left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
  }
  .nav-open .nav-links a { padding: 12px 14px; }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 7vw, 96px);
  background:
    radial-gradient(1200px 500px at 10% 0%, rgba(82,183,136,0.18), transparent 60%),
    radial-gradient(900px 400px at 90% 10%, rgba(212,163,115,0.18), transparent 60%),
    linear-gradient(180deg, var(--cream), #f3efe2 100%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 strong { color: var(--green-800); font-style: italic; font-weight: 500; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats .stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--green-900);
  font-weight: 600;
}
.hero-stats .stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-300), var(--green-600));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-visual .img-top,
.hero-visual .img-bottom {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-visual .img-top {
  top: 8%; left: 8%; width: 60%; aspect-ratio: 4/3;
  background: url('../images/photo-1610348725531-843dff563e2c.jpg') center/cover;
  transform: rotate(-3deg);
}
.hero-visual .img-bottom {
  bottom: 10%; right: 8%; width: 60%; aspect-ratio: 4/3;
  background: url('../images/photo-1542838132-92c53300491e.jpg') center/cover;
  transform: rotate(4deg);
}
.hero-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.95);
  padding: 12px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.85rem;
  color: var(--ink);
  max-width: 80%;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--green-600); box-shadow: 0 0 0 5px rgba(82,183,136,0.22); }

/* --- Cards --- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.96rem; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-800);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }

/* --- Feature / split sections --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5/4;
  background-size: cover;
  background-position: center;
}
.feature-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--text);
}
.feature-list li::before {
  content: "";
  flex: 0 0 22px;
  margin-top: 4px;
  width: 22px; height: 22px;
  background: var(--green-100);
  border-radius: 999px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

/* --- Product grid --- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-media {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.product-body { padding: 20px 22px 24px; }
.product-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-800);
  background: var(--green-100);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  font-weight: 600;
}
.product h4 { margin: 0 0 6px; font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; color: var(--ink); }
.product p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* --- Stat band --- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
@media (max-width: 700px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat-band .stat-num { font-family: 'Fraunces', serif; font-size: 2.4rem; color: #fff; font-weight: 600; }
.stat-band .stat-label { opacity: 0.75; font-size: 0.95rem; }

/* --- Timeline --- */
.timeline { border-left: 2px dashed var(--green-300); padding-left: 28px; margin: 0; list-style: none; display: grid; gap: 28px; }
.timeline li { position: relative; }
.timeline li::before {
  content: "";
  position: absolute; left: -37px; top: 4px;
  width: 16px; height: 16px; border-radius: 999px;
  background: var(--green-700); border: 3px solid var(--cream);
  box-shadow: 0 0 0 4px rgba(64,145,108,0.15);
}
.timeline .year { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--green-900); font-weight: 600; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); }

/* --- Testimonials --- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr; } }
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.quote::before {
  content: "“";
  font-family: 'Fraunces', serif;
  color: var(--green-300);
  font-size: 4rem;
  line-height: 1;
  position: absolute;
  top: 12px; right: 20px;
}
.quote p { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--ink); }
.quote-author { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.quote-avatar {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--green-100);
  display: grid; place-items: center;
  font-weight: 600;
  color: var(--green-900);
  font-family: 'Fraunces', serif;
}
.quote-meta { font-size: 0.88rem; }
.quote-name { color: var(--ink); font-weight: 600; }
.quote-role { color: var(--muted); }

/* --- CTA band --- */
.cta {
  margin: clamp(32px, 5vw, 64px) auto;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(600px 300px at 90% 20%, rgba(183,228,199,0.18), transparent 60%),
    linear-gradient(135deg, var(--green-900), var(--green-800));
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }
.cta h2 { color: #fff; margin: 0 0 12px; }
.cta p { color: rgba(255,255,255,0.82); margin: 0 0 0; max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) { .cta-actions { justify-content: flex-start; } }

/* --- Page banner --- */
.page-banner {
  padding: clamp(72px, 9vw, 110px) 0 clamp(44px, 5vw, 64px);
  background:
    radial-gradient(800px 380px at 80% 0%, rgba(82,183,136,0.20), transparent 60%),
    linear-gradient(180deg, var(--cream), #f2efe2);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  font-size: 0.85rem; color: var(--muted);
  display: flex; gap: 8px; margin-bottom: 14px;
}
.breadcrumbs a:hover { color: var(--green-800); }

/* --- Forms --- */
.form {
  display: grid; gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  transition: var(--transition);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--green-700);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(64,145,108,0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.form .btn--primary { justify-self: flex-start; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* Info list (contact side) */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: flex-start; }
.info-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-100); color: var(--green-800);
  display: grid; place-items: center;
}
.info-icon svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--ink); margin-bottom: 2px; font-size: 0.95rem; }
.info-list span { color: var(--muted); font-size: 0.93rem; }

/* --- Contact layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* --- Legal pages --- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
}
.legal h2 { margin-top: 2rem; font-size: 1.4rem; }
.legal h3 { margin-top: 1.4rem; font-size: 1.1rem; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 20px; }
.legal-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }

/* --- FAQ --- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: var(--transition);
}
.faq details[open] { border-color: var(--green-500); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem; color: var(--green-800);
  transition: var(--transition);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* --- Footer --- */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.78);
  padding: clamp(48px, 6vw, 72px) 0 28px;
  margin-top: clamp(48px, 6vw, 80px);
}
.site-footer a { color: rgba(255,255,255,0.78); transition: var(--transition); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 0.92rem; max-width: 36ch; margin-top: 12px; }
.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.94rem; }
.footer-meta {
  display: flex; flex-wrap: wrap; gap: 16px 28px;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-meta .legal-block { max-width: 72ch; }
.footer-meta .legal-block strong { color: #fff; font-weight: 600; }
.footer-meta a { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); }
.footer-companies-house {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: #fff;
}
.footer-companies-house .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(82,183,136,0.25);
}

/* --- Misc --- */
.text-center { text-align: center; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.divider { height: 1px; background: var(--line); border: 0; margin: 48px 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.82rem; color: var(--muted);
}
.badge svg { width: 14px; height: 14px; color: var(--green-800); }

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .fade-in { animation: fadeIn 600ms ease both; }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
