/* Вёрстка лендинга. Свободная зона: правила дизайн-системы SPA
   (frontend/) сюда не действуют. Текстовый шрифт и синий — из brand.css,
   антиква для заголовков и тёплая палитра ниже — только для лендинга.

   Настроение: вещи из хорошего ресторана — кухонный чек, меню с точками
   до цены, карточка с правилами дома, письмо. Чернила на кремовой бумаге,
   тонкие линии, курсив антиквы вместо «рукописных» шрифтов. */

/* Cormorant Garamond (OFL, лицензия рядом в assets/fonts). */
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant'; font-style: italic; font-weight: 500; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-cyrillic-500-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant'; font-style: italic; font-weight: 500; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  --cream: #f3ede2;
  --paper: #f8f4ec;
  --card: #fdfbf6;
  --ink: #1b1915;
  --ink-dim: #5f594f;
  --ink-faint: #958e82;
  --rule: rgba(27, 25, 21, 0.12);
  --rule-strong: rgba(27, 25, 21, 0.55);
  --marker: #f2cf5b;
  --stamp: #b23a2e;
  --accent: #1f5fd1;
  --ochre: #e9b949;
  --blue-deep: #17357a;   /* глубже брендового #2b7fff — на кремовом фоне читается благороднее */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--brand-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ol, ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 48px; } }

/* ---------- Кнопки и ссылки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: .02em; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.btn-lg { height: 56px; padding: 0 34px; font-size: 15px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--accent); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.link-quiet { font-size: 14px; font-weight: 500; color: var(--ink-dim); }
.link-quiet:hover { color: var(--ink); }
.link-under {
  font-family: var(--serif); font-style: italic; font-size: 21px; font-weight: 500;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size .3s;
}
.link-under:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Шапка ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 237, 226, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner { display: flex; align-items: center; gap: 40px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.brand-name { font-weight: 600; font-size: 14px; letter-spacing: .32em; }
.nav { display: none; gap: 32px; font-size: 14px; font-weight: 500; color: var(--ink-dim); }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
@media (min-width: 960px) { .nav { display: flex; } }
@media (max-width: 520px) {
  .link-quiet { display: none; }
  .topbar-actions .btn { height: 38px; padding: 0 16px; font-size: 13px; }
}

/* ---------- Типографика ---------- */
/* Подпись раздела — капитель с короткой чертой. */
.label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-dim);
}
.label::before { content: ''; width: 28px; border-top: 1px solid var(--rule-strong); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: .92; letter-spacing: -.02em; }
h2 { font-size: clamp(38px, 4.8vw, 62px); line-height: .95; }
h3 { font-family: var(--serif); font-size: 30px; line-height: 1.15; font-weight: 600; }
.lead { margin-top: 20px; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-dim); max-width: 560px; }

.section { padding: 104px 0; }
@media (min-width: 720px) { .section { padding: 160px 0; } }
.section-paper { background: var(--paper); border-block: 1px solid var(--rule); }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .label { justify-content: center; }
.section-head-center .label::after { content: ''; width: 28px; border-top: 1px solid var(--rule-strong); }
.section-head-center .lead { margin-left: auto; margin-right: auto; }

/* Подчёркивание маркером под словом. */
.scribble { position: relative; z-index: 0; display: inline-block; font-style: italic; color: var(--accent); }
.scribble svg { position: absolute; z-index: -1; left: -3%; bottom: .02em; width: 106%; height: .26em; overflow: visible; }
.scribble path { fill: none; stroke: var(--marker); stroke-width: 9; stroke-linecap: round; opacity: .85; }

/* ---------- Первый экран ---------- */
.hero { padding: 72px 0 112px; overflow-x: clip; }
@media (min-width: 720px) { .hero { padding: 120px 0 168px; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 80px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; } }
.hero-lead { margin-top: 30px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-dim); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 36px; margin-top: 48px; }
@media (max-width: 520px) { .hero-actions .btn { width: 100%; } }

