/* Лендинги Студии Трипольского — поверх site.css (те же токены, шрифты и компоненты) */


/* общие мелочи */
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 24px; background: var(--accent); color: #fff; font-size: 11px; }
.st-note { display: flex; align-items: flex-start; gap: 12px; max-width: 820px; margin: 40px 0 0; font-size: 16px; color: var(--ink2); }
.st-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; margin-top: 8px; }
.fine { color: var(--mute); font-size: 11px; margin: 18px 0 0; }
.sec.dark .st-note { color: rgba(243,239,233,.7); }
.st-hero .display { max-width: 15ch; }
.clients { margin: 0 0 48px; }
.clients-k { display: block; color: var(--mute); margin-bottom: 14px; }
.clients-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.clients-slide { display: contents; list-style: none; margin: 0; padding: 0; }
.clients li { background: var(--bg); height: clamp(96px, 9vw, 128px); display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.clients img { max-width: 100%; height: auto; filter: grayscale(1); opacity: .82; transition: opacity .25s, filter .25s; }
.clients li:hover img { filter: none; opacity: 1; }
.clients-dots { display: none; }
.st-hero .hero-collage .stage-box { box-shadow: 0 0 0 1px var(--line); }

/* калькулятор */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 50px 100px -70px rgba(40,30,20,.5); }
.calc-in { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 28px; border-right: 1px solid var(--line); }
.rng { display: flex; flex-direction: column; gap: 12px; }
.rng-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: var(--ink2); }
.rng-h b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; line-height: 1; color: var(--ink); }
.rng input[type=range] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; margin: 0; }
.rng input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p), var(--line) var(--p)); }
.rng input[type=range]::-moz-range-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p), var(--line) var(--p)); }
.rng input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--accent); border: 4px solid var(--card); box-shadow: 0 0 0 1.5px var(--accent); }
.rng input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 4px solid var(--card); box-shadow: 0 0 0 1.5px var(--accent); }
.rng input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.calc-note { margin: auto 0 0; font-size: 14px; color: var(--mute); line-height: 1.5; }
.calc-out { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 28px; }
.calc-t { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.calc-t th, .calc-t td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: right; font-weight: 600; white-space: nowrap; }
.calc-t th:first-child { text-align: left; font-weight: 500; color: var(--ink2); white-space: normal; padding-right: 12px; }
.calc-t thead th { font-size: 11px; color: var(--mute); font-weight: 400; padding-top: 0; white-space: normal; vertical-align: bottom; line-height: 1.3; }
.calc-t td + td { padding-left: 16px; }
.calc-t td:last-child, .calc-t thead th:last-child { color: var(--ink); }
.calc-t tfoot th, .calc-t tfoot td { border-bottom: 0; border-top: 1.5px solid var(--ink); padding-top: 18px; vertical-align: top; }
.calc-t tfoot th { color: var(--ink); font-weight: 700; }
.calc-t tfoot small { display: block; font-size: 12px; color: var(--mute); font-weight: 500; }
.calc-t tfoot td { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; color: var(--mute); }
.calc-t tfoot td:last-child { color: var(--accent); }
.payback { background: var(--dark); color: #F3EFE9; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.payback b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; }
.payback p { margin: 0; font-size: 14px; color: rgba(243,239,233,.7); }
.payback.bad b { color: #F3EFE9; }
.payback:not(.bad) b::before { content: '↗ '; color: var(--accent); font-style: normal; }

/* почему свой магазин / услуги */
.why-grid, .svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(16px, 2vw, 28px); }
.svc-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.why { border-top: 1px solid var(--ink); padding: 20px 0 36px; display: flex; flex-direction: column; gap: 10px; }
.why-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.why-top .mono:not(.badge) { color: var(--mute); }
.why-top > .ico { width: 24px; height: 24px; color: var(--accent); }
.why h3, .svc h3, .stack-i h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.why p, .svc p, .stack-i p { margin: 0; font-size: 15px; color: var(--ink2); line-height: 1.5; }
.svc { position: relative; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s, box-shadow .3s; }
a.svc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.svc .more { font-size: 24px; margin-top: auto; }
.svc.soon { background: transparent; }
.svc.soon h3, .svc.soon p { opacity: .7; }
.int-ico { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px var(--line); flex: 0 0 auto; }
.int-ico .ico { width: 24px; height: 24px; }

/* восемь контуров (тёмная секция) */
.st-scope { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.st-scope .sec-head { position: sticky; top: 100px; }
.scope details:last-child { border-bottom: 1px solid rgba(243,239,233,.18); }
.scope details { border-top: 1px solid rgba(243,239,233,.18); }
.scope summary { display: flex; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 20px; }
.scope summary::-webkit-details-marker { display: none; }
.scope summary .mono { color: var(--accent); }
.scope summary .ico { width: 22px; height: 22px; opacity: .7; }
.scope summary b { flex: 1; font-weight: 700; }
.scope summary:hover b { color: var(--accent); }
.scope ul { margin: 0; padding: 0 0 26px 74px; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: rgba(243,239,233,.72); }
.scope li { position: relative; }
.scope li::before { content: ''; position: absolute; left: -20px; top: .7em; width: 8px; height: 1.5px; background: var(--accent); }
details > summary i { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
details > summary i::before, details > summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .3s; }
details > summary i::after { transform: rotate(90deg); }
details[open] > summary i::after { transform: rotate(0); }

/* этапы */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 clamp(16px, 2vw, 28px); counter-reset: st; }
.steps li { position: relative; padding-top: 34px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: ''; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--ink); }
.steps li:first-child::before { background: var(--accent); box-shadow: none; }
.steps .mono { color: var(--accent); font-size: 12px; }
.steps h3 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.steps p { margin: 0; font-size: 15px; color: var(--ink2); }

