/* Gyula Fruit & Veg — site styles */

:root {
  --green-900: #0e3b1f;
  --green-800: #14532d;
  --green-700: #1f7a3a;
  --green-600: #2e9b4e;
  --green-500: #5cbd2c;
  --green-400: #86d041;
  --green-50:  #f1f7ed;
  --cream:     #f8f6ef;
  --paper:     #ffffff;
  --ink:       #16261b;
  --ink-2:     #3a4a3f;
  --muted:     #6c7a70;
  --line:      #e3e6dd;
  --line-2:    #cfd6c8;
  --accent:    #f3a712;

  --container: 1240px;
  --radius:    14px;
  --radius-sm: 8px;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-800); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--green-900);
  margin: 0 0 .5em 0;
  letter-spacing: -.01em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.2vw, 68px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; }
p  { margin: 0 0 1em 0; text-wrap: pretty; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  margin-bottom: 18px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-900);
  color: #d8e6dc;
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 16px;
}
.topbar .left, .topbar .right {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.topbar a { color: #d8e6dc; }
.topbar a:hover { color: #fff; }
.topbar .dot { color: var(--green-500); }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand img { height: 56px; width: auto; }
.nav {
  display: flex; align-items: center; gap: 30px;
}
.nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.nav a.active, .nav a:hover { color: var(--green-700); }
.nav a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--green-600); border-radius: 2px;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-700); color: #fff;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px;
  border: 1px solid var(--green-700);
  transition: background .18s ease, transform .18s ease;
}
.nav-cta:hover { background: var(--green-800); color: #fff; transform: translateY(-1px); }

/* mobile nav */
.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
}
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 28px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.btn-primary:hover { background: var(--green-800); border-color: var(--green-800); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green-900); border-color: var(--green-900); }
.btn-ghost:hover { background: var(--green-900); color: #fff; }
.btn-light { background: #fff; color: var(--green-900); border-color: #fff; }
.btn-light:hover { background: var(--green-50); color: var(--green-900); }

.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f4f8ec 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero h1 { margin-top: 12px; }
.hero .lede {
  font-size: 18.5px;
  color: var(--ink-2);
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  position: relative;
  aspect-ratio: 4/4.4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px -22px rgba(20, 83, 45, .35);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-stat {
  position: absolute; bottom: 22px; left: 22px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--line);
  display: flex; gap: 14px; align-items: center;
}
.hero-stat strong { font-family: var(--font-display); font-size: 28px; color: var(--green-900); display: block; line-height: 1; }
.hero-stat span { font-size: 13px; color: var(--muted); }
.hero-leaf {
  position: absolute;
  pointer-events: none;
  opacity: .12;
}
.hero-leaf.tl { top: -40px; left: -60px; transform: rotate(-20deg); width: 240px; }
.hero-leaf.br { bottom: -60px; right: -40px; transform: rotate(160deg); width: 280px; }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head p { color: var(--ink-2); font-size: 17px; }

/* ---------- Cards / category grid ---------- */
.cat-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(20,83,45,.30);
  border-color: var(--green-400);
}
.cat-card .ph {
  aspect-ratio: 4/3;
  background: var(--green-50);
  position: relative;
  overflow: hidden;
}
.cat-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .ph img { transform: scale(1.04); }
.cat-card .body { padding: 20px 22px 22px; }
.cat-card h3 { color: var(--green-900); margin-bottom: 6px; font-size: 19px; }
.cat-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.cat-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-weight: 600; font-size: 14px;
  color: var(--green-700);
}
.cat-card:hover .more { color: var(--green-800); }

