/* Лендинг TSL — Италия 60+. Цвета подобрать под упаковку: меняются только переменные ниже. */
:root {
  --bg: #ffffff;
  --bg-tint: #f5f7f6;
  --text: #1c2024;
  --text-soft: #4a5259;
  --line: #dde2e0;
  --trust: #1f6b58;        /* приглушённый зелёный — доверие */
  --trust-bg: #e7f2ee;
  --cta: #c2410c;          /* единственный цвет CTA, белый текст 5.2:1 */
  --cta-hover: #9a3412;
  --price: #a4231b;        /* цена и скидка */
  --focus: #1d4ed8;
  --err: #b42318;
  --err-bg: #fdecea;
  --draft: #fde68a;

  --radius: 14px;
  --gutter: 20px;
  --font: Inter, "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--trust); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: 32px; }
h2 { font-size: 27px; }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.lead { font-size: 20px; color: var(--text-soft); }
.caption { font-size: 16px; color: var(--text-soft); margin-top: .5em; }
.center { text-align: center; }
.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
.mt-l { margin-top: 48px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow-wrap { max-width: 720px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 14px 28px;
  border: 0; border-radius: 12px;
  font: 700 19px/1.2 var(--font);
  text-decoration: none; text-align: center; cursor: pointer;
}
.btn--cta { background: var(--cta); color: #fff; box-shadow: 0 2px 0 rgba(0,0,0,.12); }
.btn--cta:hover { background: var(--cta-hover); }
.btn--block { display: flex; width: 100%; }
.btn--ghost { background: #fff; color: var(--text); border: 2px solid var(--text); min-height: 52px; }
.btn-note { font-size: 16px; color: var(--text-soft); margin: 10px 0 0; }
.btn__busy { display: none; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn[aria-busy="true"] .btn__label { display: none; }
.btn[aria-busy="true"] .btn__busy { display: inline; }
.link-btn { background: none; border: 0; padding: 8px; font: 600 18px var(--font); color: var(--trust); text-decoration: underline; cursor: pointer; min-height: 44px; }
.cta-block { text-align: center; margin-top: 40px; }
.cta-block .btn { width: 100%; max-width: 420px; }

/* ---------- Медиа-плейсхолдеры (резервируют место → нет CLS) ---------- */
.media { width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg-tint); }
.ph-media {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; border: 2px dashed #b9c2be; color: var(--text-soft); font-size: 16px;
}
.media--product { max-width: 360px; margin-left: auto; margin-right: auto; }

/* ---------- Шапка ---------- */
.topbar { border-bottom: 1px solid var(--line); background: #fff; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 12px; }
.topbar__brand { font-weight: 800; font-size: 20px; }
.topbar__link { font-size: 17px; font-weight: 600; }

/* ---------- Секции ---------- */
.section { padding: 56px 0; }
.section--tint { background: var(--bg-tint); }
.prose { max-width: 640px; }
.two-col { display: grid; gap: 32px; }
.two-col--center { align-items: center; margin-bottom: 32px; }

/* Hero */
.hero { padding: 28px 0 48px; }
.hero__grid { display: grid; gap: 28px; }
.eyebrow { display: inline-block; font-size: 16px; font-weight: 700; color: var(--trust); background: var(--trust-bg); padding: 4px 12px; border-radius: 99px; margin-bottom: 14px; }
.hero__attribution { font-size: 17px; color: var(--text-soft); margin-top: -8px; }
.hero__product { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; margin: 8px 0 20px; }
.hero__product .media--product { max-width: 120px; font-size: 13px; padding: 8px; }
.hero__product-note { margin: 0; font-size: 18px; }
.hero .btn--cta { width: 100%; }
.price-accent { color: var(--price); }

.trust-row { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 17px; font-weight: 600; }
.trust-row li { display: flex; align-items: center; gap: 10px; }
.ico { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--trust-bg); color: var(--trust); align-items: center; justify-content: center; font-size: 16px; flex: none; }

/* Проблема */
.situations { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.situations li { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-tint); padding: 16px; border-radius: var(--radius); }
.situations__ico { font-size: 28px; line-height: 1; flex: none; }
.transition { font-weight: 600; border-left: 4px solid var(--trust); padding-left: 14px; }

/* Карточки */
.cards { display: grid; gap: 16px; margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section--tint .card { border-color: transparent; }
.card p:last-child { margin-bottom: 0; }
.card__num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--trust); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 12px; }
.card__ico { font-size: 32px; display: block; margin-bottom: 8px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: none; }
.steps__item { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); padding: 16px; }
.steps__n { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--trust); color: var(--trust); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* Механизм */
.ingredient__dl { margin: 0; display: grid; gap: 10px; }
.ingredient__dl div { display: grid; gap: 2px; }
.ingredient__dl dt { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--trust); }
.ingredient__dl dd { margin: 0; }
.before-after { margin-top: 48px; }
.before-after__grid { display: grid; gap: 12px; align-items: center; }
.before-after__item { margin: 0; }
.before-after__item figcaption { margin-top: 8px; }
.before-after__arrow { font-size: 36px; text-align: center; color: var(--trust); transform: rotate(90deg); }

/* Состав */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--trust-bg); font-size: 17px; }
.usage { margin: 0 0 24px; display: grid; gap: 0; background: #fff; border-radius: var(--radius); }
.usage div { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.usage div:last-child { border-bottom: 0; }
.usage dt { font-weight: 700; }
.usage dd { margin: 0; }
.notice { border-left: 4px solid #b7791f; background: #fff8eb; padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.notice h3 { font-size: 20px; margin-bottom: 6px; }
.notice p:last-child { margin: 0; }

/* Отзывы */
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 8px; scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.review__head { display: flex; gap: 14px; align-items: center; }
.review__photo { width: 84px; flex: none; border-radius: 50%; font-size: 12px; padding: 6px; }
.review__who { margin: 0; font-size: 18px; }
.review__text { margin: 0; font-size: 19px; }
.review__video { font-size: 15px; }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 16px; }
.slider__btn { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--text); background: #fff; font-size: 30px; line-height: 1; cursor: pointer; color: var(--text); }
.slider__btn:disabled { opacity: .35; cursor: default; }
.slider__count { font-weight: 700; min-width: 60px; text-align: center; }

/* Эксперт */
.expert { display: grid; gap: 20px; background: #fff; border-radius: var(--radius); padding: 24px; max-width: 820px; margin: 0 auto; }
.expert__photo { max-width: 160px; }
.expert__role { color: var(--text-soft); }
.expert__quote { margin: 0 0 12px; font-size: 20px; border-left: 4px solid var(--trust); padding-left: 14px; }

/* Доверие */
.stats { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.stats li { background: var(--trust-bg); border-radius: var(--radius); padding: 18px 6px; }
.stats strong { display: block; font-size: 28px; color: var(--trust); line-height: 1.1; }
.stats span { font-size: 16px; }
.docs { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.docs li { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.docs h3 { font-size: 19px; margin-bottom: 4px; }
.docs p { margin: 0; }

/* Оффер */
.offer { display: grid; gap: 24px; background: #fff; border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.offer__name { font-size: 26px; margin-bottom: 8px; }
.offer__spec { padding-left: 22px; margin: 0 0 20px; }
.price-box { border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.price-box__badge { display: inline-block; background: var(--price); color: #fff; font-weight: 800; padding: 4px 12px; border-radius: 8px; margin-bottom: 10px; }
.price-box__badge--inline { font-size: 17px; margin: 0 6px; vertical-align: middle; }
.price-box__old { margin: 0; color: var(--text-soft); }
.price-box__now { font-size: 22px; margin: 4px 0 12px; }
.price-box__now strong { font-size: 36px; color: var(--price); }
.price-box__lines { margin: 0; }
.price-box__lines div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.price-box__lines dt { color: var(--text-soft); }
.price-box__lines dd { margin: 0; text-align: right; font-weight: 600; }
.price-box__total dt, .price-box__total dd { font-weight: 800; color: var(--text); }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 16px; }
.faq details { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 20px; font-weight: 700; font-size: 20px;
  position: relative; min-height: 60px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--trust-bg); color: var(--trust);
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700;
}
.faq details[open] summary::after { content: "−"; }
.faq__a { padding: 0 20px 20px; }
.faq__a p:last-child { margin-bottom: 0; }

/* Финал */
.final { background: var(--trust-bg); }
.final__box { display: grid; gap: 24px; background: #fff; border-radius: var(--radius); padding: 24px; max-width: 860px; margin: 24px auto 0; }
.final__img { max-width: 200px; }
.final__price { font-size: 20px; margin-bottom: 16px; }
.final__price s { color: var(--text-soft); }
.final__price strong { font-size: 36px; color: var(--price); display: inline-block; }
.timer { margin-bottom: 16px; }
.timer__label { font-weight: 600; margin-bottom: 8px; }
.timer__clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.timer__clock div { background: var(--text); color: #fff; border-radius: 10px; padding: 10px 4px; }
.timer__clock strong { display: block; font-size: 28px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.timer__clock span { font-size: 14px; }
.stock { font-weight: 600; background: #fff4e5; border-radius: 10px; padding: 12px 14px; }
.stock strong { color: var(--price); }
.offer-ended { font-weight: 600; background: var(--bg-tint); border-radius: 10px; padding: 12px 14px; }

/* Форма */
.section--form { background: var(--bg-tint); }
.section--form:focus { outline: none; }
.form-card, .success { background: #fff; border-radius: var(--radius); padding: 28px 22px; box-shadow: 0 6px 24px rgba(0,0,0,.06); border: 1px solid var(--line); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 19px; }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; min-height: 58px; padding: 12px 16px;
  font: 400 20px/1.3 var(--font); color: var(--text);
  background: #fff; border: 2px solid #8a948f; border-radius: 10px;
}
.field input:focus { border-color: var(--focus); outline: 3px solid rgba(29,78,216,.25); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: var(--err); background: var(--err-bg); }
.field__hint { font-size: 16px; color: var(--text-soft); margin: 6px 0 0; }
.field__err { color: var(--err); font-weight: 600; font-size: 17px; margin: 6px 0 0; }
.field__err::before { content: "⚠ "; }
.field--check { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.field--check input { width: 28px; height: 28px; margin: 2px 0 0; accent-color: var(--trust); }
.field--check label { font-weight: 400; font-size: 17px; margin: 0; }
.field--check .field__err { grid-column: 1 / -1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: var(--err-bg); color: var(--err); font-weight: 600; padding: 12px 14px; border-radius: 10px; }
.form-privacy { font-size: 16px; color: var(--text-soft); margin: 16px 0 0; }

.success { text-align: center; }
.success:focus { outline: none; }
.success__ico { width: 72px; height: 72px; border-radius: 50%; background: var(--trust); color: #fff; font-size: 40px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }

/* Подвал */
.footer { background: #1c2024; color: #e5e8e6; padding: 48px 0 110px; font-size: 16px; }
.footer a { color: #fff; }
.footer__grid { display: grid; gap: 28px; }
.footer__h { font-size: 18px; color: #fff; margin-bottom: 8px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer__links a { display: inline-block; padding: 6px 0; }
.footer__legal { margin-top: 24px; color: #c4cac7; font-size: 15px; }

/* Липкая CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}

/* Cookie */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: 0 8px 32px rgba(0,0,0,.18); font-size: 17px; max-width: 560px; margin: 0 auto;
}
.cookie p { margin-bottom: 8px; }
.cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }

/* Демо */
.demo-banner { background: #111; color: #fde68a; text-align: center; font-weight: 700; font-size: 15px; padding: 8px 12px; }

/* ---------- Утверждения из концепции ---------- */
/* Без JS видны только нейтральные варианты */
[data-claim]:not(.claim-on) { display: none !important; }
[data-claim-alt].claim-off { display: none !important; }
[data-offer-promo].promo-off { display: none !important; }

/* Черновик: подсветка непроверенных утверждений и плейсхолдеров */
.mode-draft .claim-draft { outline: 2px dashed #b45309; outline-offset: 3px; background: rgba(253,230,138,.35); position: relative; }
.mode-draft .claim-draft::before {
  content: "DA VERIFICARE"; display: inline-block; font: 700 11px/1 var(--font); letter-spacing: .05em;
  background: #b45309; color: #fff; padding: 3px 6px; border-radius: 4px; margin-right: 6px; vertical-align: middle;
}
.mode-draft .ph { background: var(--draft); border-radius: 4px; padding: 0 3px; }

/* ---------- Планшет и desktop ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  h3 { font-size: 25px; }
  .section { padding: 80px 0; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .two-col--top { align-items: start; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps__item { flex-direction: column; text-align: center; }
  .before-after__grid { grid-template-columns: 1fr auto 1fr; }
  .before-after__arrow { transform: none; }
  .docs { grid-template-columns: repeat(3, 1fr); }
  .stats strong { font-size: 40px; }
  .expert { grid-template-columns: 160px 1fr; align-items: start; }
  .offer { grid-template-columns: 1fr 1fr; padding: 40px; align-items: center; }
  .final__box { grid-template-columns: 200px 1fr; padding: 36px; align-items: center; }
  .form-card, .success { padding: 40px; }
  .footer { padding-bottom: 48px; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .hero { padding: 48px 0 72px; }
  .hero .btn--cta { width: auto; min-width: 320px; }
  .sticky-cta { display: none; }
}
@media (min-width: 1024px) {
  h1 { font-size: 46px; }
}
@media (max-width: 767px) {
  /* На мобильном фото человека — после текста и CTA, чтобы CTA была высоко */
  .hero__media { order: 2; }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 25px; }
  body { font-size: 18px; }
  .stats { grid-template-columns: 1fr; }
  .timer__clock strong { font-size: 24px; }
}

/* Реальные изображения и видео */
picture.media { display: block; }
picture.media img { width: 100%; height: 100%; object-fit: cover; }
.media--product img { object-fit: contain; }
.media--video { display: block; object-fit: cover; max-height: 640px; max-width: 420px; margin: 0 auto; }

@media (max-width: 767px) {
  .topbar__brand { font-size: 18px; white-space: nowrap; }
  .topbar__link { font-size: 16px; white-space: nowrap; }
  .hero { padding-top: 20px; }
  .eyebrow { margin-bottom: 10px; }
  .hero .lead { font-size: 18px; margin-bottom: 12px; }
  .hero__product { grid-template-columns: 84px 1fr; gap: 12px; margin: 4px 0 16px; }
  .hero__product .media--product { max-width: 84px; padding: 0; }
  .hero__product-note { font-size: 16px; line-height: 1.45; }
}
@media (max-width: 374px) {
  .topbar__brand { font-size: 16px; }
  .topbar__link { font-size: 15px; }
}
@media (min-width: 768px) {
  .hero__media picture.media { aspect-ratio: auto !important; height: min(620px, 80vh); }
}

/* Инфографика заказчика: если файла нет — показывается подсказка с именем файла */
.infographic { margin: 24px auto; max-width: 720px; }
.infographic--narrow { max-width: 560px; }
.infographic img { width: 100%; height: auto; border-radius: var(--radius); }
.infographic__missing { display: none; }
.infographic.is-missing { border: 2px dashed #b9c2be; border-radius: var(--radius); padding: 24px 16px; text-align: center; color: var(--text-soft); font-size: 16px; background: var(--bg-tint); }
.infographic.is-missing .infographic__missing { display: block; }
.info-grid { display: grid; gap: 24px; margin-top: 16px; }
.info-grid h4 { font-size: 20px; margin: 0 0 10px; }
.info-list { padding-left: 22px; margin: 0; display: grid; gap: 8px; }
.chips { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--trust-bg); color: var(--trust); font-weight: 700; border-radius: 99px; padding: 8px 16px; }
@media (min-width: 768px) { .info-grid { grid-template-columns: 1.4fr 1fr; } }

/* Выделение скидки и цены */
.price-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
  background: #fff4f2; border: 2px solid var(--price); border-radius: var(--radius);
  padding: 12px 16px; margin: 0 0 16px;
}
.price-strip__badge { background: var(--price); color: #fff; font-weight: 800; font-size: 24px; line-height: 1; padding: 8px 12px; border-radius: 10px; }
.price-strip__old { font-size: 22px; color: var(--text-soft); }
.price-strip__new { font-size: 38px; font-weight: 800; color: var(--price); line-height: 1; }
.price-box { border-color: var(--price); background: #fff9f8; }
.price-box__badge { font-size: 24px; padding: 6px 14px; }
.price-box__old { font-size: 21px; }
.price-box__old s { font-weight: 700; }
.price-box__now strong, .final__price strong { font-size: 46px; }
.final__price s { font-size: 24px; }
.price-box__badge--inline { font-size: 20px; }

[hidden] { display: none !important; }

/* Юридические страницы */
.legal h2 { margin-top: 40px; }
.legal h3 { margin-top: 28px; font-size: 22px; }
.legal h4 { margin: 20px 0 6px; font-size: 19px; }
.legal p, .legal li { font-size: 17px; }
.legal__toc { background: var(--bg-tint); border-radius: var(--radius); padding: 16px 20px; }
.legal__toc ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

.review__photo { object-fit: cover; }

/* Телефон: единое поле с флагом и префиксом +39 внутри (правила ввода как в it2) */
.phone {
  display: flex; align-items: stretch; min-height: 58px;
  background: #fff; border: 2px solid #8a948f; border-radius: 10px; overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.phone:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(29,78,216,.25); }
.phone__pre {
  display: flex; align-items: center; gap: 8px; flex: none;
  padding: 0 12px 0 14px; border-right: 1px solid var(--line);
  font: 600 20px/1 var(--font); color: var(--text); user-select: none;
}
.phone__flag {
  width: 24px; height: 17px; border-radius: 3px; flex: none;
  background: linear-gradient(90deg, #009246 0 33.4%, #fff 33.4% 66.6%, #ce2b37 66.6% 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.field .phone input[type="tel"] {
  flex: 1; min-width: 0; min-height: 0; border: 0; border-radius: 0; background: transparent;
  padding: 12px 14px; letter-spacing: .02em;
}
.field .phone input[type="tel"]:focus { outline: none; border: 0; }
.field .phone input[type="tel"][aria-invalid="true"] { background: transparent; }
.field.is-invalid .phone { border-color: var(--err); background: var(--err-bg); }
.field.is-invalid .phone__pre { border-right-color: #f1b7b1; }
.field.is-valid .phone { border-color: var(--trust); }
.field.is-valid .phone::after {
  content: "✓"; display: flex; align-items: center; padding-right: 14px;
  color: var(--trust); font-weight: 800; font-size: 20px;
}
.field.is-valid #f-name, .field.is-valid input[type="text"] { border-color: var(--trust); }

/* Фото товара с прозрачным фоном */
.media--product { background: transparent; border-radius: 0; }
.media--product img { object-fit: contain; }
.hero__product { grid-template-columns: 140px 1fr; }
.hero__product .media--product { max-width: 140px; }
.final__img { max-width: 260px; }
@media (max-width: 767px) {
  .hero__product { grid-template-columns: 112px 1fr; }
  .hero__product .media--product { max-width: 112px; }
}
@media (min-width: 768px) { .final__box { grid-template-columns: 260px 1fr; } }

/* ---------- Карусель отзывов ---------- */
.slider__track { grid-auto-columns: 86%; gap: 16px; padding: 6px 2px 14px; scroll-snap-type: x mandatory; }
.review {
  position: relative; scroll-snap-align: start;
  padding: 30px 22px 20px; gap: 16px; justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.review::before {
  content: "\201C"; position: absolute; top: 4px; left: 16px;
  font: 700 64px/1 Georgia, "Times New Roman", serif; color: var(--trust); opacity: .28;
}
.review__text { margin: 0; padding-top: 14px; font-size: 19px; line-height: 1.55; }
.review__head { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.review__avatar {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--trust-bg); color: var(--trust); font-weight: 800; font-size: 19px;
}
img.review__photo { width: 52px; height: 52px; padding: 0; border-radius: 50%; object-fit: cover; flex: none; }
.review__who { margin: 0; font-size: 18px; line-height: 1.35; }
.review__who strong { display: block; }
.review__who span { display: block; font-size: 16px; color: var(--text-soft); }
.review__video { width: 100%; border-radius: 10px; }

.slider__nav { gap: 12px; margin-top: 12px; }
.slider__btn { flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.slider__btn:hover { background: var(--trust-bg); }
.slider__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; max-width: 260px; }
.slider__dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.slider__dot::before { content: ""; width: 10px; height: 10px; border-radius: 99px; background: #bcc5c1; transition: width .2s, background .2s; }
.slider__dot[aria-current="true"]::before { width: 24px; background: var(--trust); }
@media (min-width: 640px) { .slider__track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (min-width: 1024px) { .slider__track { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (prefers-reduced-motion: reduce) { .slider__track { scroll-behavior: auto; } }

/* ---------- Отзывы на телефоне: список вместо карусели, чтобы их точно увидели ---------- */
.reviews-more { display: none; }
@media (max-width: 639px) {
  .slider__track {
    grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr;
    overflow: visible; scroll-snap-type: none; padding: 0;
  }
  .slider__nav { display: none !important; }
  .slider:not(.is-expanded) .review:nth-child(n+4) { display: none; }
  .reviews-more {
    display: flex; width: 100%; margin-top: 16px; min-height: 56px;
    background: #fff; color: var(--trust); border: 2px solid var(--trust);
  }
  .reviews-more:hover { background: var(--trust-bg); }
  .reviews-more[hidden] { display: none !important; }
}

/* ---------- Блок доверия: цифры + производитель одной панелью ---------- */
.trust-panel {
  max-width: 880px; margin: 28px auto 0; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 6px 24px rgba(0,0,0,.05);
}
.trust-panel .stats { margin: 0; grid-template-columns: repeat(3, 1fr); gap: 0; }
.trust-panel .stats li {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border-radius: 0; padding: 26px 12px 22px;
}
.trust-panel .stats li + li { border-left: 1px solid var(--line); }
.stats__ico {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--trust-bg); color: var(--trust);
}
.trust-panel .stats strong { font-size: 44px; line-height: 1; letter-spacing: -.01em; }
.trust-panel .stats span:not(.stats__ico) { font-size: 17px; color: var(--text-soft); line-height: 1.3; }
.trust-panel__foot {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0;
  padding: 16px 20px; background: var(--bg-tint); border-top: 1px solid var(--line);
  font-size: 18px; text-align: left;
}

.trust-panel > [data-claim]:not(.claim-on) + .trust-panel__foot { border-top: 0; }
.trust-panel + .cta-block { margin-top: 32px; }
@media (max-width: 480px) {
  .trust-panel { border-radius: 14px; margin-top: 20px; }
  .trust-panel .stats li { padding: 18px 4px 16px; }
  .stats__ico { width: 38px; height: 38px; margin-bottom: 4px; }
  .stats__ico svg { width: 19px; height: 19px; }
  .trust-panel .stats strong { font-size: 27px; }
  .trust-panel .stats span:not(.stats__ico) { font-size: 14px; }
  .trust-panel__foot { font-size: 16px; padding: 14px 16px; }
}

/* =====================================================================
   ВИЗУАЛЬНОЕ ОБНОВЛЕНИЕ: насыщеннее палитра + единая ширина на десктопе
   ===================================================================== */
:root {
  --bg-tint: #eaf1ee;
  --line: #d5e0db;
  --trust: #1a6150;
  --trust-bg: #dcebe5;
  --ink: #12352c;          /* заголовки */
  --deep: #173f35;         /* тёмные полосы */
  --shadow: 0 6px 22px rgba(18, 53, 44, .08);
}
h1, h2, h3 { color: var(--ink); }
.section { position: relative; }
.section--tint { background: var(--bg-tint); }

/* Заголовки секций с акцентной чертой */
.section h2.center::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 4px;
  background: var(--cta); margin: 14px auto 0;
}
.form-card h2.center::after, .final h2.center::after { margin-left: auto; margin-right: auto; }

/* Шапка */
.topbar { background: var(--deep); border-bottom: 0; }
.topbar__brand { color: #fff; }
.topbar__link {
  color: #fff; text-decoration: none; background: var(--cta); padding: 8px 14px; border-radius: 10px; font-weight: 700;
}
.topbar__link:hover { background: var(--cta-hover); }

/* Первый экран */
.hero { background: linear-gradient(180deg, #e2eee9 0%, #f3f8f6 55%, #fff 100%); }
.eyebrow { background: #fff; box-shadow: var(--shadow); }

/* Карточки и панели */
.card, .review, .offer, .final__box, .form-card, .trust-panel, .faq details, .situations li, .steps__item, .docs li {
  border-color: var(--line);
}
.card, .review, .offer, .final__box, .form-card, .faq details { box-shadow: var(--shadow); }
.section--tint .card { border: 1px solid var(--line); }
.situations li { background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(18,53,44,.05); }
.situations__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--trust-bg); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.card__num { background: var(--cta); }
.ingredient h3 { color: var(--trust); }
.notice { background: #fff3e0; }
.table th { background: var(--trust); color: #fff; }
.faq summary:hover { background: #f4f8f6; border-radius: var(--radius); }
.faq details[open] { border-color: var(--trust); }
.chips li { background: #fff; border: 1px solid var(--line); }

/* Финальное предложение — тёмная полоса */
.final { background: var(--deep); }
.final h2, .final > .wrap > p { color: #fff; }
.final h2.center::after { background: var(--cta); }

/* Форма */
.section--form { background: linear-gradient(180deg, var(--bg-tint), #dfeae5); }
.form-card { border-top: 6px solid var(--cta); }
.form-card__lead { text-align: center; }
.form-card__img { display: none; }
.form-card__perks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-weight: 600; font-size: 17px; }
.form-card__perks li { display: flex; gap: 10px; align-items: center; }

/* Подвал */
.footer { background: #10251f; }

/* ---------- Десктоп: все блоки одной ширины ---------- */
@media (min-width: 900px) {
  .wrap, .narrow-wrap { max-width: 1140px; }
  .prose { max-width: none; }

  /* Проблема: текст слева, ситуации справа в две колонки */
  .section[data-track="sec-problem"] > .narrow-wrap > div { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto 1fr; gap: 0 48px; align-items: start; }
  .section[data-track="sec-problem"] h2 { grid-column: 1 / -1; text-align: center; }
  .section[data-track="sec-problem"] h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--cta); margin: 14px auto 0; }
  .section[data-track="sec-problem"] .situations { grid-column: 2; grid-row: 2 / span 4; margin-top: 0; grid-template-columns: 1fr 1fr; }
  .section[data-track="sec-problem"] .situations li { flex-direction: column; gap: 10px; }
  .section[data-track="sec-problem"] .situations li:last-child { grid-column: 1 / -1; flex-direction: row; }

  /* Сплит-блоки: картинка слева, текст справа */
  .split--info { display: grid; grid-template-columns: 460px 1fr; gap: 0 48px; align-items: start; }
  .split--info > h3, .split--info > p { grid-column: 2; text-align: left; margin-left: 0; }
  .split--info > .infographic { grid-column: 1; grid-row: 1 / span 3; margin: 0; max-width: none; }
  .split--info > .info-grid { grid-column: 2; grid-template-columns: 1fr; }

  .split--helps { display: grid; grid-template-columns: 440px 1fr; gap: 0 40px; align-items: start; }
  .split--helps > h2, .split--helps > p.narrow, .split--helps > .transition { grid-column: 1 / -1; }
  .split--helps > .infographic { grid-column: 1; margin: 24px 0 0; max-width: none; position: sticky; top: 24px; }
  .split--helps > .cards { grid-column: 2; grid-template-columns: 1fr 1fr; }

  .split--ba { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0 32px; align-items: center; }
  .split--ba > h3 { grid-column: 1 / -1; }
  .split--ba > .infographic { grid-column: 1; margin: 0; max-width: none; }
  .split--ba > .before-after__grid { grid-column: 2; grid-template-columns: 1fr; }
  .split--ba .before-after__arrow { transform: rotate(90deg); }
  .split--ba > .caption { grid-column: 1 / -1; }

  /* Панели на всю ширину */
  .trust-panel, .final__box, .expert { max-width: none; }
  .final__box { grid-template-columns: 320px 1fr; padding: 40px 48px; }
  .final__img { max-width: 320px; }

  /* FAQ в две колонки */
  .faq { grid-template-columns: 1fr 1fr; align-items: start; }

  /* Форма: описание слева, поля справа */
  .form-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0 48px; padding: 44px 48px; align-items: start; }
  .form-card__title { grid-column: 1; text-align: left; margin-bottom: 12px; }
  .form-card__title::after { margin-left: 0 !important; }
  .form-card__intro { grid-column: 1; }
  .form-card__lead { text-align: left; }
  .form-card__img { display: block; width: 100%; max-width: 360px; height: auto; margin: 8px 0 20px; }
  #lead-form { grid-column: 2; grid-row: 1 / span 2; }
  .success { max-width: 720px; margin: 0 auto; }
}
@media (min-width: 900px) {
  .two-col--center .media--product { max-width: 480px; }
  .two-col--center .prose p { font-size: 20px; }
}

/* ---------- Карточки специалистов ---------- */
.expert-card { justify-content: flex-start; padding-top: 22px; }
.expert-card::before { display: none; }
.expert-card__head { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.expert-card__avatar, .expert-card__photo { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; font-size: 24px; }
.expert-card__name { font-size: 20px; margin: 0 0 2px; }
.expert-card__role { margin: 0; color: var(--trust); font-weight: 600; font-size: 16px; line-height: 1.35; }
.expert-card__quote { padding: 0 0 0 14px; border-left: 4px solid var(--trust); font-style: italic; }
.expert-card__meta { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--text-soft); }
/* Мало карточек — по центру */
@media (min-width: 640px) { .slider__track { justify-content: center; } }
@media (min-width: 900px) { .offer__img { max-width: 500px; } .offer { padding: 44px 48px; gap: 48px; } }