/* Кухонный чек: бумага с зерном, перфорация, мягкая многослойная тень. */
.ticket-wrap { position: relative; justify-self: center; width: 100%; max-width: 360px; }
/* Подложка-«поднос» под чеком: даёт первому экрану цвет. */
.ticket-wrap::before {
  content: ''; position: absolute; z-index: -1; inset: -36px -44px 78px -28px;
  background: var(--ochre); border-radius: 4px; transform: rotate(-3deg);
  /* Углубление: внутренняя тень по верхнему и левому краю — подложка
     читается как лоток, в который положили чек. Снаружи — лёгкая тень. */
  box-shadow:
    inset 0 18px 26px -12px rgba(110, 70, 0, 0.55),
    inset 16px 0 24px -14px rgba(110, 70, 0, 0.45),
    inset 0 -2px 0 rgba(255, 240, 200, 0.35),
    0 1px 1px rgba(60, 45, 20, 0.08),
    0 20px 40px -24px rgba(60, 45, 20, 0.3);
}
@media (max-width: 520px) { .ticket-wrap::before { inset: -20px -10px 84px -10px; } }
.ticket {
  position: relative; z-index: 0;
  padding: 32px 28px 36px;
  background-color: var(--card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  font-family: var(--mono); font-size: 13px; line-height: 1.55; color: #2e2b26;
  transform: rotate(1.5deg);
  box-shadow:
    1px 2px 2px rgba(90, 55, 0, 0.22),
    6px 10px 16px -4px rgba(90, 55, 0, 0.32),
    14px 26px 40px -10px rgba(90, 55, 0, 0.38);
}
.ticket::before, .ticket::after {
  content: ''; position: absolute; left: 0; right: 0; height: 8px;
  background: radial-gradient(circle at 5px 0, transparent 5px, var(--card) 5.5px) 0 0 / 10px 8px repeat-x;
}
.ticket::after { bottom: -8px; }
.ticket::before { top: -8px; transform: scaleY(-1); }
.t-head { text-align: center; }
.t-head b { display: block; font-size: 15px; font-weight: 600; letter-spacing: .42em; }
.t-head span { font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .16em; }
.t-rule { margin: 14px 0; border-top: 1px dashed rgba(46, 43, 38, 0.3); }
.t-row { display: flex; align-items: baseline; gap: 6px; padding: 3px 0; }
.t-row i { flex: 1; border-bottom: 1px dotted rgba(46, 43, 38, 0.35); transform: translateY(-4px); }
.t-row span:last-child { font-weight: 600; white-space: nowrap; }
.t-total { padding-top: 2px; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.t-total span:last-child { font-size: 22px; letter-spacing: 0; }
.t-foot { text-align: center; font-size: 11px; color: var(--ink-faint); letter-spacing: .04em; }
.stamp {
  position: absolute; right: 12px; top: 18px;
  padding: 3px 10px; border: 1.5px solid var(--stamp); border-radius: 3px;
  font-family: var(--brand-font); font-weight: 600; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--stamp); opacity: .7; transform: rotate(-9deg);
  box-shadow: inset 0 0 0 2px var(--card), inset 0 0 0 3px rgba(178, 58, 46, 0.6);
}
.hand-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 60px 0 0 6px; max-width: 280px;
  font-family: var(--serif); font-size: 20px; font-style: italic; font-weight: 500; line-height: 1.3; color: var(--ink-dim);
  transform: rotate(-1.5deg);
}
.hand-note svg { flex-shrink: 0; width: 44px; height: 30px; margin-top: -12px; order: -1; transform: scaleY(-1); }
.hand-note path { fill: none; stroke: var(--ink-faint); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Меню роста: карточка как в ресторане ---------- */
.menu-card {
  color: var(--ink);
  max-width: 880px; margin: 0 auto; padding: 56px 24px 24px;
  background: var(--card);
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule); outline-offset: -10px;
  box-shadow: 0 30px 60px -40px rgba(60, 45, 20, 0.3);
}
@media (min-width: 720px) { .menu-card { padding: 72px 80px 40px; } }
.menu-card-title { text-align: center; margin-bottom: 24px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-faint); }
.menu-item { padding: 30px 0; border-bottom: 1px solid var(--rule); }
.menu-item:last-child { border-bottom: 0; }
.menu-line { display: flex; align-items: baseline; gap: 14px; }
.menu-n { width: 36px; flex-shrink: 0; font-family: var(--serif); font-size: 18px; color: var(--ink-faint); }
.menu-line i { flex: 1; min-width: 24px; border-bottom: 1px dotted var(--rule-strong); transform: translateY(-7px); }
.menu-line em { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--accent); white-space: nowrap; }
.menu-item p { margin: 10px 0 0 50px; max-width: 600px; color: var(--ink-dim); }
@media (max-width: 600px) {
  .menu-line { flex-wrap: wrap; gap: 0 12px; }
  .menu-n { width: auto; }
  .menu-line i { display: none; }
  .menu-line em { flex-basis: 100%; }
  .menu-item p { margin-left: 0; }
}

