/* Внутренние страницы: хабы, разделы, услуги. В духе прототипа, на его переменных. */
.page-top { padding-top: clamp(96px, 14vh, 150px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 13px; color: var(--fg2); }
.crumbs li + li::before { content: "›"; margin-right: 10px; color: var(--fg3); }
.crumbs a { text-decoration: none; color: var(--fg2); transition: color .3s; }
.crumbs a:hover { color: var(--fg); }
.chip { display: inline-flex; align-items: center; text-decoration: none; }
.chip[aria-current="true"], .chip[aria-current="page"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.hub-search { margin: 0 0 14px; }
.hub-search input { width: 100%; max-width: 420px; height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--chip-b); background: var(--chip); color: var(--fg); font: inherit; }
.hub-search input::placeholder { color: var(--fg3); }
.grp-h { margin: clamp(40px, 6vw, 72px) 0 14px; font-size: 13px; font-weight: 500; color: var(--fg2); }
.grp-h a { text-decoration: none; }
.row-price { margin: 10px 0 0 !important; font-size: 15px; font-weight: 500; color: var(--fg) !important; }
.empty { padding: 48px 0; border-top: 1px solid var(--line); }
.empty p { margin: 0 0 18px; font-size: 20px; }

/* страница услуги */
.svc-hero { padding-left: var(--gut); padding-right: var(--gut); padding-bottom: 112px; }
.sib-chips { margin-bottom: 30px; }
.svc-hero .display { max-width: 12em; }
.svc-lead { margin: 26px 0 18px; max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.4; }
.svc-price { margin: 0 0 24px; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; }
.svc-hero .hero-pills { margin-bottom: 34px; }
.svc-facts li { min-width: 160px; }
.subnav { position: sticky; top: 0; z-index: 40; display: flex; gap: 6px; overflow-x: auto; padding: 76px var(--gut) 12px; margin-top: -64px;
  background: var(--bg); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.subnav a { flex: none; font-size: 13px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--fg2); background: var(--bg); }
.subnav a:hover { color: var(--fg); border-color: var(--chip-b); }
.svc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: clamp(24px, 3vw, 56px); padding: 40px var(--gut) 8vh; align-items: start; }
.toc { position: sticky; top: 140px; font-size: 14px; }
.toc-h { margin: 0 0 12px; font-size: 12px; color: var(--fg3); }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 14px; text-decoration: none; color: var(--fg2); }
.toc a:hover { color: var(--fg); }
.svc-side { position: sticky; top: 140px; }
.side-card { padding: 24px; border-radius: 24px; background: var(--chip); }
.side-h { margin: 0 0 10px; font-size: 22px; letter-spacing: -.02em; }
.side-card p { margin: 0 0 16px; color: var(--fg2); }
.side-card .svc-price { color: var(--fg); font-size: 20px; }
.side-card .pill { width: 100%; justify-content: center; }
.svc-body { min-width: 0; }
.svc-body-wide { max-width: 860px; margin-top: 60px; }
.blk-sec { margin: 0 0 clamp(48px, 6vw, 80px); scroll-margin-top: 140px; }
.blk-sec > h2 { margin: 0 0 22px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 400; line-height: 1.05; letter-spacing: -.028em; }
.rich { font-size: 17px; line-height: 1.55; }
.rich p { margin: 0 0 1em; }
.rich h3 { margin: 1.6em 0 .6em; font-size: 22px; font-weight: 500; letter-spacing: -.015em; }
.rich ul, .rich ol { margin: 0 0 1em; padding-left: 1.2em; list-style: revert; }
.rich a { text-underline-offset: 3px; }
.rich img { max-width: 100%; height: auto; border-radius: 16px; }
.checks { display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 17px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  -webkit-mask: radial-gradient(circle, #000 64%, transparent 65%); mask: radial-gradient(circle, #000 64%, transparent 65%); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.15em + 5px); width: 8px; height: 5px; border: solid #fff; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.steps { border-bottom: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
.step-n { font-size: 36px; line-height: 1; letter-spacing: -.04em; color: var(--fg3); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0 0 6px; font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--fg2); }
.step-m { font-size: 13px; color: var(--fg2); white-space: nowrap; }
.price-list { border-bottom: 1px solid var(--line); }
.price-list a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 18px; }
.price-list b { font-weight: 500; white-space: nowrap; }
.price-list li[aria-current] a { color: var(--accent); }
html[data-theme="light"] .price-list li[aria-current] a { color: var(--accent); }
.callout { margin: 0 0 48px; padding: 22px 24px; border-radius: 20px; background: var(--chip); border-left: 0; }
.callout-important { background: color-mix(in srgb, var(--promo) 22%, transparent); }
.callout-h { margin: 0 0 8px; font-size: 13px; font-weight: 600; text-transform: none; }
.callout .rich { font-size: 16px; }
.callout .rich p:last-child { margin-bottom: 0; }
.cta-blk { margin: 0 0 64px; padding: clamp(26px, 3vw, 44px); border-radius: clamp(22px, 2.6vw, 36px); background: var(--promo); color: var(--ink); }
.cta-blk h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 44px); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.cta-blk p { margin: 0 0 22px; max-width: 34em; }
.work-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quotes-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.promo-card { height: auto; margin-bottom: 16px; }
.promo-card .promo { grid-template-columns: 1fr; }
.faq-sec .qa summary { font-size: clamp(19px, 1.7vw, 24px); }
.m-cta { display: none; }

