/* ============================================================
   ChocoLAB by Elina Kuznetsova — статическая версия сайта
   Палитра взята из оригинала chocolab.by (Tilda):
   крем #f5e1cc, золото #db9809, шоколад #2f0404/#3a0a0a/#4b0606,
   тёмный футер #29221c, светлые фоны #faf7f2/#f1ebe5
   ============================================================ */

:root {
  --cream: #f5e1cc;
  --cream-light: #faf7f2;
  --beige: #f1ebe5;
  --gold: #db9809;
  --gold-dark: #b57d06;
  --choco-900: #2f0404;
  --choco-800: #3a0a0a;
  --choco-700: #4b0606;
  --choco-footer: #29221c;
  --ink: #241a12;
  --ink-soft: #5b4a3c;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(47, 4, 4, .10);
  --shadow-lg: 0 18px 44px rgba(47, 4, 4, .16);
  --container: 1160px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 88px 0; }

.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--ink-soft);
  font-size: clamp(15px, 2vw, 19px);
  margin-bottom: 48px;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 38px;
  border: 0;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 22px rgba(219, 152, 9, .35);
}
.btn:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--choco-700);
  border: 2px solid var(--choco-700);
  box-shadow: none;
}
.btn--outline:hover { background: var(--choco-700); color: #fff; }
.btn--sm { padding: 11px 26px; font-size: 15px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(41, 34, 28, .96);
  backdrop-filter: blur(6px);
  color: #f3e7d8;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 66px;
}
.header__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.header__logo img { height: 44px; width: auto; }
.header__logo span { font-weight: 700; letter-spacing: .12em; font-size: 15px; }
.header__nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.header__nav a {
  text-decoration: none;
  font-size: 14.5px;
  opacity: .85;
}
.header__nav a:hover { opacity: 1; color: var(--gold); }
.header__phone {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  color: var(--gold);
}

/* ---------- Хиро ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: url("../assets/hero-bg.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 8, 2, .62);
}
.hero__content { position: relative; max-width: 880px; padding: 90px 20px; }
.hero__logo { width: min(300px, 62vw); margin: 0 auto 34px; }
.hero__title {
  font-size: clamp(28px, 4.6vw, 50px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
}
.hero__subtitle {
  font-size: clamp(16px, 2.2vw, 21px);
  opacity: .94;
  margin-bottom: 8px;
}
.hero__note {
  font-size: clamp(14px, 1.8vw, 17px);
  opacity: .8;
  margin-bottom: 38px;
}

/* ---------- Боли ---------- */
.pains { background: var(--cream); }
.pains__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
  margin-top: 48px;
}
.pain-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.pain-card img { height: 210px; object-fit: cover; width: 100%; }
.pain-card__body { padding: 22px 22px 26px; }
.pain-card__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.pain-card__text { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Почему витрина ---------- */
.why {
  position: relative;
  color: #fff;
  background: url("../assets/why-vitrina-bg.jpg") center / cover no-repeat;
}
.why::before { content: ""; position: absolute; inset: 0; background: rgba(35, 6, 6, .78); }
.why .container { position: relative; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin: 52px 0 46px;
}
.why-item {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.why-item img { width: 56px; height: 56px; margin: 0 auto 18px; filter: brightness(0) invert(1); opacity: .9; }
.why-item p { font-size: 16.5px; line-height: 1.45; }
.why__cta { text-align: center; }

/* ---------- Калькулятор прибыли ---------- */
.calc { background: var(--beige); }
.calc__label {
  text-align: center;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 12px;
}
.calc .section-title span { color: var(--gold-dark); }
.calc__card {
  background: var(--white);
  border: 1px solid rgba(47, 4, 4, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 780px;
  margin: 0 auto;
}
.calc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 30px;
  margin-bottom: 30px;
}
.calc-field label {
  display: block;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 6px;
}
.calc-field__val { font-size: 24px; font-weight: 800; color: var(--choco-900); line-height: 1.2; }
.calc-field__val span { font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-left: 3px; }

.calc-field input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  margin-top: 10px;
  background: var(--beige);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(219, 152, 9, .5);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(219, 152, 9, .5);
}
.calc-field input[type="range"]:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 4px; }

.calc__divider { height: 1px; background: rgba(47, 4, 4, .1); margin-bottom: 26px; }

.calc__results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.calc-box {
  background: var(--choco-900);
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  color: #fff;
}
.calc-box--hl { background: linear-gradient(135deg, var(--choco-700), var(--gold-dark)); }
.calc-box__period {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .85;
  margin-bottom: 8px;
}
.calc-box__num { font-size: clamp(18px, 2.6vw, 25px); font-weight: 800; line-height: 1.2; color: var(--gold); }
.calc-box--hl .calc-box__num { color: #fff; }
.calc-box__note { font-size: 11.5px; opacity: .7; margin-top: 5px; }

.calc__roi {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--beige);
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 26px;
}
.calc__roi-label { font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; }
.calc__bar { flex: 1; height: 9px; background: rgba(47, 4, 4, .12); border-radius: 5px; overflow: hidden; }
.calc__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}
.calc__roi-days { font-size: 19px; font-weight: 800; color: var(--gold-dark); min-width: 64px; text-align: right; }