/* ---------- Неделя ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 96px; align-items: start; } }
.split-center { align-items: center; }

/* ---------- Правила дома ---------- */
.house-card {
  position: relative; padding: 52px 36px 40px;
  background: var(--card);
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule); outline-offset: -10px;
  box-shadow: 0 30px 60px -40px rgba(60, 45, 20, 0.3);
}
@media (min-width: 720px) { .house-card { padding: 60px 56px 48px; } }
.house-title { margin-bottom: 20px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 28px; }
.house { counter-reset: rule; }
.house li {
  counter-increment: rule;
  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px;
  padding: 14px 0; border-bottom: 1px solid var(--rule); font-weight: 500;
}
.house li:last-child { border-bottom: 0; }
.house li::before { content: counter(rule, decimal-leading-zero); font-size: 12px; font-weight: 600; color: var(--ink-faint); padding-top: 3px; }

/* ---------- Вопросы ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.faq-wrap .section-head { margin-bottom: 48px; }
.faq { max-width: 860px; border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 27px); font-weight: 500; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex-shrink: 0; width: 13px; height: 13px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 13px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 13px no-repeat;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 28px; max-width: 660px; color: var(--ink-dim); }

/* ---------- Письмо ---------- */
.letter {
  max-width: 780px; margin: 0 auto; padding: 56px 28px 48px;
  background-color: var(--card);
  border: 1px solid var(--rule);
  box-shadow:
    0 1px 1px rgba(60, 45, 20, 0.04),
    0 20px 40px -12px rgba(60, 45, 20, 0.14),
    0 60px 100px -40px rgba(60, 45, 20, 0.25);
}
@media (min-width: 720px) { .letter { padding: 80px 88px 64px; } }
.letter h2 { margin-bottom: 28px; }
.letter p:not(.label) { margin-top: 16px; color: var(--ink-dim); font-size: 17px; }
.letter-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--rule); }
.signature { font-family: var(--serif); font-size: 30px; font-style: italic; font-weight: 500; transform: rotate(-3deg); }
@media (max-width: 520px) { .letter-actions .btn { width: 100%; } }

/* ---------- Подвал ---------- */
.footer { padding: 36px 0 52px; border-top: 1px solid var(--rule); font-size: 13px; letter-spacing: .04em; color: var(--ink-faint); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .link-under, .faq summary::after { transition: none; }
}

/* ---------- Цветные секции ---------- */
.section-ink { background: var(--ink); color: var(--paper); }
.section-blue { background: var(--blue-deep); color: var(--paper); }
.section-ink .label, .section-blue .label { color: rgba(248, 244, 236, 0.66); }
.section-ink .label::before, .section-ink .label::after,
.section-blue .label::before { border-color: rgba(248, 244, 236, 0.45); }
.section-ink .lead, .section-blue .lead { color: rgba(248, 244, 236, 0.72); }
.section-ink .menu-card, .section-ink .letter, .section-blue .house-card { color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5); }
.section-ink .letter .label { color: var(--ink-dim); }
.section-ink .letter .label::before { border-color: var(--rule-strong); }
.section-ink .btn-ink:hover, .section-blue .btn-ink:hover { background: var(--accent); }

/* ---------- Внутри HESTIA: карточки-отчёты ---------- */
.sheets { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .sheets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.sheet {
  display: flex; flex-direction: column; padding: 26px 24px 24px;
  background: var(--card); border: 1px solid var(--rule);
  box-shadow: 0 1px 1px rgba(60, 45, 20, 0.04), 0 24px 48px -28px rgba(60, 45, 20, 0.3);
}
@media (min-width: 900px) { .sheet:nth-child(2) { transform: translateY(28px); } }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); font-size: 13px; font-weight: 600; }
.sheet-head em { font-family: var(--serif); font-size: 16px; color: var(--stamp); }
.sheet-note { margin-top: auto; padding-top: 18px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; color: var(--ink-dim); }

