:root {
  --bg: #f4f0e8;
  --paper: #fff;
  --ink: #1c1915;
  --muted: #6d675e;
  --line: #ddd6c8;
  --sage: #304a3c;
  --sage-2: #3d5c4b;
  --rust: #b44728;
  --rust-d: #95391f;
  --wash: #ece7dc;
  --ok: #e7eee9;
  --shadow: 0 1px 0 rgba(28, 25, 21, 0.04), 0 12px 32px rgba(28, 25, 21, 0.06);
  --r: 10px;
  --header-h: 72px;
  --adbar-h: 28px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Source Serif 4", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; background: var(--wash); }
a { color: var(--sage); }
a:hover { color: var(--rust); }
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.form-wrap { width: min(780px, calc(100% - 40px)); }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: #000; color: #fff; padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; }

.adbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--adbar-h);
  display: grid; place-items: center;
  background: var(--ink); color: #efe8db;
  font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; font-weight: 700;
}

.site-header {
  position: sticky; top: var(--adbar-h); z-index: 40;
  background: rgba(244, 240, 232, 0.92);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-family: var(--display); font-weight: 650; font-size: 1.28rem;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--sage); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; display: block; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; place-items: center; gap: 5px; padding: 0;
}
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); }
.nav { display: flex; align-items: center; gap: 2px 4px; flex-wrap: wrap; }
.nav a:not(.btn) {
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 0.92rem; padding: 8px 10px;
}
.nav a:not(.btn):hover,
.nav a:not(.btn).active { color: var(--rust); }
.nav .btn {
  margin-left: 8px; min-height: 42px; padding: 0 16px; font-size: 0.9rem;
  color: #fff; background: var(--rust);
}
.nav .btn:hover { color: #fff; background: var(--rust-d); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 6px;
  border: 1px solid transparent; text-decoration: none;
  font-weight: 700; cursor: pointer; font-family: inherit; font-size: 0.98rem;
}
.btn-primary,
a.btn-primary,
a.btn-primary:hover,
.nav a.btn-primary,
.nav a.btn-primary:hover {
  background: var(--rust);
  color: #fff;
}
a.btn-primary:hover,
.nav a.btn-primary:hover { background: var(--rust-d); color: #fff; }
.btn-dark,
a.btn-dark,
a.btn-dark:hover {
  background: var(--sage); color: #fff;
}
a.btn-dark:hover { background: #24382e; color: #fff; }
.btn-light, .btn-ghost,
a.btn-light, a.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
a.btn-light:hover, a.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-wide { width: 100%; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { min-width: 180px; }

.hero { padding: 48px 0 28px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 0.92fr;
  gap: 48px; align-items: center;
}
.kicker {
  display: inline-block; margin-bottom: 14px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--rust);
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 50ch; }
.note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--sage);
  padding: 14px 16px; color: var(--muted); font-size: 0.95rem;
}
.hero-visual img {
  width: 100%; height: 500px; object-fit: cover;
  border-radius: 2px;
}
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.trust span::before { content: "— "; color: var(--rust); }

