/* NAUTEX · разделы страницы: первый экран, пакеты, после запуска, отзывы */
/* ---------- Первый экран ---------- */
.hero { padding-top: 12px; }
.hero-sub { margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.made { margin-top: 20px; border-radius: 18px; box-shadow: var(--shadow-small); }
.made[open] { box-shadow: var(--shadow-inset); }
.made summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 12px; align-items: center;
  padding: 12px 14px; min-height: 64px;
}
.made summary::-webkit-details-marker { display: none; }
.made summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 18px; }
.made-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--num); box-shadow: var(--shadow-inset); }
.made b { display: block; font: 600 14px/1.3 "Geologica", "Golos Text", sans-serif; letter-spacing: -0.01em; }
.safe { margin: 0 0 18px; }
.safe .ticks { margin-top: 0; font-size: 14px; line-height: 1.45; }
.safe .ticks b { display: inline; font: inherit; font-weight: 600; letter-spacing: 0; }
.safe a, a.law { color: var(--link); font-weight: 600; text-underline-offset: 2px; }
.made small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.made-arr { color: var(--muted); transition: transform .16s ease-out; }
.made[open] .made-arr { transform: rotate(90deg); }
.made-in { display: grid; gap: 10px; padding: 0 16px 16px; font-size: 15px; line-height: 1.5; }
.made-in .btn { margin-top: 4px; }
.made-in p { font-size: 14px; color: var(--muted); }
.made-in .plq { margin-top: 0; }
.made-in .plq b { font-size: 13px; }
h1 {
  font: 600 32px/1.15 "Geologica", "Golos Text", sans-serif; letter-spacing: -0.01em;
  hyphens: manual; overflow-wrap: break-word; max-width: 14em;
}
.lead { margin-top: 14px; font-size: 18px; line-height: 1.5; max-width: 32ch; }
.actions { display: grid; gap: 14px; margin-top: 24px; }
.proof { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.proof li { padding: 12px 6px; border-radius: 16px; background: var(--bg); box-shadow: var(--shadow-small); text-align: center; }
.proof b { display: block; font: 600 15px/1.2 "Geologica", "Golos Text", sans-serif; letter-spacing: -0.02em; color: var(--num); }
.proof span { display: block; margin-top: 5px; font-size: 12px; line-height: 1.3; color: var(--muted); }


/* ---------- Разделы ---------- */
h2 { scroll-margin-top: 84px; font: 600 22px/1.25 "Geologica", "Golos Text", sans-serif; letter-spacing: -0.01em; margin: 44px 0 18px; }
.card { background: var(--bg); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-card); }
.card h3 { font: 600 18px/1.25 "Golos Text", system-ui, sans-serif; }
.card p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blue); color: var(--blue-text); box-shadow: var(--shadow-small);
}
.price { margin-top: 12px; font-weight: 600; font-size: 16px; }

.steps { list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font: 600 16px/1 "Geologica", sans-serif; background: var(--bg); color: var(--text); box-shadow: var(--shadow-inset);
}
.steps h3 { font: 600 17px/1.3 "Golos Text", sans-serif; }
.steps p { margin-top: 2px; font-size: 14px; color: var(--muted); }


/* ---------- Пакеты: сетка ---------- */
.tiers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.tier { position: relative; display: flex; flex-direction: column; padding: 16px; border-radius: 22px; }
.tier.wide { grid-column: 1 / -1; padding: 20px; }
  .tier h3 { margin-top: 6px; font: 600 17px/1.25 "Golos Text", system-ui, sans-serif; }
.tier.wide h3 { font-size: 20px; }
/* Название пакета на вдавленной плашке, как плашки «Оплата» */
.tier h3 { margin-top: 0; padding: 10px 12px; border-radius: 14px; box-shadow: var(--shadow-inset); }
.tier:not(.wide) h3 { margin-inline: -10px; padding: 10px 6px 10px 10px; }
@media (max-width: 379px) {
  .tiers { column-gap: 12px; }
  .tier:not(.wide) { padding-inline: 12px; }
  .tier:not(.wide) h3 { margin-inline: -8px; padding-inline: 5px 3px; font-size: 15px; }
}
.t-say { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); flex: 1; }
.t-price { margin-top: 14px; font: 600 20px/1.15 "Geologica", "Golos Text", sans-serif; letter-spacing: -0.01em; white-space: nowrap; }
.tier.wide .t-price { font-size: 26px; }
.t-term { margin-top: 4px; font-size: 13px; color: var(--muted); }
.t-free {
  align-self: flex-start; margin-top: 12px; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--bg); box-shadow: var(--shadow-inset);
}
.t-btns { display: grid; gap: 12px; margin-top: 16px; }
.tier.wide .t-btns { grid-template-columns: 1fr 1fr; }
.btn-sm { min-height: 46px; font-size: 15px; border-radius: 14px; }
.t-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.tier .ticks { font-size: 14px; }