.weeks { display: grid; gap: 10px; }
.weeks li { display: grid; grid-template-columns: 70px minmax(0, 1fr) 96px; align-items: center; gap: 10px; font-size: 13px; }
.weeks span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.weeks i { height: 10px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--w), rgba(27, 25, 21, 0.07) var(--w)); }
.weeks b { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

.orders { position: relative; padding-top: 26px; }
.promo-band { position: absolute; top: 0; left: 46%; font-size: 11px; font-weight: 600; color: #9a6a00; white-space: nowrap; }
.orders-bars { display: flex; align-items: flex-end; gap: 3px; height: 130px; border-bottom: 1px solid var(--rule-strong); }
.orders-bars i { flex: 1; height: var(--h); background: rgba(31, 95, 209, 0.28); border-radius: 2px 2px 0 0; }
.orders-bars i.on { background: var(--ochre); }

.dishes { display: grid; }
.dishes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 9px 0; border-bottom: 1px dotted var(--rule-strong); font-size: 13px; }
.dishes li:last-child { border-bottom: 0; }
.dishes span { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dishes b { font-weight: 700; font-variant-numeric: tabular-nums; }
.dishes em { grid-column: 1 / -1; font-family: var(--serif); font-size: 15px; }
.tag-good { color: #2f7a3a; }
.tag-new { color: var(--accent); }
.tag-mid { color: #9a6a00; }
.tag-low { color: var(--stamp); }

/* ---------- Фотографии ---------- */
/* Тёплая общая обработка: чуть приглушаем насыщенность, чтобы сток
   разных авторов жил в одной гамме с кремовой бумагой. */
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.03) sepia(.08); }


.photo { overflow: hidden; }
.photo figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-dim); }
.photo-how img { aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -36px rgba(60, 45, 20, 0.45); }
.photo-courier img { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -36px rgba(60, 45, 20, 0.45); }
@media (min-width: 1000px) { .photo-courier { position: sticky; top: 104px; } }
@media (max-width: 999px) { .photo-courier img { aspect-ratio: 4 / 3; } }

.lead + .lead { margin-top: 14px; }

/* ---------- Оборот ≠ прибыль ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center; max-width: 920px; }
@media (min-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; } }
.compare-card { padding: 32px 30px; background: var(--card); border: 1px solid var(--rule); }
.compare-card-accent { outline: 1px solid var(--rule); outline-offset: -8px; box-shadow: 0 30px 60px -36px rgba(60, 45, 20, 0.4); }
.compare-label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.compare-num { margin-top: 12px; font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 500; }
.compare-card:not(.compare-card-accent) .compare-num { color: var(--ink-faint); }
.compare-card-accent .compare-num { color: var(--accent); }
.compare-sub { margin-top: 10px; color: var(--ink-dim); }
.compare-arrow { justify-self: center; font-family: var(--serif); font-size: 40px; color: var(--ink-faint); }
@media (max-width: 759px) { .compare-arrow { transform: rotate(90deg); line-height: 1; } }

.outcomes { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 72px; border-top: 1px solid var(--rule-strong); }
@media (min-width: 860px) { .outcomes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.outcomes li { padding: 28px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 860px) {
  .outcomes li { padding: 32px 32px 0 0; border-bottom: 0; }
  .outcomes li + li { padding-left: 32px; border-left: 1px solid var(--rule); }
}
.outcomes em { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.outcomes p { margin-top: 6px; color: var(--ink-dim); }

/* ---------- Пример из практики ---------- */
/* Карточка-сводка «до / после»: две колонки цифр, как строки в отчёте. */
.case-card {
  padding: 36px 24px 28px; color: var(--ink);
  background: var(--card); border: 1px solid var(--rule);
  outline: 1px solid var(--rule); outline-offset: -10px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
@media (min-width: 720px) { .case-card { padding: 48px 48px 36px; } }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; align-items: baseline; }
.case-col { padding-bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); text-align: right; }
.case-row, .case-before, .case-after { padding: 18px 0; border-top: 1px solid var(--rule); }
.case-row { font-weight: 500; color: var(--ink-dim); }
.case-before, .case-after { text-align: right; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.2vw, 40px); line-height: 1; white-space: nowrap; }
.case-before small, .case-after small { font-size: .5em; }
.case-before { color: var(--ink-faint); }
.case-after { color: var(--accent); }
.case-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule-strong); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.35; color: var(--ink-dim); }
@media (max-width: 520px) {
  /* На телефоне подпись строки уходит над цифрами, чтобы цифрам хватило ширины. */
  .case-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .case-grid > span:first-child { display: none; }
  .case-row { grid-column: 1 / -1; padding-bottom: 4px; }
  .case-before, .case-after { padding-top: 6px; border-top: 0; }
  .case-col { text-align: right; }
}

/* ---------- Форма заявки (в письме #contact) ---------- */
.lead-form { margin-top: 36px; }
.field { margin-top: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.field input {
  display: block; width: 100%; height: 52px; padding: 0 16px;
  font: inherit; font-size: 17px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 4px;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 95, 209, 0.18); }
