/* Food Operate - public website. Brand: black ink, white, gear red #9A1E24. No external fonts/trackers. */
:root {
  --ink: #111214;
  --ink-2: #2b2d31;
  --muted: #6b6f76;
  --line: #e7e7e4;
  --soft: #f6f5f2;
  --red: #9a1e24;
  --red-2: #7c171c;
  --red-soft: #f8ecec;
  --ok: #1d7a46;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(17, 18, 20, .05), 0 8px 24px rgba(17, 18, 20, .06);
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: #fff;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header ---------- */
.topline { background: var(--ink); color: #d9d9d6; font-size: 13px; }
.topline .wrap { display: flex; gap: 22px; align-items: center; justify-content: flex-end; min-height: 36px; flex-wrap: wrap; }
.topline a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a.active { color: var(--red); }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; font-size: 20px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: var(--ink-2); color: #fff; }
.btn-red { background: var(--red); border-color: var(--red); }
.btn-red:hover { background: var(--red-2); border-color: var(--red-2); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn-wa { background: #1f8f4e; border-color: #1f8f4e; }
.btn-wa:hover { background: #17733e; border-color: #17733e; }
.nav .btn, .nav .btn:hover { color: #fff; padding: 9px 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.02em; margin: 16px 0 18px; font-weight: 700; }
.hero p.lead { font-size: 19px; color: var(--ink-2); max-width: 600px; }
.hero .actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-art img { width: min(380px, 90%); border-radius: 50%; box-shadow: 0 30px 80px rgba(17, 18, 20, .14); background: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; max-width: 620px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stat b { display: block; font-size: 26px; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }

.page-head { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 52px; padding-bottom: 44px; }
.page-head h1 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.02em; line-height: 1.15; margin-top: 10px; }
.page-head p { color: var(--ink-2); margin-top: 10px; max-width: 760px; font-size: 18px; }

/* ---------- sections ---------- */
section.block { padding: 72px 0; }
section.block.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.015em; line-height: 1.2; margin-top: 8px; }
.section-head p { color: var(--muted); max-width: 640px; margin-top: 6px; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- listing cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; display: flex; flex-direction: column;
  gap: 12px; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag-offer { background: #eef6f1; color: var(--ok); }
.tag-demand { background: var(--red-soft); color: var(--red); }
.tag-promo { background: #fff4e5; color: #9a5a00; }
.tag-private { background: #eef1f7; color: #34507a; }
.ref { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card h3 { font-size: 19px; line-height: 1.3; }
.card h3 small { display: block; font-size: 14px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.company { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14px; }
.facts div span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.facts div b { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--ink-2); }
.card-foot { margin-top: auto; display: flex; gap: 8px; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--line); }
.card-foot .muted { font-size: 13px; }
.price { font-size: 20px; font-weight: 700; }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.muted { color: var(--muted); }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar input, .toolbar select { font: inherit; font-size: 15px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; min-width: 200px; }
.toolbar input { flex: 1; min-width: 240px; }
.toolbar input:focus, .toolbar select:focus, .form input:focus, .form textarea:focus { outline: 2px solid rgba(154, 30, 36, .18); border-color: var(--red); }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; color: var(--muted); }
.loading { color: var(--muted); padding: 30px 0; }

/* promotions */
.promo { padding: 0; overflow: hidden; }
.promo .promo-img { aspect-ratio: 16/9; background: var(--soft) center/cover no-repeat; }
.promo .promo-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo p { color: var(--ink-2); font-size: 15px; }

/* products */
.family { margin-bottom: 44px; }
.family-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.family-head img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.family-head h2 { font-size: 26px; }
.prod { display: flex; gap: 14px; align-items: flex-start; }
.prod img, .prod .ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 24px; }
.prod h3 { font-size: 16px; }
.prod p { font-size: 14px; color: var(--muted); }

/* ---------- content pages ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; letter-spacing: -.01em; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p { margin: 0 0 14px; color: var(--ink-2); }
.prose ul { margin: 0 0 16px 22px; color: var(--ink-2); }
.prose li { margin: 6px 0; }
.updated { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.two-col { display: grid; grid-template-columns: 1.4fr .9fr; gap: 44px; align-items: start; }
.info-box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-box h3 { font-size: 18px; margin-bottom: 12px; }
.info-list { list-style: none; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; }
.info-list .ic { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--red); }
.info-list span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- forms / modal ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form .note { font-size: 13px; color: var(--muted); }
.msg { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.msg.ok { background: #eef6f1; color: var(--ok); }
.msg.err { background: var(--red-soft); color: var(--red); }
.modal { position: fixed; inset: 0; background: rgba(17, 18, 20, .55); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 18px; }
.modal-card { background: #fff; border-radius: 18px; width: min(560px, 100%); max-height: calc(100vh - 36px); overflow: auto; padding: 26px; box-shadow: 0 30px 90px rgba(0, 0, 0, .3); }
.modal-card h3 { font-size: 21px; margin-bottom: 4px; }
.modal-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.modal-close { float: right; background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); }

/* ---------- CTA + footer ---------- */
.cta { background: var(--ink); color: #fff; border-radius: 22px; padding: 44px; display: grid; grid-template-columns: 1.3fr auto; gap: 28px; align-items: center; }
.cta h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.01em; }
.cta p { color: #c9c9c6; margin-top: 8px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-ghost { color: #fff; border-color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--ink); }
.site-footer { background: #0b0c0d; color: #bdbdb9; margin-top: 0; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 56px; padding-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #e7e7e4; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer .brand img { height: 60px; width: 60px; border-radius: 50%; background: #fff; margin-bottom: 14px; }
.footer-base { border-top: 1px solid #25272a; }
.footer-base .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 22px; grid-template-columns: none; font-size: 13px; flex-wrap: wrap; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1f8f4e; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.wa-float:hover { background: #17733e; color: #fff; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .two-col, .cta { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 18px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .g3, .g2, .stats { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  section.block { padding: 52px 0; }
  .cta { padding: 30px 24px; }
  .topline .wrap { justify-content: center; }
}
@media (max-width: 480px) {
  .g3, .g2 { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}

.cards > .empty, .cards > .loading { grid-column: 1 / -1; }