.flag {
  position: absolute; top: -12px; right: 18px; padding: 5px 12px; border-radius: 999px;
  background: var(--blue); color: var(--blue-text); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-small);
}
.shop { box-shadow: var(--shadow-card), inset 0 0 0 2px var(--blue); }
.shop[data-v="own"] { box-shadow: var(--shadow-card); }
.shop[data-v="own"] .flag, .shop[data-v="own"] .v-new, .shop[data-v="new"] .v-own { display: none; }

.seg {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; padding: 6px;
  border-radius: 18px; box-shadow: var(--shadow-inset);
}
/* Бегунок: выпуклая плашка, переезжает к выбранному варианту */
.seg::before {
  content: ""; position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 9px); border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,0) 55%), var(--blue);
  box-shadow: 4px 5px 10px var(--sd), -3px -3px 8px var(--sl), inset 0 -2px 0 rgba(15,47,71,.18), inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform .26s cubic-bezier(.2,.8,.2,1);
}
.seg:has(#s-new:checked)::before { transform: translateX(calc(100% + 6px)); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label {
  position: relative; z-index: 1; display: grid; place-items: center; min-height: 52px; padding: 4px 8px; border-radius: 13px;
  font-size: 15px; font-weight: 500; line-height: 1.25; text-align: center; color: var(--muted); cursor: pointer;
  transition: color .18s ease-out;
}
.seg input:checked + label { color: var(--blue-text); font-weight: 600; }
.seg input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }

.tier.ai {
  background: var(--ai-bg); color: var(--ai-ink);
  --shadow-small: 5px 5px 11px var(--ai-sd), -5px -5px 11px var(--ai-sl);
  --shadow-inset: inset 5px 5px 10px var(--ai-sd), inset -5px -5px 10px var(--ai-sl);
}
.tier.ai .t-say, .tier.ai .t-term { color: var(--ai-muted); }
.tier.ai .t-free, .tier.ai .btn-ghost { background: var(--ai-ghost); color: var(--ai-ghost-ink); }
.tier.ai .btn:focus-visible { outline-color: var(--ai-ink); }
.tier.ai .btn-main { background: var(--ai-cta); color: var(--ai-cta-ink); }
.tier.ai .btn-main:active { box-shadow: var(--ai-cta-press); }

.ticks { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 8px; font-size: 15px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2F47' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ticks.no li::before { background: linear-gradient(var(--muted), var(--muted)) center / 8px 2px no-repeat; box-shadow: inset 0 0 0 1.5px var(--muted); opacity: .8; }
/* Раскрывающаяся плашка: «Всё из …», «Паспорт приложения», «Паспорт бренда» */
.ticks li:has(> details.inc) { display: block; }
.ticks li:has(> details.inc)::before { display: none; }
details.inc { border-radius: 16px; background: var(--bg); box-shadow: var(--shadow-small); transition: box-shadow .16s ease-out; }
details.inc[open] { box-shadow: var(--shadow-inset); }
.inc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 8px 10px 8px 14px;
  list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.3;
}
.inc summary::-webkit-details-marker { display: none; }
.inc summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2F47' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: var(--shadow-small);
  transition: transform .2s cubic-bezier(.2,.8,.2,1);
}
.inc[open] summary::after { transform: rotate(180deg); }
.inc summary:active::after { box-shadow: var(--shadow-inset); }
.inc summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 16px; }
details.inc > .ticks { margin: 0; padding: 2px 14px 14px; gap: 8px; font-size: 14px; line-height: 1.4; }
details.inc > .ticks li { grid-template-columns: 16px 1fr; gap: 8px; }
details.inc > .ticks li::before { width: 16px; height: 16px; margin-top: 1px; background-size: 10px; }
.inc-solo { margin-top: 10px; }