/* ---------- Two-up split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.split-img {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: 0 24px 50px -28px rgba(20,83,45,.30);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Stats / value props ---------- */
.values {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.value {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.value .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-50); border: 1px solid var(--line-2);
  color: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value h4 { margin: 0 0 6px 0; font-size: 17px; color: var(--green-900); font-family: var(--font-display); }
.value p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 880px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Who we supply ---------- */
.supply-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 32px;
  list-style: none; padding: 0; margin: 0;
}
.supply-list li {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-2);
  color: var(--ink-2);
  display: flex; align-items: center; gap: 12px;
  font-size: 15.5px;
}
.supply-list li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500);
  flex-shrink: 0;
}
@media (max-width: 760px) { .supply-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .supply-list { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; margin: 0 0 8px 0; }
.cta-band p { color: #cfe0d2; margin: 0; max-width: 520px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta-band::after {
  content: ""; position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(92,189,44,.18), transparent 70%);
  right: -80px; top: -80px;
}
@media (max-width: 880px) {
  .cta-band { grid-template-columns: 1fr; padding: 36px; }
  .cta-band .actions { justify-content: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: #cfe0d2;
  padding: 64px 0 28px;
  margin-top: 80px;
}
.site-footer a { color: #cfe0d2; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-footer h5 {
  color: #fff; font-family: var(--font-display); font-size: 16px; margin: 0 0 16px 0;
  letter-spacing: .04em; text-transform: uppercase;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.site-footer .brand-block img { height: 60px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.site-footer .brand-block p { font-size: 14px; color: #b3c4b8; max-width: 320px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 13px; color: #93a698;
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (non-home) ---------- */
.page-header {
  background: linear-gradient(180deg, #eaf2dd 0%, var(--cream) 100%);
  padding: 72px 0 60px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.page-header .crumbs {
  font-size: 13.5px; color: var(--muted); margin-bottom: 14px;
  display: flex; gap: 8px; align-items: center;
}
.page-header .crumbs a { color: var(--green-700); }
.page-header h1 { margin: 0; font-size: clamp(36px, 4.4vw, 56px); }
.page-header p.lede { color: var(--ink-2); font-size: 18px; max-width: 720px; margin-top: 14px; }

/* ---------- Long-form content ---------- */
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--green-800); }
.prose ul { padding-left: 22px; }
.prose ul li { margin: 6px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--green-50); color: var(--green-900); font-family: var(--font-display); font-weight: 600; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(20,83,45,.28);
  border-color: var(--green-400);
}
.product .pic {
  aspect-ratio: 1;
  background: #fff;
  display: grid; place-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.product .pic img { width: 100%; height: 100%; object-fit: contain; }
.product .info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.product .info h4 {
  font-family: var(--font-body); font-weight: 500;
  font-size: 14px; line-height: 1.35; color: var(--ink); margin: 0;
  min-height: 38px;
}
.product .enquire {
  margin-top: auto;
  display: inline-flex; justify-content: center; align-items: center; gap: 6px;
  background: var(--green-50);
  color: var(--green-800);
  border: 1px solid var(--line-2);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.product .enquire:hover {
  background: var(--green-700); color: #fff; border-color: var(--green-700);
}

/* ---------- Brand grid ---------- */
.brand-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.brand-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  display: grid; place-items: center;
  padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.brand-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -18px rgba(20,83,45,.25);
  border-color: var(--green-400);
}
.brand-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row.full { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14px; color: var(--green-900); }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font: inherit;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46,155,78,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Contact info card ---------- */
.contact-card {
  background: var(--green-900);
  color: #d8e6dc;
  border-radius: var(--radius);
  padding: 38px;
}
.contact-card h3 { color: #fff; margin-bottom: 22px; }
.contact-card .item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.10); }
.contact-card .item:first-of-type { border-top: 0; padding-top: 0; }
.contact-card .icon {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; flex-shrink: 0;
  color: var(--green-400);
}
.contact-card .item strong { color: #fff; display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 15px; letter-spacing: .03em; text-transform: uppercase; }
.contact-card .item a { color: #d8e6dc; }

/* ---------- Strip / banner ---------- */
.uk-strip {
  background: var(--green-900);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.uk-strip h2 { color: #fff; margin: 0 0 12px 0; }
.uk-strip p { color: #cfe0d2; max-width: 620px; margin: 0 auto; }

/* utility */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.divider { height: 1px; background: var(--line); margin: 28px 0; border: 0; }