.field input[aria-invalid="true"] { border-color: var(--stamp); }
/* p.-селекторы перебивают общий «.letter p:not(.label)» (17px, отступ 16px). */
.letter p.field-err, .letter p.form-err { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--stamp); }
.letter p.form-err { margin-top: 20px; }
.letter p.form-note { margin-top: 18px; font-size: 13px; color: var(--ink-faint); }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.lead-form .letter-actions { margin-top: 32px; }
.btn[disabled] { opacity: .6; cursor: progress; }
button.btn { border: 0; cursor: pointer; font-family: inherit; }
button.btn:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
/* Ловушка: убрана с экрана, но не display:none — часть ботов такие поля пропускает. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-done { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--rule); outline: none; }
.letter p.lead-done-title { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 40px; line-height: .95; font-weight: 500; }
.letter .lead-done p:not(.lead-done-title) { color: var(--ink); }
.lead-done .signature { display: inline-block; margin-top: 28px; }

/* ---------- Подвал: документы ---------- */
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* ---------- Документы: политика, оферта ---------- */
.doc { padding: 56px 0 104px; }
@media (min-width: 720px) { .doc { padding: 96px 0 140px; } }
/* «Конфиденциальности» — одно длинное слово: на 390 px при 38px вылезало за лист. */
.doc .letter h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: .95; margin-bottom: 20px; overflow-wrap: break-word; hyphens: auto; }
.doc .letter h2 { margin: 44px 0 0; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.05; }
.doc .letter p:not(.label), .doc .letter li { color: var(--ink-dim); font-size: 16px; }
.doc .letter ul, .doc .letter ol { margin-top: 12px; padding-left: 22px; list-style: disc; }
.doc .letter ol { list-style: decimal; }
.doc .letter li + li { margin-top: 6px; }
.doc .letter a { text-decoration: underline; text-underline-offset: 2px; }
.doc-meta { font-size: 13px; color: var(--ink-faint); }

/* Второй путь к нам — WhatsApp рядом с формой: часть людей не заполняет формы. */
.wa-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rule); }
.letter .wa-alt p { margin: 0; color: var(--ink-dim); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 520px) { .wa-alt .btn { width: 100%; } }
.footer-legal { display: flex; flex-direction: column; gap: 4px; }

/* ---------- Под рекламу (20.10): условия под кнопкой, один отчёт, цена в письме ---------- */
.hero-note { margin-top: 14px; max-width: 440px; font-size: 13px; line-height: 1.45; color: var(--ink-dim); }
.sheet-single { max-width: 460px; margin-top: 40px; }
/* Цена — те же строки меню, что в «Что делаем», только плотнее и без номеров. */
.letter .price { margin-top: 28px; border-top: 1px solid var(--rule-strong); }
.price .menu-item { padding: 18px 0; }
.price .menu-item p { margin-left: 0; }
.case-card .hero-actions { margin-top: 28px; }
/* Телефон: реклама приводит с телефона — плотнее по вертикали, те же элементы. */
@media (max-width: 719px) {
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 72px; }
  .hero-grid { gap: 56px; }
  .hero-lead { margin-top: 20px; }
  .hero-actions { margin-top: 28px; }
  .section-head, .faq-wrap .section-head { margin-bottom: 36px; }
  .split, .faq-wrap { gap: 40px; }
  .faq summary { padding: 18px 0; }
  .letter { padding: 40px 22px 36px; }
  .menu-card { padding: 36px 20px 20px; }
  .menu-item { padding: 20px 0; }
}
@media (max-width: 719px) {
  .hand-note { margin-top: 36px; }
  /* Сравнение — две карточки рядом, стрелка не нужна. */
  .compare { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
  .compare-arrow { display: none; }
  .compare-card { padding: 20px 16px; }
  .compare-label { font-size: 10px; letter-spacing: .14em; }
  .compare-num { font-size: 30px; white-space: nowrap; }
  .compare-sub { font-size: 14px; line-height: 1.4; }
  .house-card { padding: 36px 22px 24px; }
}
@media (max-width: 520px) { .lead-form .letter-actions .signature { display: none; } }
/* Цена — строкой «название ..... цена» и на телефоне: коротко, переноса не нужно. */
@media (max-width: 600px) {
  .price .menu-line { flex-wrap: nowrap; }
  .price .menu-line i { display: block; }
  .price .menu-line em { flex-basis: auto; }
}

/* Кнопки «Получить бесплатный разбор» ведут прямо к полям формы; отступ — под липкую шапку. */
#lead-form { scroll-margin-top: 96px; }