/* подвал: карта услуг */
.foot-map { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; padding: 8vh var(--gut) 2vh; border-top: 1px solid var(--line); }
.foot-map-h { margin: 0 0 10px; font-size: 13px; color: var(--fg2); }
.foot-map a { text-decoration: none; }
.foot-map li { padding: 4px 0; font-size: 15px; }
.foot-map li a { color: var(--fg); opacity: .86; transition: opacity .3s; }
.foot-map li a:hover { opacity: 1; }

@media (max-width: 1100px) {
  .svc-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .toc { display: none; }
}
@media (max-width: 759px) {
  .svc-layout { grid-template-columns: 1fr; padding-top: 24px; }
  .svc-side { display: none; }
  .subnav { padding-top: 66px; margin-top: -56px; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); }
  .step-m { grid-column: 2; }
  .work-grid-2, .quotes-2 { grid-template-columns: 1fr; }
  .m-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; }
  .m-cta .pill { width: 100%; justify-content: center; height: 52px; }
  body:has(.m-cta) .foot { padding-bottom: 90px; }
}

/* работы: картинки вписываются в рамки прототипа, граница чёткая */
.shot img, .story img, .post img, .screens img, .frames img, .hero-shot img, .player img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot:has(img), .story:has(img), .post:has(img), .screens li:has(img), .frames li:has(img), .hero-shot:has(img), .player:has(img) { background-image: none; }
.long img { width: 100%; height: auto; display: block; }
.case-page { padding-left: var(--gut); padding-right: var(--gut); padding-bottom: 8vh; }
.case-page .sheet-kind { margin: 0 0 18px; color: var(--fg2); }
.case-sec > h2 { margin: 0 0 22px; font-size: clamp(26px, 2.95vw, 43px); font-weight: 400; line-height: 1.05; letter-spacing: -.028em; }
.player-embed iframe { width: 100%; height: 100%; border: 0; }
.player-embed { background: #000; }
.works .work-grid .empty { grid-column: 1 / -1; }
#case .case > .sheet-kind { display: none; }

/* блог и статья */
.blog .p-cover img, .p-lead .p-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.p-lead .p-cover { overflow: hidden; }
.p-lead-h { margin: 10px 0 0; max-width: 17em; font-size: clamp(28px, 3.3vw, 50px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.p-lead-h a, .p-list h3 a { text-decoration: none; }
.p-list .p-cover { display: block; overflow: hidden; }
.article .progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 70; pointer-events: none; }
.article .progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.art-head { padding: 0 var(--gut); max-width: 1100px; }
.art-h1 { margin: 18px 0 22px; font-size: clamp(38px, 5.4vw, 84px); font-weight: 400; line-height: .98; letter-spacing: -.042em; }
.art-intro { margin: 0 0 18px; max-width: 36em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; }
.art-author { margin: 0 0 30px; font-size: 14px; color: var(--fg2); }
.art-cover img { width: 100%; height: auto; border-radius: clamp(14px, 1.5vw, 24px); display: block; }
.art-img { margin: 0 0 48px; }
.art-img img { width: 100%; height: auto; border-radius: 16px; display: block; }
.art-img figcaption { margin-top: 10px; font-size: 13px; color: var(--fg2); }
.vote { margin: 24px 0 0; padding: 24px; border-radius: 24px; background: var(--chip); }
.vote-h { margin: 0 0 14px; font-size: 20px; }
.vote-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.vote [aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.vote-thanks { margin: 14px 0 0; color: var(--fg2); }
.side-links { margin: 0 0 16px; }
.side-links a { display: block; padding: 6px 0; text-decoration: none; }

/* стекло: окно заявки и карточки форм */
.glass-card, .lead-dlg {
  background: linear-gradient(155deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025) 60%), rgba(18, 18, 22, .58);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 80px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%);
}
html[data-theme="light"] .glass-card, html[data-theme="light"] .lead-dlg {
  background: linear-gradient(155deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .45) 60%), rgba(236, 234, 229, .55);
  border-color: rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, 0 30px 80px rgba(10, 10, 12, .12);
}
.glass-card { border-radius: clamp(22px, 2.4vw, 32px); padding: clamp(20px, 2.4vw, 34px); }
.lead-dlg::backdrop { background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* форма заявки */
.lead-dlg { width: min(640px, 94vw); max-height: calc(100dvh - 24px); overflow-y: auto; scrollbar-width: none; padding: clamp(18px, 2vw, 28px); }
.lead-dlg::-webkit-scrollbar { display: none; }
.lead-dlg .modal-top { align-items: flex-start; margin-bottom: 14px; }
.lead-intro { margin: 6px 0 0; font-size: 14px; color: var(--fg2); }
.lead-dlg .lead-form { gap: 12px; }
.lead-dlg .f { gap: 6px; }
.lead-dlg .f input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .lead-dlg .f select { padding-top: 12px; padding-bottom: 12px; }
.lead-dlg .f textarea { min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
.lead-dlg .f-methods span { height: 38px; }
.lead-dlg .lead-send { height: 50px; }
.lead-form { display: grid; gap: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.f > span, .f legend { font-size: 13px; color: var(--fg2); padding: 0; transition: color .2s ease; }
.f > span i { font-style: normal; color: var(--fg3); }
.f input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .f select, .f textarea {
  width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--chip-b); background: rgba(255, 255, 255, .045); color: var(--fg); font: inherit;
  outline: none; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
html[data-theme="light"] .f input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), html[data-theme="light"] .f select, html[data-theme="light"] .f textarea { background: rgba(255, 255, 255, .6); }
.f input::placeholder, .f textarea::placeholder { color: var(--fg3); }
@media (hover: hover) { .f input:hover:not(:focus), .f select:hover:not(:focus), .f textarea:hover:not(:focus) { border-color: var(--fg3); } }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--accent); background: rgba(20, 71, 255, .08); box-shadow: 0 0 0 4px rgba(20, 71, 255, .22); }
.f:focus-within > span, .f:focus-within > legend { color: var(--fg); }
.f.has-err input:not([type="radio"]), .f.has-err textarea { border-color: #ff6b5b; box-shadow: 0 0 0 4px rgba(255, 107, 91, .16); }
.f textarea { resize: vertical; min-height: 96px; }
.f select option, .f select optgroup { color: #000; }
.f-methods { display: flex; flex-wrap: wrap; gap: 6px; }
.f-methods legend { margin-bottom: 7px; width: 100%; }
.f-methods label, .day, .slot { position: relative; }
.f-methods input, .day input, .slot input { position: absolute; opacity: 0; pointer-events: none; }
.f-methods span, .slot span { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--chip-b); font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
@media (hover: hover) { .f-methods span:hover, .slot input:not(:disabled) + span:hover, .day span:hover { border-color: var(--fg); } }
.f-methods input:checked + span, .slot input:checked + span, .day input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.f-methods input:focus-visible + span, .slot input:focus-visible + span, .day input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.f-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--fg2); }
.f-check input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--accent); }
.f-check a { color: var(--fg); }
.f em, .f-err { font-style: normal; font-size: 13px; color: #ff6b5b; min-height: 0; }
.f em:empty, .f-err:empty { display: none; }
.f-hint { color: var(--fg3); font-size: 12px; }
.lead-send { justify-content: center; height: 54px; font-size: 15px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-done { padding: 12px 0 4px; }
.lead-done-h { margin: 0 0 8px; font-size: 32px; letter-spacing: -.03em; }
.lead-done p { margin: 0 0 20px; }

/* файл: зона для перетаскивания, на телефоне — кнопка */
.drop-zone { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 18px; border: 1px dashed var(--chip-b); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.drop-zone svg { width: 22px; height: 22px; flex: none; color: var(--fg2); }
.drop-t { font-size: 14px; }
.drop-t small { margin-left: 6px; font-size: 12px; color: var(--fg3); white-space: nowrap; }
.drop-t u { text-underline-offset: 3px; }
.drop-mob { display: none; }
.drop-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-zone:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(20, 71, 255, .22); }
@media (hover: hover) { .drop-zone:hover { border-color: var(--fg3); background: rgba(255, 255, 255, .03); } }
.drop-zone.over { border-color: var(--accent); border-style: solid; background: rgba(20, 71, 255, .12); }
.drop.has-file .drop-zone { display: none; }
.drop-file { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 16px; border-radius: 16px; background: var(--chip); font-size: 14px; }
.drop-file span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-x { flex: none; font-size: 13px; color: var(--fg2); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: none), (pointer: coarse) {
  .drop-zone { justify-content: center; padding: 0 18px; height: 48px; border-style: solid; border-radius: 999px; }
  .drop-desk, .drop-t small { display: none; }
  .drop-mob { display: inline; font-weight: 500; }
}

/* частые вопросы: слева заголовок и карточка, справа вопросы плашками */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 96px; display: grid; gap: clamp(28px, 3vw, 44px); }
.faq-h { font-size: clamp(52px, 6.6vw, 112px); }
.ask { max-width: 400px; padding: clamp(22px, 2.2vw, 32px); border-radius: clamp(22px, 2.4vw, 30px); background: var(--accent); color: #fff; }
.ask-who { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.ask-who img { width: 48px; height: 48px; border-radius: 50%; filter: grayscale(1); }
.ask-who span { display: grid; gap: 1px; }
.ask-who b { font-size: 15px; font-weight: 600; }
.ask-who small { font-size: 12px; opacity: .7; }
.ask .pill-ink:hover { background: #fff; color: var(--ink); border-color: #fff; }
.ask h3 { margin: 0 0 10px; font-size: clamp(26px, 2.3vw, 34px); font-weight: 400; letter-spacing: -.03em; }
.ask > p:not(.ask-who) { margin: 0 0 22px; font-size: 15px; line-height: 1.45; }
.ask-btn { width: 100%; justify-content: center; height: 52px; }
.qa.qa-cards { border: 0; display: grid; gap: 10px; }
.qa.qa-cards details { border: 0; border-radius: 22px; background: var(--chip); padding: 0 clamp(20px, 2vw, 30px); transition: background-color .3s ease; }
.qa.qa-cards details.is-open { background: rgba(255, 255, 255, .11); }
html[data-theme="light"] .qa.qa-cards details.is-open { background: rgba(10, 10, 12, .1); }
.qa.qa-cards summary { padding: 24px 0; font-size: clamp(18px, 1.6vw, 22px); }
.qa.qa-cards .a p, .qa.qa-cards .a .rich { padding-right: 56px; }
.qa.qa-cards details.is-open .pm { background: var(--accent); border-color: var(--accent); color: #fff; }

/* обсудим проект: фото, вкладки, запись на созвон */
.touch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding: 12vh var(--gut) 10vh; align-items: stretch; }
.touch-l { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.touch-h { font-size: clamp(56px, 8.4vw, 132px); }
.touch-me { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; max-width: 560px; }
.touch-me img { width: clamp(96px, 9vw, 140px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.touch-who { display: grid; gap: 2px; margin: 0 0 10px; }
.touch-who b { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.touch-who span { font-size: 14px; color: var(--fg2); }
.touch-me p:not(.touch-who) { margin: 0 0 16px; font-size: 17px; line-height: 1.4; color: var(--fg2); }
.touch-links { display: flex; flex-wrap: wrap; gap: 8px; }
.touch-links .pill { height: 40px; font-size: 13px; }
.touch-card { align-self: start; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 22px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
html[data-theme="light"] .tabs { background: rgba(10, 10, 12, .06); }
.tabs [role="tab"] { height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--fg2); transition: background-color .25s ease, color .25s ease; }
.tabs [role="tab"][aria-selected="true"] { background: var(--fg); color: var(--bg); }
.tabs [role="tab"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.t-short { display: none; }
.f-legend-row { display: flex !important; justify-content: space-between; align-items: center; width: 100%; }
.days-nav { display: flex; gap: 6px; }
.nav-arr { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--chip-b); font-size: 18px; line-height: 1; color: var(--fg); }
.days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; margin: -2px; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; scroll-snap-align: start; }
.day span { display: grid; justify-items: center; gap: 2px; width: 70px; padding: 12px 0; border-radius: 18px; border: 1px solid var(--chip-b); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.day small { font-size: 12px; color: inherit; opacity: .7; text-transform: lowercase; }
.day b { font-size: 24px; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot span { min-width: 78px; }
.slot input:disabled + span { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.fmt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.fmt-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 500; }
.fmt-chip svg { width: 18px; height: 18px; }

@media (max-width: 1100px) {
  .faq-grid, .touch { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .qa.qa-cards .a p, .qa.qa-cards .a .rich { padding-right: 0; }
  .touch-l { gap: 28px; }
}
@media (max-width: 759px) {
  .f-row { grid-template-columns: 1fr; }
  .lead-dlg { max-height: 94vh; overflow: auto; }
  .tabs { display: flex; width: 100%; }
  .tabs [role="tab"] { flex: 1; padding: 0 10px; }
  .t-long { display: none; } .t-short { display: inline; }
  .f-methods { display: grid; grid-template-columns: 1fr 1fr; }
  .f-methods legend { grid-column: 1 / -1; }
  .f-methods span { width: 100%; }
  .touch-me { grid-template-columns: 1fr; }
  .days-nav { display: none; }
  .slot { flex: 1 1 28%; } .slot span { width: 100%; min-width: 0; }
}

/* акция: веер макетов сайтов вместо чека */
.fan { position: relative; height: 480px; perspective: 1400px; }
.win { position: absolute; top: 50%; left: 50%; width: min(290px, 60%); aspect-ratio: 3 / 3.9; border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 50px -18px rgba(60, 40, 0, .45), 0 0 0 1px rgba(10, 10, 12, .06);
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); transition: transform .9s var(--ease); }
.win.w1 { --x: -46%; --y: 6%; --r: -9deg; z-index: 1; }
.win.w2 { --x: 0%; --y: -4%; --r: 0deg; z-index: 3; }
.win.w3 { --x: 46%; --y: 8%; --r: 8deg; z-index: 2; }
.fan:hover .w1 { --x: -62%; --r: -13deg; } .fan:hover .w3 { --x: 62%; --r: 12deg; } .fan:hover .w2 { --y: -8%; }
@media (min-width: 1101px) {          /* компьютер: веер дальше от текста */
  .deal .promo { gap: clamp(56px, 7vw, 140px); grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .deal .fan { margin-right: clamp(0px, 2vw, 40px); }
  .deal .win { left: 56%; width: min(270px, 52%); }
  .deal .fan:hover .w1 { --x: -58%; }
}
.chrome { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #F2F1EC; }
.chrome i { width: 8px; height: 8px; border-radius: 50%; background: #d8d6cf; }
.win-view { position: absolute; inset: 28px 0 0; }
.win-view img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan-ph { position: absolute; inset: 0; display: grid; place-items: end start; padding: 16px; color: #fff; font-size: 12px; font-weight: 600; }
.fan-ph.p1 { background: linear-gradient(160deg, #2a1d15, #7a5233 70%, #c08a57); }
.fan-ph.p2 { background: linear-gradient(170deg, #b9c4c9, #4f6470 75%, #23323b); }
.fan-ph.p3 { background: linear-gradient(165deg, #9db18a, #4b6640 70%, #22331d); }
.deal-pic img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.deals-single { height: auto; }
.deals-single .deal { flex: 1 1 auto; }
.deals-single .deal-body, .promo-card .deal-body { position: static; width: auto; opacity: 1; visibility: visible; }
.promo-more { max-width: 760px; margin-top: 48px; }
.works-all { margin-top: 40px; }
.channels-live li { height: auto; padding: 0; border: 0; }
@media (max-width: 860px) { .fan { height: 380px; } .win { width: min(210px, 54%); } }
[hidden] { display: none !important; }

/* полоса логотипов «С нами работали»: одноцветные, медленно едут */
.clients { padding: 6vh 0 2vh; overflow: hidden; }
.clients-h { margin: 0 var(--gut) 22px; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--fg3); text-transform: uppercase; }
.clients-track { display: flex; width: max-content; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-row { display: flex; align-items: center; gap: clamp(40px, 5vw, 88px); padding-right: clamp(40px, 5vw, 88px); animation: clients 46s linear infinite; }
.clients-row li { flex: none; }
.clients-row img { display: block; height: clamp(26px, 2.6vw, 40px); width: auto; max-width: 180px; object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1); opacity: .5; transition: opacity .3s ease; }
html[data-theme="light"] .clients-row img { filter: grayscale(1) brightness(0); opacity: .45; }
@media (hover: hover) { .clients-track:hover .clients-row { animation-play-state: paused; } .clients-row img:hover { opacity: .95; } }
@keyframes clients { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .clients-row { animation: none; flex-wrap: wrap; padding: 0 var(--gut); }
  .clients-row[aria-hidden] { display: none; }
  .clients-track { width: auto; -webkit-mask-image: none; mask-image: none; }
}

/* согласие на cookie */
.cookie { position: fixed; z-index: 60; left: var(--gut); bottom: var(--gut); max-width: 520px; padding: 18px 20px; border-radius: 22px; display: grid; gap: 14px; }
.cookie p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--fg2); }
.cookie a { color: var(--fg); }
.cookie-b { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-b .pill { height: 40px; font-size: 13px; }
@media (max-width: 759px) { .cookie { right: var(--gut); max-width: none; } .cookie-b .pill { flex: 1; justify-content: center; } }

/* простые страницы: о студии, контакты, политика */
.std-body { max-width: 46rem; margin-left: auto; margin-right: max(0px, calc((100% - 46rem) * .35)); }
.std-body > p:first-child { margin-top: 0; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.32; letter-spacing: -.015em; color: var(--fg); }
.std-body h2 { margin: 52px 0 14px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; }
.std-body p, .std-body li { font-size: 17px; line-height: 1.6; color: var(--fg2); }
.std-body b, .std-body a { color: var(--fg); }
.std-body ul { padding-left: 1.1em; }
.std-body li + li { margin-top: 6px; }
.std-page .display { font-size: clamp(34px, 7vw, 110px); overflow-wrap: anywhere; hyphens: auto; }

/* кейс: экраны идут крупно, друг за другом, листаются вместе со страницей */
.browser-full { aspect-ratio: auto; height: auto; }
.browser-full img { display: block; width: 100%; height: auto; }
.case-img { margin: 0; }
.case-img img { display: block; width: 100%; height: auto; border-radius: clamp(14px, 1.6vw, 24px); border: 1px solid var(--chip-b); }
.case-img figcaption { margin-top: 12px; font-size: 13px; color: var(--fg3); }
.case-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); align-items: start; }
.case-phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); padding: clamp(24px, 5vw, 80px); margin: 0; list-style: none;
  border-radius: clamp(14px, 1.6vw, 24px); border: 1px solid var(--chip-b); background: var(--chip); }
.case-phones img { display: block; width: 100%; height: auto; border-radius: clamp(14px, 2vw, 30px); border: 1px solid var(--chip-b); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
@media (max-width: 759px) {
  .case-duo { grid-template-columns: 1fr; }
  .case-phones { grid-template-columns: repeat(4, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px; scrollbar-width: none; }
  .case-phones li { scroll-snap-align: center; }
}
.case-sec .rich p { max-width: 44em; }
.case-screens:not(:has(.phone)) { grid-template-columns: minmax(0, 1fr); }
.case-sec.case-img, .case-sec.case-duo, .case-sec.case-phones { margin: 0 0 clamp(12px, 1.6vw, 24px); }
