/* Boostaurant — лендинг и страница проекта.
   Палитра снята с прежней версии на Tilda: акцент #996633, тёмные секции #292929,
   блок расчёта #1a1814 с «золотом» #d4a574. */

:root {
  --accent: #996633;
  --accent-light: #d4a574;
  --dark: #292929;
  --darker: #1a1814;
  --card-dark: #22201b;
  --line-dark: #2f2c25;
  --text: #1f1f1f;
  --muted: #6b6b6b;
  --cream: #f5f0e8;
  --bg-soft: #faf7f2;
  --radius: 20px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 56px; text-align: center; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 110px 0; }
.section--dark { background: var(--dark); color: #fff; }
.section--accent { background: var(--accent); color: #fff; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 0 0 110px; }

.btn {
  display: inline-block;
  padding: 18px 34px;
  border-radius: 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background .2s;
}
.btn:hover { background: #7f5429; }

/* ---------- обложка ---------- */
.hero { padding: 16px; }
.hero__card {
  position: relative;
  min-height: 640px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #2a2118 url('img/hero.jpg') center / cover no-repeat;
}
.hero__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,15,10,.55), rgba(20,15,10,.72));
}
.hero__inner { position: relative; max-width: 820px; padding: 80px 24px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 28px; }
.hero p { font-size: 18px; max-width: 640px; margin: 0 auto 40px; color: rgba(255,255,255,.88); }
.hero--plain .hero__card { min-height: 460px; }

/* ---------- списки с галочками ---------- */
.checks { max-width: 760px; margin: 0 auto; display: grid; gap: 44px; }
.check { display: grid; grid-template-columns: 40px 1fr; gap: 24px; align-items: start; }
.check__icon { width: 36px; height: 36px; color: var(--accent); }
.check b { display: block; font-size: 19px; margin-bottom: 8px; }
.check span { color: var(--muted); }