section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.muted { color: var(--muted); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card, .ration, .price, .post {
  background: var(--paper);
  border: 1px solid var(--line);
}
.card { padding: 22px; }
.card h3 { margin-top: 8px; }
.icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--ok); color: var(--sage);
  display: grid; place-items: center;
}
.icon svg { width: 22px; height: 22px; display: block; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { background: var(--paper); border: 1px solid var(--line); padding: 20px; }
.step b {
  display: block; font-family: var(--display); font-size: 1.4rem;
  color: var(--rust); margin-bottom: 8px; font-weight: 600;
}
.step p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.ration { overflow: hidden; display: flex; flex-direction: column; }
.ration img { height: 190px; width: 100%; object-fit: cover; }
.ration-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ration-body > p:not(.muted) { color: var(--muted); font-size: 0.95rem; }
.ration-body > p strong { font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  border: 1px solid var(--line); color: var(--sage);
  padding: 3px 9px; font-size: 0.75rem; font-weight: 700;
}
.ration-actions { margin-top: auto; padding-top: 10px; }

.menu { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; }
.menu img { height: 100%; min-height: 340px; object-fit: cover; }
.meal {
  display: grid; grid-template-columns: 96px 1fr auto;
  gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.meal:last-child { border-bottom: 0; }
.meal b { color: var(--rust); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.kcal { font-weight: 700; color: var(--sage); white-space: nowrap; }
.warn {
  background: #f7efe6; border: 1px solid #e4d4bc; color: #6a4d28;
  padding: 14px 16px; margin-top: 16px; font-size: 0.94rem;
}

.band {
  background: var(--sage); color: #f4f0e8;
  padding: 40px 44px;
}
.band h2 { color: #fff; }
.band p { color: rgba(244, 240, 232, 0.82); }
.prices { align-items: stretch; }
.price { padding: 26px; display: flex; flex-direction: column; }
.price.featured { background: var(--sage); color: #f4f0e8; border-color: var(--sage); }
.price.featured .muted, .price.featured li { color: rgba(244, 240, 232, 0.78); }
.price.featured h3 { color: #fff; }
.amount { font-family: var(--display); font-size: 2.3rem; margin: 4px 0 16px; }
.price ul { flex: 1; margin: 0 0 20px; }
.price li { margin-bottom: 8px; color: var(--muted); }

.faq details { background: var(--paper); border: 1px solid var(--line); margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); padding: 0 18px 16px; margin: 0; }

.legal-strip {
  background: var(--wash); padding: 18px 0; color: #534d45; font-size: 0.93rem;
  border-top: 1px solid var(--line);
}
.site-footer { background: var(--ink); color: #d8d1c5; padding: 48px 0 28px; }
.site-footer a { color: #efe8db; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.science { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.science p, .science li { color: #b7b0a5; font-size: 0.9rem; }
.science a { color: #efe8db; text-underline-offset: 3px; }
.copy { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); color: #8e877c; font-size: 0.86rem; }

.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 680px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 18px; display: none;
}
.cookie.show { display: block; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.page-hero { padding: 40px 0 8px; }
.crumbs { color: var(--muted); font-size: 0.88rem; margin-bottom: 10px; font-weight: 600; }
.crumbs a { color: var(--muted); text-decoration: none; }
.legal-page { max-width: 760px; }
.legal-page h2 { margin-top: 1.5em; font-size: 1.35rem; }

.filters {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 24px; padding: 18px;
  background: var(--paper); border: 1px solid var(--line);
}
.filters label {
  display: block; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}

select, input, textarea {
  width: 100%; min-height: 52px;
  border: 0; border-bottom: 1.5px solid #cfc7b8;
  border-radius: 0; padding: 12px 0;
  font: inherit; background: transparent; color: var(--ink);
}
select, input { appearance: none; }
select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c1915' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center;
  padding-right: 22px;
}
select:focus, input:focus, textarea:focus {
  outline: none; border-bottom-color: var(--rust);
}
textarea { min-height: 96px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid > div > label {
  display: block; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.form-grid .full { grid-column: 1 / -1; }

.check { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0; color: var(--muted); }
.check input, .choice input, .plan input, .check-card input {
  width: 18px; height: 18px; min-height: 18px; margin-top: 3px; accent-color: var(--sage); flex-shrink: 0;
}

.wizard-section { padding-top: 12px; padding-bottom: 80px; }
.wizard {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.wizard-head {
  padding: 22px 32px 18px;
  border-bottom: 1px solid var(--line);
}
.wizard-count {
  margin: 14px 0 0; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.stepper {
  list-style: none; display: flex; gap: 8px; padding: 0; margin: 0;
}
.stepper li {
  flex: 1; height: 4px; background: var(--wash); border-radius: 999px;
  transition: background 0.2s ease;
}
.stepper li.done { background: var(--sage); }
.stepper li.current { background: var(--rust); }

.step-panel { display: none; }
.step-panel.on { display: block; padding: 32px; }
.panel-head { margin-bottom: 26px; }
.panel-num { display: none; }
.panel-head h2 { font-size: 1.7rem; margin: 0 0 6px; }
.panel-head p { margin: 0; }
.wizard-nav {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line);
}
.wizard-nav .btn { min-width: 140px; }
.hint { font-size: 0.86rem; color: var(--muted); margin: 8px 0 0; }
.fieldset-title {
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px;
}

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice, .check-card, .plan {
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: flex; gap: 10px; align-items: center;
  padding: 14px 14px; font-weight: 600; font-size: 0.95rem;
}
.choice:hover, .check-card:hover, .plan:hover { border-color: #c2b9a8; }
.choice:has(input:checked), .check-card:has(input:checked), .plan:has(input:checked) {
  border-color: var(--sage); background: var(--ok);
}
.check-card { margin: 0 0 8px; align-items: flex-start; font-weight: 500; color: var(--muted); }
.check-card:last-of-type { margin-bottom: 0; }

.order-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.order-aside { position: sticky; top: calc(var(--adbar-h) + var(--header-h) + 20px); }
.order-form { display: flex; flex-direction: column; gap: 16px; }
.form-block, .order-submit, .summary-card {
  background: var(--paper); border: 1px solid var(--line); padding: 24px;
}
.order-submit { text-align: center; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.plan { padding: 0; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan span {
  display: flex; flex-direction: column; gap: 2px; padding: 14px;
  width: 100%;
}
.plan b { font-family: var(--display); font-size: 1.1rem; }
.plan em { font-style: normal; color: var(--muted); font-size: 0.86rem; font-weight: 500; }
.plan strong { font-family: var(--display); margin-top: 8px; font-size: 1.15rem; }
.summary-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem;
}
.summary-row span { color: var(--muted); }
.order-summary-inline {
  margin: 20px 0 8px;
  padding: 14px 16px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.summary-total b { font-family: var(--display); font-size: 1.7rem; }
.summary-list { list-style: none; padding: 0; margin: 14px 0; }
.summary-list li { padding: 4px 0 4px 16px; position: relative; color: var(--muted); font-size: 0.92rem; }
.summary-list li::before { content: "–"; position: absolute; left: 0; color: var(--rust); }

.blog-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.blog-card:hover {
  border-color: var(--rust);
  box-shadow: var(--shadow);
}
.blog-card h3 { color: var(--ink); }
.article { max-width: 760px; margin: 0 auto; }
table { width: 100%; border-collapse: collapse; background: var(--paper); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--wash); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.thanks { min-height: 50vh; display: grid; place-items: center; text-align: center; padding: 48px 0; }
.form-loader {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  background: rgba(28, 26, 23, 0.45);
  backdrop-filter: blur(4px);
}
.form-loader.is-visible { display: grid; }
.form-loader-box {
  min-width: 240px; max-width: 90vw;
  padding: 28px 32px; text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-loader-spin {
  width: 36px; height: 36px; margin: 0 auto 16px;
  border: 3px solid var(--line);
  border-top-color: var(--rust);
  border-radius: 50%;
  animation: tt-spin 0.75s linear infinite;
}
.form-loader-text {
  margin: 0; font-family: var(--display);
  font-size: 1.05rem; font-weight: 600;
}
.form-loader-sub {
  margin: 6px 0 0; color: var(--muted); font-size: 0.88rem;
}
body.is-submitting { overflow: hidden; }
@keyframes tt-spin { to { transform: rotate(360deg); } }
.mobile-cta {
  display: none; position: sticky; bottom: 0; padding: 10px 16px 14px;
  background: linear-gradient(transparent, var(--bg) 40%); z-index: 30;
}

@media (max-width: 1040px) {
  .hero-grid, .menu, .footer-grid, .grid-4, .steps, .filters, .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .burger { display: grid; }
  .nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--paper); border: 1px solid var(--line); padding: 12px;
    flex-direction: column; align-items: stretch; box-shadow: var(--shadow);
  }
  .nav .btn { margin: 8px 0 0; width: 100%; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .hero-visual img { height: 340px; }
  .order-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-grid, .menu, .footer-grid, .grid-4, .grid-3, .grid-2, .filters, .form-grid, .choice-grid, .prices, .meal, .plan-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual img { height: 260px; }
  .band { padding: 28px 22px; }
  .mobile-cta { display: block; }
  section { padding: 44px 0; }
  .cookie { bottom: 78px; }
  .step-panel.on, .wizard-head, .form-block, .summary-card, .order-submit { padding: 20px; }
  .wizard-nav { flex-direction: column-reverse; }
  .wizard-nav .btn, .wizard-nav > span { width: 100%; }
  .wizard-nav > span { display: none; }
}
