/* Посадочные страницы под запросы (seo_page.html) — поверх landing.css + lp.css.
   Первый экран тёмный, как на витрине; дальше — текст с боковой карточкой. */

.lp .seo-hero { padding: 56px 0 64px; }
.lp .seo-hero h1 { font-size: 48px; max-width: 820px; }
.lp .seo-hero .lead { max-width: 720px; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: #fff; }

.seo-main { padding: 64px 0 80px; }
.seo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.seo-body { max-width: 720px; }
.seo-sec { padding: 0; margin: 0 0 40px; }
.seo-sec h2 { text-align: left; font-size: 28px; letter-spacing: -.022em; margin: 0 0 14px; }
.seo-sec p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); margin: 0 0 14px; }
.seo-sec p b, .seo-sec li b { color: var(--ink); }
.seo-sec a { font-weight: 500; }

.seo-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 10px; }
.seo-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 58px; background: var(--surface);
  border-radius: var(--r-lg); box-shadow: var(--sh-card); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.seo-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 14px; top: 13px;
  width: 30px; height: 30px; border-radius: 9px; background: var(--ink-bg); color: var(--scan);
  font: 700 12.5px/30px var(--mono); text-align: center; }
.seo-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.seo-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.seo-list li::before { content: "✓"; position: absolute; left: 4px; color: #16a34a; font-weight: 800; }

.seo-shot { margin: 0 0 40px; }
.seo-shot figcaption { font-size: 13px; color: var(--ink-3); margin-top: 10px; text-align: center; }
.seo-faq { max-width: none; margin: 0; }

.seo-side { position: sticky; top: 84px; display: grid; gap: 16px; }
.seo-card { background: var(--surface); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--sh-card);
  display: flex; flex-direction: column; gap: 10px; }
.seo-card > b { font-size: 16px; }
.seo-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.seo-card .btn { width: 100%; border-radius: var(--r-pill); }
.seo-card-alt { font-size: 13.5px; font-weight: 600; text-align: center; }
.seo-related a { font-size: 14.5px; color: var(--ink); padding: 8px 0; border-top: 1px solid var(--line-soft); }
.seo-related a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .seo-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .seo-side { position: static; }
}
@media (max-width: 720px) {
  .lp .seo-hero { padding: 36px 0 48px; }
  .lp .seo-hero h1 { font-size: 34px; }
  .seo-main { padding: 40px 0 56px; }
  .seo-sec h2 { font-size: 23px; }
  .seo-sec p, .seo-list li { font-size: 15.5px; }
}

/* «Что ещё умеет ТАУпак» — все возможности сервиса на каждой посадочной */
.lp .seo-all { padding: 72px 0 80px; background: var(--ink-bg); color: #fff; }
.lp .seo-all h2 { color: #fff; }
.lp .seo-all .sub { color: rgba(255,255,255,.72); }
.seo-all-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.lp .seo-feat { display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-xl); padding: 20px 22px 22px;
  color: #fff; transition: border-color .16s, background-color .16s; }
.lp .seo-feat:hover { border-color: rgba(196,181,253,.55); background: rgba(124,58,237,.12); }
.seo-feat-img { display: block; height: 150px; margin: -6px -8px 8px; border-radius: var(--r-lg);
  overflow: hidden; background: #fff; }
.seo-feat-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.lp .seo-feat .tag-mono { align-self: flex-start; font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--scan); background: var(--scan-soft);
  padding: 3px 8px; border-radius: 6px; }
.lp .seo-feat b { font-size: 18px; line-height: 1.25; letter-spacing: -.015em; }
.seo-feat-txt { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.72); }
@media (max-width: 1000px) { .seo-all-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .lp .seo-all { padding: 48px 0 56px; }
  .seo-all-grid { grid-template-columns: 1fr; }
}

/* ---- «Если коротко»: проблема → решение → что нужно, для тех, кто пришёл из рекламы ---- */
.simple-rows { display: grid; gap: 10px; }
.simple-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--sh-card); }
.simple-row b { display: block; font-size: 15px; margin-bottom: 4px; color: var(--ink); }
.seo-sec .simple-row p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.simple-ic { flex: 0 0 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; }
.simple-row.was .simple-ic { background: #fee2e2; color: #dc2626; }
.simple-row.now { background: #f0fdf4; box-shadow: inset 0 0 0 1px rgba(22,163,74,.22); }
.simple-row.now .simple-ic { background: #16a34a; color: #fff; }
.simple-row.need .simple-ic { background: var(--ink-bg); color: var(--scan); }

.seo-gloss { margin-top: 12px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-card); padding: 14px 18px; }
.seo-gloss summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--accent); list-style: none; }
.seo-gloss summary::-webkit-details-marker { display: none; }
.seo-gloss summary::before { content: "＋ "; }
.seo-gloss[open] summary::before { content: "－ "; }
.seo-gloss dl { margin: 12px 0 0; display: grid; gap: 10px; }
.seo-gloss dl > div { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.seo-gloss dt { display: inline; font-weight: 700; color: var(--ink); }
.seo-gloss dt::after { content: " — "; font-weight: 400; color: var(--ink-3); }
.seo-gloss dd { display: inline; margin: 0; }

/* ---- «Как это выглядит в программе»: скриншоты с пояснением ---- */
.seo-gal-sub { margin-top: -6px !important; color: var(--ink-3) !important; font-size: 14.5px !important; }
.gal-item { margin: 0 0 30px; }
.gal-item .shot-frame { display: block; box-shadow: 0 16px 40px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.06); cursor: zoom-in; }
.gal-item .shot-frame img { width: 100%; height: auto; }
.gal-item.is-tall .shot-frame { max-width: 460px; margin: 0 auto; }
.gal-item.is-phone .shot-frame { max-width: 300px; margin: 0 auto; border-radius: 34px; background: #111114;
  padding: 10px; box-shadow: 0 24px 60px rgba(13,11,31,.28), 0 0 0 1px rgba(0,0,0,.08); }