/* ---------- После запуска ---------- */
.free p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.bars { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 14px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; }
.bars b { font-weight: 600; }
.bars i { grid-column: 1 / -1; height: 12px; border-radius: 999px; box-shadow: var(--shadow-inset); position: relative; }
.bars i::after {
  content: ""; position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc(var(--w) - 6px);
  border-radius: 999px; background: var(--blue);
}
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.extras > :last-child:nth-child(odd) { grid-column: 1 / -1; } /* нечётная последняя карточка на всю ширину, без дыры */
.ex { display: flex; flex-direction: column; padding: 16px; border-radius: 22px; }
.card.ex { background: var(--plate-grad); color: var(--plate-ink); box-shadow: var(--plate-raise); }
.card.ex p { color: var(--plate-muted); }
.ex .icon { background: var(--ex-ic-bg); color: var(--ic-ink); box-shadow: var(--ex-ic-sh); }
.ex .icon { width: 42px; height: 42px; border-radius: 14px; margin-bottom: 12px; }
.ex h3 { font-size: 16px; }
.ex p { flex: 1; font-size: 13px; }
.ex .price { margin-top: 12px; font-size: 15px; }

/* ---------- Отзывы: бегущая лента ---------- */
.mq { display: grid; gap: 4px; margin: 0 -18px; }
.mq-vp {
  overflow: hidden; touch-action: pan-y pinch-zoom; cursor: grab; padding: 10px 0 26px;
}
.mq-vp:active { cursor: grabbing; }
.mq-track { display: flex; }
.mq-card {
  flex: 0 0 250px; min-width: 0; margin-right: 14px; padding: 16px; border-radius: 16px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  background: var(--rev-grad); color: var(--rev-ink); user-select: none; -webkit-user-select: none;
  box-shadow: var(--rev-raise);
  animation: hover-float 4.2s ease-in-out infinite;
}
.mq-card:nth-child(2n) { animation-delay: -1.4s; }
.mq-card:nth-child(3n) { animation-delay: -2.8s; }
@keyframes hover-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@media (min-width: 700px) { .mq-card { flex-basis: 280px; } }
.mq-card p { font-size: 14px; line-height: 1.5; }
.mq-who { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.3; }
.mq-who i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); }
.mq-who b { font-weight: 600; }
.mq-who span { color: var(--rev-muted); }