.calc__cta { text-align: center; }
.calc__cta-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-soft); opacity: .8; }
.calc__disclaimer {
  max-width: 780px;
  margin: 22px auto 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  opacity: .75;
  text-align: center;
}

/* ---------- CTA-полоса ---------- */
.cta-strip { background: var(--gold); padding: 34px 0; }
.cta-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.cta-strip p { color: #fff; font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; text-align: center; }
.cta-strip .btn { background: var(--choco-700); box-shadow: none; }
.cta-strip .btn:hover { background: var(--choco-900); }

/* ---------- Что получает бизнес ---------- */
.benefits__wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 54px;
  align-items: center;
}
.benefits__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.benefit { margin-bottom: 28px; }
.benefit h3 {
  font-size: 17px;
  letter-spacing: .06em;
  color: var(--choco-700);
  margin-bottom: 8px;
}
.benefit p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Продукты ---------- */
.products { background: var(--cream); }
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card img { height: 250px; width: 100%; object-fit: cover; }
.product-card__body { padding: 22px 24px 28px; }
.product-card__title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--choco-700);
  margin-bottom: 10px;
  line-height: 1.4;
}
.product-card__text { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Доходность ---------- */
.money { background: var(--choco-900); color: #fff; }
.money .section-title { color: #fff; }
.money .section-subtitle { color: rgba(255, 255, 255, .75); }
.money__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 54px;
}
.money-item {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 34px 28px;
  background: rgba(255, 255, 255, .05);
}
.money-item__check { width: 40px; height: 40px; margin-bottom: 18px; filter: invert(64%) sepia(75%) saturate(1500%) hue-rotate(6deg) brightness(98%); }
.money-item h3 { font-size: 21px; margin-bottom: 12px; line-height: 1.3; color: var(--gold); }
.money-item p { font-size: 15px; opacity: .88; }

/* ---------- Кейсы ---------- */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.case-card img { height: 230px; width: 100%; object-fit: cover; }
.case-card__body { padding: 20px 22px 26px; }
.case-card__name { font-weight: 800; font-size: 16.5px; margin-bottom: 8px; }
.case-card__text { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq__list { max-width: 820px; margin: 44px auto 0; }
.faq__item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 54px 20px 24px;
  font-weight: 700;
  font-size: 16.5px;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: var(--gold);
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Тарифы ---------- */
.tariffs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 26px;
  margin-top: 48px;
}
.tariff-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.tariff-card img { height: 190px; width: 100%; object-fit: cover; }
.tariff-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.tariff-card__title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.tariff-card__descr { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.tariff-card__price { font-size: 17px; font-weight: 800; color: var(--choco-700); margin-bottom: 6px; }
.tariff-card__result {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.tariff-card__actions { margin-top: auto; display: grid; gap: 10px; }

/* ---------- Автор ---------- */
.author { background: var(--choco-800); color: #fff; }
.author__wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 54px;
  align-items: start;
}
.author__photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.author__label {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 18px;
  margin-bottom: 18px;
}
.author h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 6px; }
.author__role { color: var(--gold); font-size: 17px; margin-bottom: 24px; }
.author__lead { font-size: 17px; font-style: italic; opacity: .95; margin-bottom: 26px; }
.author h3 {
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 24px 0 12px;
}
.author ul { list-style: none; }
.author li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 15px;
  opacity: .92;
}
.author li::before { content: "•"; position: absolute; left: 4px; color: var(--gold); }

/* ---------- Форма ---------- */
.lead-form {
  position: relative;
  background: url("../assets/form-bg.jpg") center / cover no-repeat;
  color: #fff;
}
.lead-form::before { content: ""; position: absolute; inset: 0; background: rgba(30, 9, 4, .72); }
.lead-form .container { position: relative; max-width: 720px; }
.lead-form .section-title { color: #fff; }
.lead-form .section-subtitle { color: rgba(255, 255, 255, .82); }
.form-card {
  background: rgba(255, 255, 255, .98);
  border-radius: var(--radius);
  padding: 36px 34px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
.form-card label { font-size: 13.5px; font-weight: 700; display: block; margin-bottom: 6px; color: var(--ink-soft); }
.form-card input, .form-card textarea {
  width: 100%;
  border: 1.5px solid #ddd0c2;
  border-radius: 10px;
  font: inherit;
  padding: 12px 14px;
  background: #fff;
}
.form-card input:focus, .form-card textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form-card textarea { resize: vertical; min-height: 84px; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-card__note { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 14px; }

/* ---------- Сведения о продавце ---------- */
.seller-info { background: var(--beige); padding: 46px 0; }
.seller-info__card {
  background: var(--white);
  border: 1px solid #e7dccd;
  border-radius: var(--radius);
  padding: 28px 32px;
}
.seller-info h2 { font-size: 20px; margin-bottom: 14px; }
.seller-info p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 6px; }
.seller-info .registry-placeholder {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  background: #fff6e5;
  border: 1.5px dashed var(--gold);
  border-radius: 10px;
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 14px;
}

/* ---------- Футер ---------- */
.footer { background: var(--choco-footer); color: #d9cec2; padding: 58px 0 30px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 40px;
}
.footer h3 {
  color: #fff;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer p, .footer li { font-size: 14px; margin-bottom: 8px; }
.footer ul { list-style: none; }
.footer__logo { width: 130px; margin-bottom: 16px; }
.footer__phone { font-size: 19px; font-weight: 800; color: var(--gold); display: inline-block; margin-bottom: 4px; }
.footer__social { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 13.5px;
}
.footer__social a:hover { border-color: var(--gold); }

/* Платёжные системы */
.payments {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 26px;
  margin-bottom: 26px;
}
.payments h3 { margin-bottom: 14px; }
.payments__row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 40px;
  padding: 0 16px;
  background: #fff;
  border-radius: 8px;
  color: #1a1a1a;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .02em;
}
.pay-badge img { height: 23px; width: auto; max-width: 100px; display: block; }

/* Официальная полоса логотипов платёжных систем (Visa/Mastercard/Белкарт + верификация + bePaid + Apple/Google/Samsung Pay) */
.pay-strip {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 14px 20px;
  max-width: 720px;
}
.pay-strip img {
  display: block;
  width: 100%;
  height: auto;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 22px;
  font-size: 13px;
  color: rgba(217, 206, 194, .75);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Документные страницы (оплата, возврат) ---------- */
.doc-hero {
  background: var(--choco-900);
  color: #fff;
  padding: 72px 0 56px;
  text-align: center;
}
.doc-hero h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.25; }
.doc-hero p { opacity: .8; margin-top: 12px; }
.doc-body { padding: 64px 0 80px; }
.doc-body .container { max-width: 860px; }
.doc-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 44px;
  margin-bottom: 26px;
}
.doc-card h2 {
  font-size: 19px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--choco-700);
  margin-bottom: 14px;
}
.doc-card p, .doc-card li { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 10px; }
.doc-card ul, .doc-card ol { padding-left: 22px; margin-bottom: 8px; }
.doc-card strong { color: var(--ink); }
.doc-back { text-align: center; margin-top: 34px; }

/* ---------- Меню-бургер (по умолчанию скрыт) ---------- */
.nav-burger { display: none; }

/* ---------- Чекбокс согласия в форме ---------- */
/* Квадратик-чекбокс — слева, текст — справа (в одну строку, текст переносится). */
.form-consent {
  display: flex; flex-direction: row; flex-wrap: nowrap;
  align-items: flex-start; gap: 11px; margin: 2px 0; text-align: left;
}
.form-card .form-consent input {
  flex: 0 0 auto; width: 20px; height: 20px; min-width: 20px; margin: 3px 0 0;
  accent-color: var(--gold); cursor: pointer;
}
.form-card .form-consent label {
  flex: 1 1 auto; display: block; margin: 0;
  font-size: 13px; font-weight: 400; line-height: 1.45;
  color: var(--ink-soft); cursor: pointer;
}
.form-consent a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; }

/* Антиспам-ловушка (скрыта от людей) */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Сообщение после отправки формы */
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 700; text-align: center; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1f7a3d; }
.form-status.is-err { color: #c0392b; }
.form-status a { color: inherit; text-decoration: underline; }

/* Плавные якорные переходы с учётом липкой шапки */
section[id] { scroll-margin-top: 78px; }
.doc-card[id] { scroll-margin-top: 90px; }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .benefits__wrap, .author__wrap { grid-template-columns: 1fr; }
  .author__photo { max-width: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 62px 0; }
  .hero { min-height: 86vh; }
  .form-row { grid-template-columns: 1fr; }

  /* --- Калькулятор в одну колонку --- */
  .calc__card { padding: 24px 20px; }
  .calc__grid { grid-template-columns: 1fr; gap: 22px; }
  .calc__results { grid-template-columns: 1fr; }
  .calc__roi { flex-wrap: wrap; gap: 10px 14px; }
  .calc__bar { order: 3; flex-basis: 100%; }
  .calc__roi-days { margin-left: auto; }
  .calc .btn { width: 100%; padding-left: 20px; padding-right: 20px; font-size: 16px; }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .doc-card { padding: 28px 22px; }
  .footer__bottom { flex-direction: column; }

  /* --- Мобильное меню-гамбургер --- */
  .header__inner { position: relative; gap: 12px; }
  .header__phone { margin-left: auto; font-size: 15px; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 9px; flex: 0 0 auto;
    background: transparent; border: 0; cursor: pointer;
  }
  .nav-burger span {
    display: block; width: 100%; height: 2px; border-radius: 2px;
    background: #f3e7d8; transition: transform .25s, opacity .2s;
  }
  .header__nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0;
    background: rgba(38, 31, 25, .99);
    max-height: 0; overflow: hidden;
    box-shadow: 0 14px 26px rgba(0, 0, 0, .35);
    transition: max-height .3s ease;
  }
  .nav-toggle:checked ~ .header__nav { max-height: 360px; }
  .header__nav a {
    padding: 15px 22px; font-size: 16px; opacity: .96;
    border-top: 1px solid rgba(255, 255, 255, .09);
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