/* услуги и цены */
.st-pricing { background: var(--bg2); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.plans.n4 { grid-template-columns: repeat(4, 1fr); }
/* тарифы: на десктопе всё открыто, в адаптиве — аккордеон «Подробнее» */
.plan-body, .plan-body > div { display: contents; }
.plan-more { display: none; }
.plans.n4 .plan-price b { font-size: clamp(28px, 2.3vw, 36px); }
@media (max-width: 1360px) { .plans.n4 { grid-template-columns: repeat(2, 1fr); } .plans.n4 .plan-price b { font-size: clamp(32px, 3vw, 44px); } }
.plan { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.plan-top > .mono:not(.badge) { color: var(--mute); }
.plan-ico { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px var(--line); }
.plan-ico .ico { width: 22px; height: 22px; }
.plan h3 { margin: 0; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.plan-for { margin: 0; font-size: 15px; color: var(--ink2); min-height: 3em; }
.plan-price { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-price b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 3vw, 44px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.plan-price .mono { font-size: 11px; color: var(--mute); }
.ticks { list-style: none; margin: 6px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; flex: 1; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; color: var(--accent); }
.plan .btn { width: 100%; }
.plan.hl { background: var(--dark); color: #F3EFE9; box-shadow: none; transform: translateY(-12px); }
.plan.hl .plan-ico { background: var(--accent); color: #fff; box-shadow: none; }
.plan.hl .plan-for, .plan.hl .ticks { color: rgba(243,239,233,.8); }
.plan.hl .plan-price { border-color: rgba(243,239,233,.18); }
.plan.hl .plan-price .mono { color: rgba(243,239,233,.55); }
.plan-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 48px); margin-top: 48px; }
.plan-notes > div { border-top: 1px solid var(--ink); padding-top: 16px; }
.plan-notes .mono { color: var(--mute); font-size: 12px; }
.plan-notes p { margin: 8px 0 0; font-size: 16px; }

/* трафик */
.traffic { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.tr-list { list-style: none; margin: 0; padding: 0; }
.tr-list li { display: flex; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.tr-list li:first-child { border-top-color: var(--ink); }
.tr-n { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: .9; color: var(--accent); width: 34px; flex: 0 0 auto; }
.tr-list h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.tr-list p { margin: 0; font-size: 15px; color: var(--ink2); }
.honest { position: sticky; top: 100px; background: var(--accent); color: #fff; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.honest .mono { opacity: .8; }
.honest p { margin: 0; font-size: 15px; opacity: .9; }
.honest .honest-t { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; opacity: 1; }

/* подход */
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.stack-i { background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.stack-i .int-ico { margin-bottom: 8px; }
.refuse { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(20px, 3vw, 48px); margin-top: 48px; }
.refuse > div { border-top: 1px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.refuse .mono { color: var(--mute); font-size: 12px; }
.refuse p { margin: 0; font-size: 16px; }
.chip.no { cursor: default; color: var(--ink2); }
.chip.no:hover { box-shadow: inset 0 0 0 1.5px var(--line); }
.chip.no .ico { width: 13px; height: 13px; color: var(--accent); }

/* портфолио */
.pf { border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.pf-row { display: grid; grid-template-columns: 60px 1fr auto 40px; align-items: baseline; gap: 20px; padding: clamp(14px, 1.6vw, 22px) 0; border-top: 1px solid var(--line); transition: color .25s, padding .35s cubic-bezier(.2,.7,.2,1); }
.pf-row:first-child { border-top-color: var(--ink); }
.pf-row .mono { color: var(--mute); }
.pf-row b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 5.1vw, 78px); line-height: 1; letter-spacing: -.02em; }
.pf-arr { font-size: 28px; text-align: right; }
.pf-row:hover { color: var(--accent); padding-left: 14px; }
.pf-row:hover .mono { color: var(--accent); }

/* модули платформы */
.mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(16px, 2vw, 28px); margin: 56px 0 44px; }
.mod { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid rgba(243,239,233,.18); }
.mod b { font-size: 17px; }
.mod span { font-size: 14px; color: rgba(243,239,233,.6); }
.mod:hover b { color: var(--accent); }
.btn sup { font-size: 10px; opacity: .7; }

/* FAQ */
.st-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.st-faq .sec-head { position: sticky; top: 100px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top-color: var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq p { margin: 0; padding: 0 48px 26px 0; font-size: 16px; color: var(--ink2); line-height: 1.6; }

/* контакт + форма */
.st-contact { scroll-margin-top: 60px; }
.st-contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.st-contact-l { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.st-contact-l p { font-size: 20px; max-width: 560px; margin: 0; }
.st-contact .btn.accent { background: var(--ink); }
.st-contact .btn .ico { width: 16px; height: 16px; }
.st-reply { font-size: 11px; opacity: .8; }
.st-form { background: var(--dark); color: #F3EFE9; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.st-form > .mono { color: rgba(243,239,233,.6); font-size: 12px; }
.fld { display: flex; flex-direction: column; gap: 4px; }
.fld span { font-size: 12px; color: rgba(243,239,233,.55); }
.fld input { font: inherit; font-size: 17px; color: #fff; background: transparent; border: 0; border-bottom: 1.5px solid rgba(243,239,233,.22); padding: 8px 0; outline: 0; border-radius: 0; transition: border-color .2s; }
.fld input:focus { border-color: var(--accent); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(243,239,233,.7); cursor: pointer; }
.agree input { accent-color: var(--accent); width: 16px; height: 16px; margin: 2px 0 0; flex: 0 0 auto; }
.agree a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.st-form .btn.accent { background: var(--accent); width: 100%; }
.st-form { position: relative; }
.fld .req { color: var(--accent); font-style: normal; margin-left: 3px; }
.fld-err { color: var(--accent); font-size: 12px; }
.fld.bad input { border-color: var(--accent); }
.fld-method { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fld-method legend { float: left; width: 100%; font-size: 12px; color: rgba(243,239,233,.55); margin-bottom: 8px; padding: 0; }
.fld-method .chip { position: relative; cursor: pointer; color: #F3EFE9; box-shadow: inset 0 0 0 1.5px rgba(243,239,233,.22); }
.fld-method .chip input { position: absolute; opacity: 0; pointer-events: none; }
.fld-method .chip:has(input:checked) { background: #F3EFE9; color: var(--dark); box-shadow: none; }
.fld-method .chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-pick { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(243,239,233,.08); box-shadow: inset 0 0 0 1px rgba(243,239,233,.18); }
.st-pick[hidden] { display: none; }
.st-pick .mono { color: rgba(243,239,233,.55); font-size: 11px; flex: 0 0 auto; }
.st-pick b { flex: 1; font-weight: 700; font-size: 15px; line-height: 1.3; }
.st-pick-x { flex: 0 0 auto; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(243,239,233,.12); color: #F3EFE9; font-size: 18px; line-height: 1; cursor: pointer; }
.st-pick.flash { animation: pick-flash 1.2s ease; }
@keyframes pick-flash { 0%, 40% { background: rgba(255,107,74,.35); } 100% { background: rgba(243,239,233,.08); } }
.st-sticky { display: none; }
.st-err { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 14px; color: #F3EFE9; }
.st-err .ico { flex: 0 0 auto; width: 18px; height: 18px; color: var(--accent); }
.st-err a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.st-form .btn:disabled { background: rgba(243,239,233,.12); color: rgba(243,239,233,.4); cursor: not-allowed; transform: none; }
.st-sent { display: flex; gap: 12px; align-items: center; margin: 0; font-size: 18px; font-weight: 700; }
.st-sent .ico { width: 28px; height: 28px; color: var(--accent); }
[hidden] { display: none !important; }

/* реклама (тёмная секция): каналы → скидка → тарифы */
.ads-k { display: block; color: rgba(243,239,233,.5); font-size: 12px; margin-bottom: 14px; }
.ads-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.ch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ch { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; text-align: left; color: #F3EFE9; background: #1D1D1D; box-shadow: inset 0 0 0 1.5px rgba(243,239,233,.12); transition: box-shadow .2s, background .2s; }
.ch:hover { box-shadow: inset 0 0 0 1.5px rgba(243,239,233,.4); }
.ch[aria-pressed=true] { background: #262626; box-shadow: inset 0 0 0 1.5px var(--accent); }
.ch-ico { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; letter-spacing: -.02em; background: rgba(243,239,233,.08); margin-bottom: 6px; transition: background .2s; }
.ch[aria-pressed=true] .ch-ico { background: var(--accent); color: #fff; }
.ch b { font-size: 17px; }
.ch-t { font-size: 13px; line-height: 1.45; color: rgba(243,239,233,.6); }
.ch-ok { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px rgba(243,239,233,.25); }
.ch-ok .ico { width: 13px; height: 13px; opacity: 0; }
.ch[aria-pressed=true] .ch-ok { background: var(--accent); box-shadow: none; }
.ch[aria-pressed=true] .ch-ok .ico { opacity: 1; color: #fff; }
.disc ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.disc li { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 10px 8px; box-shadow: inset 0 0 0 1px rgba(243,239,233,.14); transition: background .2s, color .2s; }
.disc li b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: rgba(243,239,233,.5); }
.disc li b::after { content: ' кан.'; }
.disc li span { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.1; }
.disc li.on { background: var(--accent); box-shadow: none; color: #fff; }
.disc li.on b { color: rgba(255,255,255,.8); }
.st-ads .plan { background: #1D1D1D; color: #F3EFE9; box-shadow: inset 0 0 0 1px rgba(243,239,233,.12); }
.st-ads .plan-top h3 { margin: 0; }
.st-ads .plan .plan-for, .st-ads .plan .ticks { color: rgba(243,239,233,.75); }
.st-ads .plan .plan-price { border-color: rgba(243,239,233,.14); }
.st-ads .plan .plan-price .mono, .st-ads .plan-budget { color: rgba(243,239,233,.5); }
.st-ads .plan .btn.light { color: #F3EFE9; box-shadow: inset 0 0 0 1.5px rgba(243,239,233,.6); }
.st-ads .plan.hl { background: var(--bg); color: var(--ink); }
.st-ads .plan.hl .plan-for, .st-ads .plan.hl .ticks { color: var(--ink2); }
.st-ads .plan.hl .plan-price { border-color: var(--line); }
.st-ads .plan.hl .plan-price .mono, .st-ads .plan.hl .plan-budget { color: var(--mute); }
.plan-price s { font-size: 15px; color: rgba(243,239,233,.45); text-decoration-thickness: 1.5px; }
.plan.hl .plan-price s { color: var(--mute); }
.plan-price .save { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent); }
.plan-budget { font-size: 11px; }
.inc { margin-top: clamp(48px, 6vw, 88px); }
.inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(16px, 2vw, 28px); }
.inc-i { border-top: 1px solid rgba(243,239,233,.18); padding: 20px 0 30px; display: flex; flex-direction: column; gap: 8px; }
.inc-i > .ico { width: 22px; height: 22px; color: var(--accent); margin-bottom: 6px; }
.inc-i h3 { margin: 0; font-size: 18px; font-weight: 700; }
.inc-i p { margin: 0; font-size: 14px; color: rgba(243,239,233,.62); line-height: 1.5; }

/* кейсы: окно браузера, телефон, галереи */
.browser { margin: 0; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 100px -60px rgba(40,30,20,.45); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #EEEAE4; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5CEC4; }
.browser-bar span { margin: 0 auto; transform: translateX(-24px); font-family: var(--mono); font-size: 11px; color: var(--mute); background: rgba(255,255,255,.7); padding: 3px 16px; border-radius: 20px; }
.browser img { width: 100%; height: auto; display: block; }
.phone { margin: 0; border-radius: 34px; padding: 9px; background: #151515; box-shadow: 0 40px 80px -40px rgba(20,15,10,.6), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone img { width: 100%; height: auto; display: block; border-radius: 26px; }
.case-hero { padding: clamp(28px, 5vw, 72px) 0 clamp(40px, 6vw, 96px); }
.case-hero .crumbs { margin-bottom: 28px; }
.case-hero .display { font-size: clamp(54px, 10.2vw, 162px); }
.case-hero .display em { font-size: .8em; }
.case-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin: 18px 0 clamp(36px, 4vw, 56px); }
.case-row .lead { margin: 0; }
.case-facts { margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 18px 28px; justify-content: start; }
.case-facts div { border-top: 1px solid var(--ink); padding-top: 10px; }
.case-facts dt { font-size: 11px; color: var(--mute); margin-bottom: 4px; }
.case-facts dd { margin: 0; font-weight: 700; font-size: 15px; }
.case-facts a:hover { color: var(--accent); }
.case-stage { position: relative; padding-right: clamp(60px, 12vw, 200px); }
.case-stage .phone { position: absolute; right: 0; bottom: clamp(-60px, -4vw, -24px); width: clamp(150px, 20vw, 290px); }
.case-about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.case-text p { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink2); margin: 0 0 16px; max-width: 620px; }
.case-hl { list-style: none; margin: 0; padding: 0; }
.case-hl li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.case-hl li:first-child { border-top-color: var(--ink); }
.case-hl .mono { color: var(--accent); padding-top: 3px; }
.case-hl b { font-size: 18px; display: block; margin-bottom: 4px; }
.case-hl p { margin: 0; font-size: 15px; color: var(--ink2); }
.case-desk { background: var(--bg2); }
.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.case-shot:first-child { grid-column: 1 / -1; }
.case-shot { display: flex; flex-direction: column; gap: 12px; }
.case-shot > .mono, .phone-i > .mono { color: var(--mute); font-size: 12px; }
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 36px); }
.phone-i { display: flex; flex-direction: column; gap: 14px; }
.sec.dark .phone-i > .mono { color: rgba(243,239,233,.55); }
.sec.dark .phone { background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.case-long { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.case-long > div { position: sticky; top: 100px; }
.browser.long .long-in { max-height: min(78vh, 760px); overflow-y: auto; overscroll-behavior: contain; }
.case-feats .prevnext { margin-top: clamp(48px, 6vw, 88px); }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 56px) clamp(16px, 2.4vw, 32px); margin-top: clamp(36px, 4vw, 56px); }
.case-card { display: flex; flex-direction: column; gap: 16px; }
.case-card .browser { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.case-card:hover .browser { transform: translateY(-6px); }
.case-card-m { display: flex; flex-direction: column; gap: 6px; }
.case-card-m .mono { color: var(--mute); font-size: 12px; }
.case-card-m b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 3.4vw, 52px); line-height: 1; }
.case-card:hover b { color: var(--accent); }
.case-card-m p { margin: 0; color: var(--ink2); font-size: 15px; max-width: 560px; }

.foot-k { color: rgba(243,239,233,.45); font-size: 11px; margin-bottom: 6px; }

@media (max-width: 1100px) {
  .case-row, .case-about, .case-long { grid-template-columns: 1fr; }
  .case-long > div { position: static; }
  .phones { grid-template-columns: repeat(4, minmax(200px, 1fr)); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .phone-i { scroll-snap-align: start; }
  .ads-pick { grid-template-columns: 1fr; }
  .ch-grid, .inc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .stack { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .calc-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--ink); margin-left: 5px; }
  .steps li { border-top: 0; padding: 0 0 32px 30px; }
  .steps li::before { left: -6px; top: 4px; }
  .plans, .plans.n4 { grid-template-columns: 1fr; max-width: 620px; }
  .st-pricing .plan-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
  .st-pricing .plan-body > div { display: block; overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s .35s; }
  .st-pricing .plan.open .plan-body { grid-template-rows: 1fr; }
  .st-pricing .plan.open .plan-body > div { visibility: visible; transition-delay: 0s; }
  .st-pricing .plan-body .ticks { margin-top: 4px; }
  .st-pricing .plan-more { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 4px 0; border: 0; background: none; color: inherit; font-size: 12px; cursor: pointer; }
  .st-pricing .plan-more i { width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .3s; }
  .st-pricing .plan.open .plan-more i { transform: translateY(2px) rotate(-135deg); }
  .plan.hl { transform: none; }
  .plan-for { min-height: 0; }
  .traffic, .st-faq, .st-contact-in { grid-template-columns: 1fr; }
  .honest, .st-faq .sec-head { position: static; }
  .st-scope { grid-template-columns: 1fr; }
  .st-scope .sec-head { position: static; }
  .mods { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .why-grid, .stack, .svc-grid, .plan-notes, .refuse { grid-template-columns: 1fr; }
  .mods { grid-template-columns: 1fr; }
  .case-gallery, .cases-grid { grid-template-columns: 1fr; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .phones { grid-template-columns: repeat(4, 62%); }
  .browser-bar span { transform: none; }
  .case-stage { padding-right: 70px; }
  .case-stage .phone { width: 120px; border-radius: 22px; padding: 6px; }
  .case-stage .phone img { border-radius: 17px; }
  .ch-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ch { padding: 14px; }
  .ch-t { display: none; }
  .inc-grid { grid-template-columns: 1fr; }
  .disc ol { gap: 4px; }
  .disc li { flex: 1; min-width: 0; }
  .scope summary { font-size: 17px; gap: 12px; }
  .scope ul { padding-left: 40px; font-size: 15px; }
  .calc-t { font-size: 13px; }
  .calc-t td + td, .calc-t thead th + th { padding-left: 10px; }
  .calc-t tfoot td { font-size: 24px; }
  .rng-h b { font-size: 26px; }
  .pf-row { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .pf-row > .mono:first-child { display: none; }
  .inc, .case-feats .prevnext { margin-top: 36px; }
  /* логотипы клиентов: слайдер, 2 слайда по 2×2 */
  .clients { margin-bottom: 36px; }
  .clients-track { display: flex; gap: 0; background: none; border: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .clients-track::-webkit-scrollbar { display: none; }
  .clients-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); scroll-snap-align: start; }
  .clients li { height: 88px; padding: 0 12px; }
  .clients img { transform: scale(.72); }
  .clients-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .clients-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .25s, width .25s; cursor: pointer; }
  .clients-dots i.on { background: var(--ink); width: 18px; border-radius: 3px; }
  /* закреплённая кнопка «Связаться с нами» → плавный скролл к форме; прячется у формы и при cookie-баннере */
  .st-sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; width: auto; justify-content: center; background: var(--accent); color: #fff; box-shadow: 0 16px 40px -14px rgba(0,0,0,.45); transition: transform .3s, opacity .3s; }
  .st-sticky.off, body:has(.cookie) .st-sticky { transform: translateY(140%); opacity: 0; pointer-events: none; }
  body.studio:has(.st-sticky) .foot { padding-bottom: 84px; }
  .pf-dom { grid-column: 1; grid-row: 2; }
  .pf-arr { grid-row: 1 / 3; align-self: center; }
  .faq p { padding-right: 0; }
  .studio .btn:not(.sm) { white-space: normal; height: auto; min-height: 52px; padding-top: 12px; padding-bottom: 12px; text-align: center; }
  .foot .brand.lg { font-size: 26px; flex-wrap: wrap; }
}