/* ---------- три шага ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; color: var(--text); border-radius: 12px; padding: 32px 28px 36px; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #cfcfcf;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 36px; font-weight: 600;
}
.step b { display: block; font-size: 18px; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- расчёт ---------- */
.arithm { background: var(--darker); color: var(--cream); padding: 110px 0 120px; overflow: hidden; }
.arithm__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 28px; }
.arithm h2 { text-align: left; font-size: clamp(34px, 4.4vw, 56px); font-weight: 500; margin-bottom: 24px; }
.arithm h2 em { color: var(--accent-light); font-style: italic; font-weight: 500; }
.arithm__sub { color: #8a8478; max-width: 400px; }
.arithm__card { position: relative; background: var(--card-dark); border: 1px solid var(--line-dark); padding: 44px 44px 36px; overflow: hidden; }
.arithm__card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--accent-light), transparent); }
.arithm__watermark { position: absolute; top: -40px; right: -20px; font-size: 240px; font-weight: 800; color: var(--accent-light); opacity: .04; line-height: 1; pointer-events: none; }
.arithm__head { display: flex; justify-content: space-between; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line-dark); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.arithm__head span:last-child { color: #6a6458; letter-spacing: .08em; text-transform: none; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #2a2820; font-size: 15px; }
.row span:first-child { color: #8a8478; }
.row span:last-child { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.row--growth { background: rgba(212,165,116,.06); margin: 10px -20px; padding: 16px 20px; border-left: 3px solid var(--accent-light); }
.row--growth span:first-child { color: var(--cream); font-weight: 500; }
.row--growth span:last-child { color: var(--accent-light); font-weight: 700; }
.row--cost span { color: #6a6458 !important; }
.row--net { border-top: 2px solid var(--accent-light); border-bottom: 0; margin-top: 16px; padding-top: 24px; align-items: flex-end; }
.row--net span:first-child { color: var(--cream); text-transform: uppercase; letter-spacing: .04em; }
.row--net span:last-child { color: var(--accent-light); font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1; }
.arithm__note { margin-top: 28px; padding-top: 22px; border-top: 1px solid #2a2820; font-size: 13px; color: #6a6458; }

/* ---------- условия пилота ---------- */
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 64px; max-width: 900px; margin: 0 auto; }
.terms .check span { color: rgba(255,255,255,.7); }
.terms .check__icon { color: var(--accent-light); }

/* ---------- цена ---------- */
.price { text-align: center; }
.price__num { font-size: clamp(44px, 6vw, 72px); font-weight: 800; letter-spacing: -0.02em; }
.price__descr { color: var(--muted); margin: 12px 0 56px; }
.price .checks { max-width: 440px; gap: 22px; text-align: left; }
.price .check { align-items: center; }
.price .check b { margin: 0; font-weight: 600; font-size: 17px; }
.lead { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; text-align: center; max-width: 760px; margin: 0 auto; }
.note { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.4); }
.faq details { border-bottom: 1px solid rgba(255,255,255,.4); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 24px 0; font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 28px; font-weight: 300; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 28px; color: rgba(255,255,255,.88); max-width: 680px; }

/* ---------- финальный призыв ---------- */
.cta { text-align: center; }
.cta h2 { margin-bottom: 24px; }
.cta p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 40px; }

/* ---------- подвал ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 56px 0; font-size: 14px; border-top: 1px solid #3a3a3a; }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.footer__logos { display: flex; gap: 20px; align-items: center; }
.footer__logos img { height: 64px; width: auto; background: #fff; border-radius: 8px; padding: 6px; }
.footer__grant { max-width: 520px; }
.footer__req { text-align: right; line-height: 1.7; }
.footer__req a { text-decoration: none; }
.footer__nav { margin-top: 16px; }
.footer__nav a { color: var(--accent-light); }

/* ---------- страница проекта ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose p + p { margin-top: 18px; }
.prose h3 { font-size: 19px; margin: 36px 0 10px; }
.section h2.left { text-align: left; }
.spec { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid #e6e0d6; }
.spec th { width: 34%; font-weight: 600; color: var(--text); }
.spec td { color: #3d3d3d; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.metric { background: #fff; border: 1px solid #e6e0d6; border-radius: 12px; padding: 32px 28px; }
.metric__num { font-size: clamp(40px, 5vw, 56px); font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -0.02em; }
.metric p { margin-top: 14px; color: var(--muted); font-size: 15px; }
.metrics__note { max-width: 780px; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; color: var(--text); border-radius: 12px; padding: 30px 28px; }
.card b { display: block; font-size: 17px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }
.figure { margin: 0 auto 72px; max-width: 900px; }
.figure:last-child { margin-bottom: 0; }
.figure--narrow { max-width: 640px; }
.figure img { margin: 0 auto; border: 1px solid #e6e0d6; border-radius: 12px; background: #fff; padding: 24px; }
.figure figcaption, .shot figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: 14px; }
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.shot { margin: 0; }
.shot img { border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.shots__note { text-align: center; color: var(--muted); font-style: italic; margin-top: 36px; }

/* ---------- адаптив ---------- */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .section--tight { padding: 0 0 72px; }
  h2 { margin-bottom: 40px; }
  .steps, .cards, .metrics { grid-template-columns: 1fr; }
  .arithm { padding: 72px 0; }
  .arithm__inner { grid-template-columns: 1fr; gap: 44px; }
  .terms { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__req { text-align: left; }
  /* пять экранов бота — горизонтальная прокрутка */
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 12px; }
  .shot { flex: 0 0 68%; scroll-snap-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 8px; }
  .hero__card { min-height: 560px; }
  .hero p { font-size: 16px; }
  .arithm__card { padding: 28px 20px 24px; }
  .row--growth { margin: 10px -12px; padding: 14px 12px; }
  .check { grid-template-columns: 32px 1fr; gap: 16px; }
  .check__icon { width: 30px; height: 30px; }
  .spec th, .spec td { display: block; width: 100%; padding: 6px 0; border: 0; }
  .spec tr { display: block; padding: 14px 0; border-bottom: 1px solid #e6e0d6; }
  .figure img { padding: 10px; }
}