.gal-item.is-phone .shot-frame img { border-radius: 26px; }
.gal-item figcaption { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; }
.gal-item figcaption .shot-num { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: flex;
  align-items: center; justify-content: center; font: 700 13px var(--mono); }
.gal-item figcaption b { display: block; font-size: 17px; margin-bottom: 3px; color: var(--ink); }
.gal-item figcaption span:not(.shot-num) { display: block; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* сравнение — та же таблица, что на витрине, но в колонку текста */
.seo-cmp { max-width: none; margin: 0; }
@media (min-width: 721px) { .seo-cmp .cmp-row { grid-template-columns: .75fr 1fr 1.15fr; } }
.seo-cmp .cmp-row > span { padding: 13px 16px; font-size: 14.5px; }

/* призыв посреди статьи — на телефоне боковая карточка уезжает в самый низ */
.seo-mid-cta { display: flex; align-items: center; gap: 18px; justify-content: space-between; margin: 0 0 40px;
  padding: 20px 22px; border-radius: var(--r-xl); background: var(--ink-bg); color: #fff; }
.seo-mid-cta b { display: block; font-size: 17px; margin-bottom: 4px; }
.seo-mid-cta span { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.5; }
.seo-mid-cta .btn { flex: 0 0 auto; border-radius: var(--r-pill); }
.seo-card-price { font-size: 13.5px !important; }
.seo-card-price b { color: var(--ink); }

/* ---- «Почему выбирают ТАУпак» ---- */
.lp .seo-why { padding: 8px 0 72px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card { background: var(--surface); border-radius: var(--r-xl); padding: 22px 24px; box-shadow: var(--sh-card); }
.why-card h3 { margin: 12px 0 6px; font-size: 18px; font-weight: 650; letter-spacing: -.012em; }
.why-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.why-n { display: inline-flex; width: 30px; height: 30px; border-radius: 9px; align-items: center; justify-content: center;
  background: var(--ink-bg); color: var(--scan); font: 700 13px var(--mono); }

/* ---- цены ---- */
.lp .seo-price { padding: 24px 0 88px; }

@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
  .lp .seo-why { padding: 0 0 48px; }
  .lp .seo-price { padding: 8px 0 56px; }
  .seo-mid-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .seo-mid-cta .btn { width: 100%; }
  /* широкие скриншоты на телефоне не сжимаем в нечитаемую полоску — листаются вбок */
  .gal-item.is-wide .shot-frame { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .gal-item.is-wide .shot-frame img { width: 680px; max-width: none; }
  .gal-item.is-wide figcaption div::after { content: "Картинку можно листать вбок или открыть крупно нажатием"; display: block;
    margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
}
