/* Мизанплас — «тёплая домашняя кухня». Шрифты свои (OFL), без внешних CDN.
   Фото с людьми — всегда в родных пропорциях (без обрезки голов); кадрируются только виды и еда. */
@font-face { font-family: Onest; font-weight: 400; font-display: swap; src: url(/fonts/onest-400-cyr.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-weight: 400; font-display: swap; src: url(/fonts/onest-400-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Onest; font-weight: 400; font-display: swap; src: url(/fonts/onest-400-ext.woff2) format("woff2"); unicode-range: U+0100-024F, U+20A0-20BF; }
@font-face { font-family: Onest; font-weight: 600; font-display: swap; src: url(/fonts/onest-600-cyr.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-weight: 600; font-display: swap; src: url(/fonts/onest-600-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Onest; font-weight: 700; font-display: swap; src: url(/fonts/onest-700-cyr.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-weight: 700; font-display: swap; src: url(/fonts/onest-700-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Onest; font-weight: 700; font-display: swap; src: url(/fonts/onest-700-ext.woff2) format("woff2"); unicode-range: U+0100-024F, U+20A0-20BF; }

:root {
  --bg: #FAF8F4; --card: #FFFFFF; --line: #ECE8E0; --soft: #F3EFE8;
  --text: #1E1D1B; --muted: #6B6862; --accent: #D2391B; --link: #B8321A;
  --r: 16px;
}
body.dark { --bg: #1C1B19; --card: #282623; --line: #3A3733; --soft: #34312D; --text: #F4F1EA; --muted: #B5B0A6; --link: #F2A08C; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 Onest, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); }
img { max-width: 100%; height: auto; }
h1, h2 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(34px, 5.6vw, 60px); }
h2 { font-size: clamp(24px, 3.2vw, 32px); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow > * { max-width: 820px; }
.muted { color: var(--muted); font-size: 14px; }

/* шапка */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; gap: 16px; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 23px; letter-spacing: -0.03em; flex: 0 0 auto; }
.nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; }
.nav > a, .drop > summary { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; cursor: pointer; }
.nav > a:hover, .drop > summary:hover { color: var(--link); }
.drop { position: relative; }
.drop > summary { list-style: none; }
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary::after { content: " ▾"; font-size: 12px; }
.drop-in { position: absolute; top: 34px; left: -16px; width: 420px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; box-shadow: none; }
.drop-in a { color: var(--text); text-decoration: none; padding: 6px 4px; border-radius: 8px; }
.drop-in a:hover { background: var(--soft); }
.drop-in .all { grid-column: 1 / -1; color: var(--link); font-weight: 600; }
.nav-t, .nav-b { display: none; }
.btn.sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.nav > a.btn, .nav > a.btn:hover { color: #FFFFFF; }
@media (max-width: 980px) {
  .nav-b { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; border-radius: 12px; background: var(--soft); }
  .nav-b span, .nav-b span::before, .nav-b span::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; }
  .nav-b span::before, .nav-b span::after { content: ""; position: absolute; left: 0; }
  .nav-b span::before { top: -6px; } .nav-b span::after { top: 6px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; flex-direction: column; align-items: stretch; gap: 0; }
  .nav > a, .drop > summary { padding: 12px 0; border-bottom: 1px solid var(--line); display: block; }
  .nav > a.btn.sm { margin-top: 12px; border: none; display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 16px; color: #FFFFFF; }
  .nav-t:checked ~ .nav { display: flex; }
  .drop-in { position: static; width: auto; box-shadow: none; border: none; padding: 8px 0; background: transparent; }
}

/* хлебные крошки */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--link); }
.crumbs i { font-style: normal; opacity: .5; }

/* первый экран */
.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 24px; padding-bottom: 56px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero-pic { flex: 1 1 440px; min-width: 0; display: block; }
.hero-pic img { display: block; width: 100%; height: auto; border-radius: 24px; background: var(--soft); }
.kicker { margin: 0; color: var(--link); font-weight: 600; }
.lead { margin: 0; font-size: 19px; color: var(--muted); max-width: 580px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 20px; background: var(--soft); font-size: 14px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); background: var(--card); }
.btn.ghost:hover { border-color: var(--accent); color: var(--link); background: var(--card); }
@media (max-width: 760px) { .hero-pic { order: -1; } .hero { gap: 24px; } .cta .btn { flex: 1 1 100%; } }

/* блок заявки */
.lead-sec { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 32px; border-radius: 24px; background: var(--soft); }
.lead-info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.lead-info p { margin: 0; color: var(--muted); font-size: 17px; }
.lead-sec .form { flex: 1.4 1 480px; min-width: 0; }
.mini { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mini li { padding-left: 26px; position: relative; }
.mini li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.fgrid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 600px) { .fgrid2 { grid-template-columns: 1fr; } .lead-sec { padding: 20px; } }

/* блоки */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.block { padding-bottom: 56px; display: flex; flex-direction: column; gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.step { overflow: hidden; }
.step b, .tile b, .pack b { display: block; font-size: 18px; margin-bottom: 6px; }
.step p, .tile p, .pack p { margin: 0; color: var(--muted); font-size: 15px; }
/* в карточках фото целиком, в родных пропорциях */
.step-pic img { display: block; width: calc(100% + 44px); height: auto; margin: -22px -22px 16px; max-width: none; border-radius: var(--r) var(--r) 0 0; background: var(--soft); }
/* в плитках кухонь/питания фото без людей — можно кадрировать одинаково */
.tile.pic .step-pic img { aspect-ratio: 4 / 3; object-fit: cover; }
.tile { text-decoration: none; color: var(--text); overflow: hidden; display: block; transition: border-color .15s; }
.tile:hover { border-color: var(--accent); }
.pack.main { border: 2px solid var(--accent); }
.pack p { margin-bottom: 10px; color: var(--text); }

.cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.city { position: relative; display: block; border-radius: 14px; overflow: hidden; color: #FFFFFF; text-decoration: none; background: var(--soft); }
.city img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.city span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; font-weight: 700; font-size: 17px; background: #1C1B19; }

.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a, .links span { padding: 8px 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 15px; }
.links a:hover { border-color: var(--accent); color: var(--link); }
.links.small a { font-size: 14px; padding: 6px 12px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.checks li { padding: 12px 14px 12px 40px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 14px; top: 17px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { padding: 0; }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 16px; color: var(--muted); }

.empty { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.empty > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.empty p { margin: 0; color: var(--muted); }
.empty-pic img { display: block; width: 220px; height: auto; border-radius: 14px; }

.band { border-radius: 24px; background: #2A2724; color: #F4F1EA; padding: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.band p { margin: 8px 0 0; color: #D9D4C8; max-width: 560px; }
body.dark .band { background: var(--card); }

.split { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.split-pic, .split-ill { flex: 1 1 420px; min-width: 0; display: block; }
.split-pic img, .split-ill img { display: block; width: 100%; height: auto; border-radius: 24px; }
.split-ill { max-width: 520px; }
.split-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.split-text p { margin: 0; color: var(--muted); font-size: 18px; }
.split-pic.food { max-width: 560px; }

/* формы */
.form { display: flex; flex-direction: column; gap: 14px; }
.ftitle-form { font-weight: 700; font-size: 19px; }
.form .row { display: flex; flex-wrap: wrap; gap: 14px; }
.form .row label { flex: 1 1 180px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--muted); }
.form .check input { min-height: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border: none; border-radius: 12px; background: var(--accent); color: #FFFFFF; font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; }
.btn:hover { background: #B8321A; color: #FFFFFF; }
.btn.light { background: #F4F1EA; color: #1E1D1B; }
.btn.light:hover { background: #FFFFFF; color: #1E1D1B; }

.done { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-top: 24px; }
.done p { margin: 0; color: var(--muted); font-size: 18px; }
.done-pic img { display: block; width: 260px; height: auto; border-radius: 16px; }
.prose p { margin: 0 0 12px; font-size: 17px; }
.prose h1 { font-size: 34px; margin: 24px 0 12px; }

/* подвал */
.foot { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 40px; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.fcol { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.fcol a { color: var(--muted); text-decoration: none; }
.fcol a:hover { color: var(--link); }
.ftitle { font-weight: 700; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.fbottom { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 28px 0; margin-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.brand-sm { font-weight: 700; color: var(--text); }

.tablebox { overflow-x: auto; }
.tbl { border-collapse: collapse; width: 100%; font-size: 14px; background: var(--card); }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
