/* Страницы услуг и форматов рекламы. Акцент страницы задаётся через --acc и --acc-soft. */
.svc-page { --acc: #1d1d1d; --acc-soft: #f1f1f1; }
.svc-page .pf-num { color: var(--acc); font-weight: 600; }

/* ---------- первый экран ---------- */
.svc-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; margin: 8px 0 52px; }
.svc-hero .inner-pagetitle { margin-bottom: 20px; }
.svc-hero .pf-lead { margin: 0 0 26px; font-size: 20px; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.svc-chips li { padding: 8px 16px; border-radius: 999px; background: var(--acc-soft); color: #1d1d1d; font-size: 14px; font-weight: 600; line-height: 1.2; }
.svc-hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; }
.svc-link { font-weight: 600; color: inherit; text-decoration: none; border-bottom: 2px solid var(--acc); padding-bottom: 2px; }
.svc-link:hover { border-bottom-width: 3px; }
.svc-link:focus-visible { outline: 3px solid var(--dark, #1d1d1d); outline-offset: 4px; }

/* ---------- ключевые параметры ---------- */
.svc-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--acc); }
.svc-facts li { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 0 0; }
.svc-facts li:not(:first-child) { padding-left: 22px; border-left: 1px solid rgba(29, 29, 29, .12); }
.svc-facts b { font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
.svc-facts span { font-size: 14px; line-height: 1.45; color: var(--dark-lighter, #3d3d3d); }
.svc-note { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--light, #6b6b6b); max-width: 80ch; }

/* ---------- карточки форматов ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; border-radius: var(--border-radius, 12px); background: #fff; box-shadow: 0 0 0 1px rgba(29, 29, 29, .09); overflow: hidden; }
.svc-card::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--acc); }
.svc-card h3 { margin: 6px 0 0; font-size: 19px; line-height: 1.3; font-weight: 600; }
.svc-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dark-lighter, #3d3d3d); }

/* ---------- ориентиры ---------- */
.svc-bench { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-bench div { padding: 24px 26px; border-radius: var(--border-radius, 12px); background: var(--acc-soft); }
.svc-bench b { display: block; margin-bottom: 8px; font-size: 22px; font-weight: 700; }
.svc-bench span { font-size: 15px; line-height: 1.5; }

/* ---------- вопросы и ответы ---------- */
.svc-faq { border-top: 1px solid rgba(29, 29, 29, .14); max-width: 860px; }
.svc-faq details { border-bottom: 1px solid rgba(29, 29, 29, .14); }
.svc-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 19px; line-height: 1.35; font-weight: 600; cursor: pointer; list-style: none; }
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after { content: '+'; flex: none; font-size: 26px; font-weight: 400; line-height: 1; color: var(--acc); transition: transform .2s ease; }
.svc-faq details[open] summary::after { transform: rotate(45deg); }
.svc-faq summary:focus-visible { outline: 3px solid var(--dark, #1d1d1d); outline-offset: 2px; }
.svc-faq p { margin: 0 0 22px; max-width: 70ch; font-size: 16px; line-height: 1.6; color: var(--dark-lighter, #3d3d3d); }

/* ---------- ссылки на другие форматы ---------- */
.svc-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-links a { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 24px; border-radius: var(--border-radius, 12px); background: #fff; color: inherit; text-decoration: none; box-shadow: 0 0 0 1px rgba(29, 29, 29, .1); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.svc-links a::before { content: ''; position: absolute; left: 0; top: 0; width: 5px; height: 100%; background: var(--c, #1d1d1d); }
.svc-links a:hover { box-shadow: 0 0 0 1px rgba(29, 29, 29, .16), 0 12px 28px rgba(29, 29, 29, .1); transform: translateY(-2px); }
.svc-links a:focus-visible { outline: 3px solid var(--dark, #1d1d1d); outline-offset: 3px; }
.svc-links strong { font-size: 19px; line-height: 1.3; }
.svc-links strong::after { content: ' \2192'; }
.svc-links span { font-size: 15px; line-height: 1.5; color: var(--dark-lighter, #3d3d3d); }

/* ---------- маркированный список (старые страницы) ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; max-width: 860px; border-top: 1px solid rgba(29, 29, 29, .14); }
.svc-list li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid rgba(29, 29, 29, .14); font-size: 18px; line-height: 1.45; }
.svc-list li::before { content: ''; position: absolute; left: 4px; top: 25px; width: 8px; height: 8px; border-radius: 50%; background: var(--dark, #1d1d1d); }

/* ---------- иллюстрации (декоративные макеты рекламы) ---------- */
.svc-mock { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 340px; padding: 32px; border-radius: 22px; background: var(--acc-soft); overflow: hidden; color: #1d1d1d; font-size: 14px; }
.svc-mock::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--acc); opacity: .12; pointer-events: none; }
.svc-mock b { font-weight: 600; line-height: 1.3; }
.m-card, .m-post, .m-player, .m-article, .m-bar { position: relative; z-index: 1; background: #fff; border-radius: 14px; box-shadow: 0 6px 20px rgba(29, 29, 29, .08); }
.m-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; }
.m-ad { box-shadow: 0 0 0 2px var(--acc), 0 10px 26px rgba(29, 29, 29, .12); }
.m-dim { opacity: .6; }
.m-tag { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: var(--acc); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.5; }
.m-line { display: block; height: 8px; border-radius: 4px; background: #e3e5e8; }
.m-h { height: 12px; background: #c9cdd2; }
.w40 { width: 40%; } .w55 { width: 55%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; } .w100 { width: 100%; }
.m-btn { align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.2; }
.m-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.m-chips i, .m-seg i, .m-metrics i, .m-reacts i { padding: 4px 10px; border-radius: 999px; background: #fff; font-style: normal; font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(29, 29, 29, .12); }
.m-ad .m-chips i { background: var(--acc-soft); box-shadow: none; }
.m-img { display: block; height: 70px; border-radius: 10px; background: linear-gradient(135deg, var(--acc), var(--acc-soft)); }
.m-img-lg { height: 120px; }
.m-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 999px; }
.m-ic { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--acc); flex: none; }
/* РСЯ */
.m-page { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(29, 29, 29, .08); }
.m-col { display: flex; flex-direction: column; gap: 10px; }
.m-side { display: flex; flex-direction: column; gap: 12px; }
.m-banner { padding: 12px; }
/* ретаргетинг */
.m-flow { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.m-node { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(29, 29, 29, .08); }
.m-node:not(:last-child)::after { content: ''; position: absolute; left: 28px; top: 100%; width: 2px; height: 14px; background: var(--acc); opacity: .5; }
.m-node b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e3e5e8; font-size: 13px; flex: none; }
.m-node.m-on { box-shadow: 0 0 0 2px var(--acc), 0 10px 26px rgba(29, 29, 29, .12); }
.m-node.m-on b { background: var(--acc); color: #fff; }
.m-node span { font-size: 14px; line-height: 1.35; font-weight: 600; }
.m-seg, .m-metrics, .m-reacts { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
/* видео */
.m-player { height: 190px; background: #1d1d1d; background-image: linear-gradient(135deg, rgba(255, 255, 255, .06), transparent); }
.m-play { position: absolute; left: 50%; top: 46%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--acc); }
.m-play::after { content: ''; position: absolute; left: 24px; top: 18px; border: 13px solid transparent; border-left: 20px solid #fff; border-right: 0; }
.m-time { position: absolute; left: 14px; top: 12px; padding: 3px 9px; border-radius: 6px; background: rgba(255, 255, 255, .16); color: #fff; font-size: 12px; font-weight: 600; }
.m-prog { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.m-prog i { display: block; width: 38%; height: 100%; border-radius: 3px; background: var(--acc); }
/* Telegram и MAX */
.m-chat { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.m-post { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.m-post.m-ad { box-shadow: 0 0 0 2px var(--acc), 0 10px 26px rgba(29, 29, 29, .12); }
.m-compact { opacity: .6; gap: 8px; }
.m-who { display: flex; align-items: center; gap: 10px; }
.m-who .m-tag { margin-left: auto; }
.m-ava { width: 28px; height: 28px; border-radius: 50%; background: var(--acc); flex: none; }
.m-row { display: flex; align-items: center; gap: 12px; }
.m-row > div { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.m-logo { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--acc), var(--acc-soft)); flex: none; }
/* статья */
.m-article { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.m-title { font-size: 17px; }

/* ---------- макеты карт ---------- */
.m-map { position: relative; z-index: 1; height: 150px; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(29, 29, 29, .08);
    background: linear-gradient(115deg, transparent 47%, rgba(255, 255, 255, .95) 47% 50%, transparent 50%), linear-gradient(25deg, transparent 58%, rgba(255, 255, 255, .95) 58% 61%, transparent 61%), linear-gradient(0deg, transparent 38%, rgba(255, 255, 255, .8) 38% 40%, transparent 40%), #dfe7e2; }
.m-map-tall { height: 210px; }
.m-map-flat { height: 190px; border-radius: 0; box-shadow: none; }
.m-pin { position: absolute; width: 22px; height: 22px; margin: -22px 0 0 -11px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #b8bfc6; box-shadow: 0 3px 8px rgba(29, 29, 29, .2); }
.m-pin::after { content: ''; position: absolute; left: 7px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.m-pin-big { left: 48%; top: 52%; width: 34px; height: 34px; margin: -34px 0 0 -17px; background: var(--acc); }
.m-pin-big::after { left: 11px; top: 11px; width: 12px; height: 12px; }
.m-pin-s { left: 40%; top: 40%; }
.m-poi { position: absolute; right: 16px; top: 14px; width: 38px; height: 38px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 2px var(--acc), 0 6px 14px rgba(29, 29, 29, .15); }
.m-poi::after { content: ''; position: absolute; inset: 9px; border-radius: 6px; background: var(--acc); }
.m-icons { position: relative; z-index: 1; display: flex; gap: 12px; }
.m-logo-on { box-shadow: 0 0 0 3px var(--acc); background: var(--acc); }
.m-icons .m-logo { width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px rgba(29, 29, 29, .1); }
.m-icons .m-logo-on { background: var(--acc); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--acc); }
.m-phone { position: relative; z-index: 1; width: min(250px, 100%); margin: 0 auto; border-radius: 26px; background: #fff; box-shadow: 0 0 0 6px #1d1d1d, 0 14px 30px rgba(29, 29, 29, .22); overflow: hidden; }
.m-sheet { margin: -50px 12px 12px; position: relative; }
.m-route { position: absolute; left: 14%; top: 82%; width: 78%; height: 6px; border-radius: 3px; background: var(--acc); transform: rotate(-24deg); transform-origin: left center; opacity: .85; }
.m-board { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 0; }
.m-board b { padding: 6px 12px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 2px var(--acc), 0 6px 14px rgba(29, 29, 29, .15); font-size: 12px; }
.m-board i { width: 3px; height: 22px; background: #1d1d1d; opacity: .6; }
.m-org .m-img { height: 56px; }
.m-org { gap: 12px; }

@media (max-width: 560px) { .m-map { height: 130px; } .m-map-tall { height: 180px; } }

/* ---------- реальные иллюстрации форматов ---------- */
.svc-shots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; align-items: start; }
.svc-shot { position: relative; margin: 0; border-radius: var(--border-radius, 12px); background: var(--acc-soft); overflow: hidden; box-shadow: 0 0 0 1px rgba(29, 29, 29, .08); }
.svc-shot img { display: block; width: 100%; height: auto; }
.svc-shot figcaption { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 16px; background: #fff; }
.svc-shot figcaption b { font-size: 16px; line-height: 1.3; font-weight: 600; }
.svc-shot figcaption span { font-size: 14px; line-height: 1.45; color: var(--dark-lighter, #3d3d3d); }
.svc-shot-aside { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px 30px; border-radius: var(--border-radius, 12px); background: var(--acc-soft); }
.svc-shot-aside b { font-size: 21px; line-height: 1.25; font-weight: 700; }
.svc-shot-aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.svc-shot-aside li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.45; }
.svc-shot-aside li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s6 { grid-column: span 6; }
@media (max-width: 860px) { .s2 { grid-column: span 3; } .s4 { grid-column: span 6; } .s3 { grid-column: span 6; } }
@media (max-width: 560px) { .svc-shots { gap: 14px; } .s2 { grid-column: span 6; } .svc-shot-aside { padding: 22px; } }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
    .svc-hero { gap: 36px; }
    .svc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc-facts li { padding-bottom: 20px; }
    .svc-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
    .svc-facts li:nth-child(n + 3) { border-top: 1px solid rgba(29, 29, 29, .12); padding-top: 20px; }
}
@media (max-width: 860px) {
    .svc-hero { grid-template-columns: 1fr; }
    .svc-mock { min-height: 0; }
    .svc-cards, .svc-bench, .svc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .svc-hero .pf-lead { font-size: 18px; }
    .svc-facts b { font-size: 24px; }
    .svc-cards, .svc-bench, .svc-links { grid-template-columns: 1fr; }
    .svc-mock { padding: 22px; }
    .svc-faq summary { font-size: 17px; }
    .svc-list li { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .svc-faq summary::after, .svc-links a { transition: none; }
    .svc-links a:hover { transform: none; }
}
