/* Сытый Офис — лендинг корпоративного питания. Один файл, без зависимостей. */
:root {
  --green: #1f7a4d;
  --green-d: #155c39;
  --green-l: #e7f4ec;
  --orange: #f3852b;
  --orange-d: #d96d12;
  --ink: #16271f;
  --body: #36433d;
  --muted: #6b7a73;
  --line: #e3e9e5;
  --bg: #ffffff;
  --bg-alt: #f5f8f6;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(20, 60, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 60, 40, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
a { color: var(--green-d); text-decoration: none; }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; line-height: 1;
  padding: 14px 22px; border-radius: 12px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(243, 133, 43, .28); }
.btn-primary:hover { background: var(--orange-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-d); }
.btn-outline { background: #fff; color: var(--green-d); border-color: var(--green); }
.btn-outline:hover { background: var(--green-l); color: var(--green-d); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 10px 16px; border-radius: 10px; }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; }

/* ── Header ──────────────────────────────────────────────── */
.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(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.brand span { letter-spacing: -.02em; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--body); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--green-d); }
.site-header .btn { margin-left: 8px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: radial-gradient(1100px 480px at 78% -10%, var(--green-l), transparent 60%),
              linear-gradient(180deg, #fbfdfb, #ffffff);
  padding: 72px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 6px 12px;
  background: var(--green-l); color: var(--green-d);
  border-radius: 999px; font-weight: 700; font-size: .82rem; letter-spacing: .01em;
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: .35em; }
.hero .lead { font-size: 1.15rem; color: var(--body); max-width: 36em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 30px; }
.hero-stats { display: flex; gap: 30px; list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.5rem; color: var(--ink); font-weight: 800; }
.hero-stats span { color: var(--muted); font-size: .9rem; }

.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px; }
.kp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-weight: 700; color: var(--ink); }
.kp-badge { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-d); background: #fdebdc; padding: 4px 9px; border-radius: 999px; }
.kp-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.kp-row span { color: var(--muted); }
.kp-row b { color: var(--ink); text-align: right; }
.kp-total { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 16px; padding: 14px 16px; background: var(--green-l); border-radius: var(--radius-sm); }
.kp-total span { color: var(--green-d); font-weight: 600; }
.kp-total b { color: var(--green-d); font-size: 1.1rem; }

/* ── Trust bar ───────────────────────────────────────────── */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); padding: 20px 0; }
.trust-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-label { color: var(--muted); font-size: .9rem; font-weight: 600; }
.logos { display: flex; gap: 12px; flex-wrap: wrap; }
.logos span {
  color: var(--body); font-weight: 700; font-size: .9rem;
  background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px;
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; }
.section-sub { text-align: center; color: var(--muted); font-size: 1.08rem; max-width: 40em; margin: 0 auto 44px; }

/* ── Grids & cards ───────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .ic { font-size: 1.9rem; margin-bottom: 10px; }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--body); margin: 0; font-size: .97rem; }

/* ── Plans ───────────────────────────────────────────────── */
.plan {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.plan-featured { border-color: var(--green); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; font-weight: 700; font-size: .78rem;
  padding: 6px 14px; border-radius: 999px; letter-spacing: .02em;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan-for { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.plan-price { font-size: 1.05rem; color: var(--body); margin-bottom: 18px; }
.plan-price b { font-size: 1.7rem; color: var(--ink); }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; flex: 1; }
.ticks li { position: relative; padding-left: 28px; color: var(--body); font-size: .96rem; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
  width: 19px; height: 19px; line-height: 19px; text-align: center;
  background: var(--green-l); border-radius: 50%; font-size: .72rem;
}
.fineprint { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 28px; }

/* ── Steps ───────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px;
  background: var(--orange); color: #fff; font-weight: 800; font-size: 1.15rem;
}
.steps h3 { font-size: 1.12rem; }
.steps p { color: var(--body); margin: 0; font-size: .95rem; }

/* ── Menu ────────────────────────────────────────────────── */
.menu-grid { gap: 18px; }
.dish { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; text-align: center; box-shadow: var(--shadow); transition: transform .15s ease; }
.dish:hover { transform: translateY(-3px); }
.dish-emoji { font-size: 2.2rem; margin-bottom: 8px; }
.dish h4 { font-size: 1.02rem; margin-bottom: 4px; }
.dish p { color: var(--muted); font-size: .86rem; margin: 0; }

/* ── Testimonials ────────────────────────────────────────── */
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 14px; font-size: 1.04rem; color: var(--ink); line-height: 1.55; }
.quote figcaption { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--green); font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--body); }

/* ── CTA / Lead form ─────────────────────────────────────── */
.section-cta { background: linear-gradient(180deg, var(--bg-alt), #fff); }
.cta-card {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 40px;
}
.cta-copy h2 { font-size: 1.7rem; }
.cta-copy p { color: var(--body); }
.cta-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.cta-points li { color: var(--green-d); font-weight: 600; }

.lead-form { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.lead-form label span { color: var(--orange-d); }
.lead-form input, .lead-form select, .lead-form textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 122, 77, .12);
}
.lead-form textarea { resize: vertical; min-height: 80px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d9534f; }
.err { color: #c0392b; font-size: .82rem; min-height: 1em; }
.form-note { color: var(--muted); font-size: .82rem; text-align: center; margin: 0; }
.form-status { font-weight: 600; text-align: center; min-height: 1.2em; }
.form-status.ok { color: var(--green-d); }
.form-status.error { color: #c0392b; }

/* honeypot — visually hidden but present in DOM for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* success panel injected by app.js */
.lead-success { text-align: center; padding: 24px 8px; }
.lead-success .ok-emoji { font-size: 3rem; margin-bottom: 8px; }
.lead-success h3 { font-size: 1.4rem; }
.lead-success p { color: var(--body); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #cdd8d1; padding: 54px 0 26px; }
.site-footer .brand { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: #9fb0a7; max-width: 30em; margin-top: 12px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-col p { margin: 0 0 8px; }
.footer-col a { color: #cdd8d1; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa097; font-size: .86rem; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-card { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .plan-featured { transform: none; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .section { padding: 54px 0; }
  .hero { padding: 48px 0 44px; }
  .grid-3, .grid-4, .steps, .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-stats { gap: 20px; }
  .cta-card { padding: 22px; }
}