/* ---------- Что мы делаем: сценарии ---------- */
.intro { margin: -6px 0 18px; font-size: 16px; color: var(--muted); text-wrap: pretty; }
.scn { display: grid; gap: 16px; }
.scn-btn {
  width: 100%; display: grid; grid-template-columns: 52px 1fr 20px; gap: 14px; align-items: center;
  text-align: left; border: 0; cursor: pointer; font: inherit; color: inherit;
  transition: transform .14s cubic-bezier(.2,.8,.2,1), box-shadow .14s cubic-bezier(.2,.8,.2,1);
}
.scn-btn:active { transform: scale(.98); box-shadow: var(--shadow-inset); }
.scn-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.scn-h { display: block; font: 600 17px/1.25 "Golos Text", system-ui, sans-serif; }
.scn-p { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.scn-btn .price { display: block; margin-top: 6px; font-size: 15px; }
.scn-arr { color: var(--muted); }

/* ---------- Пакеты: вопрос о стиле, плашка недель, ссылки ---------- */
.q-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.qm {
  flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  display: grid; place-items: center;
}
.qm i {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font: 600 15px/1 "Golos Text", system-ui, sans-serif; background: var(--bg); box-shadow: var(--shadow-small);
  transition: box-shadow .14s ease-out;
}
.qm:active i { box-shadow: var(--shadow-inset); }
.qm:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-radius: 50%; }
button.t-free {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 6px 5px 12px;
  border: 0; cursor: pointer; color: inherit; font-family: inherit; box-shadow: var(--shadow-small);
  transition: box-shadow .14s ease-out, transform .14s cubic-bezier(.2,.8,.2,1);
}
button.t-free::after { content: ""; position: absolute; inset: -4px; }
.tier:not(.wide) button.t-free { white-space: normal; text-align: left; line-height: 1.25; gap: 4px; padding: 5px 4px 5px 8px; }
.tier:not(.wide) .t-free i { width: 20px; height: 20px; }
button.t-free:active { box-shadow: var(--shadow-inset); transform: scale(.97); }
button.t-free:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.t-free i {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-size: 12px; background: var(--blue); color: var(--blue-text);
}
.tier.ai .t-free i { background: var(--ai-q); color: var(--ai-q-ink); }
.lnk {
  align-self: flex-start; min-height: 44px; margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  color: inherit; font: 600 14px/1.3 "Golos Text", system-ui, sans-serif;
  text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.lnk:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.style-box { margin-top: 16px; padding: 4px 12px 12px; border-radius: 20px; box-shadow: inset 0 0 0 2px var(--blue); }
.style-box .q-row { margin-top: 4px; }
.style-box .lnk { margin-top: 4px; }
.cmp-open { width: 100%; margin-top: 20px; gap: 10px; background: var(--blue); color: var(--blue-text); box-shadow: var(--shadow-small), inset 0 1px 0 rgba(255,255,255,.45); }
.cmp-open:active { box-shadow: var(--blue-press); }

/* ---------- Пакеты: цена и плашки одинаково во всех карточках ---------- */
.tier.wide .t-row { flex-direction: column; align-items: flex-start; }
.tier.wide .t-row .t-free { margin-top: 0; }
.safe-end { margin: 16px 0 0; }
/* ---------- Подбор пакета: 4 вопроса без скриптов ---------- */
/* Виден один экран: следующий вопрос появляется, когда отмечен ответ на предыдущий */
.qz-q, .qz-res, .qz-again { display: none; }
/* Вопрос 3 (фирменный стиль) задаётся, только если нужен каталог товаров */
.qz:not(:has([name="qa"]:checked)) .q1,
.qz:has([name="qa"]:checked):not(:has([name="qb"]:checked)) .q2,
.qz:has(#qb1:checked):not(:has([name="qc"]:checked)) .q3,
.qz:has([name="qc"]:checked):not(:has([name="qd"]:checked)) .q4,
.qz:has(#qb2:checked):not(:has([name="qd"]:checked)) .q4 { display: block; }
/* Результат: правила проверяются сверху вниз */
.qz:has(#qd1:checked) .r-ai,
.qz:has(#qd2:checked):has(#qb1:checked):has(#qc1:checked) .r-style,
.qz:has(#qd2:checked):has(#qb1:checked):has(#qc2:checked) .r-shop,
.qz:has(#qd2:checked):has(#qb2:checked):has(#qa1:checked) .r-adm,
.qz:has(#qd2:checked):has(#qb2:checked):has(#qa2:checked) .r-con { display: block; }
.qz:has([name="qd"]:checked) .qz-again { display: block; }
.qz:has([name="qd"]:checked) .qz-intro { display: none; }

.qz { padding: 20px; }
.card .qz-intro { margin: 0 0 16px; }
.qz-q { min-width: 0; margin: 0; padding: 0; border: 0; animation: qz-in .22s ease-out; }
.qz-q legend { display: block; width: 100%; padding: 0; font: 600 18px/1.3 "Golos Text", system-ui, sans-serif; }
.qz-n { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.qz-a { display: grid; gap: 12px; margin-top: 16px; }
.qz-a input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qz-a label {
  display: flex; align-items: center; min-height: 54px; padding: 0 18px; border-radius: 16px; cursor: pointer;
  font-size: 16px; font-weight: 500; background: var(--bg); box-shadow: var(--shadow-small);
  transition: box-shadow .14s ease-out, transform .14s cubic-bezier(.2,.8,.2,1);
}
.qz-a label:active { transform: scale(.98); box-shadow: var(--shadow-inset); }
.qz-a input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.qz-res { padding: 16px; border-radius: 20px; box-shadow: var(--shadow-inset); animation: qz-in .22s ease-out; }
.qz-k { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.qz-res h3 { margin-top: 6px; font-size: 20px; }
.qz-res .t-price { margin-top: 8px; font-size: 24px; }
.card .qz-res p { margin-top: 8px; font-size: 15px; }
.qz-res .btn { width: 100%; margin-top: 16px; }
.qz-plus { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.qz-plus .t-free { margin-top: 0; }
.qz-again {
  margin: 14px auto 0; min-height: 44px; padding: 0 8px; border: 0; background: none; cursor: pointer;
  color: var(--link); font: 600 15px/1.3 "Golos Text", system-ui, sans-serif;
  text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.qz-again:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
@keyframes qz-in { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Плашка «Пульт» в первом экране: выглядит как ссылка ---------- */
.proof li:has(.proof-link) { padding: 0; }
.proof-link { width: 100%; height: 100%; padding: 12px 6px; border: 0; border-radius: 16px; background: none; color: inherit; font: inherit; cursor: pointer; }
.proof-link b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.proof-link:active { box-shadow: var(--shadow-inset); }
.proof-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Карточка партнёрской программы перед отзывами ---------- */
.pt-card { margin-top: 16px; }
.pt-card .btn { margin-top: 14px; width: 100%; }
